File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments