Releases: kaliberjs/routing
Releases · kaliberjs/routing
v2.0.0
- Breaking: Removed
useRouteMap
, this was untyped. You can simply importrouteMap
- Breaking: Removed
useRoutes
, this was fragile. You can simply doconst routes = routeMap.app.abc
- Breaking: Removed partial application of reverse routes. This introduced complexity to the codebase and caused routes to be wrapped making it harder to compare them to routes in the
routeMap
. You can useuseLocationMatch
to obtain theparams
available. - Feature: Allow customization of the
:language
param name - Bugfix: Prevent loss of state when using static location provider
What's Changed
- Prevent loss of state when transitioning by @EECOLOR in #10
- Cleanup by @EECOLOR in #11
- Add support for renaming the language param by @EECOLOR in #13
Full Changelog: v1.0.0...v2.0.0