You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gsnedders opened this issue
Feb 1, 2022
· 4 comments
Labels
docsIssues or pull requests regarding the documentation of this project.questionIssues where a question or problem is stated and a discussion is held to gather opinions.
Seemingly we don't currently have consensus here. Sometimes they get version_removed, sometimes they don't. We should have a policy here, and enforce it with a lint (at least in the case when the version_removed would align with version_added without a flag).
The text was updated successfully, but these errors were encountered:
queengooborg
added
docs
Issues or pull requests regarding the documentation of this project.
question
Issues where a question or problem is stated and a discussion is held to gather opinions.
labels
Feb 1, 2022
In BCD, we use a version_removed for the flags when the flag itself has been removed, rather than when it's enabled by default. However, this isn't a defined policy, and I personally feel that it would be simpler just to mark the support behind a flag as removed once it's enabled by default. We should definitely plan a policy and document it.
Set version_removed to the earliest applicable version from these conditions. For example, if Chrome 90 enabled the flag by default, the feature could no longer be toggled off by disabling the flag in Chrome 96, and finally the flag was removed by Chrome 98, then set version_removed to 90 as it is the earliest applicable version.
How does this work with preview as a version? Do we treat preview as the earliest applicable version in all eternity, or do we change it following a release?
docsIssues or pull requests regarding the documentation of this project.questionIssues where a question or problem is stated and a discussion is held to gather opinions.
Seemingly we don't currently have consensus here. Sometimes they get
version_removed
, sometimes they don't. We should have a policy here, and enforce it with a lint (at least in the case when theversion_removed
would align withversion_added
without a flag).For example,
api.AnimationTimeline
has:Which results in Yari showing:
Whereas
api.CanvasRenderingContext2D.createConicGradient
has:Which results in Yari showing:
The text was updated successfully, but these errors were encountered: