|
1 | 1 | # [Versions](https://mui.com/versions/)
|
2 | 2 |
|
| 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 | +### `@mui/material@6.0.0-beta.5` |
| 15 | + |
| 16 | +#### BREAKING CHANGES |
| 17 | + |
| 18 | +- ​<!-- 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 | +- ​<!-- 36 -->[material-ui][Autocomplete] Fix default value for multiple mode getting redefined with React 19 (#43189) @DiegoAndai |
| 55 | +- ​<!-- 12 -->[material-ui] Merge `CssVarsProvider` into `ThemeProvider` (#43115) @siriwatknp |
| 56 | +- ​<!-- 11 -->[material-ui] Make tests compatible with React 19 (#43155) @DiegoAndai |
| 57 | +- ​<!-- 10 -->[material-ui] Refine Blog template (#42825) @zanivan |
| 58 | +- ​<!-- 09 -->[material-ui] Element ref access React 19 compatibility (#43132) @DiegoAndai |
| 59 | +- ​<!-- 08 -->[material-ui][mui-system] Add support for version runtime checks (#43190) @DiegoAndai |
| 60 | + |
| 61 | +### `@mui/material-pigment-css@6.0.0-beta.5` |
| 62 | + |
| 63 | +- ​<!-- 13 -->Reexport Pigment CSS from index file (#43218) @siriwatknp |
| 64 | + |
| 65 | +### `@mui/codemod@6.0.0-beta.5` |
| 66 | + |
| 67 | +- ​<!-- 31 -->Fix codemod crash on MuiDivider property (#43125) @Janpot |
| 68 | + |
| 69 | +### Docs |
| 70 | + |
| 71 | +- ​<!-- 37 -->Fix resolution of @mui/material-ui in docs (#43108) @Janpot |
| 72 | +- ​<!-- 25 -->Refine and polish out Templates page (#43131) @zanivan |
| 73 | +- ​<!-- 24 -->Fix the link test script (#43195) @alexfauquette |
| 74 | +- ​<!-- 23 -->Fix alpha usage (#43194) @siriwatknp |
| 75 | +- ​<!-- 22 -->Link Toolpad Core components from Material UI docs (#43036) @prakhargupta1 |
| 76 | +- ​<!-- 21 -->Link Toolpad core docs to the docs menu (#42952) @prakhargupta1 |
| 77 | +- ​<!-- 20 -->Polish migration guide (#43021) @oliviertassinari |
| 78 | +- ​<!-- 19 -->Fix 404 link to migration pages @oliviertassinari |
| 79 | +- ​<!-- 18 -->Support inject dynamic theme (#42879) @Vxee |
| 80 | +- ​<!-- 17 -->Fix 301 @oliviertassinari |
| 81 | +- ​<!-- 35 -->[blog] Announcing pricing changes Sep 2024 (#43061) @joserodolfofreitas |
| 82 | +- ​<!-- 15 -->[material-ui][TextField] Remove mentions of `redux-form` from TextField documentation (#43176) @AbdurRahman2004 |
| 83 | + |
| 84 | +### Core |
| 85 | + |
| 86 | +- ​<!-- 34 -->[code-infra] Fix `@mui/internal-test-utils` `screen` export type (#43150) @LukasTy |
| 87 | +- ​<!-- 33 -->[code-infra] Do not look for changes with previous commit when releasing a canary version (#43129) @michaldudak |
| 88 | +- ​<!-- 32 -->[code-infra] Automate canary releases (#43066) @michaldudak |
| 89 | +- ​<!-- 30 -->[core] Apply top-level eslint rule to docs and fix violations (#43126) @Janpot |
| 90 | +- ​<!-- 29 -->[core] Patch styled-components to use React.JSX namespace (#43205) @aarongarciah |
| 91 | +- ​<!-- 28 -->[core] Replace JSX namespace usages with React.JSX (#43204) @aarongarciah |
| 92 | +- ​<!-- 27 -->[core] Remove `react-router` package from `pigment-css-vite-app` (#43201) @ZeeshanTamboli |
| 93 | +- ​<!-- 26 -->[core] Remove unnecessary types packages from `@mui/internal-babel-macros` (#43193) @ZeeshanTamboli |
| 94 | +- ​<!-- 16 -->[docs-infra] Move `ApiPage` to TS (#43149) @alexfauquette |
| 95 | +- ​<!-- 07 -->[test] Remove unnecessary prop type check in test (#43211) @aarongarciah |
| 96 | +- ​<!-- 06 -->[test] Make conformance tests work with async render function (#43156) @michaldudak |
| 97 | +- ​<!-- 05 -->[typescript] Update the minimum supported version (#43116) @mnajdova |
| 98 | +- ​<!-- 04 -->[website] Add icons to core page products (#43151) @zanivan |
| 99 | +- ​<!-- 03 -->[website] Copyedit Docs and Product menu taglines (#43075) @samuelsycamore |
| 100 | +- ​<!-- 02 -->[website] Fix wrong link in pricing table (#43141) @zanivan |
| 101 | +- ​<!-- 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 | + |
3 | 105 | ## 6.0.0-beta.4
|
4 | 106 |
|
5 | 107 | <!-- generated comparing v6.0.0-beta.3..next -->
|
|
0 commit comments