@angular/core
22.2.6 · 12 Nov 2026MIT8.5M / weekRepositoryHomepagenpmAtom feed
Upgrading @angular/core From 20.1.0 to 22.2.6
117 releases in betweenevery note read
Reading releases, release notes and advisories…
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 8 advisories affecting 20.1.0
- @angular/core: Angular Template and Dynamic Component Namespace Bypass leading to Cross-Site Scripting (XSS)moderate · GHSA-692r-grfm-v8x7
- Angular: Template and Attribute Namespace Sanitization Bypass (XSS)moderate · GHSA-f3m7-gqxr-g87x
- Angular vulnerable to XSS in i18n attribute bindingshigh · GHSA-g93w-mfhg-p222
- Angular: Sanitization bypass via directive host bindings on concrete host elements in @angular/core and @angular/compilermoderate · GHSA-hh8m-fm6v-7cvg
- Angular i18n: Cross-Site Scripting (XSS) via event-handler attributeshigh · GHSA-jj27-h5hq-8x99
- Angular has XSS Vulnerability via Unsanitized SVG Script Attributeshigh · GHSA-jrmj-c5cx-3cw6
- Angular i18n vulnerable to Cross-Site Scriptinghigh · GHSA-prjf-86w9-mfqv
- Angular Client Hydration DOM Clobbering & Response-Cache Poisoninghigh · GHSA-rgjc-h3x7-9mwg
- 20.3.0
For more information please see: github.com/angular/angular/security/advisories/…
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
- Deprecated
XHR support in
@angular/platform-serveris deprecated. Use standardfetchAPIs instead. (cherry picked from commit 8446e46f8bc33bd4419fa7f6106b8d117ca2e099)
- Deprecated
- 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.0 – 21.2.2627 releases, nothing new or fixed in the notes
- Breaking
Angular now only applies known attributes from HTML in translated ICU content. Unknown attributes are dropped and not rendered.
- Breaking
21.0.1 – 21.1.515 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.