@angular/animations breaking changes
@angular/animations 22.0.0-rc.0 (June 3, 2026) is its newest release with breaking changes. The first: Stricter handling of :host-context and animation definition parsing in @angular/animations 22.0.0-rc.0. Every breaking API change we have recorded in @angular/animations on npm: 24 breaking changes in 11 versions. Below, its 11 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 22.3.2, released December 1, 2026. Source repository
Its 22.0.0-next.0 release requires Node.js 22.22.0 or later. Node.js end of life dates.
- From 22.0.0-next.0 to 22.0.0-rc.0: 17 breaking changes in 10 versions.
@angular/animations 22.0.0-rc.0 breaking changes
- Behavior changed
Parentheses are now required around :host-context arguments, which may affect existing styles. github.com
@angular/animations 22.0.0-next.11 breaking changes
- Behavior changed
min
Bound values for min and max validation rules must be numbers or null; string values are no longer supported. github.com
@angular/animations 22.0.0-next.9 breaking changes
- Behavior changed
paramsInheritanceStrategy
The default changed from 'emptyOnly' to 'always', so route parameters are inherited from all parent routes. Set paramsInheritanceStrategy to 'emptyOnly' to keep the previous behavior. github.com
@angular/animations 22.0.0-next.8 breaking changes
- Behavior changed
Existing projects may get nullishCoalescingNotNullable and optionalChainNotNullable diagnostics; they may need to disable them in tsconfig temporarily. github.com
@angular/animations 22.0.0-next.7 breaking changes
- Removed
ComponentFactory
ComponentFactory is no longer available; pass the component class directly. github.com - Removed
ComponentFactoryResolver
ComponentFactoryResolver and ComponentFactory are no longer available; pass the component class directly. github.com - Behavior changed
TypeScript versions older than 6.0 are no longer supported. github.com - Signature changed
appRef.bootstrap
The second argument of appRef.bootstrap no longer accepts any; make sure the element is not nullable. github.com - Signature changed
CanMatchFn
The currentSnapshot parameter is required; existing CanMatch implementations must include the third argument. github.com
@angular/animations 22.0.0-next.5 breaking changes
- Removed
Hammer.js integration has been removed; use your own implementation. github.com - Behavior changed
Elements matching multiple selectors now throw at compile time. github.com - Default changed
Component.changeDetection
Components with no changeDetection set now use OnPush; set ChangeDetectionStrategy.Eager to keep the previous behavior. github.com
Older versions
5 older versions, each with its first changes. Sign up to see every change
Show 5 older versions
@angular/animations 22.0.0-next.4 breaking changes
- Removed
ChangeDetectorRef.checkNoChanges
checkNoChanges was removed; in tests use fixture.detectChanges() instead. github.com - Behavior changed
Leave animations now apply beyond the element being removed; check leave animation behavior. github.com
@angular/animations 22.0.0-next.3 breaking changes
- Behavior changed
The nested animations feature was reverted in this release. github.com
@angular/animations 22.0.0-next.2 breaking changes
- Removed
createNgModuleRef
createNgModuleRef was removed; use createNgModule instead. github.com
@angular/animations 22.0.0-next.1 breaking changes
- Behavior changed
No breaking changes in next.1 in @angular/animations 22.0.0-next.1 github.com
@angular/animations 22.0.0-next.0 breaking changes
- Removed
getAngularLib
getAngularLib was removed. Use getAngularJSGlobal instead. github.com - Removed
provideRoutes
provideRoutes() has been removed. Use provideRouter() or ROUTES as a multi token instead. github.com
And 5 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.