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 browser support per policy #20791

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ jobs:
- name: Setup firefox
uses: browser-actions/setup-firefox@latest
with:
firefox-version: 102.0.1
firefox-version: 115.9.1esr
- run: firefox --version
- name: test
run: pnpm ember test --path dist -c testem.ci-browsers.js
Expand Down
94 changes: 39 additions & 55 deletions lib/browsers.js
Original file line number Diff line number Diff line change
@@ -1,63 +1,47 @@
module.exports = [
'Chrome >= 103',
'Edge >= 110',
'Firefox >= 102',
'iOS >= 12',
'Chrome >= 109',
'Edge >= 128',
'Firefox >= 115',
'iOS >= 15.6',
'Safari >= 15.6',
'ChromeAndroid >= 112',
'FirefoxAndroid >= 110',
'ChromeAndroid >= 130',
'FirefoxAndroid >= 130',
];

/*
As of the release of April 2023, the above query expands to:
The above is generated via browserslist to comply with [RFC #685](https://rfcs.emberjs.com/id/0685-new-browser-support-policy)
and [RFC #984](https://rfcs.emberjs.com/id/0984-update-browser-support-policy) by running the following command:

and_chr 112
and_ff 110
chrome 112
chrome 111
chrome 110
`npx browserslist '>0.25%, Firefox ESR, last 1 Chrome version, last 1 Firefox version, last 1 Edge version, last 1 FirefoxAndroid version, last 1 ChromeAndroid version, not dead'`

And then filtering out unsupported browsers.

and_chr 130
and_ff 130
chrome 130
chrome 129
chrome 128
chrome 127
chrome 126
chrome 125
chrome 124
chrome 109
chrome 108
chrome 107
chrome 106
chrome 105
chrome 104
chrome 103
edge 112
edge 111
edge 110
firefox 112
firefox 111
firefox 110
firefox 109
firefox 108
firefox 107
firefox 106
firefox 105
firefox 104
firefox 103
firefox 102
ios_saf 16.4
ios_saf 16.3
ios_saf 16.2
ios_saf 16.0
ios_saf 15.6
ios_saf 15.5
ios_saf 15.4
ios_saf 15.2-15.3
ios_saf 15.0-15.1
ios_saf 14.5-14.8
ios_saf 14.0-14.4
ios_saf 13.4-13.7
ios_saf 13.3
ios_saf 13.2
ios_saf 13.0-13.1
ios_saf 12.2-12.5
ios_saf 12.0-12.1
safari 16.4
safari 16.3
safari 16.2
safari 16.1
safari 16.0
safari 15.6
edge 130
edge 129
edge 128
firefox 132
firefox 130
firefox 129
firefox 128
firefox 115
ios_saf 18.0
ios_saf 17.6-17.7
ios_saf 17.5
ios_saf 17.4
ios_saf 16.6-16.7
ios_saf 16.1
ios_saf 15.6-15.8
safari 17.6
safari 17.5
safari 16.6
*/
4 changes: 2 additions & 2 deletions testem.browserstack.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const BrowserStackLaunchers = {
'--b',
'edge',
'--bv',
'110',
'128',
'-t',
'1200',
'--u',
Expand All @@ -47,7 +47,7 @@ const BrowserStackLaunchers = {
'--b',
'Chrome',
'--bv',
'103',
'109',
'-t',
'1200',
'--u',
Expand Down