yarn @angular/router 21.2.0

latest releases: 19.2.19, 20.3.17
5 hours ago

common

Commit Description
feat - 18003a33bb add an 'outlet' injector option for ngTemplateOutlet
feat - 8bbe6dc46c Add Location strategies to manage trailing slash on write
feat - 51cc914807 support height in ImageLoaderConfig and built-in loaders

compiler

Commit Description
feat - 72534e2a34 Add support for the instanceof binary operator
feat - 95b3f37d4a Exhaustive checks for switch blocks
feat - 04ba09a8d9 support AstVisitor.visitEmptyExpr()
fix - ce80136e7b optimize away unnecessary restore/reset view calls
fix - 3242a61bae variable counter visiting some expressions twice

compiler-cli

Commit Description
fix - 473dd3e1cb attach source spans to object literal keys in TCB
fix - a904d9f77b support nested component declaration
fix - 2ea6dfc6c9 update diagnostic to flag no-op arrow functions in listeners

core

Commit Description
feat - 8d5210c9fe add ChangeDetectionStrategy.Eager alias for Default
feat - 92d2498910 add host node to DeferBlockData (#66546)
feat - ea2016a6dc add support for nested animations
feat - 81cabc1477 add support for TypeScript 6
feat - 1ba9b7ac50 resource composition via snapshots
feat - d9923b72a2 support arrow functions in expressions
fix - a7e8abbb7e correctly handle SkipSelf when resolving from embedded view injector
fix - 0806ee3826 prevent animated element duplication with dynamic components in zoneless mode
fix - ed78fa05c7 Remove note to skip arrow functions in best practices

forms

Commit Description
feat - f56bb07d83 add field param to submit action and onInvalid
feat - ba009b6031 add form directive
feat - 22afbb2f36 add parsing support to native inputs (#66917)
feat - 95c386469c Add passing focus options to form field
feat - 95ecce8334 allow setting submit options at form-level
feat - ebae211add introduce parse errors in signal forms
feat - 3937afc316 introduce SignalFormControl for Reactive Forms compatibility
feat - 30f0914754 support binding null to number input (#66917)
feat - dd208ca259 update submit function to accept options object
fix - 27397b3f4f clear parse errors when model updates (#66917)
fix - 63d8005703 preserve custom-control focus context in signal forms
fix - 631f60d1f9 preserve parse errors when parse returns value
fix - adfb83146b simplify design of parse errors
fix - fb05fc86d0 sort error summary by DOM order
fix - 567f292e8e support custom controls as host directives
fix - bdfb60f3e3 use consistent error format returned from parse
fix - d75046bc09 warn when showing hidden field state

language-server

Commit Description
feat - ebc90c26f5 Add completions and hover info for inline styles
feat - 26fd0839c3 Add folding range support for inline styles
feat - 573aadef7e Add quick info for inline styles
feat - 6fb39d9b62 Support client-side file watching via onDidChangeWatchedFiles

language-service

Commit Description
feat - 496967e7b1 add JSON schema for angularCompilerOptions
feat - 8c21866f49 add linked editing ranges for HTML tag synchronization
perf - d2137928e8 use lightweight project warmup for Angular analysis

router

Commit Description
feat - b51bab583d Add partial ActivatedRouteSnapshot information to canMatch params
feat - cf9620f7d0 Make match options optional in isActive
feat - 907a94dcec Update IsActiveMatchOptions APIs to accept a Partial

Don't miss a new router release

NewReleases is sending notifications on new releases.