Skip to content

Commit

Permalink
Add supported browsers section to migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoAndai committed May 10, 2024
1 parent 136fd88 commit 6037429
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/data/material/migration/migration-v5/migration-v5.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,28 @@ In the `package.json` file, change the package version from `latest` to `next`.
Using `next` ensures your project always uses the latest v6 alpha release.
Alternatively, you can also target and fix it to a specific version, for example, `6.0.0-alpha.0`.

## Supported browsers

The targets of the default bundle have changed in v6.

The exact versions will be pinned on release from the browserslist query `"> 0.5%, last 2 versions, Firefox ESR, not dead, safari >= 15.4, iOS >= 15.4"`.

Check warning on line 21 in docs/data/material/migration/migration-v5/migration-v5.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [Google.Will] Avoid using 'will'. Raw Output: {"message": "[Google.Will] Avoid using 'will'.", "location": {"path": "docs/data/material/migration/migration-v5/migration-v5.md", "range": {"start": {"line": 21, "column": 20}}}, "severity": "WARNING"}

The stable bundle supports the following minimum versions:

<!-- #stable-snapshot -->

- Chrome 109 (up from 90)
- Edge 121 (up from 91)
- Firefox 115 (up from 78)
- Safari 15.4 in both macOS and iOS (up from 14 in macOS and 12.5 in iOS)
- and more (see [.browserslistrc (`stable` entry)](https://github.com/mui/material-ui/blob/v6.0.0/.browserslistrc#L16))

### Removed support for IE 11

Support for IE 11 is completely removed, by dropping the legacy bundle and all IE 11 related code.
This allows us to decrease bundle size and keep the scope manageable.

Check warning on line 36 in docs/data/material/migration/migration-v5/migration-v5.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [Google.We] Try to avoid using first-person plural like 'us'. Raw Output: {"message": "[Google.We] Try to avoid using first-person plural like 'us'.", "location": {"path": "docs/data/material/migration/migration-v5/migration-v5.md", "range": {"start": {"line": 36, "column": 13}}}, "severity": "WARNING"}
If you need to support IE 11, you can use Material UI v5's [legacy bundle](https://v5.mui.com/material-ui/guides/minimizing-bundle-size/#legacy-bundle), but it won't get updates or bug fixes.

Check failure on line 37 in docs/data/material/migration/migration-v5/migration-v5.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [MUI.MuiBrandName] Use a non-breaking space (option+space on Mac, Alt+0160 on Windows or AltGr+Space on Linux, instead of space) for brand name ('Material UI' instead of 'Material UI') Raw Output: {"message": "[MUI.MuiBrandName] Use a non-breaking space (option+space on Mac, Alt+0160 on Windows or AltGr+Space on Linux, instead of space) for brand name ('Material UI' instead of 'Material UI')", "location": {"path": "docs/data/material/migration/migration-v5/migration-v5.md", "range": {"start": {"line": 37, "column": 43}}}, "severity": "ERROR"}

## Breaking changes

Since v6 is a new major release, it contains some changes that affect the public API.
Expand Down

0 comments on commit 6037429

Please sign in to comment.