diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e2e47de870..9ef6464a4c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,107 @@ # [Versions](https://mui.com/versions/) +## 6.0.0-beta.5 + + + +_Aug 8, 2024_ + +A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨: + +- Remove some deprecated props from the ListItem component (#41566) @thathva +- Bumped the minimum supported version of TypeScript (#43116) @mnajdova + +### `@mui/material@6.0.0-beta.5` + +#### BREAKING CHANGES + +- ​[material-ui][ListItem] Removing deprecated props (#41566) @thathva + + `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. + + ```diff + - + + + ``` + + Use this codemod to migrate your project to the `ListItemButton` component: + + ```bash + npx @mui/codemod@next v6.0.0/list-item-button-prop + ``` + + As the `ListItem` no longer supports these props, the class names related to these props were removed. You should use the `listItemButtonClasses` object instead. + + ```diff + -import { listItemClasses } from '@mui/material/ListItem'; + +import { listItemButtonClasses } from '@mui/material/ListItemButton'; + + - listItemClasses.button + + listItemButtonClasses.root + + - listItemClasses.focusVisible + + listItemButtonClasses.focusVisible + + - listItemClasses.disabled + + listItemButtonClasses.disabled + + - listItemClasses.selected + + listItemButtonClasses.selected + ``` + +#### Changes + +- ​[material-ui][Autocomplete] Fix default value for multiple mode getting redefined with React 19 (#43189) @DiegoAndai +- ​[material-ui] Merge `CssVarsProvider` into `ThemeProvider` (#43115) @siriwatknp +- ​[material-ui] Make tests compatible with React 19 (#43155) @DiegoAndai +- ​[material-ui] Refine Blog template (#42825) @zanivan +- ​[material-ui] Element ref access React 19 compatibility (#43132) @DiegoAndai +- ​[material-ui][mui-system] Add support for version runtime checks (#43190) @DiegoAndai + +### `@mui/material-pigment-css@6.0.0-beta.5` + +- ​Reexport Pigment CSS from index file (#43218) @siriwatknp + +### `@mui/codemod@6.0.0-beta.5` + +- ​Fix codemod crash on MuiDivider property (#43125) @Janpot + +### Docs + +- ​Fix resolution of @mui/material-ui in docs (#43108) @Janpot +- ​Refine and polish out Templates page (#43131) @zanivan +- ​Fix the link test script (#43195) @alexfauquette +- ​Fix alpha usage (#43194) @siriwatknp +- ​Link Toolpad Core components from Material UI docs (#43036) @prakhargupta1 +- ​Link Toolpad core docs to the docs menu (#42952) @prakhargupta1 +- ​Polish migration guide (#43021) @oliviertassinari +- ​Fix 404 link to migration pages @oliviertassinari +- ​Support inject dynamic theme (#42879) @Vxee +- ​Fix 301 @oliviertassinari +- ​[blog] Announcing pricing changes Sep 2024 (#43061) @joserodolfofreitas +- ​[material-ui][TextField] Remove mentions of `redux-form` from TextField documentation (#43176) @AbdurRahman2004 + +### Core + +- ​[code-infra] Fix `@mui/internal-test-utils` `screen` export type (#43150) @LukasTy +- ​[code-infra] Do not look for changes with previous commit when releasing a canary version (#43129) @michaldudak +- ​[code-infra] Automate canary releases (#43066) @michaldudak +- ​[core] Apply top-level eslint rule to docs and fix violations (#43126) @Janpot +- ​[core] Patch styled-components to use React.JSX namespace (#43205) @aarongarciah +- ​[core] Replace JSX namespace usages with React.JSX (#43204) @aarongarciah +- ​[core] Remove `react-router` package from `pigment-css-vite-app` (#43201) @ZeeshanTamboli +- ​[core] Remove unnecessary types packages from `@mui/internal-babel-macros` (#43193) @ZeeshanTamboli +- ​[docs-infra] Move `ApiPage` to TS (#43149) @alexfauquette +- ​[test] Remove unnecessary prop type check in test (#43211) @aarongarciah +- ​[test] Make conformance tests work with async render function (#43156) @michaldudak +- ​[typescript] Update the minimum supported version (#43116) @mnajdova +- ​[website] Add icons to core page products (#43151) @zanivan +- ​[website] Copyedit Docs and Product menu taglines (#43075) @samuelsycamore +- ​[website] Fix wrong link in pricing table (#43141) @zanivan +- ​[website] Add blog link to pricing table (#43123) @zanivan + +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 + ## 6.0.0-beta.4 diff --git a/package.json b/package.json index bf4a046b9b3..61cebab85b5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mui/monorepo", - "version": "6.0.0-beta.4", + "version": "6.0.0-beta.5", "private": true, "scripts": { "preinstall": "npx only-allow pnpm", diff --git a/packages-internal/docs-utils/package.json b/packages-internal/docs-utils/package.json index 3fb0ba7e257..406ed134b92 100644 --- a/packages-internal/docs-utils/package.json +++ b/packages-internal/docs-utils/package.json @@ -1,6 +1,6 @@ { "name": "@mui/internal-docs-utils", - "version": "1.0.8", + "version": "1.0.9", "author": "MUI Team", "description": "Utilities for MUI docs. This is an internal package not meant for general use.", "main": "./build/index.js", diff --git a/packages-internal/scripts/package.json b/packages-internal/scripts/package.json index 459cc8154a5..097a7e93be1 100644 --- a/packages-internal/scripts/package.json +++ b/packages-internal/scripts/package.json @@ -1,6 +1,6 @@ { "name": "@mui/internal-scripts", - "version": "1.0.14", + "version": "1.0.15", "author": "MUI Team", "description": "Utilities supporting MUI libraries build and docs generation. This is an internal package not meant for general use.", "main": "build/index.js", diff --git a/packages-internal/test-utils/package.json b/packages-internal/test-utils/package.json index 20ad69665f3..34d9f23fdc3 100644 --- a/packages-internal/test-utils/package.json +++ b/packages-internal/test-utils/package.json @@ -1,6 +1,6 @@ { "name": "@mui/internal-test-utils", - "version": "1.0.6", + "version": "1.0.7", "author": "MUI Team", "description": "Utilities for MUI tests. This is an internal package not meant for general use.", "main": "./build/index.js", diff --git a/packages/markdown/package.json b/packages/markdown/package.json index 311ac5e7207..cb255959e42 100644 --- a/packages/markdown/package.json +++ b/packages/markdown/package.json @@ -1,6 +1,6 @@ { "name": "@mui/internal-markdown", - "version": "1.0.8", + "version": "1.0.9", "author": "MUI Team", "description": "MUI markdown parser. This is an internal package not meant for general use.", "main": "./index.js", diff --git a/packages/mui-babel-macros/package.json b/packages/mui-babel-macros/package.json index 35731c8ae31..4d57b290bbd 100644 --- a/packages/mui-babel-macros/package.json +++ b/packages/mui-babel-macros/package.json @@ -1,6 +1,6 @@ { "name": "@mui/internal-babel-macros", - "version": "1.0.7", + "version": "1.0.8", "author": "MUI Team", "description": "MUI Babel macros. This is an internal package not meant for general use.", "main": "./MuiError.macro.js", diff --git a/packages/mui-base/package.json b/packages/mui-base/package.json index 05288fdf67d..a75fd81af10 100644 --- a/packages/mui-base/package.json +++ b/packages/mui-base/package.json @@ -1,6 +1,6 @@ { "name": "@mui/base", - "version": "5.0.0-beta.55", + "version": "5.0.0-beta.56", "private": false, "author": "MUI Team", "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.", diff --git a/packages/mui-codemod/package.json b/packages/mui-codemod/package.json index 9bf8a08493f..585ad3dd1e0 100644 --- a/packages/mui-codemod/package.json +++ b/packages/mui-codemod/package.json @@ -1,6 +1,6 @@ { "name": "@mui/codemod", - "version": "6.0.0-beta.4", + "version": "6.0.0-beta.5", "bin": "./codemod.js", "private": false, "author": "MUI Team", diff --git a/packages/mui-core-downloads-tracker/package.json b/packages/mui-core-downloads-tracker/package.json index abdac7ed536..18517a0dc96 100644 --- a/packages/mui-core-downloads-tracker/package.json +++ b/packages/mui-core-downloads-tracker/package.json @@ -1,6 +1,6 @@ { "name": "@mui/core-downloads-tracker", - "version": "6.0.0-beta.4", + "version": "6.0.0-beta.5", "private": false, "author": "MUI Team", "description": "Internal package to track number of downloads of our design system libraries", diff --git a/packages/mui-docs/package.json b/packages/mui-docs/package.json index c2be825f8c9..89e7a5d1e2f 100644 --- a/packages/mui-docs/package.json +++ b/packages/mui-docs/package.json @@ -1,6 +1,6 @@ { "name": "@mui/docs", - "version": "6.0.0-beta.4", + "version": "6.0.0-beta.5", "private": false, "author": "MUI Team", "description": "MUI Docs - Documentation building blocks.", @@ -58,9 +58,9 @@ "@mui/system": "^5.0.0", "@types/react": "^17.0.0 || ^18.0.0", "chai": "^4.4.1", + "csstype": "^3.1.3", "next": "^13.5.1 || ^14", - "react": "^17.0.0 || ^18.0.0", - "csstype": "^3.1.3" + "react": "^17.0.0 || ^18.0.0" }, "peerDependenciesMeta": { "@types/react": { diff --git a/packages/mui-envinfo/package.json b/packages/mui-envinfo/package.json index 8cdf9feff14..9a340301366 100644 --- a/packages/mui-envinfo/package.json +++ b/packages/mui-envinfo/package.json @@ -1,6 +1,6 @@ { "name": "@mui/envinfo", - "version": "2.0.22", + "version": "2.0.23", "private": false, "author": "MUI Team", "description": "Logs infos about the environment relevant to @mui/*", diff --git a/packages/mui-icons-material/package.json b/packages/mui-icons-material/package.json index 40f9d701a2e..4de94d19fb1 100644 --- a/packages/mui-icons-material/package.json +++ b/packages/mui-icons-material/package.json @@ -1,6 +1,6 @@ { "name": "@mui/icons-material", - "version": "6.0.0-beta.4", + "version": "6.0.0-beta.5", "private": false, "author": "MUI Team", "description": "Material Design icons distributed as SVG React components.", diff --git a/packages/mui-lab/package.json b/packages/mui-lab/package.json index 04db813ea6b..f4842a685bc 100644 --- a/packages/mui-lab/package.json +++ b/packages/mui-lab/package.json @@ -1,6 +1,6 @@ { "name": "@mui/lab", - "version": "6.0.0-beta.4", + "version": "6.0.0-beta.5", "private": false, "author": "MUI Team", "description": "Laboratory for new MUI modules.", diff --git a/packages/mui-material-pigment-css/package.json b/packages/mui-material-pigment-css/package.json index 13fff436af8..21a07148f1a 100644 --- a/packages/mui-material-pigment-css/package.json +++ b/packages/mui-material-pigment-css/package.json @@ -1,6 +1,6 @@ { "name": "@mui/material-pigment-css", - "version": "6.0.0-beta.4", + "version": "6.0.0-beta.5", "author": "MUI Team", "description": "A wrapper over Pigment CSS that provides the same styled and theming APIs as Material UI.", "main": "./src/index.ts", diff --git a/packages/mui-material/package.json b/packages/mui-material/package.json index 0e61e0b7e74..139926e3c82 100644 --- a/packages/mui-material/package.json +++ b/packages/mui-material/package.json @@ -1,6 +1,6 @@ { "name": "@mui/material", - "version": "6.0.0-beta.4", + "version": "6.0.0-beta.5", "private": false, "author": "MUI Team", "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.", diff --git a/packages/mui-private-theming/package.json b/packages/mui-private-theming/package.json index 274f6850082..ad0cf4f93dd 100644 --- a/packages/mui-private-theming/package.json +++ b/packages/mui-private-theming/package.json @@ -1,6 +1,6 @@ { "name": "@mui/private-theming", - "version": "6.0.0-beta.4", + "version": "6.0.0-beta.5", "private": false, "author": "MUI Team", "description": "Private - The React theme context to be shared between `@mui/styles` and `@mui/material`.", diff --git a/packages/mui-styled-engine-sc/package.json b/packages/mui-styled-engine-sc/package.json index e5f8f7b05e9..bf339bc396d 100644 --- a/packages/mui-styled-engine-sc/package.json +++ b/packages/mui-styled-engine-sc/package.json @@ -1,6 +1,6 @@ { "name": "@mui/styled-engine-sc", - "version": "6.0.0-beta.4", + "version": "6.0.0-beta.5", "private": false, "author": "MUI Team", "description": "styled() API wrapper package for styled-components.", diff --git a/packages/mui-styled-engine/package.json b/packages/mui-styled-engine/package.json index 7ea7f4007ce..e9a75c6e2db 100644 --- a/packages/mui-styled-engine/package.json +++ b/packages/mui-styled-engine/package.json @@ -1,6 +1,6 @@ { "name": "@mui/styled-engine", - "version": "6.0.0-beta.4", + "version": "6.0.0-beta.5", "private": false, "author": "MUI Team", "description": "styled() API wrapper package for emotion.", diff --git a/packages/mui-styles/package.json b/packages/mui-styles/package.json index d97474030d6..b952e23374a 100644 --- a/packages/mui-styles/package.json +++ b/packages/mui-styles/package.json @@ -1,6 +1,6 @@ { "name": "@mui/styles", - "version": "6.0.0-beta.4", + "version": "6.0.0-beta.5", "private": false, "author": "MUI Team", "description": "MUI Styles - The legacy JSS-based styling solution of Material UI.", diff --git a/packages/mui-system/package.json b/packages/mui-system/package.json index 43567330acf..6f6e4841225 100644 --- a/packages/mui-system/package.json +++ b/packages/mui-system/package.json @@ -1,6 +1,6 @@ { "name": "@mui/system", - "version": "6.0.0-beta.4", + "version": "6.0.0-beta.5", "private": false, "author": "MUI Team", "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.", diff --git a/packages/mui-utils/package.json b/packages/mui-utils/package.json index f2a8c992ed0..70c0013316b 100644 --- a/packages/mui-utils/package.json +++ b/packages/mui-utils/package.json @@ -1,6 +1,6 @@ { "name": "@mui/utils", - "version": "6.0.0-beta.4", + "version": "6.0.0-beta.5", "private": false, "author": "MUI Team", "description": "Utility functions for React components.",