Skip to content

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Mar 6, 2025

Includes some breaking changes for v20.

BREAKING CHANGE:

  • SelectionModel.clear now returns a boolean.
  • SelectionModel.deselect now returns a boolean.
  • SelectionModel.select now returns a boolean.
  • SelectionModel.setSelection now returns a boolean.
  • SelectionModel.toggle now returns a boolean.
  • DIALOG_SCROLL_STRATEGY_PROVIDER has been removed.
  • DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY has been removed.
  • MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR has been removed.
  • MAT_SLIDE_TOGGLE_VALUE_ACCESSOR has been removed.
  • MatSlideToggleRequiredValidator has been removed.
  • _MatSlideToggleRequiredValidatorModule has been removed.
  • MAT_CHECKBOX_REQUIRED_VALIDATOR has been removed.
  • MAT_CHECKBOX_VALUE_ACCESSOR has been removed.
  • MatCheckboxRequiredValidator has been removed.
  • _MatCheckboxRequiredValidatorModule has been removed.
  • MAT_DIALOG_SCROLL_STRATEGY_PROVIDER has been removed.
  • MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY has been removed.
  • matSelectAnimations.transformPanelWrap has been removed.

crisbeto added 4 commits March 6, 2025 09:58
Changes the deprecated APIs for v20 in `cdk/collections`.

BREAKING CHANGE:
* `SelectionModel.clear` now returns a boolean.
* `SelectionModel.deselect` now returns a boolean.
* `SelectionModel.select` now returns a boolean.
* `SelectionModel.setSelection` now returns a boolean.
* `SelectionModel.toggle` now returns a boolean.
Removes the deprecated symbols for v20 from `cdk/dialog`.

BREAKING CHANGE:
* `DIALOG_SCROLL_STRATEGY_PROVIDER` has been removed.
* `DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY` has been removed.
Makes the breaking changes in `cdk/drag-drop` for v20.

BREAKING CHANGE:
* `DragDropRegistry` is no longer generic.
* `DragDropRegistry.scroll` has been removed. Use the `scrolled` method instead.
Makes the breaking changes for v20 in `cdk/table`.

BREAKING CHANGE:
* `Constructor` symbol has been removed.
* `CanStickCtor` symbol has been removed.
* `mixinHasStickyInput` has been removed. Implement the `CanStick` interface instead.
@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 Mar 6, 2025
@crisbeto crisbeto requested a review from a team as a code owner March 6, 2025 09:12
@crisbeto crisbeto requested review from mmalerba and wagnermaciel and removed request for a team March 6, 2025 09:12
crisbeto added 4 commits March 6, 2025 10:28
Makes the breaking changes in `material/slide-toggle` for v20.

BREAKING CHANGE:
* `MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR` has been removed.
* `MAT_SLIDE_TOGGLE_VALUE_ACCESSOR` has been removed.
* `MatSlideToggleRequiredValidator` has been removed.
* `_MatSlideToggleRequiredValidatorModule` has been removed.
Removes the deprecated symbols for v20 from the checkbox.

BREAKING CHANGE:
* `MAT_CHECKBOX_REQUIRED_VALIDATOR` has been removed.
* `MAT_CHECKBOX_VALUE_ACCESSOR` has been removed.
* `MatCheckboxRequiredValidator` has been removed.
* `_MatCheckboxRequiredValidatorModule` has been removed.
Removes the deprecated symbols for v20 from the dialog.

BREAKING CHANGE:
* `MAT_DIALOG_SCROLL_STRATEGY_PROVIDER` has been removed.
* `MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY` has been removed.
Removes the deprecated symbols for v20 from the select.

BREAKING CHANGE:
* `matSelectAnimations.transformPanelWrap` has been removed.
@crisbeto crisbeto force-pushed the v20-breaking-changes-1 branch from f85bb06 to c27e852 Compare March 6, 2025 09:29
@crisbeto crisbeto requested a review from andrewseguin March 6, 2025 13:15
@mmalerba
Copy link
Contributor

mmalerba commented Mar 6, 2025

awesome! some of these have been hanging around far too long

@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Mar 6, 2025
@crisbeto crisbeto merged commit db090ca into angular:main Mar 6, 2025
20 of 22 checks passed
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Apr 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: cdk/collections area: cdk/dialog area: cdk/drag-drop area: cdk/table area: material/checkbox area: material/dialog area: material/select area: material/slide-toggle 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.

2 participants