-
Notifications
You must be signed in to change notification settings - Fork 5
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
Report body: disambiguate deprecation timelines #10
Comments
Developer journey with the proposed solution 👩🏻💻"Alice" = developer
|
Bump. I consider deprecation reports is one of key pieces to help developers catching up with the current rapid evolution. How can we get this sorted? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One key information developers need from deprecation reports is whether an API is already deprecated or whether it will be deprecated.
Depending on this information, developers will approach the issue differently.
Assumptions
Problem today 💥
Today, by looking at a deprecation report, there's no straightforward way to know whether an API is deprecated or will be deprecated. The optional field
anticipatedRemoval
isn't sufficient because:Source: https://wicg.github.io/deprecation-reporting/#deprecation-report
Proposed solution ☑️
Extend the report body with two new fields:
deprecated
:true
|false
removedSince
: only present ifdeprecated
istrue
anticipatedRemoval
remains, but can be present only ifdeprecated
isfalse
.If
deprecated
isfalse
andanticipatedRemoval
is absent, it means, like in today's spec, that the removal may not actually occur.removedSince
andanticipatedRemoval
be actual human readable dates? Or should they be browser versions?The text was updated successfully, but these errors were encountered: