Skip to content

Commit 75c24b0

Browse files
authored
[release] v6.0.0-beta.5 (#43224)
1 parent d3432b9 commit 75c24b0

File tree

22 files changed

+125
-23
lines changed

22 files changed

+125
-23
lines changed

CHANGELOG.md

+102
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,107 @@
11
# [Versions](https://mui.com/versions/)
22

3+
## 6.0.0-beta.5
4+
5+
<!-- generated comparing v6.0.0-beta.4..next -->
6+
7+
_Aug 8, 2024_
8+
9+
A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
10+
11+
- Remove some deprecated props from the ListItem component (#41566) @thathva
12+
- Bumped the minimum supported version of TypeScript (#43116) @mnajdova
13+
14+
15+
16+
#### BREAKING CHANGES
17+
18+
- &#8203;<!-- 14 -->[material-ui][ListItem] Removing deprecated props (#41566) @thathva
19+
20+
`ListItem`'s props `autoFocus`, `button`, `disabled`, and `selected`, deprecated in v5, have been removed. To replace the `button` prop, use `ListItemButton` instead. The other removed props are available in the `ListItemButton` component as well.
21+
22+
```diff
23+
-<ListItem button />
24+
+<ListItemButton />
25+
```
26+
27+
Use this codemod to migrate your project to the `ListItemButton` component:
28+
29+
```bash
30+
npx @mui/codemod@next v6.0.0/list-item-button-prop <path/to/folder>
31+
```
32+
33+
As the `ListItem` no longer supports these props, the class names related to these props were removed. You should use the `listItemButtonClasses` object instead.
34+
35+
```diff
36+
-import { listItemClasses } from '@mui/material/ListItem';
37+
+import { listItemButtonClasses } from '@mui/material/ListItemButton';
38+
39+
- listItemClasses.button
40+
+ listItemButtonClasses.root
41+
42+
- listItemClasses.focusVisible
43+
+ listItemButtonClasses.focusVisible
44+
45+
- listItemClasses.disabled
46+
+ listItemButtonClasses.disabled
47+
48+
- listItemClasses.selected
49+
+ listItemButtonClasses.selected
50+
```
51+
52+
#### Changes
53+
54+
- &#8203;<!-- 36 -->[material-ui][Autocomplete] Fix default value for multiple mode getting redefined with React 19 (#43189) @DiegoAndai
55+
- &#8203;<!-- 12 -->[material-ui] Merge `CssVarsProvider` into `ThemeProvider` (#43115) @siriwatknp
56+
- &#8203;<!-- 11 -->[material-ui] Make tests compatible with React 19 (#43155) @DiegoAndai
57+
- &#8203;<!-- 10 -->[material-ui] Refine Blog template (#42825) @zanivan
58+
- &#8203;<!-- 09 -->[material-ui] Element ref access React 19 compatibility (#43132) @DiegoAndai
59+
- &#8203;<!-- 08 -->[material-ui][mui-system] Add support for version runtime checks (#43190) @DiegoAndai
60+
61+
62+
63+
- &#8203;<!-- 13 -->Reexport Pigment CSS from index file (#43218) @siriwatknp
64+
65+
66+
67+
- &#8203;<!-- 31 -->Fix codemod crash on MuiDivider property (#43125) @Janpot
68+
69+
### Docs
70+
71+
- &#8203;<!-- 37 -->Fix resolution of @mui/material-ui in docs (#43108) @Janpot
72+
- &#8203;<!-- 25 -->Refine and polish out Templates page (#43131) @zanivan
73+
- &#8203;<!-- 24 -->Fix the link test script (#43195) @alexfauquette
74+
- &#8203;<!-- 23 -->Fix alpha usage (#43194) @siriwatknp
75+
- &#8203;<!-- 22 -->Link Toolpad Core components from Material UI docs (#43036) @prakhargupta1
76+
- &#8203;<!-- 21 -->Link Toolpad core docs to the docs menu (#42952) @prakhargupta1
77+
- &#8203;<!-- 20 -->Polish migration guide (#43021) @oliviertassinari
78+
- &#8203;<!-- 19 -->Fix 404 link to migration pages @oliviertassinari
79+
- &#8203;<!-- 18 -->Support inject dynamic theme (#42879) @Vxee
80+
- &#8203;<!-- 17 -->Fix 301 @oliviertassinari
81+
- &#8203;<!-- 35 -->[blog] Announcing pricing changes Sep 2024 (#43061) @joserodolfofreitas
82+
- &#8203;<!-- 15 -->[material-ui][TextField] Remove mentions of `redux-form` from TextField documentation (#43176) @AbdurRahman2004
83+
84+
### Core
85+
86+
- &#8203;<!-- 34 -->[code-infra] Fix `@mui/internal-test-utils` `screen` export type (#43150) @LukasTy
87+
- &#8203;<!-- 33 -->[code-infra] Do not look for changes with previous commit when releasing a canary version (#43129) @michaldudak
88+
- &#8203;<!-- 32 -->[code-infra] Automate canary releases (#43066) @michaldudak
89+
- &#8203;<!-- 30 -->[core] Apply top-level eslint rule to docs and fix violations (#43126) @Janpot
90+
- &#8203;<!-- 29 -->[core] Patch styled-components to use React.JSX namespace (#43205) @aarongarciah
91+
- &#8203;<!-- 28 -->[core] Replace JSX namespace usages with React.JSX (#43204) @aarongarciah
92+
- &#8203;<!-- 27 -->[core] Remove `react-router` package from `pigment-css-vite-app` (#43201) @ZeeshanTamboli
93+
- &#8203;<!-- 26 -->[core] Remove unnecessary types packages from `@mui/internal-babel-macros` (#43193) @ZeeshanTamboli
94+
- &#8203;<!-- 16 -->[docs-infra] Move `ApiPage` to TS (#43149) @alexfauquette
95+
- &#8203;<!-- 07 -->[test] Remove unnecessary prop type check in test (#43211) @aarongarciah
96+
- &#8203;<!-- 06 -->[test] Make conformance tests work with async render function (#43156) @michaldudak
97+
- &#8203;<!-- 05 -->[typescript] Update the minimum supported version (#43116) @mnajdova
98+
- &#8203;<!-- 04 -->[website] Add icons to core page products (#43151) @zanivan
99+
- &#8203;<!-- 03 -->[website] Copyedit Docs and Product menu taglines (#43075) @samuelsycamore
100+
- &#8203;<!-- 02 -->[website] Fix wrong link in pricing table (#43141) @zanivan
101+
- &#8203;<!-- 01 -->[website] Add blog link to pricing table (#43123) @zanivan
102+
103+
All contributors of this release in alphabetical order: @aarongarciah, @AbdurRahman2004, @alexfauquette, @DiegoAndai, @Janpot, @joserodolfofreitas, @LukasTy, @michaldudak, @mnajdova, @oliviertassinari, @prakhargupta1, @samuelsycamore, @siriwatknp, @thathva, @Vxee, @zanivan, @ZeeshanTamboli
104+
3105
## 6.0.0-beta.4
4106

5107
<!-- generated comparing v6.0.0-beta.3..next -->

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/monorepo",
3-
"version": "6.0.0-beta.4",
3+
"version": "6.0.0-beta.5",
44
"private": true,
55
"scripts": {
66
"preinstall": "npx only-allow pnpm",

packages-internal/docs-utils/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/internal-docs-utils",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"author": "MUI Team",
55
"description": "Utilities for MUI docs. This is an internal package not meant for general use.",
66
"main": "./build/index.js",

packages-internal/scripts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/internal-scripts",
3-
"version": "1.0.14",
3+
"version": "1.0.15",
44
"author": "MUI Team",
55
"description": "Utilities supporting MUI libraries build and docs generation. This is an internal package not meant for general use.",
66
"main": "build/index.js",

packages-internal/test-utils/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/internal-test-utils",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"author": "MUI Team",
55
"description": "Utilities for MUI tests. This is an internal package not meant for general use.",
66
"main": "./build/index.js",

packages/markdown/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/internal-markdown",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"author": "MUI Team",
55
"description": "MUI markdown parser. This is an internal package not meant for general use.",
66
"main": "./index.js",

packages/mui-babel-macros/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/internal-babel-macros",
3-
"version": "1.0.7",
3+
"version": "1.0.8",
44
"author": "MUI Team",
55
"description": "MUI Babel macros. This is an internal package not meant for general use.",
66
"main": "./MuiError.macro.js",

packages/mui-base/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/base",
3-
"version": "5.0.0-beta.55",
3+
"version": "5.0.0-beta.56",
44
"private": false,
55
"author": "MUI Team",
66
"description": "Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.",

packages/mui-codemod/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/codemod",
3-
"version": "6.0.0-beta.4",
3+
"version": "6.0.0-beta.5",
44
"bin": "./codemod.js",
55
"private": false,
66
"author": "MUI Team",

packages/mui-core-downloads-tracker/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/core-downloads-tracker",
3-
"version": "6.0.0-beta.4",
3+
"version": "6.0.0-beta.5",
44
"private": false,
55
"author": "MUI Team",
66
"description": "Internal package to track number of downloads of our design system libraries",

packages/mui-docs/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/docs",
3-
"version": "6.0.0-beta.4",
3+
"version": "6.0.0-beta.5",
44
"private": false,
55
"author": "MUI Team",
66
"description": "MUI Docs - Documentation building blocks.",
@@ -58,9 +58,9 @@
5858
"@mui/system": "^5.0.0",
5959
"@types/react": "^17.0.0 || ^18.0.0",
6060
"chai": "^4.4.1",
61+
"csstype": "^3.1.3",
6162
"next": "^13.5.1 || ^14",
62-
"react": "^17.0.0 || ^18.0.0",
63-
"csstype": "^3.1.3"
63+
"react": "^17.0.0 || ^18.0.0"
6464
},
6565
"peerDependenciesMeta": {
6666
"@types/react": {

packages/mui-envinfo/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/envinfo",
3-
"version": "2.0.22",
3+
"version": "2.0.23",
44
"private": false,
55
"author": "MUI Team",
66
"description": "Logs infos about the environment relevant to @mui/*",

packages/mui-icons-material/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/icons-material",
3-
"version": "6.0.0-beta.4",
3+
"version": "6.0.0-beta.5",
44
"private": false,
55
"author": "MUI Team",
66
"description": "Material Design icons distributed as SVG React components.",

packages/mui-lab/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/lab",
3-
"version": "6.0.0-beta.4",
3+
"version": "6.0.0-beta.5",
44
"private": false,
55
"author": "MUI Team",
66
"description": "Laboratory for new MUI modules.",

packages/mui-material-pigment-css/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/material-pigment-css",
3-
"version": "6.0.0-beta.4",
3+
"version": "6.0.0-beta.5",
44
"author": "MUI Team",
55
"description": "A wrapper over Pigment CSS that provides the same styled and theming APIs as Material UI.",
66
"main": "./src/index.ts",

packages/mui-material/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/material",
3-
"version": "6.0.0-beta.4",
3+
"version": "6.0.0-beta.5",
44
"private": false,
55
"author": "MUI Team",
66
"description": "Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.",

packages/mui-private-theming/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/private-theming",
3-
"version": "6.0.0-beta.4",
3+
"version": "6.0.0-beta.5",
44
"private": false,
55
"author": "MUI Team",
66
"description": "Private - The React theme context to be shared between `@mui/styles` and `@mui/material`.",

packages/mui-styled-engine-sc/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/styled-engine-sc",
3-
"version": "6.0.0-beta.4",
3+
"version": "6.0.0-beta.5",
44
"private": false,
55
"author": "MUI Team",
66
"description": "styled() API wrapper package for styled-components.",

packages/mui-styled-engine/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/styled-engine",
3-
"version": "6.0.0-beta.4",
3+
"version": "6.0.0-beta.5",
44
"private": false,
55
"author": "MUI Team",
66
"description": "styled() API wrapper package for emotion.",

packages/mui-styles/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/styles",
3-
"version": "6.0.0-beta.4",
3+
"version": "6.0.0-beta.5",
44
"private": false,
55
"author": "MUI Team",
66
"description": "MUI Styles - The legacy JSS-based styling solution of Material UI.",

packages/mui-system/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/system",
3-
"version": "6.0.0-beta.4",
3+
"version": "6.0.0-beta.5",
44
"private": false,
55
"author": "MUI Team",
66
"description": "MUI System is a set of CSS utilities to help you build custom designs more efficiently. It makes it possible to rapidly lay out custom designs.",

packages/mui-utils/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/utils",
3-
"version": "6.0.0-beta.4",
3+
"version": "6.0.0-beta.5",
44
"private": false,
55
"author": "MUI Team",
66
"description": "Utility functions for React components.",

0 commit comments

Comments
 (0)