Skip to content

add @deletion-target to all deprecated APIs - #9490

Merged
jelbourn merged 2 commits into
angular:masterfrom
mmalerba:dep
Jan 24, 2018
Merged

jelbourn merged 2 commits into
angular:masterfrom
mmalerba:dep

Conversation

@mmalerba

Copy link
Copy Markdown
Contributor

Should make our job easier when preparing for 6.0.0, we can search for @deletion-target 6.0.0 and delete them, then search for @deletion-target 7.0.0 and make sure they all have @deprecated

We can add some tooling/lint checks around it if we decide it would be useful

@mmalerba
mmalerba requested a review from jelbourn January 20, 2018 00:45
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Jan 20, 2018

@crisbeto crisbeto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

A few more places that should be marked:

  1. There a couple of TODOs in the form-field.html.
  2. The return value for MatDrawer.toggle.
  3. The defaultOptions param in the tooltip constructor.

Comment thread src/lib/core/theming/_palette.scss Outdated


/// @deprecated renamed to $dark-primary-text.
/// @deletion-target 7.0.0

@crisbeto crisbeto Jan 20, 2018 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It's what was there before, but shouldn't we use double slashes here?

@jelbourn jelbourn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good overall, just needs rebase

@devversion we could probably surface this info in the docs by adding a title to the element that says "Deprecated"

@mmalerba

Copy link
Copy Markdown
Contributor Author

Addressed comments and rebased

@jelbourn jelbourn added pr: lgtm action: merge The PR is ready for merge by the caretaker and removed pr: needs review labels Jan 24, 2018
@jelbourn
jelbourn merged commit 48ff4ba into angular:master Jan 24, 2018
@jelbourn jelbourn added the target: patch This PR is targeted for the next patch release label Jan 29, 2018
@mmalerba
mmalerba deleted the dep branch July 31, 2018 21:56
@angular-automatic-lock-bot

Copy link
Copy Markdown

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 9, 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 target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants