Packages

@angular/ssr

22.2.7 · 12 Nov 2026MIT754.5k / weekRepositorynpmAtom feed

Your version

22.0.0

major3 Jun 2026Where it was published

22.3.0 is the newest release of 22.x.

In short

1 breaking1 deprecated

  • Breaking

    The server no longer falls back to Client-Side Rendering (CSR) when a request fails host validation. Requests with unrecognized 'Host' headers will now return a 400 Bad Request status code. Users must ensure all valid hosts are correctly configured in the 'allowedHosts' option.

  • Deprecated

    CommonEngine APIs are deprecated in favor of AngularNodeAppEngine or AngularAppEngine.

Security

1 advisory affects 22.0.0; 22.1.7 fixes them

Release note

The section about @angular/ssr of a note shared by several packages.

@angular/ssr

CommitDescription
fix - 5adc92541enforce explicit opt-in for proxy headers
fix - f85343925support all X-Forwarded-* headers when trustProxyHeaders is true
fix - 8471ba634support server-side rendering configuration options
refactor - 50b16a65bdeprecate CommonEngine APIs
refactor - 27cd35561remove CSR fallback for invalid hosts

Breaking Changes

@angular/ssr

  • Breaking

    The server no longer falls back to Client-Side Rendering (CSR) when a request fails host validation. Requests with unrecognized 'Host' headers will now return a 400 Bad Request status code. Users must ensure all valid hosts are correctly configured in the 'allowedHosts' option.

Deprecations

@angular/ssr

  • Deprecated

    CommonEngine APIs are deprecated in favor of AngularNodeAppEngine or AngularAppEngine.

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.