npm @angular/router 22.3.0-rc.0

2 hours ago

animations

Commit Description
fix - a62ae5b04d memory leak in renderer

common

Commit Description
fix - 00ea9a4556 omit empty arrays from HttpParams
fix - 622a7c7f29 restore natural order when KeyValuePipe compareFn changes to null

compiler

Commit Description
feat - e4f67442bb report unknown property bindings on explicit ng-template elements
fix - 5e9c18755c convert &ngsp; to a space inside ngNonBindable
fix - 225d600314 disallow attribute and property names starting with a colon
fix - f9fe21d67f handle void expressions in constant literals
fix - 9731822b27 report errors at arrow parameters

compiler-cli

Commit Description
fix - d3dedf53e4 avoid names used in the file for generated namespace imports in ngp
fix - 8f6fd2bdf3 hoist import x = … declarations like ngtsc's ImportManager
fix - 670c17232b never drop hostDirectives entries in local compilation
fix - 13627163fd remove functions in text interpolations check
fix - 672b9dcfc2 remove nullish coalescing check
fix - e150abb571 remove optional chain check
fix - 19c56bd3fc remove uninvoked track function check
fix - 5ac4cf7b54 resolve ambient global values declared in tsconfig .d.ts files
fix - 4fd60ae6c0 share parsed .d.ts files within same process
fix - dd3eb346c7 skip fingerprinting when incremental compilation is disabled
fix - 08d41a9e94 suggest ngProjectAs in control flow content projection diagnostic
perf - 4f3dec7b5a look up ambient globals lazily in tsconfig order
perf - 77a5094b52 memoize ambient global lookups from the start of tsconfig files
perf - 1bc2f95306 track ambient global consumers by name and cache .d.ts global names

core

Commit Description
fix - 088cdd2cab allow binding null and undefined to resource URL properties
fix - efbab16e56 cancel obsolete resource loads when params become unavailable
fix - 2282d6637f detect own NgZone by reference instead of instance ID
fix - af620ea3d9 guard hydrating map access and release pending task on error
fix - c476164c6c http golden symbols updated again
fix - 3296939422 improve error message for unparsable ICU expressions in translations
fix - 74260b298f remove early event listeners after replay
fix - 5f51154197 resolve closure and reference retention leaks
fix - e25a22841a update golden symbols
perf - 2d6183f42f allow EffectRefImpl to be tree-shaken
perf - b662e55749 allow ResourceParamsStatus to be tree-shaken
perf - 833c1f2c96 avoid unnecessary aborts and reuse abort reason during resource teardown
perf - b178c11301 release intermediate inert trees while sanitizing HTML
perf - 4854f68e39 tree-shake JIT dependencies from AOT module bootstrap

forms

Commit Description
fix - f9cf82642c apply validator directives to custom form controls
fix - cf37344a4d flush debounced descendant values when a field is touched
fix - 11c32ff559 forms signals goldens update
fix - 12278e5f67 preserve options passed to SignalFormControl
fix - 84d332f9c5 prevent duplicate valueChanges events on parseErrors update
fix - e6798fbfd4 untrack parseErrors read in validator and add unchanged model test
perf - 4422f4ef50 avoid retaining AbstractControl in signal forms

http

Commit Description
feat - effbe56432 add HttpClient.query() method for HTTP QUERY requests
fix - 818742755c clean up pending tasks when interceptors throw synchronously
fix - 00e584e698 mark httpResource top-level IIFE as pure
perf - b7cf38695f tree-shake unused transfer cache from httpResource

router

Commit Description
feat - 262417f155 introduce route error boundaries and redirect handling
fix - 9ec80904ab do not call history.go() when cancelling navigation before first success
fix - 4a1a7ad2d9 don't reload the page when restoring the URL with the Navigation API
perf - e8b1afd07f run loadComponent in parallel with route resources

Don't miss a new router release

NewReleases is sending notifications on new releases.