Skip to content

aurelia-router v0.8.0

Choose a tag to compare

@EisenbergEffect EisenbergEffect released this 01 May 00:27
· 613 commits to master since this release

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:
    • add navModel.setTitle method (2cff0e10)
    • per route config customization of the navigation instruction (7abf47d1)
    • add convenience method for navigating to a named route (9053fc23)
    • support navigating to absolute paths (a017edee)

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 and canActivate view model callbacks. The first two arguments representing route params and query params have been merged into a single object. The signature is now activate(params, config, navigationInstruction).

fixes #74

(8aecba85)