@angular/common
22.2.6 · 12 Nov 2026MIT8.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @angular/common From 18.2.14 to 19.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 14
- changes to make
- 0
- advisories fixed
- 0
- new
- 2
- fixes
Before you upgrade
Tick each one off as you go- Breaking19.0.0
- Breaking19.0.0
- Breaking19.0.0
- Breaking19.0.0
- Breaking19.0.0
- Breaking19.0.0
- Breaking19.0.0
- Breaking19.0.0
- Breaking19.0.0
- Breaking19.0.0
Security
8 advisories still affect 19.0.0
- @angular/common: Weak 32-Bit Cache Key Hashing in `HttpTransferCache` Leading to Cross-Request Data Leakage and State Poisoninghigh · GHSA-39pv-4j6c-2g6v
- @angular/common: Denial of Service (DoS) via OOM in Date Formatting (formatDate)high · GHSA-48r7-hpm6-gfxm
- Angular is Vulnerable to XSRF Token Leakage via Protocol-Relative URLs in Angular HTTP Clienthigh · GHSA-58c5-g7wp-6w37
Upgrading to 20.3.34 clears them.
Release by release
- Breaking
this.fooproperty reads no longer refer to template context variables. If you intended to read the template variable, do not usethis.. - Breaking
Changes to CSS selectors parsing where introduced, mainly to: pseudo selectors
:where()and:is(), parsing of:hostandhost-context, parsing selectors within pseudo selector arguments (for instance comma separated selectors). These changes could lead to a different specificity of the resulting selectors and/or previously broken selectors being applied now, for example:where(:host)used to transform to:where()[ng-host]and is being:where([ng-host])now. Unlike the previous outcome, the new result can target elements and therefore could lead to breakages. - Breaking
Angular directives, components and pipes are now standalone by default.
- Breaking
TypeScript versions less than 5.5 are no longer supported.
- 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.