Skip to content
This repository has been archived by the owner on Jul 11, 2018. It is now read-only.

Latest commit

 

History

History
47 lines (27 loc) · 1.28 KB

CHANGELOG.md

File metadata and controls

47 lines (27 loc) · 1.28 KB

v0.6.2

Fixes

  • correctly include query parameters when using pushState #95

Features

  • allow specifying route page title #10

v0.6.1

Features

  • Added forceReload param to Router.go which forces reloading of already active routes.

v0.6.0

Features

  • Introduced reload({startingFrom}) method which allows to force reload currently active routes.
  • UrlPattern now support paramerter values that contain slashes (/foo/:bar* which will fully match /foo/bar/baz)

BREAKING CHANGE: The router no longer requires prefixing query param names with route name. By default all query param changes will trigger route reload, but you can provide a list of param patterns (via watchQueryParameters named param on addRoute) which will be used to match (prefix match) param names that trigger route reloading. A short-hand for "I don't care about any parameters, never reload" is watchQueryParameters: [].

v0.5.0

Breaking changes

  • UrlMatcher.urlParameterNames has been changed from a method to a getter. The client code must be updated accordingly:

    Before:

      var names = urlMatcher.urlParameterNames();
    

    After:

      var names = urlMatcher.urlParameterNames;