- 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.