Releases: ui-router/angular
6.0.3
6.0.3 (2020-07-06)
Compare @uirouter/angular
versions 6.0.2 and 6.0.3
Bug Fixes
- LocationServices: Apply the hash correctly when a query string is present (0192877), closes #747
- tokens: Export injection tokens (#810) (b9c338d), closes #805
- uiSref: Render empty 'href' for states that have no urls (5020c79), closes #721
- uiSrefActive: Fix nested UISrefActive where UISref components are added/removed dynamically (#811) (8d35dc1), closes #760
6.0.2
6.0.1
6.0.0
6.0.0 (2019-11-12)
Compare @uirouter/angular
versions 5.0.0 and 6.0.0
This release supports Angular 9 and removes the dependency on @angular/router
There are some BREAKING CHANGES, see below.
Bug Fixes
- ivy: Inject host UISref separately to account for behavior change in @ContentChildren (ebd2e40), closes /github.com/angular/angular/issues/8277#issuecomment-323678013
- fix(angular8): Add static: true to ViewChild
- fix(lazyLoad): Remove dependency on angular/router in favor of using ivy
Ivy supports lazy loading of modules without depending on the ROUTES token from angular/router.
Features
- lazyLoad: Remove NgModuleToLoad type (string based lazy module loading) (2f1506c)
- Ivy support (#674) (00e9d6a), closes #674
BREAKING CHANGES
UIRouter for Angular v6.0.0 now requires Angular 8 or higher
If you are not yet on Angular 8, please use @uirouter/angular
v5.x
@uirouter/core
and @uirouter/rx
packages are now peerDependencies
.
You will need to explicitly install the correct versions of @uirouter/core
and @uirouter/rx
into your project.
before:
dependencies: {
"@uirouter/angular": "5.0.0"
}
after (example -- versions will vary):
dependencies: {
"@uirouter/angular": "6.0.0"
"@uirouter/core": "6.0.1",
"@uirouter/rx": "0.6.0",
}
Or, use this command to automatically install peerDependencies:
npx check-peer-dependencies --install
Removed string based lazy module loading via loadChildren
Previously, we supported loadChildren: './lazymodule/lazy.module.ts#LazyModule'
This lazy load mechanism is deprecated in Angular 8 in favor of:
loadChildren: import('./lazymodule/lazy.module).then(x => x.LazyModule)
Migrate your loadChildren
(s) to the import()
style.
5.0.0
5.0.0 (2019-10-02)
Compare @uirouter/angular
versions 4.0.0 and 5.0.0
Bug Fixes
- travis: use service: xvfb instead of launching it manually. install libgconf debian package (309fc9b)
Chores
- package: update @uirouter/core and @uirouter/rx to enable support for observables in resolves (#646) (4661bab)
BREAKING CHANGES
- package: Removed RXWAIT async policy (which was broken) in favor of supporting custom resolve policies. Added a custom RXWAIT policy to uirouter/rx which is included in uirouter/angular
Updated @uirouter/core
from 5.0.23 to 6.0.1
Compare @uirouter/core
versions 5.0.23 and 6.0.1
Bug Fixes
- resolve: remove unnecessary generics from CustomAsyncPolicy (#452) (61f4ee9)
- travis: use service: xvfb instead of launching it manually (1271fcd)
- travis: use service: xvfb instead of launching it manually. install libgconf debian package (ac1ef4b)
Features
- resolve: Remove RXWAIT async policy in favour of allowing user defined async policy function (#366) (0ad87f6)
BREAKING CHANGES
- resolve: RXWAIT async policy has been removed, but it never worked in the first place
Updated @uirouter/rx
from 0.5.0 to 0.6.0
Compare @uirouter/rx
versions 0.5.0 and 0.6.0
Bug Fixes
- travis: use service: xvfb instead of launching it manually. install libgconf debian package (eace3a9)
Features
- add rxwait custom async policy (dca4929)
- add rxwait custom async policy (ab1aaa4)
- package: require uirouter/core >=6.0.0 via peerDependency (9bacfa4)
BREAKING CHANGES
- package: this version of uirouter/rx depends on uirouter/core version 6 and greater
Because this package now provides an async resolve policy for Observables, this package now has a peerDependency on uirouter/core version >=6.0.0
4.0.0
4.0.0 (2019-06-14)
Compare @uirouter/angular
versions 3.0.0 and 4.0.0
Features
- uirouter: Add support for Angular 8 (c141d95)
3.0.0
3.0.0 (2019-02-04)
Compare @uirouter/angular
versions 2.0.4 and 3.0.0
Features
- angular: Updates for Angular 7 (7f3132a)
Thank you @oliverguenther for updating @uirouter/angular
to Angular 7!
2.0.4
2.0.4 (2019-01-29)
Compare @uirouter/angular
versions 2.0.3 and 2.0.4
Updated @uirouter/core
from 5.0.22 to 5.0.23
Compare @uirouter/core
versions 5.0.22 and 5.0.23
Bug Fixes
2.0.3
2.0.3 (2019-01-10)
Compare @uirouter/angular
versions 2.0.2 and 2.0.3
Updated @uirouter/core
from 5.0.21 to 5.0.22
Compare @uirouter/core
versions 5.0.21 and 5.0.22
Bug Fixes
- lazyLoad: StateBuilder should not mutate the state declaration (1478a3c), closes /github.com/ui-router/core/commit/3cd5a2a#r31260154
- state: Update URL in response to ignored transition due to redirect (c64c252)
Features
2.0.2
2.0.2 (2018-08-11)
Compare @uirouter/angular
versions 2.0.1 and 2.0.2
Updated @uirouter/core
from 5.0.20 to 5.0.21
Compare @uirouter/core
versions 5.0.20 and 5.0.21