Packages

@angular/platform-browser-dynamic

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

Your version

19.2.15

10 Sep 2025Where it was published

19.2.25 is the newest release of 19.x.

In short

1 breaking1 security

Release note

core

CommitDescription
fix - 70d0639bc1introduce BootstrapContext for improved server bootstrapping (#63639)

Breaking Changes

core

  • breaking

    The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.

    Before:

    const bootstrap = () => bootstrapApplication(AppComponent, config);

    After:

    const bootstrap = (context: BootstrapContext) =>
      bootstrapApplication(AppComponent, config, context);

    A schematic is provided to automatically update main.server.ts files to pass the BootstrapContext to the bootstrapApplication call.

    In addition, getPlatform() and destroyPlatform() will now return null and be a no-op respectively when running in a server environment.

For more information please see: github.com/angular/angular/security/advisories/…