Skip to content

10.0.0

Compare
Choose a tag to compare
@christopherthielen christopherthielen released this 25 Nov 22:08
· 179 commits to master since this release

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

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