Skip to content

Commit

Permalink
v5.4.0 (#30855)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova authored Feb 1, 2022
1 parent 96ffba5 commit ba4e819
Show file tree
Hide file tree
Showing 12 changed files with 109 additions and 25 deletions.
84 changes: 84 additions & 0 deletions CHANGELOG.md
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

- &#8203;<!-- 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

- &#8203;<!-- 30 -->[Autocomplete] Add `readOnly` prop (#30706) @ZeeshanTamboli
- &#8203;<!-- 29 -->[Autocomplete] Fix typos in the page (#30737) @austinewuncler
- &#8203;<!-- 14 -->[FormControlLabel][formgroup] add Mui-error class (#30656) @alisasanib
- &#8203;<!-- 13 -->[Grid] Fix prop check for applying wrap-reverse (#30813) @Hubbz
- &#8203;<!-- 07 -->[TextField] Remove notch when no label is added (#30560) @alisasanib
- &#8203;<!-- 06 -->[TextField] Remove usage of dangerouslySetInnerHTML (#30776) @Jack-Works
- &#8203;<!-- 05 -->[TreeView] Select node when key `Enter` is pressed (#30795) @dryrainbow
- &#8203;<!-- 04 -->[useMediaQuery] Ensure no tearing in React 18 (#30655) @eps1lon

### `@mui/[email protected]`

- &#8203;<!-- 11 -->[SelectUnstyled] Create unstyled select (+ hook) (#30113) @michaldudak

### `@mui/[email protected]`

- &#8203;<!-- 23 -->[DateTimePicker] Fix month view highlight wrong tab (#30773) @DiegoYungh
- &#8203;<!-- 12 -->[pickers] Enable the sx props on all components (#30749) @boutahlilsoufiane

### Docs

- &#8203;<!-- 28 -->[blog] Introducing callback support in style overrides (#30668) @siriwatknp
- &#8203;<!-- 23 -->[docs] Add notifications for the blog posts (#30852) @siriwatknp
- &#8203;<!-- 22 -->[docs] Improve the interoperability guide (#30785) @mnajdova
- &#8203;<!-- 21 -->[docs] Improve the Getting Started documentation content (#30808) @mnajdova
- &#8203;<!-- 20 -->[docs] Fix typo in ad fallback (#30823) @cherniavskii
- &#8203;<!-- 19 -->[docs] Change ThemeProvider API links (#30705) @atakanzen
- &#8203;<!-- 18 -->[docs] Retain vendor prefixing in rtl example (#30710) @ryancogswell
- &#8203;<!-- 17 -->[docs] Fix typo in the Popper ScrollPlayground demo (#30780) @tanyabouman
- &#8203;<!-- 16 -->[docs] Small fixes on the jss-to-tss migration guide (#30734) @garronej
- &#8203;<!-- 15 -->[examples] Add Vite.js example (#28241) @goncalovf

### Core

- &#8203;<!-- 29 -->[core] Clarify the label, to match with MUI X (#30831) @oliviertassinari
- &#8203;<!-- 26 -->[core] Remove none code related instructions from git (#30843) @oliviertassinari
- &#8203;<!-- 25 -->[core] Fix typos in comments for scripts (#30809) @aefox
- &#8203;<!-- 24 -->[core] Fix 301 link in the blog @oliviertassinari
- &#8203;<!-- 10 -->[test] Fix tests on Node 16 (#30819) @michaldudak
- &#8203;<!-- 09 -->[test] Add explicit types to support noImplicityAny=false (#30798) @m4theushw
- &#8203;<!-- 08 -->[test] Support React.useId format in \*DescriptionOf (#30657) @eps1lon
- &#8203;<!-- 03 -->[website] Fix SEO issues (#30829) @oliviertassinari
- &#8203;<!-- 02 -->[website] Add designer position page (#30708) @danilo-leal
- &#8203;<!-- 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 -->
Expand Down
4 changes: 2 additions & 2 deletions benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"@chakra-ui/system": "^1.9.1",
"@emotion/react": "^11.7.1",
"@emotion/styled": "^11.6.0",
"@mui/material": "^5.3.1",
"@mui/material": "^5.4.0",
"@mui/styles": "^5.3.0",
"@mui/system": "^5.3.0",
"@mui/system": "^5.4.0",
"@styled-system/css": "^5.1.5",
"benchmark": "^2.1.4",
"playwright": "^1.17.1",
Expand Down
10 changes: 5 additions & 5 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@fortawesome/react-fontawesome": "^0.1.16",
"@mui/base": "5.0.0-alpha.66",
"@mui/base": "5.0.0-alpha.67",
"@mui/docs": "^5.3.0",
"@mui/icons-material": "^5.3.1",
"@mui/lab": "5.0.0-alpha.66",
"@mui/material": "^5.3.1",
"@mui/material-next": "6.0.0-alpha.20",
"@mui/lab": "5.0.0-alpha.67",
"@mui/material": "^5.4.0",
"@mui/material-next": "6.0.0-alpha.21",
"@mui/styled-engine": "^5.3.0",
"@mui/styled-engine-sc": "^5.3.0",
"@mui/styles": "^5.3.0",
"@mui/system": "^5.3.0",
"@mui/system": "^5.4.0",
"@mui/types": "^7.1.0",
"@mui/x-data-grid": "^5.2.2",
"@mui/x-data-grid-generator": "^5.2.2",
Expand Down
4 changes: 2 additions & 2 deletions framer/Material-UI.framerfx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"author": "MUI Team",
"description": "MUI Framer components",
"version": "1.1.19",
"version": "1.1.20",
"license": "MIT",
"homepage": "https://mui.com/",
"repository": {
Expand All @@ -16,7 +16,7 @@
},
"dependencies": {
"@mui/icons-material": "^5.3.1",
"@mui/material": "^5.3.1",
"@mui/material": "^5.4.0",
"@mui/utils": "^5.3.0",
"lodash": "^4.17.21"
},
Expand Down
2 changes: 1 addition & 1 deletion framer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "framer",
"version": "1.0.45",
"version": "1.0.46",
"description": "Builds MUI for Framer X",
"repository": "https://github.com/mui-org/material-ui",
"author": "MUI Team",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.3.1",
"version": "5.4.0",
"private": true,
"scripts": {
"proptypes": "cross-env BABEL_ENV=development babel-node --extensions \".tsx,.ts,.js\" ./scripts/generateProptypes.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/base",
"version": "5.0.0-alpha.66",
"version": "5.0.0-alpha.67",
"private": false,
"author": "MUI Team",
"description": "Unstyled React components with which to implement custom design systems.",
Expand Down
6 changes: 3 additions & 3 deletions packages/mui-joy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/joy",
"version": "5.0.0-alpha.12",
"version": "5.0.0-alpha.13",
"private": false,
"author": "MUI Team",
"description": "Joy design system — React components",
Expand Down Expand Up @@ -57,8 +57,8 @@
},
"dependencies": {
"@babel/runtime": "^7.16.7",
"@mui/base": "5.0.0-alpha.66",
"@mui/system": "^5.3.0",
"@mui/base": "5.0.0-alpha.67",
"@mui/system": "^5.4.0",
"@mui/types": "^7.1.0",
"@mui/utils": "^5.3.0",
"clsx": "^1.1.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/mui-lab/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/lab",
"version": "5.0.0-alpha.66",
"version": "5.0.0-alpha.67",
"private": false,
"author": "MUI Team",
"description": "Laboratory for new MUI modules.",
Expand Down Expand Up @@ -73,8 +73,8 @@
"@date-io/dayjs": "^2.11.0",
"@date-io/luxon": "^2.11.1",
"@date-io/moment": "^2.11.0",
"@mui/base": "5.0.0-alpha.66",
"@mui/system": "^5.3.0",
"@mui/base": "5.0.0-alpha.67",
"@mui/system": "^5.4.0",
"@mui/utils": "^5.3.0",
"clsx": "^1.1.1",
"prop-types": "^15.7.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/mui-material-next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/material-next",
"version": "6.0.0-alpha.20",
"version": "6.0.0-alpha.21",
"private": false,
"author": "MUI Team",
"description": "Material Design components built using @mui/base.",
Expand Down Expand Up @@ -59,8 +59,8 @@
},
"dependencies": {
"@babel/runtime": "^7.16.7",
"@mui/base": "5.0.0-alpha.66",
"@mui/system": "^5.3.0",
"@mui/base": "5.0.0-alpha.67",
"@mui/system": "^5.4.0",
"@mui/types": "^7.1.0",
"@mui/utils": "^5.3.0",
"@popperjs/core": "^2.4.4",
Expand Down
6 changes: 3 additions & 3 deletions packages/mui-material/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/material",
"version": "5.3.1",
"version": "5.4.0",
"private": false,
"author": "MUI Team",
"description": "Quickly build beautiful React apps. MUI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.",
Expand Down Expand Up @@ -61,8 +61,8 @@
},
"dependencies": {
"@babel/runtime": "^7.16.7",
"@mui/base": "5.0.0-alpha.66",
"@mui/system": "^5.3.0",
"@mui/base": "5.0.0-alpha.67",
"@mui/system": "^5.4.0",
"@mui/types": "^7.1.0",
"@mui/utils": "^5.3.0",
"@types/react-transition-group": "^4.4.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-system/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/system",
"version": "5.3.0",
"version": "5.4.0",
"private": false,
"author": "MUI Team",
"description": "CSS utilities for rapidly laying out custom designs.",
Expand Down

0 comments on commit ba4e819

Please sign in to comment.