- Now .current() sends a cloned version of the internal current object. Which prevent outside mutations to params and queryParams
- Fix #143.
This says that when we are doing a trigger redirect,
We won't get reactive changes like:
getRouteName()
- Add hashbang support. See #311
- Add a stop callback on the triggers. See: #306.
- Add a name to the route groups. See: #290
- We've used
path
for both the current path and for the pathDef earlier. Now we differentiate it. See: #272 and #273 for more information.
- Add the first addOn api: FlowRouter.onRouteRegister(cb)
- There was an issue in IE9 support. We fix it with this version.
- Add IE9 Support. See this issue #111 for more info.
- Add missing queryParams object in the subscriptions method (with FR on the server)
- With that, #237 is partially fixed.
- Use pagejs.redirect() for our redirection process.
- Above fixes #239
- Released 2.0 :)
- Now flow-router comes as
kadira:flow-router
- Remove deprecated APIs
FlowRouter.reactiveCurrent()
- Middlewares
FlowRouter.current().params.query
- Follow the migration guide for more information.
- Fix #182 - Now trigger's redirect function support
FlowRouter.go()
syntax.
- Fix #164 - It's an issue when using
check
with flow router query params. - Fix #168 - It's URL encoding issue.
- Add an API called
FlowRouter.wait()
to wait the initialization and pass it back to the app. Fixes issue 180.
- Fix a crazy context switching issue. For more information see commit 6ca54cc
- Fix issue of overwriting global triggers when written multiple times.
- Refactor triggers API for clean code
- Added redirect functionality for triggers
- Now we are API complete for the 2.x release
- Now all our routes are idempotent.
- If some one needs to re-run the route, he needs to use our
FlowRouter.reload()
API.
- Fix regression came from v1.11.0. With that,
FlowRouter.go("/")
does not work. More information on #147.
- Bring browserify back with the updated version of
cosmos:browserify
which fixes some size issues. See more info.
- Remove browserified pagejs and qs dependancy loading. With that we could reduce ~10kb of data size. (without compression) We can look for a bower integration future. For now, here are the dependancies we have.
- Add
FlowRouter.withReplaceState
api to use replaceState when changing routes via FlowRouter apis.
Add support for triggers. This is something similar to middlewares but not as middlewares. Visit here to learn about design decisions.
Now, middlewares are deprecated.
Fix #120 and added callback support for FlowRouter.subsReady()
.
This relase comes with improvements to the reactive API.