-
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
Safari iOS releases #2006
Comments
Also, if we assume caniuse's data is correct, of Safari 8.1 and 8.4 only one actually exists. There was a release of Safari in iOS 8.4, though I'm not entirely sure which version number it was given. |
Hey Jon (@apple-web-evangelist), The file mentioned above is our allow-list for valid Safari iOS versions. The versions specified there are allowed to be used in MDN compat tables (which appear on about 6000 MDN doc pages). |
Another issue here is that Safari on iOS generally is treated as sharing a version number with iOS, while its user agent reports a different number entirely. For example, Safari on my iPhone right now reports this UA:
We need to sort out how to let people understand which iOS version the mobile Safari we list matches with, since that's more important than anything else the version number might tell us in that scenario. |
Apple refers to it as "Safari for iOS". I've discussed this with others at MDN that labels should be updated to "Safari for iOS" and version numbers should reflect the iOS version. In this case Safari for iOS 10.3 would be accurate. Regarding the UA string @a2sheppy mentioned, the correct label would be "Safari for iOS" with version "12.1". |
@apple-web-evangelist - Yeah, that's what I have been generally getting at, but you've done it much better than I have. This is something we need to update our schema and/or presentation on MDN for, but the bigger issue is actually getting good data for Safari into BCD. There's a great deal to be done and I don't know who will be doing it. |
I am preparing data to supply to MDN by landing it in the repo. That said, there are some hurdles for me to overcome, most importantly finding a reliable way to map feature implementations to shipped versions of Safari for iOS and Safari for desktop. It's going to take me time to build a map that will help me do it efficiently so that I can make the most of those spare cycles. Be patient with me. |
@apple-web-evangelist - I hear you. Getting a system in place to get the data into a usable form takes time. We're still trying to perfect it ourselves and we've been working on this for a while now. :) |
What is the current state of this? At least two other PRs are waiting for this issue to be resolved. |
Hey @apple-web-evangelist, are still you planning on following up on this? Or can you point us to someone else who could help? We really would like to get Safari and Safari iOS versions correct and need a list of releases here. Currently, we assume that the data in the following two files is correct: This data is now used by VS Code, webhint.io, WebStorm IDE and more (https://github.com/mdn/browser-compat-data#projects-using-the-data). Also, of course, it is seen by millions of web developers who visit MDN every month. It would be great to make sure we all talk about correct Safari versions. |
Whilst working on the browser engine versions, I found a page that documents the exact WebKit versions of all iOS releases from iOS 2.0 to 11.4.1. |
Just spitballing here, but I noticed recently that Safari's User-Agent string provides a lot of information that might help cross-reference various version numbers that we care about. For example, on my MacBook Air, the UA string is Admittedly, these numbers don't come in consistent triples (e.g., OS upgrades don't necessarily bump Safari version numbers). But if somebody had a fair amount of traffic and a lot of historic access logs (admittedly, a big if), it might be possible to get a pretty good idea of which Safari versions landed with which iOS releases. |
YES. If we can get our hands on said logs, we’d have information from the most credible sources possible! In fact, I think that I found the perfect database. It's literally a collection of all the user agents overtime, which is exactly what we're looking for. I'm parsing through the data right now to get something rolling! (Unfortunately, there seems to be a lot of junk data in the user agents, filled with "420"s and "69"s that jerks thought was funny...urgh. I'll be making sure to parse through the data based upon the number of times the user agent, and similar user agents, were recorded.) |
Whew... List is complete! I sorted through each iOS version to find the most popular user agents reported, and as a result obtained the most likely WebKit engine versions. (I made sure to strip out all the junk data as carefully as possible -- there was a LOT of it, unfortunately.) I've uploaded it as a Google Drive spreadsheet for anyone to take a look at and review. P.S. related PR: #3877 |
release notes for opera are here: found some release notes for safari here:, but not sure how to match the release version to actual version |
Thank you! 👍
There is #2991 to research a mapping. |
I have just gone through and removed a number of Safari iOS versions after 6.0 that don't match up with desktop releases, as to help clean up our data. This should also assist eliminating some confusion about whether to use iOS or Safari versions for Safari iOS data. They are as follows: |
So I think that we're all good on this one now, and our Safari iOS data is cleaned up! I'm going to go ahead and close this issue, as I don't think there's anything else that needs to be done for this. Happy to reopen if I'm incorrect, though! |
So, the Safari iOS release data is really weird.
Right now there are a bunch of releases which don't actually exist, best I can tell:
browser-compat-data/browsers/safari_ios.json
Lines 1 to 89 in 785bcec
The list includes the following releases:
Of these, a few don't seem to actually exist:
At least for the most recent few releases, Safari and iOS are versioned separately. Every major iOS release, e.g. iOS 9, 10, 11, comes with a corresponding Safari release, but minor versions, e.g. 9.1, 9.2, only sometimes come with a Safari release, and regardless of the iOS version number only increment the minor release number by 1 (e.g. iOS 11.3 came with Safari 11.1).
There are also some from very old versions which I'm not sure about, namely 1 and 2. Safari for iOS seems to have started on version 3.0 since that's where Safari for macOS was, at least if the Wikipedia article is correct.
The text was updated successfully, but these errors were encountered: