aurelia-router v0.14.0
EisenbergEffect
released this
10 Nov 13:52
·
473 commits
to master
since this release
Bug Fixes
- all: update to use viewModel terminology internally (f01282b6)
- navigation-instruction: remove references to previous instructions after navigation is committed (7fa6e0b9, closes #207)
- router:
- updateTitle: use private method name (9ea95ac7)
Features
- all: fill in doc comments and rename private APIs (57257adf)
- router:
Breaking Changes
- * Pipeline steps now receive the NavigationInstruction instead of the NavigationContext. Pipeline steps should use
instruction.getAllInstructions()
andinstruction.getAllPreviousInstructions()
instead ofcontext.nextInstructions
andcontext.currentInstructions
, respectively, to inspect current and previous instructions.
*Semantics have changed in names such as "prevInstruction" such that "current" refers to the current navigation, and "previous" refers to the previous navigation. Currently, "next" referred to the current navigation, and "current" and "previous" both referred to the previous navigation.
(a6f47887)
- Unknown route handlers must now return the moduleId or route config instead of mutating
instruction.config
.
Fixes #234
(4aa9bc9e)
-
calling
router.handleUnknownRoutes()
with no arguments will no longer cause the router to apply conventional routing. This logic must now be provided by the application.(5a80996a)