@angular/common
22.2.6 · 12 Nov 2026MIT8.1M / weekRepositoryHomepagenpmAtom feed
21.2.26 is the newest release of 21.x.
In short
2 breaking
- Breaking
The shape of
SignalFormsConfig.classeshas changed - Breaking
(cherry picked from commit ae0c59028a2f393ea5716bf222db2c38e7a3989f)
Security
6 advisories affect 21.0.6; 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
Breaking Changes (affecting only experimental features)
forms
- Breaking
The shape of
SignalFormsConfig.classeshas changedPreviously each function in the
classesmap took aFieldState. Now
it takes aFielddirective.For example if you previously had:
provideSignalFormsConfig({ classes: { 'my-valid': (state) => state.valid() } })You would need to update to:
provideSignalFormsConfig({ classes: { 'my-valid': ({state}) => state().valid() } })(cherry picked from commit 348f149)
- Breaking
(cherry picked from commit ae0c590)
core
| Commit | Type | Description |
|---|---|---|
| 4c8fb3631d | fix | throw better errors for potential circular references |
| 48492524ea | fix | use mutable ResponseInit type for RESPONSE_INIT token |
forms
| Commit | Type | Description |
|---|---|---|
| 81772b420d | feat | pass field directive to class config |
| 729b96476b | refactor | rename field to fieldTree in FieldContext and ValidationError |
language-service
| Commit | Type | Description |
|---|---|---|
| e0694df3ec | fix | avoid interpolation highlighting inside @let |
| 5047be4bc1 | fix | Prevent language service from crashing on suggestion diagnostic errors |
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.