diff --git a/CHANGELOG.md b/CHANGELOG.md index 1864fcbc078095..d8882277cf6166 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,116 @@ ### [Versions](https://material-ui.com/versions/) +## 5.0.0-beta.1 + + + +_Jul 14, 2021_ + +Big thanks to the 17 contributors who made this release possible. Here are some highlights ✨: + +- ✨ We have introduced a new unstyled component: the Switch (#26688) @michaldudak + You can find two new versions of the Switch. A component without any styles: [`SwitchUnstyled`](https://next.material-ui.com/components/switches/#unstyled-switches), and a hook: [`useSwitch`](https://next.material-ui.com/components/switches/#useswitch-hook). + + switch + + You can follow our progress at https://github.com/mui-org/material-ui/issues/27170. + +- 💄 We have updated the default `info` `success` `warning` color to be more accessible (#26817) @siriwatknp. + You can find the new [default values](https://next.material-ui.com/customization/palette/#default-values) in the documentation. + + colors + +### `@material-ui/core@5.0.0-beta.1` + +#### Breaking changes + +- [Fab] Remove no longer necessary span wrapper (#27112) @siriwatknp +- [ToggleButton] Remove no longer necessary span wrapper (#27111) @siriwatknp + +#### Changes + +- [Autocomplete] Add componentsProps (#27183) @michal-perlakowski +- [Avatar] Fix support for crossOrigin (#27013) @ShirasawaSama +- [ButtonBase] Correct `disableRipple` API description (#27187) @michaldudak +- [ButtonGroup] Add color palette types (#27215) @ShirasawaSama +- [SwitchBase] Bring back `checked` and mark as deprecated (#27047) @siriwatknp +- [TextField] Remove redundant useFormControl implementation (#27197) @michaldudak +- [theme] Add missing MuiRating types to components.d.ts (#27086) @rajzik +- [theme] Remove `createV4Spacing` from `adaptV4Theme` (#27072) @siriwatknp +- [theme] Update default `info` `success` `warning` color (#26817) @siriwatknp +- [ToggleButton] Add color palette types (#27046) @ShirasawaSama +- [ToggleButton] Fix the api page (#27164) @oliviertassinari + +### `@material-ui/unstyled@5.0.0-alpha.40` + +- [Switch] Create SwitchUnstyled and useSwitch (#26688) @michaldudak + +### `@material-ui/codemod@5.0.0-beta.1` + +- [codemod] Add v5 important migration (#27032) @siriwatknp +- [codemod] Fix v5 codemods on Windows (#27254) @michaldudak + +### `@material-ui/system@5.0.0-beta.1` + +- [Box] Add breakpoint value support to maxWidth prop (#26984) @ansh-saini + +### `@material-ui/lab@5.0.0-alpha.40` + +- [CalendarPicker] Fix slide transition regression (#27273) @eps1lon +- [CalendarPicker] Use transition components from core instead of a custom implementation (#27043) @eps1lon +- [pickers] Fix default value of text keys (#26990) @oliviertassinari +- [TimePicker] Change default minutes and seconds to zero (#27037) @michal-perlakowski + +### Docs + +- [blog] Q2 2021 Update (#27089) @oliviertassinari +- [docs] Add information that the label prop in FormControlLabel is now @michal-perlakowski +- [docs] Don't crash page if an Ad crashes (#27178) @eps1lon +- [docs] Fix alt description of movavi backer @oliviertassinari +- [docs] Fix import source of hidden component (#27116) @vimutti77 +- [docs] Fix layout regression (#27272) @oliviertassinari +- [docs] Fix syntax error in /styles/api markdown (#27176) @sahil-blulabs +- [docs] Fix the link for the sx props page (#27202) @mnajdova +- [docs] Fix theme context example code (#27053) @moshfeu +- [docs] Fix typo in CONTRIBUTING.md (#27218) Ayush Dubey +- [docs] Fix typos (#27074) @michaldudak +- [docs] Improve nav semantics (#27138) @eps1lon +- [docs] Migrate Ad\* components to emotion (#27159) @mnajdova +- [docs] Migrate rest of the docs to emotion (#27184) @mnajdova +- [docs] Move versions from \_app PageContext to page-specific context (#27078) @eps1lon +- [docs] Only bundle one version of the demos in production (#27020) @eps1lon +- [docs] Reduce layout shift on landing page (#27251) @eps1lon +- [docs] Remove Ethical Ads (#27173) @mbrookes +- [docs] Remove unused fs polyfill (#27069) @eps1lon +- [docs] Remove usage of `url` package (#27151) @eps1lon +- [docs] Replace react-text-mask with react-imask in integration example (#27071) @michal-perlakowski +- [docs] Sort the size in a more logical order (#27186) @oliviertassinari +- [docs] Use actual link to paperbase (#27063) @eps1lon +- [docs] Use custom markdown loader for landing page (#27065) @eps1lon +- [docs] Use webpack 5 (#27077) @eps1lon +- [examples] Fix CDN warning (#27229) @oliviertassinari +- [examples] Remove `StyledEngineProvider` as JSS is not used (#27133) @mnajdova +- [examples] Remove forgotten StyledEngineProvider (#27163) @oliviertassinari + +### Core + +- [core] Batch small changes (#26970) @oliviertassinari +- [core] Configure Renovate (#27003) @renovate[bot] +- [core] Migrate remaining mentions of Dependabot to Renovate (#27118) @eps1lon +- [core] Run yarn deduplicate on Renovate updates (#27115) @eps1lon +- [test] Document broken React 18 behavior of Autocomplete (#27242) @eps1lon +- [test] Increase BS timeout to 6min (#27179) @oliviertassinari +- [test] Migrate regressions to emotion (#27010) @vicasas +- [test] Narrow down React 18 compat issues (#27134) @eps1lon +- [test] Remove StyledEngineProvider usage from regressions and e2e test @mnajdova +- [test] Run React 18 integration tests with new createRoot API (#26672) @eps1lon +- [test] Update tests with latest state of StrictMode compatibility (#27042) @eps1lon +- [test] Use DOM events instead of mocked, partial events (#27198) @eps1lon +- [website] Open 4 new roles (#27123) @oliviertassinari +- [blog] Danilo Leal joins Material-UI (#27231) @oliviertassinari + +All contributors of this release in alphabetical order: @eps1lon, @mbrookes, @michal-perlakowski, @michaldudak, @mnajdova, @moshfeu, @oliviertassinari, @rajzik, @renovate[bot], @sahil-blulabs, @ShirasawaSama, @siriwatknp, @vimutti77 + ## 5.0.0-beta.0 diff --git a/benchmark/package.json b/benchmark/package.json index c7a51cc7f481f9..e61cc5d03ad5ce 100644 --- a/benchmark/package.json +++ b/benchmark/package.json @@ -1,7 +1,7 @@ { "name": "benchmark", - "version": "5.0.0-beta.0", - "private": "true", + "version": "5.0.0", + "private": true, "scripts": { "browser": "yarn webpack --config browser/webpack.config.js && node browser/scripts/benchmark.js", "server:core": "cd ../ && cross-env NODE_ENV=production BABEL_ENV=benchmark babel-node benchmark/server/scenarios/core.js --inspect=0.0.0.0:9229 --extensions \".tsx,.ts,.js\"", @@ -14,9 +14,9 @@ "@chakra-ui/system": "^1.0.0", "@emotion/react": "^11.0.0", "@emotion/styled": "^11.0.0", - "@material-ui/core": "5.0.0-beta.0", - "@material-ui/styles": "5.0.0-beta.0", - "@material-ui/system": "5.0.0-beta.0", + "@material-ui/core": "5.0.0-beta.1", + "@material-ui/styles": "5.0.0-beta.1", + "@material-ui/system": "5.0.0-beta.1", "@styled-system/css": "^5.1.5", "benchmark": "^2.1.4", "playwright": "^1.6.1", diff --git a/docs/package.json b/docs/package.json index 7fb91a5e172ce5..b1a0f0c4c55873 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "docs", - "version": "5.0.0-beta.0", + "version": "5.0.0", "private": true, "author": "Material-UI Team", "license": "MIT", @@ -30,17 +30,17 @@ "@fortawesome/fontawesome-svg-core": "^1.2.30", "@fortawesome/free-solid-svg-icons": "^5.14.0", "@fortawesome/react-fontawesome": "^0.1.11", - "@material-ui/core": "5.0.0-beta.0", + "@material-ui/core": "5.0.0-beta.1", "@material-ui/data-grid": "^4.0.0-alpha.29", - "@material-ui/docs": "5.0.0-beta.0", - "@material-ui/icons": "5.0.0-beta.0", - "@material-ui/lab": "5.0.0-alpha.39", - "@material-ui/styled-engine": "5.0.0-beta.0", - "@material-ui/styled-engine-sc": "5.0.0-beta.0", - "@material-ui/styles": "5.0.0-beta.0", - "@material-ui/system": "5.0.0-beta.0", + "@material-ui/docs": "5.0.0-beta.1", + "@material-ui/icons": "5.0.0-beta.1", + "@material-ui/lab": "5.0.0-alpha.40", + "@material-ui/styled-engine": "5.0.0-beta.1", + "@material-ui/styled-engine-sc": "5.0.0-beta.1", + "@material-ui/styles": "5.0.0-beta.1", + "@material-ui/system": "5.0.0-beta.1", "@material-ui/types": "6.0.1", - "@material-ui/unstyled": "5.0.0-alpha.39", + "@material-ui/unstyled": "5.0.0-alpha.40", "@trendmicro/react-interpolate": "^0.5.5", "@types/autosuggest-highlight": "^3.1.0", "@types/css-mediaquery": "^0.1.0", diff --git a/docs/packages/feedback/package.json b/docs/packages/feedback/package.json index acd27398de5646..755674c40d8c5d 100644 --- a/docs/packages/feedback/package.json +++ b/docs/packages/feedback/package.json @@ -1,6 +1,6 @@ { "name": "feedback", - "version": "5.0.0-alpha.24", + "version": "5.0.0", "description": "Store and retrieve page ratings and comments", "main": "./index.js", "license": "MIT", diff --git a/docs/packages/markdown/package.json b/docs/packages/markdown/package.json index 6b279aa6a79838..7afe71270a37bc 100644 --- a/docs/packages/markdown/package.json +++ b/docs/packages/markdown/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/markdown", - "version": "0.1.1", + "version": "5.0.0", "private": true, "type": "commonjs", "main": "./index.js", diff --git a/examples/create-react-app-with-typescript/package.json b/examples/create-react-app-with-typescript/package.json index 44bf94bf15263b..60e609ca2995c0 100644 --- a/examples/create-react-app-with-typescript/package.json +++ b/examples/create-react-app-with-typescript/package.json @@ -1,6 +1,6 @@ { "name": "create-react-app-with-typescript", - "version": "4.0.0", + "version": "5.0.0", "private": true, "dependencies": { "@emotion/react": "latest", diff --git a/examples/ssr/package.json b/examples/ssr/package.json index f19aaf61a21270..9ce263b6c38243 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -1,6 +1,6 @@ { "name": "ssr", - "version": "4.0.0", + "version": "5.0.0", "private": true, "dependencies": { "@babel/core": "latest", diff --git a/framer/package.json b/framer/package.json index 01c71d8302ef91..52ba2f55215c2b 100644 --- a/framer/package.json +++ b/framer/package.json @@ -11,7 +11,7 @@ "@types/react": "^17.0.0", "case": "1.6.3", "deepmerge": "^4.0.0", - "docs": "5.0.0-beta.0", + "docs": "5.0.0", "framer": "^1.2.5", "framer-motion": "^4.0.0", "mustache": "^4.0.0", diff --git a/package.json b/package.json index 031f05b0b49814..a323e6b496a183 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "5.0.0-beta.0", + "version": "5.0.0-beta.1", "private": true, "scripts": { "proptypes": "cross-env BABEL_ENV=development babel-node --extensions \".tsx,.ts,.js\" ./scripts/generateProptypes.ts", diff --git a/packages/eslint-plugin-material-ui/package.json b/packages/eslint-plugin-material-ui/package.json index b01c85ea53339b..d060de6e483a00 100644 --- a/packages/eslint-plugin-material-ui/package.json +++ b/packages/eslint-plugin-material-ui/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-material-ui", - "version": "5.0.0-alpha.35", + "version": "5.0.0", "private": true, "description": "Custom eslint rules for Material-UI.", "main": "src/index.js", diff --git a/packages/material-ui-docs/package.json b/packages/material-ui-docs/package.json index 2480e11a61d0fe..e4e40d9154e3ec 100644 --- a/packages/material-ui-docs/package.json +++ b/packages/material-ui-docs/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/docs", - "version": "5.0.0-beta.0", + "version": "5.0.0-beta.1", "private": false, "author": "Material-UI Team", "description": "Material-UI Docs - Documentation building blocks.", diff --git a/packages/material-ui-icons/package.json b/packages/material-ui-icons/package.json index 473c126bda0a84..e3757c714c68b8 100644 --- a/packages/material-ui-icons/package.json +++ b/packages/material-ui-icons/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/icons", - "version": "5.0.0-beta.0", + "version": "5.0.0-beta.1", "private": false, "author": "Material-UI Team", "description": "Material Design icons distributed as SVG React components.", diff --git a/packages/material-ui-lab/package.json b/packages/material-ui-lab/package.json index d98d8c69daba2a..3ab34f3325b2c2 100644 --- a/packages/material-ui-lab/package.json +++ b/packages/material-ui-lab/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/lab", - "version": "5.0.0-alpha.39", + "version": "5.0.0-alpha.40", "private": false, "author": "Material-UI Team", "description": "Laboratory for new Material-UI modules.", @@ -68,8 +68,8 @@ "@date-io/dayjs": "^2.10.6", "@date-io/luxon": "^2.10.6", "@date-io/moment": "^2.10.6", - "@material-ui/system": "5.0.0-beta.0", - "@material-ui/unstyled": "5.0.0-alpha.39", + "@material-ui/system": "5.0.0-beta.1", + "@material-ui/unstyled": "5.0.0-alpha.40", "@material-ui/utils": "5.0.0-beta.0", "clsx": "^1.0.4", "prop-types": "^15.7.2", diff --git a/packages/material-ui-private-theming/package.json b/packages/material-ui-private-theming/package.json index ee1a21a47857b3..d359ffaee6914c 100644 --- a/packages/material-ui-private-theming/package.json +++ b/packages/material-ui-private-theming/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/private-theming", - "version": "5.0.0-beta.0", + "version": "5.0.0-beta.1", "private": false, "author": "Material-UI Team", "description": "Material-UI Theming - The React theme context to be shared between `@material-ui/styles` and `@material-ui/core`.", diff --git a/packages/material-ui-styled-engine-sc/package.json b/packages/material-ui-styled-engine-sc/package.json index 625e0920231078..53427e8bcca575 100644 --- a/packages/material-ui-styled-engine-sc/package.json +++ b/packages/material-ui-styled-engine-sc/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/styled-engine-sc", - "version": "5.0.0-beta.0", + "version": "5.0.0-beta.1", "private": false, "author": "Material-UI Team", "description": "styled() API wrapper package for styled-components.", diff --git a/packages/material-ui-styled-engine/package.json b/packages/material-ui-styled-engine/package.json index 782a9fca393ef4..bd9126b9189b96 100644 --- a/packages/material-ui-styled-engine/package.json +++ b/packages/material-ui-styled-engine/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/styled-engine", - "version": "5.0.0-beta.0", + "version": "5.0.0-beta.1", "private": false, "author": "Material-UI Team", "description": "styled() API wrapper package for emotion.", diff --git a/packages/material-ui-styles/package.json b/packages/material-ui-styles/package.json index ea5f798ae718b7..511095a74df1ed 100644 --- a/packages/material-ui-styles/package.json +++ b/packages/material-ui-styles/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/styles", - "version": "5.0.0-beta.0", + "version": "5.0.0-beta.1", "private": false, "author": "Material-UI Team", "description": "Material-UI Styles - The styling solution of Material-UI.", @@ -49,7 +49,7 @@ "dependencies": { "@babel/runtime": "^7.4.4", "@emotion/hash": "^0.8.0", - "@material-ui/private-theming": "5.0.0-beta.0", + "@material-ui/private-theming": "5.0.0-beta.1", "@material-ui/types": "6.0.1", "@material-ui/utils": "5.0.0-beta.0", "clsx": "^1.0.4", diff --git a/packages/material-ui-system/package.json b/packages/material-ui-system/package.json index a1bd93092f06c6..8d99b36ba6f5c8 100644 --- a/packages/material-ui-system/package.json +++ b/packages/material-ui-system/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/system", - "version": "5.0.0-beta.0", + "version": "5.0.0-beta.1", "private": false, "author": "Material-UI Team", "description": "CSS utilities for rapidly laying out custom designs.", @@ -56,8 +56,8 @@ }, "dependencies": { "@babel/runtime": "^7.4.4", - "@material-ui/private-theming": "5.0.0-beta.0", - "@material-ui/styled-engine": "5.0.0-beta.0", + "@material-ui/private-theming": "5.0.0-beta.1", + "@material-ui/styled-engine": "5.0.0-beta.1", "@material-ui/types": "6.0.1", "@material-ui/utils": "5.0.0-beta.0", "clsx": "^1.0.4", diff --git a/packages/material-ui-unstyled/package.json b/packages/material-ui-unstyled/package.json index a4faec79f9c7f9..714f850077e34b 100644 --- a/packages/material-ui-unstyled/package.json +++ b/packages/material-ui-unstyled/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/unstyled", - "version": "5.0.0-alpha.39", + "version": "5.0.0-alpha.40", "private": false, "author": "Material-UI Team", "description": "Unstyled React components with which to implement custom design systems.", diff --git a/packages/material-ui/package.json b/packages/material-ui/package.json index 8598d057f337d2..4ad2994f0e111c 100644 --- a/packages/material-ui/package.json +++ b/packages/material-ui/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/core", - "version": "5.0.0-beta.0", + "version": "5.0.0-beta.1", "private": false, "author": "Material-UI Team", "description": "Quickly build beautiful React apps. Material-UI 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.", @@ -60,9 +60,9 @@ }, "dependencies": { "@babel/runtime": "^7.4.4", - "@material-ui/system": "5.0.0-beta.0", + "@material-ui/system": "5.0.0-beta.1", "@material-ui/types": "6.0.1", - "@material-ui/unstyled": "5.0.0-alpha.39", + "@material-ui/unstyled": "5.0.0-alpha.40", "@material-ui/utils": "5.0.0-beta.0", "@popperjs/core": "^2.4.4", "@types/react-transition-group": "^4.2.0", diff --git a/packages/netlify-plugin-cache-docs/package.json b/packages/netlify-plugin-cache-docs/package.json index eb6ab4b83a1fa4..af9fb7d69df39e 100644 --- a/packages/netlify-plugin-cache-docs/package.json +++ b/packages/netlify-plugin-cache-docs/package.json @@ -1,6 +1,6 @@ { "name": "netlify-plugin-cache-docs", - "version": "5.0.0-alpha.34", + "version": "5.0.0", "private": true, "author": "Material-UI Team", "description": "Alternative to netlify-plugin-cache-nextjs", diff --git a/packages/typescript-to-proptypes/package.json b/packages/typescript-to-proptypes/package.json index d82f0abc6f3a3e..c0afc0d004880e 100644 --- a/packages/typescript-to-proptypes/package.json +++ b/packages/typescript-to-proptypes/package.json @@ -1,6 +1,6 @@ { "name": "typescript-to-proptypes", - "version": "5.0.0-beta.0", + "version": "5.0.0", "private": true, "description": "Generate proptypes from TypeScript declarations", "engines": { diff --git a/test/package.json b/test/package.json index f61ca846aa93ce..156ff50f118c4e 100644 --- a/test/package.json +++ b/test/package.json @@ -1,7 +1,7 @@ { - "private": true, "name": "test", - "version": "5.0.0-beta.0", + "version": "5.0.0", + "private": true, "scripts": { "typescript": "tsc -p tsconfig.json" }