Skip to content

Commit

Permalink
[core] Update .browserslistrc file (#27788)
Browse files Browse the repository at this point in the history
Co-authored-by: eps1lon <silbermann.sebastian@gmail.com>
  • Loading branch information
DanailH and eps1lon committed Aug 18, 2021
1 parent b0c7b7a commit 65cee17
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 37 deletions.
45 changes: 23 additions & 22 deletions .browserslistrc
Expand Up @@ -7,44 +7,45 @@ node 14

# Default/Fallback
# `npx browserslist --mobile-to-desktop "> 0.5%, last 2 versions, Firefox ESR, not dead, not IE 11"` when the last major is released.
# On update check all #stable-snapshot markers
# Manually downgrading to ios_saf 12.4 for iPhone 6 and webpack 4 support.
# On update, sync references where "#stable-snapshot" is mentioned in the codebase.
[stable]
and_chr 85
and_ff 80
and_chr 91
and_ff 89
and_qq 10.4
and_uc 12.12
android 85
android 91
baidu 7.12
chrome 84
edge 85
chrome 90
edge 91
firefox 78
ios_saf 12.2
ios_saf 12.4
kaios 2.5
op_mini all
op_mob 70
opera 70
safari 13.1
samsung 11.1-11.2
op_mob 76
opera 76
safari 14
samsung 13.0

# Same as `stable` but with IE 11
[legacy]
IE 11
and_chr 85
and_ff 80
ie 11
and_chr 91
and_ff 89
and_qq 10.4
and_uc 12.12
android 85
android 91
baidu 7.12
chrome 84
edge 85
chrome 90
edge 91
firefox 78
ios_saf 12.2
ios_saf 12.4
kaios 2.5
op_mini all
op_mob 70
opera 70
safari 13.1
samsung 11.1-11.2
op_mob 76
opera 76
safari 14
samsung 13.0

# snapshot of `npx browserslist "maintained node versions"`
# On update check all #stable-snapshot markers
Expand Down
Expand Up @@ -11,7 +11,7 @@ You don't need to provide any JavaScript polyfill as it manages unsupported brow

| Edge | Firefox | Chrome | Safari (macOS) | Safari (iOS) | IE |
| :---- | :------ | :----- | :------------- | :----------- | :------------------- |
| >= 85 | >= 78 | >= 84 | >= 13 | >= 12.1 | 11 (partial support) |
| >= 91 | >= 78 | >= 90 | >= 14 | >= 12.5 | 11 (partial support) |

<!-- #default-branch-switch -->

Expand Down
6 changes: 3 additions & 3 deletions docs/src/pages/guides/migration-v4/migration-v4.md
Expand Up @@ -187,10 +187,10 @@ The default bundle supports the following minimum versions:
<!-- #stable-snapshot -->

- Node 12 (up from 8)
- Chrome 84 (up from 49)
- Edge 85 (up from 14)
- Chrome 90 (up from 49)
- Edge 91 (up from 14)
- Firefox 78 (up from 52)
- Safari 13 (macOS) and 12.2 (iOS) (up from 10)
- Safari 14 (macOS) and 12.5 (iOS) (up from 10)
- and more (see [.browserslistrc (`stable` entry)](https://github.com/mui-org/material-ui/blob/HEAD/.browserslistrc#L11))

It no longer supports IE 11.
Expand Down
11 changes: 7 additions & 4 deletions test/karma.conf.js
Expand Up @@ -166,7 +166,10 @@ module.exports = function setKarmaConfig(config) {
os: 'OS X',
os_version: 'Catalina',
browser: 'chrome',
browser_version: '84.0',
// We support Chrome 90.x
// However, >=88 fails on seemingly all focus-related tests.
// TODO: Investigate why.
browser_version: '87.0',
},
firefox: {
base: 'BrowserStack',
Expand All @@ -180,16 +183,16 @@ module.exports = function setKarmaConfig(config) {
os: 'OS X',
os_version: 'Catalina',
browser: 'safari',
// We support 12.2 on iOS.
// However, 12.1 is very flaky on desktop (mobile is always flaky).
// We support 12.5 on iOS.
// However, 12.x is very flaky on desktop (mobile is always flaky).
browser_version: '13.0',
},
edge: {
base: 'BrowserStack',
os: 'Windows',
os_version: '10',
browser: 'edge',
browser_version: '85.0',
browser_version: '91.0',
},
},
};
Expand Down
8 changes: 4 additions & 4 deletions test/karma.conf.profile.js
Expand Up @@ -138,7 +138,7 @@ module.exports = function setKarmaConfig(config) {
os: 'OS X',
os_version: 'Catalina',
browser: 'chrome',
browser_version: '84.0',
browser_version: '90.0',
},
// No accurate performance timings (integer precision instead of double).
firefox: {
Expand All @@ -154,16 +154,16 @@ module.exports = function setKarmaConfig(config) {
os: 'OS X',
os_version: 'Catalina',
browser: 'safari',
// We support 12.2 on iOS.
// However, 12.1 is very flaky on desktop (mobile is always flaky).
// We support 12.5 on iOS.
// However, 12.x is very flaky on desktop (mobile is always flaky).
browser_version: '13.0',
},
edge: {
base: 'BrowserStack',
os: 'Windows',
os_version: '10',
browser: 'edge',
browser_version: '85.0',
browser_version: '91.0',
},
},
};
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Expand Up @@ -5113,9 +5113,9 @@ camelize@^1.0.0:
integrity sha1-FkpUg+Yw+kMh5a8HAg5TGDGyYJs=

caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001202, caniuse-lite@^1.0.30001219, caniuse-lite@^1.0.30001228, caniuse-lite@^1.0.30001230:
version "1.0.30001248"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001248.tgz#26ab45e340f155ea5da2920dadb76a533cb8ebce"
integrity sha512-NwlQbJkxUFJ8nMErnGtT0QTM2TJ33xgz4KXJSMIrjXIbDVdaYueGyjOrLKRtJC+rTiWfi6j5cnZN1NBiSBJGNw==
version "1.0.30001251"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001251.tgz"
integrity sha512-HOe1r+9VkU4TFmnU70z+r7OLmtR+/chB1rdcJUeQlAinjEeb0cKL20tlAtOagNZhbrtLnCvV19B4FmF1rgzl6A==

case@1.6.3:
version "1.6.3"
Expand Down

0 comments on commit 65cee17

Please sign in to comment.