Coder Social home page Coder Social logo

Comments (10)

a2sheppy avatar a2sheppy commented on April 28, 2024 2

I agree that Firefox should be "45" and not "45.0". We only add the decimal point once there's a non-zero digit somewhere after it.

from browser-compat-data.

jpmedley avatar jpmedley commented on April 28, 2024 1

You have the numbering correct for Chrome and Chrome for Android. That scheme also applies to Android Webview.

from browser-compat-data.

a2sheppy avatar a2sheppy commented on April 28, 2024 1

from browser-compat-data.

Elchi3 avatar Elchi3 commented on April 28, 2024

Lets collect valid versions for UAs. I'm afraid we are not able to code this into the schema, but we need to put it somewhere as a reference for contributors and make it part of a review checklist.

Firefox and Firefox for Android

I think we want to use Firefox versions, not Gecko versions. I'm not 100% sure if we want "55.0" or "55". Leaning towards "55" until I hear differently.

Valid

Firefox Desktop: "1" - "60" (and higher), "1.5", "3.5", "3.6"
Firefox for Android: "4" - "60" (and higher)

Invalid

"1.7" (Fx 1)
"1.8" (Fx 1.5)
"1.8.1" (Fx 2)
"1.9" (Fx 3)
"1.9.1" (Fx 3.5)
"1.9.2" (Fx 3.6)
"2.0" (Fx 4)
"25.5", "5.3" etc.

Android WebView, Chrome, Chrome for Android

Chromes wants to display just integers, no "57.0" just "57".

Valid

"1" - "60" (and higher)

Invalid

"5.0", "57.0"

IE and IE mobile

Leaning towards integers for IE as well.

Valid

Desktop: "1", "1.5", "2", "3", "4", "5", "5.5", "6", "7", "8", "9", "10", "11"
IE mobile: "6", "7", "8", "9", "10", "11"

Invalid

"12", "13"
"6.0", "8.0"

Edge and Edge mobile

"The 2-digit EdgeHTML version (12 through 15 so far) is generally how we track web platform support".

Valid

"12", "13", "14", "15"

Invalid

"13.11099", "15.14986", "28", "37", "20"

Safari

I think it makes sense to use "10.0" instead of "10", as there is also "10.1" etc.

Valid

"1.0", "1.1", "1.2", "1.3", "2.0", "3.0", "3.1", "3.2", "4.0", "4.1", "5.0", "5.1", "6.0", "7.0", "8.0", "9.0", "9.1", "10.0", "10.1".

Invalid

"536.25" (webkit versions), "6.1.4", "5.2"

Safari iOs

Valid

Invalid

Opera

Valid

"5.00", "6.00", "7.00", "7.50", "8.00", "8.50", "9.00", "9.50", "10.00", "10.50", "10.60", "11.00", "11.10", "11.50", "11.60", "12.00", "12.10"
"15" - "45" (and higher)

Invalid

"2.4", "2.12" (Presto versions)
"36.0.1985.125" (Chromium versions)

Servo

I think it makes sense to only allow "false", "true", "null" for now as there are no versions, and maybe there won't be any.

Valid

"false", "true", "null"

Invalid

Any numbers

from browser-compat-data.

a2sheppy avatar a2sheppy commented on April 28, 2024

I also agree that the time has come to bail on Gecko version numbers. Nobody cares anymore about pre-4.0 Firefoxes. :)

from browser-compat-data.

wbamberg avatar wbamberg commented on April 28, 2024

Also Edge is the two-digit EdgeHTML version, according to mdn/kumascript#131 (comment). So "12", "13", "14", "15".

I agree that we should use "45" not "45.0" for Firefox, but might we sometimes want to include point releases in the compat data? They do exist after all.

from browser-compat-data.

Elchi3 avatar Elchi3 commented on April 28, 2024

Thanks for all the comments! I've updated the overview above.
I think I need help with iOS Safari versions, and the rest could use a double check as well. We discussed that we want to add a validation script to this repository that makes sure versions are valid as per these rules. I'm going to use this issue to gather the version schemas for the first set of browsers which can then be used in such a validation script. If you have more comments on correct versions of browsers, let us know here!

from browser-compat-data.

stephaniehobson avatar stephaniehobson commented on April 28, 2024

Safari iOS is tied to the operating system. The operating system definitely has point releases. Not sure where to find a full list.

from browser-compat-data.

a2sheppy avatar a2sheppy commented on April 28, 2024

Wikipedia has a list of iOS releases. The format kind of stinks, but it's pretty thorough: https://en.wikipedia.org/wiki/IOS_version_history

from browser-compat-data.

Elchi3 avatar Elchi3 commented on April 28, 2024

The testing infrastructure and an initial set of browsers to validate the version data against landed with PR #439. The remaining work is tracked in issue #591.

from browser-compat-data.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.