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

[core] Update .browserslistrc file #27788

Merged
merged 9 commits into from Aug 18, 2021
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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) |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

browserslist does not have support yet for 12.5 which was released 8 months ago


<!-- #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
8 changes: 4 additions & 4 deletions test/karma.conf.js
Expand Up @@ -166,7 +166,7 @@ module.exports = function setKarmaConfig(config) {
os: 'OS X',
os_version: 'Catalina',
browser: 'chrome',
browser_version: '84.0',
browser_version: '90.0',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Considering all the test failures we may want to hold off on changing this until we figured out what changed.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, so we should revert back to 84.0 right.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently bisecting what's possible. Will push a fix.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a browserstack problem. For some reason programmatic focus no longer causes focus in Chrome >=89 using browserstack. It's working perfectly fine not using browserstack.

},
firefox: {
base: 'BrowserStack',
Expand All @@ -180,16 +180,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 @@ -5118,9 +5118,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