@angular/platform-server
22.2.6 · 12 Nov 2026MIT1M / weekRepositoryHomepagenpmAtom feed
Upgrading @angular/platform-server From 20.3.24 to 22.2.6
80 releases in betweenevery note read
Before you upgrade
Tick each one off as you go- Breaking22.0.0
- Breaking22.0.0
- Breaking22.0.0
- Breaking22.0.0
- Breaking22.0.0
- Breaking22.0.0
- Breaking22.0.0
- Breaking22.0.0
- Breaking22.0.0
- Breaking22.0.0
Security
Fixes 6 advisories affecting 20.3.24
- Angular SSR: Denial of Service (DoS) via Infinite Loop on Malformed DOCTYPEhigh · GHSA-f67j-2jqw-jpq7
- Angular: SSRF and Cross-Origin Credential Disclosure via URL Resolution Discrepancy in SSRhigh · GHSA-f6mr-pjwc-34m4
- Angular SSR: XSS via Unescaped Processing Instruction (<?...?>) Nodes in Fallback Raw-Content Elementshigh · GHSA-j3r3-mxqp-r2p4
- Angular: SSR XSS via Unescaped <template> Content Across DocumentFragment Boundaries in Fallback Raw-Content Elementshigh · GHSA-v3p8-whq6-r5jg
- Angular SSR: Missing Fallback Raw-Content Serialization Escaping leads to Cross-Site Scripting (XSS)high · GHSA-vpx6-8pjr-4g3v
- @angular/platform-server: Open Redirect via Protocol-Relative URLs in Server-Side Rendering (SSR)moderate · GHSA-w739-gvwx-grc3
Release by release
22.1.1 – 22.2.615 releases, nothing new or fixed in the notes
- New
language-service: Typecheck templates which would require inline typecheck blocks
- New
language-service: Compile non-exported classes if standalone
- Fixed
language-service: Account for strictTemplates being enabled by default
- New
22.0.2 – 22.0.87 releases, nothing new or fixed in the notes
- Fixed
vscode-extension: Resolve relative workspace tsdk paths to absolute
- Fixed
language-service: Prevent external template inlay hints from appearing in TS files
- Fixed
vscode-extension: Inspect tsdk configurations correctly
- Fixed
- Breaking
This change will trigger the
nullishCoalescingNotNullableandoptionalChainNotNullablediagnostics on exisiting projects. You might want to disable those 2 diagnotiscs in yourtsconfigtemporarily. - Breaking
Data prefixed attribute no-longer bind inputs nor outputs.
- Breaking
The compiler will throw when there a when inputs, outputs or model are binding to the same input/outputs.
- Breaking
invariables will throw in template expressions.
- Breaking
21.2.18 – 21.2.269 releases, nothing new or fixed in the notes
- Deprecated
XHR support in
@angular/platform-serveris deprecated. Use standardfetchAPIs instead.
- Deprecated
21.2.0 – 21.2.1617 releases, nothing new or fixed in the notes
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.