Skip to content
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

refactor(form-field): remove 6.0.0 deletion targets #10164

Closed

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Feb 26, 2018

Removes the targets marked for 6.0.0 deletion from the material/form-field.

BREAKING CHANGES:

  • dividerColor which was deprecated in 5.0.0 has been removed. Use color instead.
  • floatPlaceholder which was deprecated in 5.0.0 has been removed. Use floatLabel instead.
  • MatFormFieldControl.shouldPlaceholderFloat which was deprecated in 5.0.0 has been removed. Use shouldLabelFloat instead.
  • FloatPlaceholderType which was deprecated in 5.0.0 has been removed. Use FloatLabelType instead.
  • PlaceholderOptions which was deprecated in 5.0.0 has been removed. Use LabelOptions instead.
  • MAT_PLACEHOLDER_GLOBAL_OPTIONS which was deprecated in 5.0.0 has been removed. Use MAT_LABEL_GLOBAL_OPTIONS instead.
  • The mat-input-placeholder-wrapper and mat-form-field-placeholder-wrapper CSS classes which were deprecated in 5.0.0 have bee removed. The same element can be targeted using the mat-form-field-label-wrapper class.
  • The mat-input-placeholder and mat-form-field-placeholder CSS classes which were deprecated in 5.0.0 have bee removed. The same element can be targeted using the mat-form-field-label class.

@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Feb 26, 2018
@deletion-target 6.0.0
-->
<span class="mat-form-field-label-wrapper mat-input-placeholder-wrapper mat-form-field-placeholder-wrapper">
<span class="mat-form-field-label-wrapper">
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add a @deletion-target while you're here to remove all of the mat-input-* classes? We can do the actual remove in a different PR because I know for sure it's going to be a nightmare to merge

Copy link
Member Author

Choose a reason for hiding this comment

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

Done. I've set it to 7.0.0, but I can bump it down to 6.0.0 if you want.

@crisbeto crisbeto force-pushed the form-field-6.0.0-deletion-targets branch from 14a0de5 to a6384f3 Compare February 27, 2018 18:09
@jelbourn
Copy link
Member

jelbourn commented Feb 27, 2018

Can you change the breaking notes to match that earlier PR where applicable (i.e. "Xxx, which was deprecated in 5.0.0, has been removed. Use yyy instead")?

@crisbeto crisbeto force-pushed the form-field-6.0.0-deletion-targets branch from a6384f3 to 049918e Compare February 27, 2018 19:06
@crisbeto
Copy link
Member Author

Done.

Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

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

LGTM

@jelbourn jelbourn added pr: lgtm action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note and removed pr: needs review labels Feb 27, 2018
@jelbourn
Copy link
Member

Caretaker note: we need to remove google usages of the old API. This might require a cleanup before syncing this PR.

@crisbeto crisbeto added the target: major This PR is targeted for the next major release label Feb 27, 2018
@crisbeto crisbeto force-pushed the form-field-6.0.0-deletion-targets branch from 049918e to 119f082 Compare March 2, 2018 21:02
mmalerba added a commit to mmalerba/components that referenced this pull request Mar 9, 2018
small piece of angular#10164, split out for presubmit reasons

BREAKING CHANGES:
- dividerColor which was deprecated in 5.0.0 has been removed. Use color instead.
- floatPlaceholder which was deprecated in 5.0.0 has been removed. Use floatLabel instead.
Removes the targets marked for 6.0.0 deletion from the `material/form-field`.

BREAKING CHANGES:
* `dividerColor` which was deprecated in 5.0.0 has been removed. Use `color` instead.
* `floatPlaceholder` which was deprecated in 5.0.0 has been removed. Use `floatLabel` instead.
* `MatFormFieldControl.shouldPlaceholderFloat` which was deprecated in 5.0.0 has been removed. Use `shouldLabelFloat` instead.
* `FloatPlaceholderType`  which was deprecated in 5.0.0 has been removed. Use `FloatLabelType` instead.
* `PlaceholderOptions` which was deprecated in 5.0.0 has been removed. Use `LabelOptions` instead.
* `MAT_PLACEHOLDER_GLOBAL_OPTIONS`  which was deprecated in 5.0.0 has been removed. Use `MAT_LABEL_GLOBAL_OPTIONS` instead.
* The `mat-input-placeholder-wrapper` and `mat-form-field-placeholder-wrapper` CSS classes which were deprecated in 5.0.0 have bee removed. The same element can be targeted using the `mat-form-field-label-wrapper` class.
* The `mat-input-placeholder` and `mat-form-field-placeholder` CSS classes which were deprecated in 5.0.0 have bee removed. The same element can be targeted using the `mat-form-field-label` class.
@crisbeto crisbeto force-pushed the form-field-6.0.0-deletion-targets branch from 119f082 to 98a7d90 Compare March 11, 2018 02:06
mmalerba added a commit that referenced this pull request Mar 13, 2018
small piece of #10164, split out for presubmit reasons

BREAKING CHANGES:
- dividerColor which was deprecated in 5.0.0 has been removed. Use color instead.
- floatPlaceholder which was deprecated in 5.0.0 has been removed. Use floatLabel instead.
@mmalerba
Copy link
Contributor

closing since all shard PRs have been merged

@mmalerba mmalerba closed this Mar 13, 2018
@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 Sep 8, 2019
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 merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants