Skip to content

Commit ec69628

Browse files
6.0.0
1 parent f4bb925 commit ec69628

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
# 6.0.0 (2018-05-20)
2+
[Compare `@uirouter/angular-hybrid` versions 5.0.0 and 6.0.0](https://github.com/ui-router/angular-hybrid/compare/5.0.0...6.0.0)
3+
4+
### Bug Fixes
5+
6+
* **prettier:** Use es5 compatible trailing comma setting ([6421bf9](https://github.com/ui-router/angular-hybrid/commit/6421bf9))
7+
* **typings:** Allow stateRegistry.register() and stateProvider.state() to take either Ng1 or Ng2StateDeclaration ([c0e55ad](https://github.com/ui-router/angular-hybrid/commit/c0e55ad)), closes [#147](https://github.com/ui-router/angular-hybrid/issues/147) [#148](https://github.com/ui-router/angular-hybrid/issues/148)
8+
* **upgrade:** Fix "Trying to get the AngularJS injector before it being set" in child and lazy modules ([f4bb925](https://github.com/ui-router/angular-hybrid/commit/f4bb925)), closes [#93](https://github.com/ui-router/angular-hybrid/issues/93)
9+
10+
11+
### BREAKING CHANGES
12+
13+
* **upgrade:** In 5.0.0, we recommended `UIRouterUpgradeModule.forChild()` everywhere.
14+
However, this could cause an error "Trying to get the AngularJS injector before it being set".
15+
16+
Now:
17+
18+
- Use `UIRouterUpgradeModule.forRoot()` in the root Angular module.
19+
- Use `UIRouterUpgradeModule.forChild()` for Angular feature modules and lazy loaded modules.
20+
121
# 5.0.0 (2018-05-13)
222
[Compare `@uirouter/angular-hybrid` versions 4.0.1 and 5.0.0](https://github.com/ui-router/angular-hybrid/compare/4.0.1...5.0.0)
323

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@uirouter/angular-hybrid",
3-
"version": "5.0.0",
3+
"version": "6.0.0",
44
"scripts": {
55
"example": "cd example && npm i && npm start",
66
"clean": "shx rm -rf lib _bundles",

0 commit comments

Comments
 (0)