Skip to content

Releases: ui-router/angular

6.0.3

06 Jul 17:22
Compare
Choose a tag to compare

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

06 Jun 02:21
Compare
Choose a tag to compare

6.0.2 (2020-06-06)

Compare @uirouter/angular versions 6.0.1 and 6.0.2

Bug Fixes

Features

  • create OnUiParamsChanged, OnUiExit interfaces (#800) (ea4574d), closes #788
  • update_dependencies: Add a repository_dispatch trigger (d7a9777)

6.0.1

24 Nov 23:30
Compare
Choose a tag to compare

6.0.1 (2019-11-24)

Compare @uirouter/angular versions 6.0.0 and 6.0.1

Bug Fixes

  • package: Change angular peerDependency semver to match 9.0.0-next/rc (#681) (ca4acfb) (Allows this package to be used with Angular 9.0.0-rc without warnings)

6.0.0

12 Nov 01:11
Compare
Choose a tag to compare

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

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

02 Oct 17:31
Compare
Choose a tag to compare

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

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

14 Jun 23:27
Compare
Choose a tag to compare

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

04 Feb 03:13
Compare
Choose a tag to compare

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

29 Jan 19:10
Compare
Choose a tag to compare

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

  • 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

2.0.3

10 Jan 03:36
Compare
Choose a tag to compare

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

Features

  • TransitionHook: Pass in transition to HookMatchCriteria (#255) (926705e)

2.0.2

11 Aug 22:32
Compare
Choose a tag to compare

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

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 (Does not affect UI-Router for Angular)