@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
VERSIONfrom@angular/upgradeis deprecated. Please use the entry from@angular/upgrade/staticinstead.
Security
6 advisories affect 21.1.0; 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
- 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
- High@angular/common: Denial of Service (DoS) via OOM in Number Formatting (digitsInfo)GHSA-p3vc-36g9-x9gr · 15 Jun 2026Fixed in 21.2.15
- High@angular/common: Information Leak via Default Caching of Credentialed Requests in HttpTransferCacheGHSA-q6f4-qqrg-jv6x · 15 Jun 2026Fixed in 21.2.15
1 more
- ModerateAngular: Information Leak via `HttpTransferCache` Bypass When Using `withRequestsMadeViaParent`GHSA-p297-fm68-3q8c · 10 Sep 2026Fixed in 21.2.20
Release note
Deprecations
upgrade
- Deprecated
VERSIONfrom@angular/upgradeis deprecated. Please use the entry from@angular/upgrade/staticinstead.
common
| Commit | Type | Description |
|---|---|---|
| d8790972be | feat | Add custom transformations for Cloudflare and Cloudinary image loaders |
| a6b8cb68af | feat | support custom transformations in ImageKit and Imgix loaders |
compiler
| Commit | Type | Description |
|---|---|---|
| 640693da8e | feat | Add support for multiple swich cases matching |
| 0ad3adc7c6 | fix | Support empty cases |
core
| Commit | Type | Description |
|---|---|---|
| 99ad18a4ee | feat | Add stability debugging utility |
| a0dfa5fa86 | feat | support rest arguments in function calls |
| 6e18fa8bc9 | feat | support spread elements in array literals |
| e407280ab5 | feat | support spread expressions in object literals |
| 06be8034bb | fix | Microtask scheduling should be used after any application synchronization |
| b4f584cf42 | fix | return StaticProvider for providePlatformInitializer |
forms
| Commit | Type | Description |
|---|---|---|
| 1ea5c97703 | feat | allow focusing bound control from field state |
platform-browser
| Commit | Type | Description |
|---|---|---|
| ec9dc94cee | feat | add context to createApplication |
| ab67988d2e | feat | resolve JIT resources in createApplication |
router
| Commit | Type | Description |
|---|---|---|
| 5edceffd04 | feat | add controls for route cleanup |
| a03c82564d | feat | Add scroll behavior controls on router navigation |
| e44839b016 | feat | Add standalone function to create a comptued for isActive |
| c25d749d85 | feat | Execute RunGuardsAndResolvers function in injection context |
| 1c00ab42f8 | feat | extend paramters of RedirectFunction to include paramMap and queryParamMap |
| 7003e8d241 | feat | Publish Router's integration with platform Navigation API as experimental |
| c84d372778 | feat | Support wildcard params with segments trailing (#64737) |
upgrade
| Commit | Type | Description |
|---|---|---|
| 75fe8f8af9 | refactor | deprecate VERSION export |
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.