---
title: "@angular/animations 22.0.0-rc.0 Breaking Changes on npm"
description: "What each @angular/animations release removed, renamed or changed: 24 breaking changes in 11 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@angular/animations
last_updated: 2026-12-04
---

# @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

Latest version `22.3.2`, released December 1, 2026. [Source repository](https://github.com/angular/angular)

Its 22.0.0-next.0 release requires Node.js 22.22.0 or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [22.0.0-next.0](#v-22-0-0-next-0) to [22.0.0-rc.0](#v-22-0-0-rc-0): 17 breaking changes in 10 versions.

## @angular/animations 22.0.0-rc.0 breaking changes

@angular/animations 22.0.0-rc.0, released June 3, 2026: 1 breaking change.

- **Behavior changed**  

Parentheses are now required around :host-context arguments, which may affect existing styles. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-rc.0)

## @angular/animations 22.0.0-next.11 breaking changes

@angular/animations 22.0.0-next.11, released June 3, 2026: 1 breaking change.

- **Behavior changed** `min`  

Bound values for min and max validation rules must be numbers or null; string values are no longer supported. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.11)

## @angular/animations 22.0.0-next.9 breaking changes

@angular/animations 22.0.0-next.9, released June 3, 2026: 1 breaking change.

- **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](https://github.com/angular/angular/releases/tag/v22.0.0-next.9)

## @angular/animations 22.0.0-next.8 breaking changes

@angular/animations 22.0.0-next.8, released June 3, 2026: 1 breaking change.

- **Behavior changed**  

Existing projects may get nullishCoalescingNotNullable and optionalChainNotNullable diagnostics; they may need to disable them in tsconfig temporarily. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.8)

## @angular/animations 22.0.0-next.7 breaking changes

@angular/animations 22.0.0-next.7, released June 3, 2026: 5 breaking changes.

- **Removed** `ComponentFactory`  

ComponentFactory is no longer available; pass the component class directly. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.7)
- **Removed** `ComponentFactoryResolver`  

ComponentFactoryResolver and ComponentFactory are no longer available; pass the component class directly. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.7)
- **Behavior changed**  

TypeScript versions older than 6.0 are no longer supported. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.7)
- **Signature changed** `appRef.bootstrap`  

The second argument of appRef.bootstrap no longer accepts any; make sure the element is not nullable. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.7)
- **Signature changed** `CanMatchFn`  

The currentSnapshot parameter is required; existing CanMatch implementations must include the third argument. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.7)

## @angular/animations 22.0.0-next.5 breaking changes

@angular/animations 22.0.0-next.5, released June 3, 2026: 3 breaking changes.

- **Removed**  

Hammer.js integration has been removed; use your own implementation. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.5)
- **Behavior changed**  

Elements matching multiple selectors now throw at compile time. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.5)
- **Default changed** `Component.changeDetection`  

Components with no changeDetection set now use OnPush; set ChangeDetectionStrategy.Eager to keep the previous behavior. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.5)

## Older versions

5 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### @angular/animations 22.0.0-next.4 breaking changes

@angular/animations 22.0.0-next.4, released June 3, 2026: 2 breaking changes.

- **Removed** `ChangeDetectorRef.checkNoChanges`  

checkNoChanges was removed; in tests use fixture.detectChanges() instead. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.4)
- **Behavior changed**  

Leave animations now apply beyond the element being removed; check leave animation behavior. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.4)

### @angular/animations 22.0.0-next.3 breaking changes

@angular/animations 22.0.0-next.3, released June 3, 2026: 1 breaking change.

- **Behavior changed**  

The nested animations feature was reverted in this release. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.3)

### @angular/animations 22.0.0-next.2 breaking changes

@angular/animations 22.0.0-next.2, released June 3, 2026: 1 breaking change.

- **Removed** `createNgModuleRef`  

createNgModuleRef was removed; use createNgModule instead. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.2)

### @angular/animations 22.0.0-next.1 breaking changes

@angular/animations 22.0.0-next.1, released June 3, 2026: 1 breaking change.

- **Behavior changed**  

No breaking changes in next.1 in @angular/animations 22.0.0-next.1 [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.1)

### @angular/animations 22.0.0-next.0 breaking changes

@angular/animations 22.0.0-next.0, released June 3, 2026: 7 breaking changes.

- **Removed** `getAngularLib`  

getAngularLib was removed. Use getAngularJSGlobal instead. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.0)
- **Removed** `provideRoutes`  

provideRoutes() has been removed. Use provideRouter() or ROUTES as a multi token instead. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.0)

And 5 more in this version.

## Related packages

- [@angular/core](https://since.dev/packages/npm/@angular/core.md)
- [@angular/compiler](https://since.dev/packages/npm/@angular/compiler.md)
- [@angular/common](https://since.dev/packages/npm/@angular/common.md)
- [@angular/platform-server](https://since.dev/packages/npm/@angular/platform-server.md)
- [@angular/router](https://since.dev/packages/npm/@angular/router.md)
- [@angular/forms](https://since.dev/packages/npm/@angular/forms.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
