6.0.0
·
458 commits
to master
since this release
6.0.0 (2018-05-20)
Compare @uirouter/angular-hybrid versions 5.0.0 and 6.0.0
Bug Fixes
- prettier: Use es5 compatible trailing comma setting (6421bf9)
- typings: Allow stateRegistry.register() and stateProvider.state() to take either Ng1 or Ng2StateDeclaration (c0e55ad), closes #147 #148
- upgrade: Fix "Trying to get the AngularJS injector before it being set" in child and lazy modules (f4bb925), closes #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.