Skip to content

v15.1.0

Compare
Choose a tag to compare
@alxhub alxhub released this 10 Jan 18:49
· 5782 commits to main since this release

15.1.0 (2023-01-10)

Deprecations

router

  • CanLoad guards in the Router are deprecated. Use CanMatch
    instead.

  • 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 Description
feat - fe50813664 Add BrowserPlatformLocation to the public API (#48488)
fix - 2f4f0638c7 Add data attribtue to NgOptimizedImage (#48497)

compiler

Commit Description
feat - a532d71975 allow self-closing tags on custom elements (#48535)
fix - caf7228f8a resolve deprecation warning (#48652)
fix - 33f35b04ef type-only symbols incorrectly retained when downlevelling custom decorators (#48638)

compiler-cli

Commit Description
fix - caedef0f5b update @babel/core dependency and lock version (#48634)

core

Commit Description
feat - 6acae1477a Add TestBed.runInInjectionContext to help test functions which use inject (#47955)
feat - 38421578a2 Make the isStandalone() function available in public API (#48114)
feat - dd42974b07 support TypeScript 4.9 (#48005)

forms

Commit Description
fix - 8aa8b4b77c Form provider FormsModule.withConfig return a FormsModule (#48526)

language-service

Commit Description
feat - 5f0b53c735 Allow auto-imports to suggest multiple possible imports. (#47787)
fix - 6a8ea29a04 expose package.json for vscode extension resolution (#48678)
fix - ce8160ecb2 Prevent crashes on unemitable references (#47938)
fix - e615b598ba ship /api entry-point (#48670)
fix - 6ce7d76a0e update packages/language-service/build.sh script to work with vscode-ng-language-service's new Bazel build (#48663)

localize

Commit Description
fix - a1a8e91eca add triple slash type reference on @angular/localize on `ng add (#48502)

migrations

Commit Description
fix - cc284afbbc combine newly-added imports in import manager (#48620)

router

Commit Description
docs - 228e992db7 Deprecate canLoad guards in favor of canMatch (#48180)
docs - 0a8b8a66cd Deprecate public members of Router that are meant to be configured elsewhere (#48006)
feat - 332461bd0c Add ability to override onSameUrlNavigation default per-navigation (#48050)
feat - f58ad86e51 Add feature provider for enabling hash navigation (#48301)
feat - 73f03ad2d2 Add new NavigationSkipped event for ignored navigations (#48024)
fix - 3fe75710d9 page refresh should not destroy history state (#48540)

Special Thanks

Alan Agius, Alex Castle, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Bob Watson, Charles Lyding, Derek Cormier, Doug Parker, Dylan Hunn, George Kalpakas, Greg Magolan, Jessica Janiuk, JiaLiPassion, Joey Perrott, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Pawel Kozlowski, Renan Ferro, Tim Gates, Vadim, Virginia Dooley, ced, mgechev, piyush132000, robertIsaac and sr5434