MyGit

0.3.0

ui-router/react

版本发布时间: 2016-09-20 06:59:36

ui-router/react最新发布版本:1.0.7(2021-07-27 08:03:58)

Breaking Changes

  1. State Glob patterns have been changed slightly.
Previously, a single wildcard `foo.*` could match "missing segments" on the end of a state name.
For example, `foo.*` would match the state `foo`.
Likewise, `foo.*.*.*` would also match the `foo` state.

Now, a single wildcard matches exactly one segment. 
`foo.*` will match `foo.bar` and `foo.baz`, but neither `foo` nor `foo.bar.baz`.

If you previously relied on the single wildcard to match missing segments, use a double wildcard, `foo.**`.

Double wildcards match 0 or more segments.

[Read more about Glob matching](https://ui-router.github.io/docs/latest/classes/common.glob.html)
  1. (obscure) Renamed Transition.previous() to Transition.redirectedFrom()
  2. (obscure) Location provider: remove url(url) and replace() in favor of setUrl(url, replace).

[full ui-router-core 1.0.0-beta.2 changelog].

Changed

Fix

相关地址:原始地址 下载(tar) 下载(zip)

查看:2016-09-20发行的版本