From 75c24b0828981651082a3eede027b6871c96c440 Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Thu, 8 Aug 2024 10:48:04 +0200 Subject: [PATCH] [release] v6.0.0-beta.5 (#43224) --- CHANGELOG.md | 102 ++++++++++++++++++ package.json | 2 +- packages-internal/docs-utils/package.json | 2 +- packages-internal/scripts/package.json | 2 +- packages-internal/test-utils/package.json | 2 +- packages/markdown/package.json | 2 +- packages/mui-babel-macros/package.json | 2 +- packages/mui-base/package.json | 2 +- packages/mui-codemod/package.json | 2 +- .../mui-core-downloads-tracker/package.json | 2 +- packages/mui-docs/package.json | 6 +- packages/mui-envinfo/package.json | 2 +- packages/mui-icons-material/package.json | 2 +- packages/mui-lab/package.json | 2 +- .../mui-material-pigment-css/package.json | 2 +- packages/mui-material/package.json | 2 +- packages/mui-private-theming/package.json | 2 +- packages/mui-styled-engine-sc/package.json | 2 +- packages/mui-styled-engine/package.json | 2 +- packages/mui-styles/package.json | 2 +- packages/mui-system/package.json | 2 +- packages/mui-utils/package.json | 2 +- 22 files changed, 125 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e2e47de870e69..9ef6464a4c36f8 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 bf4a046b9b3a37..61cebab85b5e01 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 3fb0ba7e2578b6..406ed134b92056 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 459cc8154a5e67..097a7e93be1e64 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 20ad69665f36c8..34d9f23fdc36e4 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 311ac5e72070c4..cb255959e4290c 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 35731c8ae31a31..4d57b290bbdcf1 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 05288fdf67dbd4..a75fd81af1008b 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 9bf8a08493f70d..585ad3dd1e0c69 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 abdac7ed536fa4..18517a0dc96b2c 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 c2be825f8c94d0..89e7a5d1e2ffde 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 8cdf9feff147e9..9a340301366d33 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 40f9d701a2e485..4de94d19fb13e0 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 04db813ea6b65a..f4842a685bc20e 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 13fff436af8a0e..21a07148f1ac0d 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 0e61e0b7e741c3..139926e3c82a63 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 274f685008258a..ad0cf4f93dde3e 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 e5f8f7b05e9002..bf339bc396d436 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 7ea7f4007ced12..e9a75c6e2dbe63 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 d97474030d6444..b952e23374a669 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 43567330acf6bd..6f6e4841225761 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 f2a8c992ed0ccf..70c0013316bdea 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.",