Releases: aurelia/router
Releases · aurelia/router
aurelia-router v0.9.0
Bug Fixes
- navigation: route config href was not used in router.navigation (ea60eef9)
- navigation-instruction: query string causes error in child routers (e4c6e688, closes #106)
- navigation-plan: handle redirects in child router configs (52349014, closes #103)
- router:
- fix problems with absolute path normalization (b49d2ddd, closes #111)
- considering wildcard when comparing route parameter values and using strict equa (f809626a)
- incorrectly comparing routes parameter values in navigation plan (7c962066)
- handle navigating to the empty string in a child router (8f0b8fdc, closes #99)
- export NavigationContext (1bc53fd6)
Features
- nav-model: allow title to be set at any time by an active navModel (5ac335d2, closes #69)
- navigation-instruction: merge ancestor instruction params into current params (1f274186)
- router-configuration: don't derive required route config properties (08f3a81c, closes #94)
Breaking Changes
-
Parent params are no longer available via the
$parent
property. Parent params can be accessed vianavigationInstruction.parentInstruction.params
. Injected*childRoute
param is no longer available on the params object passed toactivate()
.(1f274186)
aurelia-router v0.8.1
aurelia-router v0.8.0
Bug Fixes
- app-router: handle non-promise return values from configureRouter (f2709d60)
- tests: fix typo in test description (f09f1c7b)
Features
- NavigationInstruction: merge params and queryParams into a single argument to activate and canActivate (8aecba85, closes #74)
- all: new router configuration strategy (f7aff29b)
- router:
Breaking Changes
-
This is a breaking API change that replace router's NO_CHANGE, REPLACE, and INVOKE_LIFECYCLE constants with an activationStrategy object with noChange, replace, and invokeLifecycle properties.
(7f10f215)
-
This is a breaking API change to the
activate
andcanActivate
view model callbacks. The first two arguments representing route params and query params have been merged into a single object. The signature is nowactivate(params, config, navigationInstruction)
.
fixes #74
(8aecba85)
aurelia-router v0.7.2
Bug Fixes
- router: regression in redirect due to incorrect route config validation (f12af2e3)
aurelia-router v0.7.1
Bug Fixes
- bower: bad version number (42c065a3)
aurelia-router v0.7.0
aurelia-router v0.6.0
aurelia-router v0.5.8
Bug Fixes
- package: change jspm directories (bb51cacb)