Packages

@angular/platform-browser-dynamic

22.2.3 · 14 Oct 2026MIT4.2M / weekRepositoryHomepagenpmAtom feed

Your version

15.1.0

10 Jan 2023Where it was published

15.2.10 is the newest release of 15.x.

In short

1 deprecated3 changed

  • deprecated

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

Release note

Deprecations

router

  • deprecated

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

  • deprecated

    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

CommitDescription
feat - fe50813664Add BrowserPlatformLocation to the public API (#48488)
fix - 2f4f0638c7Add data attribtue to NgOptimizedImage (#48497)

compiler

CommitDescription
feat - a532d71975allow self-closing tags on custom elements (#48535)
fix - caf7228f8aresolve deprecation warning (#48652)
fix - 33f35b04eftype-only symbols incorrectly retained when downlevelling custom decorators (#48638)

compiler-cli

CommitDescription
fix - caedef0f5bupdate @babel/core dependency and lock version (#48634)

core

CommitDescription
feat - 6acae1477aAdd TestBed.runInInjectionContext to help test functions which use inject (#47955)
feat - 38421578a2Make the isStandalone() function available in public API (#48114)
feat - dd42974b07support TypeScript 4.9 (#48005)

forms

CommitDescription
fix - 8aa8b4b77cForm provider FormsModule.withConfig return a FormsModule (#48526)

language-service

CommitDescription
feat - 5f0b53c735Allow auto-imports to suggest multiple possible imports. (#47787)
fix - 6a8ea29a04expose package.json for vscode extension resolution (#48678)
fix - ce8160ecb2Prevent crashes on unemitable references (#47938)
fix - e615b598baship /api entry-point (#48670)
fix - 6ce7d76a0eupdate packages/language-service/build.sh script to work with vscode-ng-language-service's new Bazel build (#48663)

localize

CommitDescription
fix - a1a8e91ecaadd triple slash type reference on @angular/localize on `ng add (#48502)

migrations

CommitDescription
fix - cc284afbbccombine newly-added imports in import manager (#48620)

router

CommitDescription
docs - 228e992db7Deprecate canLoad guards in favor of canMatch (#48180)
docs - 0a8b8a66cdDeprecate public members of Router that are meant to be configured elsewhere (#48006)
feat - 332461bd0cAdd ability to override onSameUrlNavigation default per-navigation (#48050)
feat - f58ad86e51Add feature provider for enabling hash navigation (#48301)
feat - 73f03ad2d2Add new NavigationSkipped event for ignored navigations (#48024)
fix - 3fe75710d9page 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