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

Latest commit

 

History

History
59 lines (34 loc) · 1.54 KB

CHANGELOG.md

File metadata and controls

59 lines (34 loc) · 1.54 KB

v0.6.3

Breaking changes

  • UrlPattern has been removed. It was deprecated in v0.6.2.
  • package:unittest replaced by package:test
  • package:mock replaced by package:mockito

Fixes

  • Strong-mode analysis is clean (except some warnings in unit tests)

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;