-
Notifications
You must be signed in to change notification settings - Fork 2k
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
version_added is sometimes but not always a range #8074
Comments
For certain browsers, it is near impossible to test older versions. As such, we create ranges for the versions to say "it's at least in this version, but it could be implemented in an older version" (ex. |
I understand why but this can create issues on both the JSON schema and the React if we were to process the data. So I think it is useful to stay consistent with the type and name If we really wanted to be strict the answer is You could add a key if you want with an estimate but I am focused on this in object. |
We do outline ranged versions (a version with a Do you have a particular example of the ranged version causing issues? If so, perhaps I can suggest a solution to resolve the issue. Ranged values are pretty baked into the data since pre-1.0.0 BCD, and it's not something that we'd be able to remove or move around within the schema easily. (We do hope to, eventually, remove all ranged values and replace them with specific version numbers, but that's a goal to perform overtime.) |
|
Thanks for the example, and I see your point. From your first linked issue (mdn/yari#1925), I found mdn/yari#1607 which talks more about the display on the MDN web docs pages. May we get your input on that issue? (I'm seeing this as more of a display issue on the MDN pages rather than a data issue, but I'll ask @ddbeck what he thinks when he is back.) |
mdn/yari#1607 Is the more discussed. Is everiting "connected". The point is that datas are 2 types:
The range could be important for example if We want to say always N versions so
The problem Is that the |
The best thing in my opinion at the state of the art would be to null all the versions that are not known ... Since the JSON cannot compute. Then eventually extend the object/objects. |
Sometimes
version_added
is not a version like1.1.2.56
but is a string that starts with<=
like"<=1.1.1.1"
.https://www.github.com/mdn/browser-compat-data/tree/4c50bfdf43261a67d00b830fb0cd3a316a286400/api%2FHTMLMarqueeElement.json
The text was updated successfully, but these errors were encountered: