Skip to content

Commit 2a45243

Browse files
Update CHANGELOG with missing BC.
chore(): Remove unused token
1 parent ce1b308 commit 2a45243

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CHANGELOG.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ This release fixes bugs for both ng1 and ng2
3131

3232
### BREAKING CHANGES
3333

34+
#### BC in Core
3435
* Remove `UIInjector.native` infavor of `UIInjector.getNative()` ([d11b7dc](https://github.com/angular-ui/ui-router/commit/d11b7dc))
3536
* Remove `stateProvider` from ui-router-core. Use `stateRegistry` and `stateService` in 88c6494
37+
* We now enforce states with an explicit `parent:` may NOT ALSO specify a parent state in their name (i.e., `parent.child`)
3638

37-
#### Angular 2
39+
#### BC in Angular 2
3840

3941
Major breaking changes for Angular 2 bootstrap between beta.2 and beta.3
4042

@@ -151,7 +153,7 @@ Previously, a single wildcard `foo.*` could match "missing segments" on the end
151153
For example, `foo.*` would match the state `foo`.
152154
Likewise, `foo.*.*.*` would also match the `foo` state.
153155

154-
Now, a single wildcard matches exactly one segment.
156+
Now, a single wildcard matches exactly one segment.
155157
`foo.*` will match `foo.bar` and `foo.baz`, but neither `foo` nor `foo.bar.baz`.
156158

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

src/ng2/interface.ts

-2
Original file line numberDiff line numberDiff line change
@@ -341,5 +341,3 @@ export interface Ng2Component {
341341
*/
342342
uiCanExit(): HookResult;
343343
}
344-
345-
export const NG2_INJECTOR_TOKEN = new OpaqueToken("NgModule Injector");

0 commit comments

Comments
 (0)