Skip to content

Releases: aurelia/router

aurelia-router v0.9.0

09 Jun 01:14
Compare
Choose a tag to compare

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 via navigationInstruction.parentInstruction.params. Injected *childRoute param is no longer available on the params object passed to activate().

    (1f274186)

aurelia-router v0.8.1

09 May 23:51
Compare
Choose a tag to compare

Bug Fixes

  • pipeline: fix bug preventing errors in pipeline steps from being handled (6ee2eb87, closes #85)
  • router:
    • correctly handle absolute URLs when navigating (df1633cd, closes #92)
    • using navigationStrategy throws a validation error (80eb22f0)

aurelia-router v0.8.0

01 May 00:27
Compare
Choose a tag to compare

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)

aurelia-router v0.7.2

11 Apr 05:26
Compare
Choose a tag to compare

Bug Fixes

  • router: regression in redirect due to incorrect route config validation (f12af2e3)

aurelia-router v0.7.1

10 Apr 01:47
Compare
Choose a tag to compare

Bug Fixes

aurelia-router v0.7.0

09 Apr 06:14
Compare
Choose a tag to compare

Bug Fixes

  • all: update compiler, core-js and pipeline (f86d6dbc)
  • app-router: throw a more helpful error when a pipeline step fails to return a result (0f1eda20)
  • router:
    • add basic route config validation (87741b2c)
    • require dynamic routes to specify href when adding to navigation (c95be190, closes #59)
  • shouldContinue: typo change value to output (1f023a16)

Features

  • router:
    • add methods for checking if a router has a named route (aa465649)
    • support generating absolute paths (aa78cc3d)
    • delegate to parent when asked to generate an unknown route (9dd556ff)

aurelia-router v0.6.0

25 Mar 04:41
Compare
Choose a tag to compare

Bug Fixes

  • navigation-command: add explicit interface for commands interested in child routers (1e1c4d3b)
  • router: do not interpret as child router if not configured (18e52d85, closes #34)

Features

  • redirect: enable redirect from the app router by option (4d1a7ea8, closes #51)

aurelia-router v0.5.8

01 Mar 00:53
Compare
Choose a tag to compare

Bug Fixes

  • package: change jspm directories (bb51cacb)

aurelia-router v0.5.7

28 Feb 05:21
Compare
Choose a tag to compare

Bug Fixes

  • navigation-context: navigation result not returned (2890bfde)
  • package: update dependencies (01e5adac)

Features

  • navigation-instruction: add instruction to lifecycle args (26b890c2)
  • router:
    • add lifecycle events (4c2839d1)
    • Add a precommit extension point to the pipeline (8f11bfd9)

aurelia-router v0.5.6

19 Feb 04:36
Compare
Choose a tag to compare

Bug Fixes

  • build: add missing bower bump (8fab77de)

Features

  • navigation-plan: allow route redirects (61cda341)
  • router: add support for named pipelines (7e9f1c71, closes #26)