Packages

@angular/upgrade

22.2.3 · 14 Oct 2026MIT104.4k / weekRepositoryHomepagenpmAtom feed

Your version

21.2.0

25 Feb 2026Where it was published

21.2.25 is the newest release of 21.x.

Release note

common

CommitDescription
feat - 18003a33bbadd an 'outlet' injector option for ngTemplateOutlet
feat - 8bbe6dc46cAdd Location strategies to manage trailing slash on write
feat - 51cc914807support height in ImageLoaderConfig and built-in loaders

compiler

CommitDescription
feat - 72534e2a34Add support for the instanceof binary operator
feat - 95b3f37d4aExhaustive checks for switch blocks
feat - 04ba09a8d9support AstVisitor.visitEmptyExpr()
fix - ce80136e7boptimize away unnecessary restore/reset view calls
fix - 3242a61baevariable counter visiting some expressions twice

compiler-cli

CommitDescription
fix - 473dd3e1cbattach source spans to object literal keys in TCB
fix - a904d9f77bsupport nested component declaration
fix - 2ea6dfc6c9update diagnostic to flag no-op arrow functions in listeners

core

CommitDescription
feat - 8d5210c9feadd ChangeDetectionStrategy.Eager alias for Default
feat - 92d2498910add host node to DeferBlockData (#66546)
feat - ea2016a6dcadd support for nested animations
feat - 81cabc1477add support for TypeScript 6
feat - 1ba9b7ac50resource composition via snapshots
feat - d9923b72a2support arrow functions in expressions
fix - a7e8abbb7ecorrectly handle SkipSelf when resolving from embedded view injector
fix - 0806ee3826prevent animated element duplication with dynamic components in zoneless mode
fix - ed78fa05c7Remove note to skip arrow functions in best practices

forms

CommitDescription
feat - f56bb07d83add field param to submit action and onInvalid
feat - ba009b6031add form directive
feat - 22afbb2f36add parsing support to native inputs (#66917)
feat - 95c386469cAdd passing focus options to form field
feat - 95ecce8334allow setting submit options at form-level
feat - ebae211addintroduce parse errors in signal forms
feat - 3937afc316introduce SignalFormControl for Reactive Forms compatibility
feat - 30f0914754support binding null to number input (#66917)
feat - dd208ca259update submit function to accept options object
fix - 27397b3f4fclear parse errors when model updates (#66917)
fix - 63d8005703preserve custom-control focus context in signal forms
fix - 631f60d1f9preserve parse errors when parse returns value
fix - adfb83146bsimplify design of parse errors
fix - fb05fc86d0sort error summary by DOM order
fix - 567f292e8esupport custom controls as host directives
fix - bdfb60f3e3use consistent error format returned from parse
fix - d75046bc09warn when showing hidden field state

language-server

CommitDescription
feat - ebc90c26f5Add completions and hover info for inline styles
feat - 26fd0839c3Add folding range support for inline styles
feat - 573aadef7eAdd quick info for inline styles
feat - 6fb39d9b62Support client-side file watching via onDidChangeWatchedFiles

language-service

CommitDescription
feat - 496967e7b1add JSON schema for angularCompilerOptions
feat - 8c21866f49add linked editing ranges for HTML tag synchronization
perf - d2137928e8use lightweight project warmup for Angular analysis

router

CommitDescription
feat - b51bab583dAdd partial ActivatedRouteSnapshot information to canMatch params
feat - cf9620f7d0Make match options optional in isActive
feat - 907a94dcecUpdate IsActiveMatchOptions APIs to accept a Partial