You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed a bug that caused empty routes to be ignored on insert (#76).
Tightened the rules around overlapping parameter prefixes and suffixes, where ambiguous routes were inadvertently allowed (#67). See the new conflict rules for details.
This a large release containing a number of new features and breaking changes.
The syntax for route parameters has been changed. Named parameters are now marked by {x} and catch-all parameters with {*x}. This allows for more flexibility and support for more complex routes in the future.
The { and } characters can be escaped with {{ and }} in static routes.
Trailing slash redirect support has been removed. Routes like /foo and /foo/ are now treated as completely disconnected. To achieve redirect behavior, routes must be registered twice, with and without a trailing slash.
Catch-all parameters without a leading slash are now supported (#42).
Better support for overlapping route parameters. The name of a route parameter no longer has any affect on conflicts, meaning routes like /user/:filter/search and /user/:id no longer overlap. (#13).