Replies: 1 comment 15 replies
-
This wouldn't be ideal :) Baseline was using a bad definition where it is thinking in A Safari minor version bump is equivalent to a Chrome major version bump. Safari majors :
Safari minors :
Chrome majors :
Firefox majors :
Samsung Internet minors :
Baseline/WebDX have since corrected their definition (only internally) so that Safari minors are equivalent to Chrome majors. This change isn't yet reflected on marketing pages and blog posts for Baseline IMO the baseline definitions are just complete bogus. I can say that here, but it wouldn't be helpful to say that in the WebDX group. There is a very large chance that that definition will be extremely close to
It is however critically important that no one starts changing things that work today because of bogus reasoning in Baseline. It is better to let them work through their mistakes without causing further fallout in the wider dev community :D |
Beta Was this translation helpful? Give feedback.
-
I've been using various tools that support Browserslist configs for a while now, and was recently discussing adding support for Baseline, when I got this helpful reply from @romainmenke:
At first I thought this was a bug or missing feature. I did some more troubleshooting and research and found the
major versions
syntax for Safari and iOS, which works nicely withlast 2 safari major versions
.I found this issue difficult to discover because there's no linter warning for it and browsersl.ist lists so many Safari versions that I didn't think to read them carefully. I suspect other developers may also find this difficult to understand, as popular open source tools like Create React App, Vite, Docusaurus, and Gatsby have made the same mistake, and I found approximately 9,400 similar configs on GitHub. Without fixing this, a significant portion of Safari users could be left unsupported. In the cause of Docusaurus, I noticed its Browserslist config could potentially cause half of its developer users to be unsupported, according to browsersl.ist.
Personally, I think
versions
should use major versions for Safari and iOS by default, as it appears to do for all other browsers and systems. If this isn't possible, I'm hoping to at least raise awareness and propose DX improvements for Safari support. I also believe Safari version support is more sensitive than other browsers, as it's the only browser engine on iOS and requires system updates, and doesn't automatically update on older macOS versions like evergreen browsers can.Related issues
browserslist
query. web-platform-dx/web-features#264Beta Was this translation helpful? Give feedback.
All reactions