Files
angular__angular/CHANGELOG.md
T
2022-11-22 18:56:32 -08:00

357 KiB

15.1.0-next.0 (2022-11-22)

Deprecations

router

  • router writable properties

    The following strategies are meant to be configured by registering the application strategy in DI via the providers in the root NgModule or bootstrapApplication:

    • routeReuseStrategy
    • titleStrategy
    • urlHandlingStrategy

    The following options are meant to be configured using the options available in RouterModule.forRoot or provideRouter.

    • onSameUrlNavigation
    • paramsInheritanceStrategy
    • urlUpdateStrategy
    • canceledNavigationResolution

    The following options are available in RouterModule.forRoot but not available in provideRouter:

    • malformedUriErrorHandler - This was found to not be used anywhere internally.
    • errorHandler - Developers can instead subscribe to Router.events and filter for NavigationError.

common

Commit Type Description
b0a62bea47 fix Fix MockPlatformLocation events and missing onPopState implementation (#48113)

core

Commit Type Description
6acae1477a feat Add TestBed.runInInjectionContext to help test functions which use inject (#47955)

forms

Commit Type Description
0329c13e95 fix don't mutate validators array (#47830)
d321880440 fix FormBuilder.group return right type with shorthand parameters. (#48084)

language-service

Commit Type Description
5f0b53c735 feat Allow auto-imports to suggest multiple possible imports. (#47787)
fd2eea5961 fix correctly handle host directive inputs/outputs (#48147)
ce8160ecb2 fix Prevent crashes on unemitable references (#47938)
764fa3d9c3 fix update packages/language-service/build.sh script to work with vscode-ng-language-service's new Bazel build (#48120)

router

Commit Type Description
0a8b8a66cd docs Deprecate public members of Router that are meant to be configured elsewhere (#48006)
73f03ad2d2 feat Add new NavigationSkipped event for ignored navigations (#48024)
b51929a394 fix correct type of nextState parameter in canDeactivate (#48038)
1df0ed7d6e fix Ensure renavigating in component init works with enabledBlocking (#48063)
1976e37475 fix restore 'history.state' on popstate even if navigationId missing (#48033)

Special Thanks

Alan Agius, Andrew Kushnir, Andrew Scott, Bjarki, Bob Watson, Brooke, Derek Cormier, Dylan Hunn, George Kalpakas, Greg Magolan, Ikko Ashimine, Ivan Rodriguez, Jessica Janiuk, JiaLiPassion, Joe Roxbury, Joey Perrott, Kristiyan Kostadinov, Matthieu Riegler, Mikhail Savchuk, Nebojsa Cvetkovic, Pawel Kozlowski, Volodymyr, Wooshaah and mgechev

12.2.17 (2022-11-22)

Breaking Changes

core

  • Existing iframe usages may have security-sensitive attributes applied as an attribute or property binding in a template or via host bindings in a directive. Such usages would require an update to ensure compliance with the new stricter rules around iframe bindings.

core

Commit Type Description
b871db57da fix hardening attribute and property binding rules for