-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
109 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,89 @@ | ||
# [Versions](https://mui.com/versions/) | ||
|
||
## 5.4.0 | ||
|
||
<!-- generated comparing v5.3.1..master --> | ||
|
||
_Feb 1, 2022_ | ||
|
||
A big thanks to the 22 contributors who made this release possible. Here are some highlights ✨: | ||
|
||
- 🛠 @goncalovf added an example project using [MUI with Vite.js](https://github.com/mui-org/material-ui/tree/master/examples/vitejs) (#28241) | ||
- Number of 🐛 bug fixes and 📚 documentation improvements. | ||
|
||
### `@mui/[email protected]` | ||
|
||
#### Breaking changes | ||
|
||
- ​<!-- 27 -->[core] Do not reexport Base from Material (#30853) @michaldudak | ||
|
||
All Base components were exported from the `@mui/material` package and treated as stable even though the `@mui/base` package is in development. It could create a lot of confusion if developers start using Base components, depend on them, and demand quality found in "proper" Material components. We admit it was a mistake to reexport these components without marking them as unstable. | ||
|
||
Developers are still encouraged to evaluate the Base components, but they should do so by explicitly installing the `@mui/base` package. | ||
|
||
This is technically a breaking change as it removes a number of components from the `@mui/material` package. However, we believe that removing the components now and potentially breaking the codebases will do less harm than introducing "silent" breaking changes to Base components while continuing reexporting them from `@mui/material`. | ||
|
||
Note: the utility components, such as ClickAwayListener, NoSsr, Portal, and TextareaAutosize continue to be exported from both `@mui/material` and `@mui/base`. | ||
|
||
If you're encountering build errors after upgrading @mui/material, do the following: | ||
|
||
1. Install @mui/base: npm install @mui/base or yarn add @mui/base | ||
2. Make sure the version of @mui/base match the version of @mui/material | ||
3. Change the import paths of unstyled components from @mui/material to @mui/base, e.g.: | ||
|
||
```diff | ||
- @import ButtonUnstyled from '@mui/material/ButtonUnstyled'; | ||
+ @import ButtonUnstyled from '@mui/base/ButtonUnstyled'; | ||
``` | ||
|
||
#### Changes | ||
|
||
- ​<!-- 30 -->[Autocomplete] Add `readOnly` prop (#30706) @ZeeshanTamboli | ||
- ​<!-- 29 -->[Autocomplete] Fix typos in the page (#30737) @austinewuncler | ||
- ​<!-- 14 -->[FormControlLabel][formgroup] add Mui-error class (#30656) @alisasanib | ||
- ​<!-- 13 -->[Grid] Fix prop check for applying wrap-reverse (#30813) @Hubbz | ||
- ​<!-- 07 -->[TextField] Remove notch when no label is added (#30560) @alisasanib | ||
- ​<!-- 06 -->[TextField] Remove usage of dangerouslySetInnerHTML (#30776) @Jack-Works | ||
- ​<!-- 05 -->[TreeView] Select node when key `Enter` is pressed (#30795) @dryrainbow | ||
- ​<!-- 04 -->[useMediaQuery] Ensure no tearing in React 18 (#30655) @eps1lon | ||
|
||
### `@mui/[email protected]` | ||
|
||
- ​<!-- 11 -->[SelectUnstyled] Create unstyled select (+ hook) (#30113) @michaldudak | ||
|
||
### `@mui/[email protected]` | ||
|
||
- ​<!-- 23 -->[DateTimePicker] Fix month view highlight wrong tab (#30773) @DiegoYungh | ||
- ​<!-- 12 -->[pickers] Enable the sx props on all components (#30749) @boutahlilsoufiane | ||
|
||
### Docs | ||
|
||
- ​<!-- 28 -->[blog] Introducing callback support in style overrides (#30668) @siriwatknp | ||
- ​<!-- 23 -->[docs] Add notifications for the blog posts (#30852) @siriwatknp | ||
- ​<!-- 22 -->[docs] Improve the interoperability guide (#30785) @mnajdova | ||
- ​<!-- 21 -->[docs] Improve the Getting Started documentation content (#30808) @mnajdova | ||
- ​<!-- 20 -->[docs] Fix typo in ad fallback (#30823) @cherniavskii | ||
- ​<!-- 19 -->[docs] Change ThemeProvider API links (#30705) @atakanzen | ||
- ​<!-- 18 -->[docs] Retain vendor prefixing in rtl example (#30710) @ryancogswell | ||
- ​<!-- 17 -->[docs] Fix typo in the Popper ScrollPlayground demo (#30780) @tanyabouman | ||
- ​<!-- 16 -->[docs] Small fixes on the jss-to-tss migration guide (#30734) @garronej | ||
- ​<!-- 15 -->[examples] Add Vite.js example (#28241) @goncalovf | ||
|
||
### Core | ||
|
||
- ​<!-- 29 -->[core] Clarify the label, to match with MUI X (#30831) @oliviertassinari | ||
- ​<!-- 26 -->[core] Remove none code related instructions from git (#30843) @oliviertassinari | ||
- ​<!-- 25 -->[core] Fix typos in comments for scripts (#30809) @aefox | ||
- ​<!-- 24 -->[core] Fix 301 link in the blog @oliviertassinari | ||
- ​<!-- 10 -->[test] Fix tests on Node 16 (#30819) @michaldudak | ||
- ​<!-- 09 -->[test] Add explicit types to support noImplicityAny=false (#30798) @m4theushw | ||
- ​<!-- 08 -->[test] Support React.useId format in \*DescriptionOf (#30657) @eps1lon | ||
- ​<!-- 03 -->[website] Fix SEO issues (#30829) @oliviertassinari | ||
- ​<!-- 02 -->[website] Add designer position page (#30708) @danilo-leal | ||
- ​<!-- 01 -->[website] Polish /about page (#30747) @oliviertassinari | ||
|
||
All contributors of this release in alphabetical order: @aefox, @alisasanib, @atakanzen, @austinewuncler, @boutahlilsoufiane, @cherniavskii, @danilo-leal, @DiegoYungh, @dryrainbow, @eps1lon, @garronej, @goncalovf, @Hubbz, @Jack-Works, @m4theushw, @michaldudak, @mnajdova, @oliviertassinari, @ryancogswell, @siriwatknp, @tanyabouman, @ZeeshanTamboli | ||
|
||
## 5.3.1 | ||
|
||
<!-- generated comparing v5.3.0..master --> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters