Skip to content

v22 breaking changes#33152

Merged
crisbeto merged 5 commits intoangular:mainfrom
crisbeto:v22-breaking-changes
Apr 29, 2026
Merged

v22 breaking changes#33152
crisbeto merged 5 commits intoangular:mainfrom
crisbeto:v22-breaking-changes

Conversation

@crisbeto
Copy link
Copy Markdown
Member

Includes some breaking changes for v22.

@crisbeto crisbeto added target: major This PR is targeted for the next major release merge: preserve commits When the PR is merged, a rebase and merge should be performed labels Apr 27, 2026
@pullapprove pullapprove Bot requested review from andrewseguin and ok7sai April 27, 2026 12:55
@crisbeto crisbeto force-pushed the v22-breaking-changes branch 2 times, most recently from cb967ee to eb59976 Compare April 27, 2026 13:24
@angular-robot angular-robot Bot added the detected: breaking change PR contains a commit with a breaking change label Apr 27, 2026
Removes deprecated APIs for v22 in the `cdk/a11y` package.

BREAKING CHANGE:
* `CDK_DESCRIBEDBY_HOST_ATTRIBUTE` has been removed.
* `CDK_DESCRIBEDBY_ID_PREFIX` has been removed.
* The `injector` parameter of the `ConfigurableFocusTrap` and `FocusTrap` constructors is now required.
* The boolean parameter of `ConfigurableFocusTrapFactory.create` has been replaced with a config object.
* `MESSAGES_CONTAINER_ID` has been removed.
Breaking changes for the `cdk/drag-drop` packages in v22.

BREAKING CHANGE:
* The `event` parameter of `DropListRef.drop` is now required.
Breaking changes for the `cdk/menu` package in v22.

BREAKING CHANGE:
* `ContextMenuTracker` has been renamed to `MenuTracker`.
Breaking changes for the `material/list` module in v22.

BREAKING CHANGE:
* `MatListOption.checkboxPosition` has been removed. use `togglePosition` instead.
* `MatListOptionCheckboxPosition` has been renamed to `MatListOptionTogglePosition`.
Breaking changes for the `material/sort` module in v22.

BREAKING CHANGE:
* `ArrowViewState` has been removed.
* `ArrowViewStateTransition` has been removed.
@crisbeto crisbeto force-pushed the v22-breaking-changes branch from eb59976 to 5f0a9b4 Compare April 27, 2026 14:11
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Apr 29, 2026
@crisbeto crisbeto merged commit 75718e4 into angular:main Apr 29, 2026
25 of 27 checks passed
@crisbeto
Copy link
Copy Markdown
Member Author

This PR was merged into the repository. The changes were merged into the following branches:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: cdk/a11y area: cdk/drag-drop area: cdk/menu area: material/list area: material/sort detected: breaking change PR contains a commit with a breaking change merge: preserve commits When the PR is merged, a rebase and merge should be performed target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants