@angular/core
22.2.6 · 12 Nov 2026MIT8.6M / weekRepositoryHomepagenpmAtom feed
Upgrading @angular/core From 18.1.5 to 20.3.28
108 releases in betweenevery note read
Before you upgrade
Tick each one off as you go- Breaking20.3.17
- Breaking20.3.0
- Breaking20.0.0
- Breaking20.0.0
- Breaking20.0.0
- Breaking20.0.0
- Breaking20.0.0
- Breaking20.0.0
- Breaking20.0.0
- Breaking20.0.0
Security
Fixes 8 advisories affecting 18.1.5
- @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
20.3.18 – 20.3.2811 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
20.3.1 – 20.3.1615 releases, nothing new or fixed in the notes
- Security
For more information please see: github.com/angular/angular/security/advisories/…
- Breaking
The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.
- Security
20.2.1 – 20.2.44 releases, nothing new or fixed in the notes
- Deprecated
@angular/animations
- Deprecated
20.0.1 – 20.1.816 releases, nothing new or fixed in the notes
- Breaking
TypeScript versions less than 5.8 are no longer supported.
- Breaking
The
TestBed.flushEffects()was removed - use theTestBed.tick()instead. - Breaking
It is renamed to
provideCheckNoChangesConfig - Breaking
The behavior applies to all checkNoChanges runs
- Breaking
2 other lines we could not sort, mostly version bumps
- 19.0.0
Effects which are triggered outside of change detection run as part of the change detection process instead of as a microtask. Depending on the specifics of application/test setup, this can result in them executing earlier or later (or requiring additional test steps to trigger; see below examples).
- 19.0.0
Effects which are triggered during change detection (e.g. by input signals) run earlier, before the component's template.
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.