Skip to content

Releases: garygreen/lightrouter

0.3.1

08 May 13:20

Choose a tag to compare

  • Added match function to match a one-time route and callback
  • Refactored how route is constructed

0.2.2

19 Feb 16:38

Choose a tag to compare

  • Fixed potential issue with Array.prototype

v0.2.1

01 Oct 16:18

Choose a tag to compare

  • Changed parameter matching format from ":name" to "{name}" for improved optional parameter support/matching.
  • Callbacks are now only called with a 'params' object keyed with param name and matching value from the url.
  • Refactored how the route is constructed.

v0.1.1

04 Sep 11:57

Choose a tag to compare

  • Export straight to LightRouter and not object.
  • Fixed named parameter being greedy (now named params only match alpha, digit, underscore and dashes).
  • Fixed matching of encoded URIs.