Packages

@angular/common

22.2.6 · 12 Nov 2026MIT8.1M / weekRepositoryHomepagenpmAtom feed

Your version

20.3.0

10 Sep 2025Where it was published

20.3.35 is the newest release of 20.x.

In short

1 breaking

  • Breaking

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

Security

Release note

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.

    (cherry picked from commit 8bf80c9)

CommitTypeDescription
a3f808d7c8fixremove refresh button from transfer state tab (#63592)

core

CommitTypeDescription
6117ccee2efeatintroduce BootstrapContext for improved server bootstrapping (#63636)

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.