Packages

@angular/platform-server

22.2.6 · 12 Nov 2026MIT1M / 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 breaking1 security

  • Breaking

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

Security

Fixes 1 advisory that affected 20.2.4

11 advisories affect 20.3.0; 20.3.33 fixes them

6 more

Release note

CommitDescription
fix - a3f808d7c8remove refresh button from transfer state tab (#63592)

core

CommitDescription
feat - 6117ccee2eintroduce BootstrapContext for improved server bootstrapping (#63636)

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/…

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.