Packages

@angular/common

22.2.6 · 12 Nov 2026MIT8.1M / weekRepositoryHomepagenpmAtom feed

Your version

21.2.0

25 Feb 2026Where it was published

21.2.26 is the newest release of 21.x.

Security

Release note

common

CommitTypeDescription
18003a33bbfeatadd an 'outlet' injector option for ngTemplateOutlet
8bbe6dc46cfeatAdd Location strategies to manage trailing slash on write
51cc914807featsupport height in ImageLoaderConfig and built-in loaders

compiler

CommitTypeDescription
72534e2a34featAdd support for the instanceof binary operator
95b3f37d4afeatExhaustive checks for switch blocks
04ba09a8d9featsupport AstVisitor.visitEmptyExpr()
ce80136e7bfixoptimize away unnecessary restore/reset view calls
3242a61baefixvariable counter visiting some expressions twice

compiler-cli

CommitTypeDescription
473dd3e1cbfixattach source spans to object literal keys in TCB
a904d9f77bfixsupport nested component declaration
2ea6dfc6c9fixupdate diagnostic to flag no-op arrow functions in listeners

core

CommitTypeDescription
8d5210c9fefeatadd ChangeDetectionStrategy.Eager alias for Default
92d2498910featadd host node to DeferBlockData (#66546)
ea2016a6dcfeatadd support for nested animations
81cabc1477featadd support for TypeScript 6
1ba9b7ac50featresource composition via snapshots
d9923b72a2featsupport arrow functions in expressions
a7e8abbb7efixcorrectly handle SkipSelf when resolving from embedded view injector
0806ee3826fixprevent animated element duplication with dynamic components in zoneless mode
ed78fa05c7fixRemove note to skip arrow functions in best practices

forms

CommitTypeDescription
f56bb07d83featadd field param to submit action and onInvalid
ba009b6031featadd form directive
22afbb2f36featadd parsing support to native inputs (#66917)
95c386469cfeatAdd passing focus options to form field
95ecce8334featallow setting submit options at form-level
ebae211addfeatintroduce parse errors in signal forms
3937afc316featintroduce SignalFormControl for Reactive Forms compatibility
30f0914754featsupport binding null to number input (#66917)
dd208ca259featupdate submit function to accept options object
27397b3f4ffixclear parse errors when model updates (#66917)
63d8005703fixpreserve custom-control focus context in signal forms
631f60d1f9fixpreserve parse errors when parse returns value
adfb83146bfixsimplify design of parse errors
fb05fc86d0fixsort error summary by DOM order
567f292e8efixsupport custom controls as host directives
bdfb60f3e3fixuse consistent error format returned from parse
d75046bc09fixwarn when showing hidden field state

language-server

CommitTypeDescription
ebc90c26f5featAdd completions and hover info for inline styles
26fd0839c3featAdd folding range support for inline styles
573aadef7efeatAdd quick info for inline styles
6fb39d9b62featSupport client-side file watching via onDidChangeWatchedFiles

language-service

CommitTypeDescription
496967e7b1featadd JSON schema for angularCompilerOptions
8c21866f49featadd linked editing ranges for HTML tag synchronization
d2137928e8perfuse lightweight project warmup for Angular analysis

router

CommitTypeDescription
b51bab583dfeatAdd partial ActivatedRouteSnapshot information to canMatch params
cf9620f7d0featMake match options optional in isActive
907a94dcecfeatUpdate 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.