npm @angular/router 22.3.2

latest release: 22.4.0-next.0
31 minutes ago

animations

Commit Description
fix - f5d6bfd0a0 avoid closure over hostElement in createRenderer

common

Commit Description
fix - 204c6463ea normalize the exponent when rounding carries in exponential notation
fix - 36c892e803 preserve text fragments during same-path navigation

compiler

Commit Description
fix - 257bce973d correctly resolve references to arrow function parameters
fix - 378299cc2d length-prefix string literals and quoted map keys in ConstantPool keys
fix - 1cb211e62c only strip !important suffix from style and class host bindings

compiler-cli

Commit Description
fix - 6a654fc6bd do not report prefetch when with a different expression than the main trigger
fix - 61ecb08fa4 do not treat property names as import name collisions
fix - e11dea88b9 handle typeof when analyzing imports in preprocessor
fix - e8ce5791f2 only check for arrow functions in event listener diagnostic
fix - 1c53143ff1 reuse author imports in generated code

core

Commit Description
fix - 182bcd7035 anchor the first connected node after <ng-content> or @let during hydration
fix - 6693acc9f5 avoid NG0502 for nodes after <ng-content> or @let in content that is not projected
fix - 57dc1e5d8c clear reactive consumer when creating node injectables
fix - f38750b842 do not drop nested @defer child blocks while parent hydrates
fix - 4e2ee785bb loosen type for component definition dependencies
fix - b148ffd7dd prevent window.opener exposure in sanitized HTML links
fix - a7f62194cd recognize NaN keys in the key-value differ
fix - da7ec7b553 release leavingNodes when animate.leave resolves to no classes
fix - 5d15e5c9af route defer block rendering errors through error boundaries
fix - c958979a46 safely handle platform destruction during bootstrap and pending tasks (#72139)
fix - dc88af2d57 skip animate.enter on hydrated DOM nodes
fix - c0f0c2ee53 throw coded error when @for collection is not iterable
fix - f4fc17b4fb update standalone directiveDefs and pipeDefs during HMR

forms

Commit Description
fix - be72a1d2b2 clear native number inputs for infinite signal form values
fix - 89e705cb30 keep field cleanup from materializing unused children
fix - a811ef1065 resync select when the text of an option without a value changes
fix - 75d5818d38 treat infinite numbers as empty for required validation

http

Commit Description
fix - b5db3c45a7 abort in-flight FetchBackend requests on injector destroy (#72139)

migrations

Commit Description
fix - 3309ac54b6 avoid leaving blank lines when removing import declarations
fix - bb930fecc7 use the aliased Service import in the service migration

platform-browser

Commit Description
fix - 4888ea3fac avoid false NG05106 errors on insertBefore

platform-server

Commit Description
fix - fa6206942d guard renderInternal and platform teardown after destruction (#72139)

router

Commit Description
fix - 7af30a9943 avoid mutating Route.resolve when resolving dynamic route titles
fix - 208806f9a0 cancel active navigation transitions on router dispose (#72139)
fix - b8bb5ebc4a navigate every time a RedirectCommand is thrown from an error boundary

upgrade

Commit Description
fix - 8d1cb46ff0 capture downgraded component template contents during compile

Don't miss a new router release

NewReleases is sending notifications on new releases.