Skip to content

Releases: kaliberjs/routing

v2.0.0

28 Dec 22:35
Compare
Choose a tag to compare
  • Breaking: Removed useRouteMap, this was untyped. You can simply import routeMap
  • Breaking: Removed useRoutes, this was fragile. You can simply do const 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 use useLocationMatch to obtain the params available.
  • Feature: Allow customization of the :language param name
  • Bugfix: Prevent loss of state when using static location provider

What's Changed

Full Changelog: v1.0.0...v2.0.0