@angular/common
22.2.6 · 12 Nov 2026MIT8.1M / weekRepositoryHomepagenpmAtom feed
Your version
21.2.26 is the newest release of 21.x.
In short
1 deprecated
- Deprecated
XHR support in
@angular/platform-serveris deprecated. Use standardfetchAPIs instead.
Security
Fixes 2 advisories that affected 21.2.16
- High@angular/common: Denial of Service (DoS) via OOM in Date Formatting (formatDate)GHSA-48r7-hpm6-gfxm · 15 Jun 2026Fixed in 21.2.17
- High@angular/common: Weak 32-Bit Cache Key Hashing in `HttpTransferCache` Leading to Cross-Request Data Leakage and State PoisoningGHSA-39pv-4j6c-2g6v · 15 Jun 2026Fixed in 21.2.17
2 advisories affect 21.2.17; 21.2.20 fixes them
- HighAngular: Cache-Key Ambiguity in HttpTransferCache Leading to Cross-Request Response Reuse and State PoisoningGHSA-jhpw-976m-542j · 3 Aug 2026Fixed in 21.2.19
- ModerateAngular: Information Leak via `HttpTransferCache` Bypass When Using `withRequestsMadeViaParent`GHSA-p297-fm68-3q8c · 10 Sep 2026Fixed in 21.2.20
Release note
Deprecations
platform-server
- Deprecated
XHR support in
@angular/platform-serveris deprecated. Use standardfetchAPIs instead.
common
| Commit | Type | Description |
|---|---|---|
| 86a56dc279 | fix | Limits date format string length |
| d846326b07 | fix | skip transfer cache for uncacheable HTTP traffic |
| bc55749698 | fix | use cryptographically secure SHA-256 for transfer cache key generation |
compiler
| Commit | Type | Description |
|---|---|---|
| dc9c99636d | fix | sanitize two-way properties |
core
| Commit | Type | Description |
|---|---|---|
| 1523061137 | fix | harden TransferState restoration against DOM clobbering |
| 88832c84f8 | fix | validate lowercase SVG animation attribute names (#69269) |
http
| Commit | Type | Description |
|---|---|---|
| bcb1b7ea25 | fix | preserve empty referrer option in HttpRequest |
| a810a319d1 | fix | Rejects non-HTTP(S) URLs in JSONP requests |
| e245d40c4d | fix | skip transfer cache for fetch credentialed requests |
platform-server
| Commit | Type | Description |
|---|---|---|
| 35510746b7 | fix | harden platform location origin validation during SSR |
| 13fb0afe93 | refactor | deprecate ServerXhr (#69255) |
service-worker
| Commit | Type | Description |
|---|---|---|
| b9d29381bb | fix | Strips sensitive headers on cross-origin redirects |
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.