Releases: capitec/omni-router
Releases · capitec/omni-router
0.3.3
0.3.1
0.2.7: Fix memory leak (#44)
Fix memory leak in page navigation animation
0.2.4
0.2.3
What's Changed
- Support URI syntax characters (#35) by @stefan505 in #36
Full Changelog: 0.2.2...0.2.3
0.2.2
0.2.1
What's New
- Allow the same tag name to be registered for different paths, by providing an additional 'tag' property in the route definition.
- Make the pop() function return a promise that resolves once the routing event is received, aligning with the other routing functions.
- Add a delta argument to the pop() function to allow for jumping back multiple pages.
- Add a new popToPath() function that will attempt to jump back the required number of pages to return to a given previous path.
- Make the return type of all routing function return a boolean that indicates if the routing event was allowed to proceed.
- Add an animateOut argument the the push() and replace() function to invert the animation behaviour when routing to a path
0.1.5
What's Changed
- Updated
Router
to be more compliant with History API for replacing state by @BOTLANNER in #24 - Updated the NPM files glob to ensure it includes files in sub-directories by @jn42lm1 in #25
Full Changelog: 0.1.4...0.1.5
0.1.4
What's Changed
- Added guard on popstate event by @stefan505 in #22
New Contributors
- @stefan505 made their first contribution in #22
Full Changelog: 0.1.3...0.1.4
0.1.3
- Router.getInstance() function has been deprecated, use the Router class directly instead, e.g.
Router.addRoute(...)
instead ofRouter.getInstance().addRoute(...)
- In addition to the
route-loaded
event, a newroute-loading
event is now available that dispatches just prior to the routed page loading