Skip to content

Releases: ui-router/angular

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)

2.0.1

20 Jul 17:09
Compare
Choose a tag to compare

2.0.1 (2018-07-20)

Compare @uirouter/angular versions 2.0.0 and 2.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)

2.0.0

09 May 00:05
Compare
Choose a tag to compare

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