Skip to content

refactor(material/stepper): remove deprecated APIs for v12 #21901

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 1 commit into from
Mar 5, 2021

Conversation

crisbeto
Copy link
Member

Removes the APIs that have been marked for removal in v12.

BREAKING CHANGES:

  • MAT_STEPPER_GLOBAL_OPTIONS has been renamed to STEPPER_GLOBAL_OPTIONS.
  • The type of CdkStepper._stepHeader has been changed to QueryList<CdkStepHeader> from QueryList<FocusableOption> to better reflect the actual value.
  • The value of CdkStepper.selected can now be undefined.
  • The _elementRef and _document parameters of the CdkStepper constructor are now required.
  • The _elementRef and _document parameters of the MatVerticalStepper constructor are now
    required.
  • The _viewContainerRef parameter of the MatStep constructor is now required.

@crisbeto crisbeto added P2 The issue is important to a large percentage of users, with a workaround target: major This PR is targeted for the next major release labels Feb 14, 2021
@crisbeto crisbeto added this to the 12.0.0 milestone Feb 14, 2021
@google-cla google-cla bot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Feb 14, 2021
Copy link
Contributor

@mmalerba mmalerba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mmalerba mmalerba added the action: merge The PR is ready for merge by the caretaker label Feb 16, 2021
@crisbeto crisbeto force-pushed the stepper-v12-breaking-changes branch from cf3697f to 4ae88ef Compare February 21, 2021 12:03
Removes the APIs that have been marked for removal in v12.

BREAKING CHANGES:
* `MAT_STEPPER_GLOBAL_OPTIONS` has been renamed to `STEPPER_GLOBAL_OPTIONS`.
* The type of `CdkStepper._stepHeader` has been changed to `QueryList<CdkStepHeader>` from
`QueryList<FocusableOption>` to better reflect the actual value.
* The value of `CdkStepper.selected` can now be `undefined`.
* The `_elementRef` and `_document` parameters of the `CdkStepper` constructor are now required.
* The `_elementRef` and `_document` parameters of the `MatVerticalStepper` constructor are now
required.
* The `_viewContainerRef` parameter of the `MatStep` constructor is now required.
@crisbeto crisbeto force-pushed the stepper-v12-breaking-changes branch from 4ae88ef to 08719c4 Compare February 26, 2021 17:38
@annieyw annieyw merged commit 373af25 into angular:master Mar 5, 2021
@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 5, 2021
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 cla: yes PR author has agreed to Google's Contributor License Agreement P2 The issue is important to a large percentage of users, with a workaround 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