route_hierarchical 0.7.0 copy "route_hierarchical: ^0.7.0" to clipboard
route_hierarchical: ^0.7.0 copied to clipboard

discontinued
Dart 1 only

A client routing library for Dart

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;
    
0
likes
20
pub points
17%
popularity

Publisher

unverified uploader

A client routing library for Dart

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

logging

More

Packages that depend on route_hierarchical