Releases: ui-router/angular-hybrid
10.0.0
10.0.0 (2019-11-25)
Compare @uirouter/angular-hybrid
versions 9.0.0 and 10.0.0
Bug Fixes
- example: update to angular v8 (c5b365b)
Features
- package: update uirouter angular dependency to support angular 9 and bundle with ng-packagr (#379) (384e428)
BREAKING CHANGES
- package: This package drops support for Angular versions 7 and below. You must now upgrade to Angular 8 or higher to use this package.
- package: UIRouter dependencies have been moved to peerDependencies. You must now install peer dependencies manually using
npx check-peer-dependencies --install
. - angular:
@uirouter/angular
has additional breaking changes, see below.
Updated @uirouter/angular
from 5.0.0 to 6.0.1
Changelog for @uirouter/angular
:
Compare @uirouter/angular
versions 5.0.0 and 6.0.1
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)
- feat(package): Drop support for Angular version 7 and lower
BREAKING CHANGES
-
UIRouter for Angular v6.0.0 now requires Angular 8 or higher
-
lazyLoad: 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.
- UIRouter core and 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": "4.0.0"
}
after (example -- versions will vary):
dependencies: {
"@uirouter/angular": "5.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
9.0.0
9.0.0 (2019-10-02)
Compare @uirouter/angular-hybrid
versions 8.0.0 and 9.0.0
Bug Fixes
- travis: remove explicit call to xvfb (3b124cc)
- travis: use service: xvfb instead of launching it manually. install libgconf debian package (e85f678)
Features
- update ui-router/angular dependency that supports angular 8 (b97af69)
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. 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/angular
from 3.0.0 to 5.0.0
Compare @uirouter/angular
versions 3.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)
Features
- uirouter: Add support for Angular 8 (c141d95)
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/angularjs
from 1.0.22 to 1.0.23
Compare @uirouter/angularjs
versions 1.0.22 and 1.0.23
Bug Fixes
8.0.0
8.0.0 (2019-06-25)
Compare @uirouter/angular-hybrid
versions 7.0.0 and 8.0.0
Features
- support Angular v8 (e8a8419)
7.0.0
7.0.0 (2019-02-12)
Compare @uirouter/angular-hybrid
versions 6.0.3 and 7.0.0
Bug Fixes
- angularjs: Get AngularJS reference using 'getAngularJSGlobal()' (d53d134), closes #240
- upgrade: Fix "no provider" error while injecting a falsy ng1 provider (1a06a9a)
BREAKING CHANGES
- angularjs: If 'angular' variable is not on the window, you must provide it using 'setAngularJSGlobal(angular);'.
https://github.com/ui-router/angular-hybrid/wiki/AngularJS-not-found-on-window
Updated @uirouter/angular
from 2.0.4 to 3.0.0
Compare @uirouter/angular
versions 2.0.4 and 3.0.0
Features
- angular: Updates for Angular 7 (7f3132a)
6.0.3
6.0.3 (2019-02-03)
Compare @uirouter/angular-hybrid
versions 6.0.2 and 6.0.3
Updated @uirouter/core
from 5.0.21 to 5.0.23
Compare @uirouter/core
versions 5.0.21 and 5.0.23
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)
- test_downstream_projects: don't double build core while testing downstreams (148b16b)
- typescript: Fix typing of onChange callback in UrlService (961ed0f), closes #229
- typescript: Mark
params
as optional in StateService.href (614bfb4), closes #287 - vanilla: Fix baseHref parsing with chrome-extension:// urls (f11be4d), closes #304
Features
Updated @uirouter/angular
from 2.0.2 to 2.0.4
Compare @uirouter/angular
versions 2.0.2 and 2.0.4
Updated @uirouter/angularjs
from 1.0.20 to 1.0.22
6.0.2
6.0.2 (2018-08-12)
Compare @uirouter/angular-hybrid
versions 6.0.1 and 6.0.2
Updated @uirouter/core
from 5.0.20 to 5.0.21
Compare @uirouter/core
versions 5.0.20 and 5.0.21
Bug Fixes
- dynamic: Use 'find' from common.ts instead of Array.prototype.find (66a3244), closes #215
- url: When using html5Mode and no tag is present, default to '/' (23742e3), closes #223
Updated @uirouter/angular
from 2.0.1 to 2.0.2
Compare @uirouter/angular
versions 2.0.1 and 2.0.2
Updated @uirouter/angularjs
from 1.0.19 to 1.0.20
6.0.1
6.0.1 (2018-07-20)
Compare @uirouter/angular-hybrid
versions 6.0.0 and 6.0.1
Updated @uirouter/core
from 5.0.19 to 5.0.20
Compare @uirouter/core
versions 5.0.19 and 5.0.20
Bug Fixes
- params: When creating an array parameter from a custom type, copy the
raw
property (b6dd738), closes #178
Features
- dynamic: Support dynamic flag on a state declaration (3cd5a2a)
- transition: Added transition.paramsChanged() to get added/deleted/changed parameter values for a transition (10b7fde)
- view: Add _pluginapi._registeredUIView() to get a ui-view by id (6533b51)
Updated @uirouter/angular
from 2.0.0 to 2.0.1
Compare @uirouter/angular
versions 2.0.0 and 2.0.1
Updated @uirouter/angularjs
from 1.0.17 to 1.0.19
Compare @uirouter/angularjs
versions 1.0.17 and 1.0.19
Bug Fixes
- bundles: Do not run prettier against release/* bundles when publishing to bower (9b420fa)
- npm: Publish to the old angular-ui-router npm package too (8fc3bb2)
- resolve: Detect and honor strictDi in angularjs versions 1.3 and 1.4 (1368c18), closes #3678
- state: When creating absolute hrefs in hashbang mode, include the location.pathname (cd426e5), closes #3710
- uiview: Allow uiOnParamsChanged to work with states that have a componentProvider (fe91bd3), closes #3707
6.0.0
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.
5.0.0
5.0.0 (2018-05-13)
Compare @uirouter/angular-hybrid
versions 4.0.1 and 5.0.0
Features
- angular: Drop Angular v4 support, add Angular v6 support (0fc6d72)
BREAKING CHANGES
- angular: RxJS v6 and Angular v5 or higher is now required to use this package.
If using Angular v5, you should update to "rxjs": "^6.0.0"
and also add "rxjs-compat": "^6.0.0"
.
Updated @uirouter/core
from 5.0.18 to 5.0.19
Compare @uirouter/core
versions 5.0.18 and 5.0.19
Bug Fixes
- enums: Workaround angular compiler export issue angular/angular#23759 (38d25fa)
Updated @uirouter/angular
from 1.1.0 to 2.0.0
Compare @uirouter/angular
versions 1.1.0 and 2.0.0
Features
- angular: Drop Angular v4 support, add Angular v6 support (cdf0273), closes #301
- core: Update core to 5.0.19, rx to 0.5.0 (be6de0d)
BREAKING CHANGES
- angular: RxJS v6 and Angular v5 or higher is now required to use this package.
If using Angular v5, you should update to "rxjs": "^6.0.0"
and also add "rxjs-compat": "^6.0.0"
.
Updated @uirouter/angularjs
from 1.0.16 to 1.0.17
4.0.1
4.0.1 (2018-05-03)
Compare @uirouter/angular-hybrid
versions 4.0.0 and 4.0.1
Bug Fixes
- README: Update bootstrap directions to avoid 'digest already in progress' errors (9df20f0)
Updated @uirouter/core
from 5.0.17 to 5.0.18
Compare @uirouter/core
versions 5.0.17 and 5.0.18
Bug Fixes
- angular: A hack to force the Angular compiler to import from module index (d56a2be)
- StateRegistry: Notify listeners of added states when there are orphans in the state queue (5a9bac9)
- transition: Fix typing of Transition.params() (ebea30e)
- transition: Normalize
error()
to always returnRejection
(9bcc5db)
Updated @uirouter/angular
from 1.0.1 to 1.1.0
Compare @uirouter/angular
versions 1.0.1 and 1.1.0
Bug Fixes
- uiSref: Ignore clicks if destination state is falsey (b599e72)
- uiView: Always inject and/or bind NOWAIT resolve as a Promise object. (42d739d)
Features
- uiView: Add uiOnParamsChanged support for routed components (45aa2aa)
Updated @uirouter/angularjs
from 1.0.15 to 1.0.16
Compare @uirouter/angularjs
versions 1.0.15 and 1.0.16