From c514ea86c11c9817839630e840535358f5044caf Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Mon, 4 Jan 2021 12:14:47 +0100 Subject: [PATCH] v5.0.0-alpha.22 --- CHANGELOG.md | 49 +++++++++++++++++++ benchmark/package.json | 8 +-- docs/package.json | 24 ++++----- docs/packages/feedback/package.json | 2 +- framer/package.json | 4 +- package.json | 2 +- .../package.json | 2 +- .../eslint-plugin-material-ui/package.json | 2 +- packages/material-ui-codemod/package.json | 2 +- packages/material-ui-docs/package.json | 4 +- packages/material-ui-envinfo/package.json | 2 +- packages/material-ui-icons/package.json | 2 +- packages/material-ui-lab/package.json | 8 +-- .../material-ui-styled-engine-sc/package.json | 2 +- .../material-ui-styled-engine/package.json | 2 +- packages/material-ui-styles/package.json | 6 +-- packages/material-ui-system/package.json | 4 +- packages/material-ui-types/package.json | 2 +- packages/material-ui-unstyled/package.json | 6 +-- packages/material-ui-utils/package.json | 2 +- packages/material-ui/package.json | 14 +++--- .../netlify-plugin-cache-docs/package.json | 2 +- packages/typescript-to-proptypes/package.json | 2 +- scripts/README.md | 17 +++++-- 24 files changed, 113 insertions(+), 57 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb6037fee010c3..0ea43417c00921 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,54 @@ ### [Versions](https://material-ui.com/versions/) +## 5.0.0-alpha.22 + +###### _Jan 4, 2021_ + +Big thanks to the 14 contributors who made this release possible. Here are some highlights ✨: + +- ♿️ Fix major accessibility issue with the Autocomplete (#24213) @inform880 +- 👩‍🎤 Migrate the Container to emotion (#24227) @oliviertassinari +- 🐛 Fix Next.js regression and other cross-platform issues with the build (#24200, #24223) +- And many more 🐛 bug fixes and 📚 improvements. + +### `@material-ui/core@v5.0.0-alpha.22`/`@material-ui/unstyled@v5.0.0-alpha.22` + +- [Autocomplete] Fix opton accessibility (#24213) @inform880 +- [Autocomplete] Warn when value is invalid (#24202) @Sandeep0695 +- [Button] Fix disableElevation regression (#24251) @oliviertassinari +- [Container] Migrate to emotion (#24227) @oliviertassinari +- [DatePicker] Fix year only view, hide the current month (#24205) @hyeonhong +- [DatePicker] Nested imports for better DX (#24147) @oliviertassinari +- [DatePicker] Remove unused type parameters (#24257) @eps1lon +- [Pagination] Fix className forwarding when type is ellipsis (#24256) @andrelmlins +- [Select] Improve description on how it extends the Input components (#24180) @azza85 +- [TimePicker] Prevent conflicting type parameter in `ClockProps#getClockLabelText` (#24193) @eps1lon +- [styled] Fix missing types for `sx` (#24211) @mnajdova +- [styled] Remove unused type parameters from StyledOptions (#24255) @eps1lon +- [styled] Support components without theme (#24214) @mnajdova +- [styles] Fix classes logic (#24250) @oliviertassinari +- [styles] Improve the classes structure (#24249) @oliviertassinari + +### Docs + +- [docs] Accept pages written in TypeScript (#24230) @oliviertassinari +- [docs] Document emotion migration breaking changes (#24229) @luminaxster +- [docs] Fix broken benchmark link (#24210) @jalaj-k +- [docs] Fix codesandbox datagrid demo (#24218) @brno32 +- [docs] Fix iframe demos with emotion (#24232) @oliviertassinari +- [docs] Sync translations (#24161) @l10nbot + +### Core + +- [core] Add missing sx typings on the components migrated to emotion (#24208) @mnajdova +- [core] Batch small changes (#24224) @oliviertassinari +- [core] Create issue mark duplicate (#24184) @xrkffgg +- [core] Fix generation of package.json (#24223) @oliviertassinari +- [core] Fix relative import of types (#24248) @oliviertassinari +- [core] Platform agnostic build script for envinfo (#24200) @eps1lon +- [core] Remove unused generics from experimentalStyled (#24192) @eps1lon +- [test] More granular progress tracking of relative type imports (#24233) @eps1lon + ## 5.0.0-alpha.21 ###### _Dec 30, 2020_ diff --git a/benchmark/package.json b/benchmark/package.json index 983ad1597ea904..76659f83eef8c5 100644 --- a/benchmark/package.json +++ b/benchmark/package.json @@ -1,6 +1,6 @@ { "name": "benchmark", - "version": "5.0.0-alpha.21", + "version": "5.0.0-alpha.22", "private": "true", "scripts": { "browser": "yarn webpack --config browser/webpack.config.js && node browser/scripts/benchmark.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-alpha.21", - "@material-ui/styles": "5.0.0-alpha.21", - "@material-ui/system": "5.0.0-alpha.21", + "@material-ui/core": "5.0.0-alpha.22", + "@material-ui/styles": "5.0.0-alpha.22", + "@material-ui/system": "5.0.0-alpha.22", "@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 e5798424e99516..835e46e0ef38bc 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "docs", - "version": "5.0.0-alpha.21", + "version": "5.0.0-alpha.22", "private": true, "author": "Material-UI Team", "license": "MIT", @@ -29,16 +29,16 @@ "@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-alpha.21", - "@material-ui/docs": "5.0.0-alpha.21", - "@material-ui/icons": "5.0.0-alpha.21", - "@material-ui/lab": "5.0.0-alpha.21", - "@material-ui/styled-engine": "5.0.0-alpha.21", - "@material-ui/styled-engine-sc": "5.0.0-alpha.21", - "@material-ui/styles": "5.0.0-alpha.21", - "@material-ui/system": "5.0.0-alpha.21", - "@material-ui/types": "5.1.3", - "@material-ui/unstyled": "5.0.0-alpha.21", + "@material-ui/core": "5.0.0-alpha.22", + "@material-ui/docs": "5.0.0-alpha.22", + "@material-ui/icons": "5.0.0-alpha.22", + "@material-ui/lab": "5.0.0-alpha.22", + "@material-ui/styled-engine": "5.0.0-alpha.22", + "@material-ui/styled-engine-sc": "5.0.0-alpha.22", + "@material-ui/styles": "5.0.0-alpha.22", + "@material-ui/system": "5.0.0-alpha.22", + "@material-ui/types": "5.1.4", + "@material-ui/unstyled": "5.0.0-alpha.22", "@trendmicro/react-interpolate": "^0.5.5", "@types/autosuggest-highlight": "^3.1.0", "@types/css-mediaquery": "^0.1.0", @@ -125,7 +125,7 @@ "@babel/preset-typescript": "^7.7.4", "@types/marked": "^1.2.1", "@types/recharts": "^1.8.14", - "babel-plugin-unwrap-createstyles": "5.0.0-alpha.21", + "babel-plugin-unwrap-createstyles": "5.0.0-alpha.22", "cross-fetch": "^3.0.5", "gm": "^1.23.0" } diff --git a/docs/packages/feedback/package.json b/docs/packages/feedback/package.json index 41e45be1749e31..48e2cc0329def5 100644 --- a/docs/packages/feedback/package.json +++ b/docs/packages/feedback/package.json @@ -1,6 +1,6 @@ { "name": "feedback", - "version": "5.0.0-alpha.21", + "version": "5.0.0-alpha.22", "description": "Store and retrieve page ratings and comments", "main": "./index.js", "license": "MIT", diff --git a/framer/package.json b/framer/package.json index 161ba77e94e470..07c524ba6e5eca 100644 --- a/framer/package.json +++ b/framer/package.json @@ -1,6 +1,6 @@ { "name": "framer", - "version": "1.0.3", + "version": "1.0.4", "description": "Builds Material-UI for Framer X", "repository": "https://github.com/mui-org/material-ui", "author": "Material-UI Team", @@ -11,7 +11,7 @@ "@types/react": "^17.0.0", "case": "1.6.3", "deepmerge": "^4.0.0", - "docs": "5.0.0-alpha.21", + "docs": "5.0.0-alpha.22", "framer": "^1.2.5", "framer-motion": "^3.1.1", "mustache": "^4.0.0", diff --git a/package.json b/package.json index 8536efae1ed954..5be9b2a30f4c79 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "5.0.0-alpha.21", + "version": "5.0.0-alpha.22", "private": true, "scripts": { "proptypes": "cross-env BABEL_ENV=test babel-node --extensions \".tsx,.ts,.js\" ./scripts/generateProptypes.ts", diff --git a/packages/babel-plugin-unwrap-createstyles/package.json b/packages/babel-plugin-unwrap-createstyles/package.json index 397868d19fe1e0..dd79060a458bde 100644 --- a/packages/babel-plugin-unwrap-createstyles/package.json +++ b/packages/babel-plugin-unwrap-createstyles/package.json @@ -1,7 +1,7 @@ { "name": "babel-plugin-unwrap-createstyles", "private": true, - "version": "5.0.0-alpha.21", + "version": "5.0.0-alpha.22", "description": "unwraps createStyles call", "main": "src/index.js", "author": "Material-UI Team", diff --git a/packages/eslint-plugin-material-ui/package.json b/packages/eslint-plugin-material-ui/package.json index 9a9e350a57680b..9e8a7a8deb2c85 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.21", + "version": "5.0.0-alpha.22", "private": true, "description": "Custom eslint rules for Material-UI.", "main": "src/index.js", diff --git a/packages/material-ui-codemod/package.json b/packages/material-ui-codemod/package.json index ef79e1ad99d7c9..0fbf54a53743bc 100644 --- a/packages/material-ui-codemod/package.json +++ b/packages/material-ui-codemod/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/codemod", - "version": "5.0.0-alpha.21", + "version": "5.0.0-alpha.22", "private": false, "author": "Material-UI Team", "description": "Codemod scripts for Material-UI.", diff --git a/packages/material-ui-docs/package.json b/packages/material-ui-docs/package.json index c0d435613f24ec..a6cda89165e7e6 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-alpha.21", + "version": "5.0.0-alpha.22", "private": false, "author": "Material-UI Team", "description": "Material-UI Docs - Documentation building blocks.", @@ -46,7 +46,7 @@ }, "dependencies": { "@babel/runtime": "^7.4.4", - "@material-ui/utils": "5.0.0-alpha.21", + "@material-ui/utils": "5.0.0-alpha.22", "nprogress": "^0.2.0" }, "publishConfig": { diff --git a/packages/material-ui-envinfo/package.json b/packages/material-ui-envinfo/package.json index a62ef0fe11df9f..baf94f69f73ab6 100644 --- a/packages/material-ui-envinfo/package.json +++ b/packages/material-ui-envinfo/package.json @@ -6,7 +6,7 @@ }, "license": "MIT", "description": "Logs infos about the environment relevant to @material-ui/*", - "version": "1.1.3", + "version": "1.1.4", "bin": "./envinfo.js", "dependencies": { "envinfo": "^7.7.3" diff --git a/packages/material-ui-icons/package.json b/packages/material-ui-icons/package.json index dd49889af57c28..fd8f5f5208e24a 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-alpha.21", + "version": "5.0.0-alpha.22", "private": false, "author": "Material-UI Team", "description": "Material Design Svg Icons converted to Material-UI React components.", diff --git a/packages/material-ui-lab/package.json b/packages/material-ui-lab/package.json index cf091ad6cd6036..1e128b75259c63 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.21", + "version": "5.0.0-alpha.22", "private": false, "author": "Material-UI Team", "description": "Material-UI Lab - Incubator for Material-UI React components.", @@ -67,8 +67,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-alpha.21", - "@material-ui/utils": "5.0.0-alpha.21", + "@material-ui/system": "5.0.0-alpha.22", + "@material-ui/utils": "5.0.0-alpha.22", "clsx": "^1.0.4", "prop-types": "^15.7.2", "react-is": "^16.8.0 || ^17.0.0", @@ -76,7 +76,7 @@ "rifm": "^0.12.0" }, "devDependencies": { - "@material-ui/types": "5.1.3", + "@material-ui/types": "5.1.4", "@types/luxon": "^1.25.0", "date-fns": "^2.0.0", "dayjs": "^1.8.17", diff --git a/packages/material-ui-styled-engine-sc/package.json b/packages/material-ui-styled-engine-sc/package.json index 704c808c328997..c62428e86c095e 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-alpha.21", + "version": "5.0.0-alpha.22", "private": false, "author": "Material-UI Team", "description": "Material-UI Styled - Wrapper package for styled-components.", diff --git a/packages/material-ui-styled-engine/package.json b/packages/material-ui-styled-engine/package.json index 5e0dd9c8fe6977..1f93ffe8c00b67 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-alpha.21", + "version": "5.0.0-alpha.22", "private": false, "author": "Material-UI Team", "description": "Material-UI Styled - Wrapper package for emotion.", diff --git a/packages/material-ui-styles/package.json b/packages/material-ui-styles/package.json index cf7a1a246b7f18..9a7f40676d6d12 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-alpha.21", + "version": "5.0.0-alpha.22", "private": false, "author": "Material-UI Team", "description": "Material-UI Styles - The styling solution of Material-UI.", @@ -49,8 +49,8 @@ "dependencies": { "@babel/runtime": "^7.4.4", "@emotion/hash": "^0.8.0", - "@material-ui/types": "5.1.3", - "@material-ui/utils": "5.0.0-alpha.21", + "@material-ui/types": "5.1.4", + "@material-ui/utils": "5.0.0-alpha.22", "clsx": "^1.0.4", "csstype": "^3.0.2", "hoist-non-react-statics": "^3.3.2", diff --git a/packages/material-ui-system/package.json b/packages/material-ui-system/package.json index 9802b80160afaa..d61a642262dac3 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-alpha.21", + "version": "5.0.0-alpha.22", "private": false, "author": "Material-UI Team", "description": "Material-UI System - Design system for Material-UI.", @@ -49,7 +49,7 @@ }, "dependencies": { "@babel/runtime": "^7.4.4", - "@material-ui/utils": "5.0.0-alpha.21", + "@material-ui/utils": "5.0.0-alpha.22", "csstype": "^3.0.2", "prop-types": "^15.7.2" }, diff --git a/packages/material-ui-types/package.json b/packages/material-ui-types/package.json index 7ad6619ca698a0..b62234b49cf559 100644 --- a/packages/material-ui-types/package.json +++ b/packages/material-ui-types/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/types", - "version": "5.1.3", + "version": "5.1.4", "private": false, "author": "Material-UI Team", "description": "Material-UI Types - Utility types for Material-UI.", diff --git a/packages/material-ui-unstyled/package.json b/packages/material-ui-unstyled/package.json index 51c68143445be8..bd4b2fa04217fa 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.21", + "version": "5.0.0-alpha.22", "private": false, "author": "Material-UI Team", "description": "Material-UI Unstyled - collection of unstyled React components.", @@ -45,13 +45,13 @@ }, "dependencies": { "@babel/runtime": "^7.4.4", - "@material-ui/utils": "5.0.0-alpha.21", + "@material-ui/utils": "5.0.0-alpha.22", "clsx": "^1.0.4", "prop-types": "^15.7.2", "react-is": "^16.8.0 || ^17.0.0" }, "devDependencies": { - "@material-ui/types": "5.1.3" + "@material-ui/types": "5.1.4" }, "sideEffects": false, "publishConfig": { diff --git a/packages/material-ui-utils/package.json b/packages/material-ui-utils/package.json index 2cbcf18313db4e..6e40339852b988 100644 --- a/packages/material-ui-utils/package.json +++ b/packages/material-ui-utils/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/utils", - "version": "5.0.0-alpha.21", + "version": "5.0.0-alpha.22", "private": false, "author": "Material-UI Team", "description": "Material-UI Utils - Utility functions for Material-UI.", diff --git a/packages/material-ui/package.json b/packages/material-ui/package.json index 32cb01f978fec3..2671e69a99aa79 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-alpha.21", + "version": "5.0.0-alpha.22", "private": false, "author": "Material-UI Team", "main": "./src/index.ts", @@ -60,12 +60,12 @@ }, "dependencies": { "@babel/runtime": "^7.4.4", - "@material-ui/styled-engine": "5.0.0-alpha.21", - "@material-ui/styles": "5.0.0-alpha.21", - "@material-ui/system": "5.0.0-alpha.21", - "@material-ui/types": "5.1.3", - "@material-ui/unstyled": "5.0.0-alpha.21", - "@material-ui/utils": "5.0.0-alpha.21", + "@material-ui/styled-engine": "5.0.0-alpha.22", + "@material-ui/styles": "5.0.0-alpha.22", + "@material-ui/system": "5.0.0-alpha.22", + "@material-ui/types": "5.1.4", + "@material-ui/unstyled": "5.0.0-alpha.22", + "@material-ui/utils": "5.0.0-alpha.22", "@popperjs/core": "^2.4.4", "@types/react-transition-group": "^4.2.0", "clsx": "^1.0.4", diff --git a/packages/netlify-plugin-cache-docs/package.json b/packages/netlify-plugin-cache-docs/package.json index 46e8e4f8e49a66..4954715e840ace 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.21", + "version": "5.0.0-alpha.22", "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 4e71ec575fe931..8ef2777d6b7dd2 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-alpha.21", + "version": "5.0.0-alpha.22", "private": true, "description": "Generate proptypes from TypeScript declarations", "engines": { diff --git a/scripts/README.md b/scripts/README.md index e71335146f7309..dff5296bb966a9 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -11,17 +11,18 @@ A typical release goes like this: - Clean the generated changelog, to match the format of https://github.com/mui-org/material-ui/releases. - Open a pull request with the generated change on `next`. -1. **build**. Prepare the release: +1. **Build**. Prepare the release: ``` git checkout next git pull +git checkout -b v5.0.0-alpha.18 yarn yarn release:version yarn release:build ``` -1. **version**. Update the `/package.json` version and commit all the changes +1. **Version**. Update the root `/package.json`'s version and commit all the changes ``` git commit -am "v5.0.0-alpha.18" @@ -43,11 +44,17 @@ git push --tag 1. **Docs**. Push the next branch on the release branch to deploy the documentation with the latest changes. It lives at https://material-ui.netlify.app/. Force push if necessary. +Note: if you don't have the `material-ui-docs` remote already, you should add it with + +``` +git remote add material-ui-docs https://github.com/mui-org/material-ui-docs.git +``` + ``` yarn docs:deploy ``` 1. **GitHub**. Make a new release on GitHub (for people subscribing to updates). https://github.com/mui-org/material-ui/releases -1. **Twitter**. Make sure Material-UI X was released at the same time: https://trello.com/c/kYF9OLLi/105-release-steps. Send a tweet with the main Twitter account to summarize what happened. - -Example of template https://twitter.com/GatsbyJS/status/1334135834778406915 +1. **Twitter**. It's even better to synchronize with the release of Material-UI X: https://trello.com/c/kYF9OLLi/105-release-steps, to have a single announcement/version covering the two. + Send a tweet with the main Twitter account to summarize what happened. + Example of template https://twitter.com/MaterialUI/status/1341422029862526977