Skip to content

Commit ed0e0b2

Browse files
docs(CHANGELOG): Added BC-BREAK
1 parent b13f29f commit ed0e0b2

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

CHANGELOG.md

+22-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,28 @@
11
<a name="1.0.0-beta.2"></a>
22
# [1.0.0-beta.2](https://github.com/angular-ui/ui-router/compare/1.0.0-alpha.5...v1.0.0-beta.2) (2016-09-09)
33

4-
[Read more on the blog](
4+
[Read more on the blog](https://ui-router.github.io/uirouter-1.0.0-beta.2/)
5+
6+
### BC-BREAK
7+
8+
1) State Glob patterns have been changed slightly.
9+
10+
Previously, a single wildcard `foo.*` could match "missing segments" on the end of a state name.
11+
For example, `foo.*` would match the state `foo`.
12+
Likewise, `foo.*.*.*` would also match the `foo` state.
13+
14+
Now, a single wildcard matches exactly one segment.
15+
`foo.*` will match `foo.bar` and `foo.baz`, but neither `foo` nor `foo.bar.baz`.
16+
17+
If you previously relied on the single wildcard to match missing segments, use a double wildcard, `foo.**`.
18+
19+
Double wildcards match 0 or more segments.
20+
21+
[Read more about Glob matching](https://ui-router.github.io/docs/latest/classes/common.glob.html)
22+
23+
2) (obscure) Angular 1 DI token `ng1UIRouter` renamed to `$uiRouter`
24+
25+
3) (obscure) Renamed `Transition.previous()` to `Transition.redirectedFrom()`
526

627
### Features
728

0 commit comments

Comments
 (0)