-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Breaking changes for v20 #30594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Breaking changes for v20 #30594
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
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.
f85bb06
to
c27e852
Compare
mmalerba
approved these changes
Mar 6, 2025
awesome! some of these have been hanging around far too long |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.