Skip to content
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

Update supported browsers #628

Open
nrenner opened this issue Sep 1, 2022 · 1 comment
Open

Update supported browsers #628

nrenner opened this issue Sep 1, 2022 · 1 comment

Comments

@nrenner
Copy link
Owner

nrenner commented Sep 1, 2022

Currently supported browser are defined by this Browserslist query which is used by Babel, ESLint, Autoprefixer and PostCSS:

brouter-web/package.json

Lines 24 to 34 in 4c2e390

"browserslist": [
"> 0.5%",
"last 2 versions",
"Firefox ESR",
"Firefox >= 56",
"not dead",
"Explorer >= 10",
"Android >= 4.1",
"Safari >= 7",
"iOS >= 7"
],

The query is composed of:

  • > 0.5%, last 2 versions, Firefox ESR, not dead - the Browserslist defaults query
  • Firefox >= 56 - still in use because of support for old plugins before Web Extensions (#571)
  • Explorer >= 10, Android >= 4.1, Safari >= 7, iOS >= 7 - minimal versions to support Flexbox (source)

Quoting @tbsmark86 from #621:

Safari 7, op_mini all, IE 10, android 4.1 don't seem relevant today. Those are all EOL maybe eslint configuration should be updated?

The versions Explorer >= 10, Android >= 4.1, Safari >= 7, iOS >= 7 were the minimal required when we introduced Flexbox and Autoprefixer. That part could probably be dropped nowadays.

And supporting opera-mini seems pointless.

The Browserslist definition does not consider it dead yet, still covered by the defaults (Opera Mini all: 0.95 %).

It would be nice to get custom usage data from User-Agent strings in Nginx log, but there only seem to be tools for Google Analytics & co.

@tbsmark86
Copy link
Contributor

The Browserslist definition does not consider it dead yet, still covered by the defaults (Opera Mini all: 0.95 %).

I agree. Opera Mini is not dead. What I meant was that Opera Mini has very limited supported for interactive websites because, as far as I now, most of the rendering is done on the server.

The versions Explorer >= 10,

Not sure if you know but IE 11 has reached EOL a few month ago. So drop IE.

Android >= 4.1,

Hm not sure at which to jump but starting 2024 Android < 7.1 will fail because of Lets-Encrypt.
Probably let the browserlist default decide.

Safari >= 7, iOS >= 7

Not sure about safari but iOS can be at least >= 9. Because apple does update so well an ios 8 device would be more then 10 years old.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants