Releases: ui-router/angular
2.0.0
2.0.0 (2018-05-09)
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/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)
1.1.0
1.1.0 (2018-05-03)
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/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)
1.0.1
1.0.1 (2018-02-12)
Compare @uirouter/angular
versions 1.0.0 and 1.0.1
Bug Fixes
- package: update @uirouter/core to version 5.0.17 (f018f35)
- uiSrefActive: Support multiple active classes (e086700)
Updated @uirouter/core
from 5.0.16 to 5.0.17
Compare @uirouter/core
versions 5.0.16 and 5.0.17
Bug Fixes
- core: Fix leak of old transitions by mutating pathnode*.resolvables*.data (0a1f518)
1.0.0
1.0.0 (2018-01-31)
Compare @uirouter/angular
versions 1.0.0-rc.3 and 1.0.0
Updated @uirouter/core
from 5.0.14 to 5.0.16
Compare @uirouter/core
versions 5.0.14 and 5.0.16
Bug Fixes
- common: Fix signature of for objects (make target optional) (61d0afc)
- core: Fix memory leak of resolve data from ALL transitions ever (7f2aed1)
- pathNode: add backwards compat for PathNode.clone(). Add retainedWithToParams to treeChanges interface. (4833a32)
Features
1.0.0-rc.3
1.0.0-rc.3 (2018-01-10)
Compare @uirouter/angular
versions 1.0.0-rc.2 and 1.0.0-rc.3
Bug Fixes
- hooks: Use an APP_INITIALIZER to sync/listen to the URL (f1d390f)
Updated @uirouter/core
from 5.0.13 to 5.0.14
Compare @uirouter/core
versions 5.0.13 and 5.0.14
Bug Fixes
1.0.0-rc.2
1.0.0-rc.2 (2017-12-22)
Compare @uirouter/angular
versions 1.0.0-rc.1 and 1.0.0-rc.2
Bug Fixes
- package: Bump dependency on uirouter/publish-scripts to fix npm install (1a026d2)
- package: update @uirouter/core to version 5.0.13 (90aa1d4)
Features
Updated @uirouter/core
from 5.0.11 to 5.0.13
Compare @uirouter/core
versions 5.0.11 and 5.0.13
Bug Fixes
- browserLocation: Use location.pathname (not href) or '/' when no base tag found (db461d6)
- browserLocationConfig: If no base href found, use location.href (not empty string) (0251424)
- pushStateLocation: Fix URLs: add slash between base and path when necessary (bfa5755)
- pushStateLocation: When url is "" or "/", use baseHref for pushState (042a950)
- resolve: Add onFinish hook to resolve any dynamicly added resolvables (7d1ca54)
- urlRouter: Update query params when resetting url via .update() (7664cd0)
Features
- view: Add onSync callback API to plugin API (9544ae5)
1.0.0-rc.1
1.0.0-rc.0
1.0.0-rc.0 (2017-11-15)
Compare @uirouter/angular
versions 1.0.0-beta.9 and 1.0.0-rc.0
Bug Fixes
- uiView: Fix animations :enter trigger by using markForCheck (3d7ce44)
Features
1.0.0-beta.9
1.0.0-beta.9 (2017-10-17)
Compare @uirouter/angular
versions 1.0.0-beta.8 and 1.0.0-beta.9
Features
- UIRouterModule: Add
initial
property toforRoot
to specify the initial route. (b7b5e4f)
Updated @uirouter/core
from 5.0.10 to 5.0.11
Compare @uirouter/core
versions 5.0.10 and 5.0.11
Bug Fixes
1.0.0-beta.8
1.0.0-beta.8 (2017-10-07)
Compare @uirouter/angular
versions 1.0.0-beta.7 and 1.0.0-beta.8
Bug Fixes
- NgModule: Use InjectionToken instead of OpaqueToken (bfa604c)
- typescript: Fix typescript 2.4 compatibility issue (d0c46ce)
- uiSref: run update when input properties change (#141) (9ecc6e2)
Features
- UIRouterModule: Add deferInitialRender toggle to forRoot. Waits for initial router transition before bootstrapping the app the initial render. (5ae9051)
- uiSrefStatus: Emit all enclosed uiSref targetStates in the status object (0687e19)
- uiSrefStatus: emit state/params in events (bd67d25)
@uirouter/core
updated from 5.0.4 to 5.0.10 (2017-10-07)
Compare @uirouter/core
versions 5.0.4 and 5.0.10
Bug Fixes
- angular/cli: Use package.json fields: 'typings', 'main', 'jsnext:main' (74143d9)
- bundle: Rollup: Do not warn on THIS_IS_UNDEFINED (a4581b1)
- globals: Use shallow copy to update the globals.params / $state.params object (e883afc)
- Injector: When getting tokens from native injector, only throw on undefined (not on falsey values) (ada9ca2)
- isomorphic: Remove use of CustomEvent. Detect root scope (global/window/self) for nodejs, browser, or web-worker. (2d206ba)
- redirectTo: Fix typings for redirectTo. Allow a function that returns a target state or a promise for one. (3904487)
- sourceMaps: Embed typescript sources in sourcemaps (10558a3)
- trace: Fall back to console.log if .table is unavailable (IE) (c8110fc)
- trace: Support tracing of object-parameters with circular references (2f1ae9a)
- typescript: Fix strictNullCheck type error (0ae585e)
- typescript: Update to typescript 2.4 (ce1669b)
- typings: Use StateObject for parameter to hook criteria functions (5b58566)
- url: Add CustomEvent polyfill for IE (a50db21)
- urlRouter: Fix absolute 'href' generation by using location.hostname (not location.host) (a28b68a)
- urlService: Fix priority sorting of URL rules (73a1fe0)
- vanilla: fix base path handling for vanilla push state (ad61d74)
- vanilla: Use
self
instead ofwindow
for webworker compat (a4629ee)
Features
- Resolvable: Add
.value()
: returns value (WAIT) or promise (NOWAIT) (8769449) - TargetState: Add builder methods .withState, .withParams, and .withOptions (6b93142)
- TransitionHook: Add hook registration option
invokeLimit
to limit the number of times a hook is invoked before being auto-deregistered. (2cb17ef) - urlMatcher: add support for multiline urls (5b11ce0)