@angular/common
22.2.6 · 12 Nov 2026MIT8.1M / weekRepositoryHomepagenpmAtom feed
Your version
21.2.26 is the newest release of 21.x.
Security
6 advisories affect 21.2.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
common
| Commit | Type | Description |
|---|---|---|
| 18003a33bb | feat | add an 'outlet' injector option for ngTemplateOutlet |
| 8bbe6dc46c | feat | Add Location strategies to manage trailing slash on write |
| 51cc914807 | feat | support height in ImageLoaderConfig and built-in loaders |
compiler
| Commit | Type | Description |
|---|---|---|
| 72534e2a34 | feat | Add support for the instanceof binary operator |
| 95b3f37d4a | feat | Exhaustive checks for switch blocks |
| 04ba09a8d9 | feat | support AstVisitor.visitEmptyExpr() |
| ce80136e7b | fix | optimize away unnecessary restore/reset view calls |
| 3242a61bae | fix | variable counter visiting some expressions twice |
compiler-cli
| Commit | Type | Description |
|---|---|---|
| 473dd3e1cb | fix | attach source spans to object literal keys in TCB |
| a904d9f77b | fix | support nested component declaration |
| 2ea6dfc6c9 | fix | update diagnostic to flag no-op arrow functions in listeners |
core
| Commit | Type | Description |
|---|---|---|
| 8d5210c9fe | feat | add ChangeDetectionStrategy.Eager alias for Default |
| 92d2498910 | feat | add host node to DeferBlockData (#66546) |
| ea2016a6dc | feat | add support for nested animations |
| 81cabc1477 | feat | add support for TypeScript 6 |
| 1ba9b7ac50 | feat | resource composition via snapshots |
| d9923b72a2 | feat | support arrow functions in expressions |
| a7e8abbb7e | fix | correctly handle SkipSelf when resolving from embedded view injector |
| 0806ee3826 | fix | prevent animated element duplication with dynamic components in zoneless mode |
| ed78fa05c7 | fix | Remove note to skip arrow functions in best practices |
forms
| Commit | Type | Description |
|---|---|---|
| f56bb07d83 | feat | add field param to submit action and onInvalid |
| ba009b6031 | feat | add form directive |
| 22afbb2f36 | feat | add parsing support to native inputs (#66917) |
| 95c386469c | feat | Add passing focus options to form field |
| 95ecce8334 | feat | allow setting submit options at form-level |
| ebae211add | feat | introduce parse errors in signal forms |
| 3937afc316 | feat | introduce SignalFormControl for Reactive Forms compatibility |
| 30f0914754 | feat | support binding null to number input (#66917) |
| dd208ca259 | feat | update submit function to accept options object |
| 27397b3f4f | fix | clear parse errors when model updates (#66917) |
| 63d8005703 | fix | preserve custom-control focus context in signal forms |
| 631f60d1f9 | fix | preserve parse errors when parse returns value |
| adfb83146b | fix | simplify design of parse errors |
| fb05fc86d0 | fix | sort error summary by DOM order |
| 567f292e8e | fix | support custom controls as host directives |
| bdfb60f3e3 | fix | use consistent error format returned from parse |
| d75046bc09 | fix | warn when showing hidden field state |
language-server
| Commit | Type | Description |
|---|---|---|
| ebc90c26f5 | feat | Add completions and hover info for inline styles |
| 26fd0839c3 | feat | Add folding range support for inline styles |
| 573aadef7e | feat | Add quick info for inline styles |
| 6fb39d9b62 | feat | Support client-side file watching via onDidChangeWatchedFiles |
language-service
| Commit | Type | Description |
|---|---|---|
| 496967e7b1 | feat | add JSON schema for angularCompilerOptions |
| 8c21866f49 | feat | add linked editing ranges for HTML tag synchronization |
| d2137928e8 | perf | use lightweight project warmup for Angular analysis |
router
| Commit | Type | Description |
|---|---|---|
| b51bab583d | feat | Add partial ActivatedRouteSnapshot information to canMatch params |
| cf9620f7d0 | feat | Make match options optional in isActive |
| 907a94dcec | feat | Update IsActiveMatchOptions APIs to accept a Partial |
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.