Skip to content

Commit

Permalink
6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen committed May 20, 2018
1 parent f4bb925 commit ec69628
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
# 6.0.0 (2018-05-20)
[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)

### Bug Fixes

* **prettier:** Use es5 compatible trailing comma setting ([6421bf9](https://github.com/ui-router/angular-hybrid/commit/6421bf9))
* **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)
* **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)


### BREAKING CHANGES

* **upgrade:** In 5.0.0, we recommended `UIRouterUpgradeModule.forChild()` everywhere.
However, this could cause an error "Trying to get the AngularJS injector before it being set".

Now:

- Use `UIRouterUpgradeModule.forRoot()` in the root Angular module.
- Use `UIRouterUpgradeModule.forChild()` for Angular feature modules and lazy loaded modules.

# 5.0.0 (2018-05-13)
[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)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@uirouter/angular-hybrid",
"version": "5.0.0",
"version": "6.0.0",
"scripts": {
"example": "cd example && npm i && npm start",
"clean": "shx rm -rf lib _bundles",
Expand Down

0 comments on commit ec69628

Please sign in to comment.