diff --git a/CHANGELOG.md b/CHANGELOG.md index 71a353dba426..96e5238d32d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,83 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 5.17.0 + +_Sep 2, 2022_ + +🎉 We are excited to finally introduce a stable release (v5.0.0) for the `@mui/x-date-pickers` and `@mui/x-date-pickers-pro` packages! + +If you are still using picker components from the `lab`, take a look at the [migration guide](https://mui.com/x/react-date-pickers/migration-lab/). + +We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨: + +- 🎁 Implement Lazy loading (#5214) @DanailH + + Pro users now can try the experimental lazy loading feature. + In a few steps, you can load your data on demand, as the rows are displayed. + + To enable this feature, add `experimentalFeatures={{ lazyLoading: true }}`. + Lazy Loading requires a few other settings. + See the [documentation](https://mui.com/x/react-data-grid/row-updates/#lazy-loading) to explore the example in detail. + +- 🚀 Improve `pickers` focus management (#5820) @alexfauquette +- 🎉 Enable disabling `day` on date range picker depending on `position` (#5773) @alexfauquette +- ✨ Various improvements +- 📚 Documentation improvements +- 🐞 Bugfixes + +### `@mui/x-data-grid@v5.17.0` / `@mui/x-data-grid-pro@v5.17.0` / `@mui/x-data-grid-premium@v5.17.0` + +#### Changes + +- [DataGrid] Add `sort` prop to columns panel slot (#5888) @gavbrennan +- [DataGrid] Do not throw if `fieldToFocus` cannot be found (#5871) @cherniavskii +- [DataGrid] Support `getRowId` in the `replaceRows` method (#5988) @flaviendelangle +- [DataGridPro] Add class name to row with open detail panel (#5924) @m4theushw +- [DataGridPro] Fix crash when using `pinnedRows` + `getRowClassName` props and `rows=[]` (#5851) @cherniavskii +- [DataGridPro] Fix filtering with inactive filter items (#5993) @alexfauquette +- [DataGridPro] Implement Lazy loading (#5214) @DanailH +- [DataGridPro] Support pinned columns and dynamic row height (#5782) @m4theushw +- [DataGridPremium] Add state initializer for column groups (#5963) @alexfauquette +- [DataGridPremium] Update grouping when `groupingValueGetter` changes (#5919) @flaviendelangle +- [DataGridPremium] Use the aggregated value on tree data real groups (#5953) @flaviendelangle + +### `@mui/x-date-pickers@v5.0.0` / `@mui/x-date-pickers-pro@v5.0.0` + +#### Changes + +- [DatePicker] Improve focus management (#5820) @alexfauquette +- [DateRangePicker] Enable disabling `day` depending on `position` (#5773) @alexfauquette +- [DateTimePicker] Create a new `tabs` component slot (#5972) @LukasTy +- [pickers] Do not forward validation props to the DOM on field components (#5971) @flaviendelangle +- [pickers] Do not hardcode `date-fns` elements in field components (#5975) @flaviendelangle +- [pickers] Do not require `date-fns` in `@mui/x-date-pickers-pro` (#5941) @flaviendelangle +- [pickers] Fix mobile picker not opening on label click (#5651) @LukasTy +- [pickers] Improve DOM event management on `useField` (#5901) @flaviendelangle +- [pickers] Include `community` package `themeAugmentation` in `pro` package types (#5969) @LukasTy +- [pickers] Rename `DateRangeField` into `SingleInputDateRangeField` (#5961) @flaviendelangle +- [pickers] Support `isSameError` on field components (#5984) @flaviendelangle + +### Docs + +- [docs] Add `description` and `default` to pickers slots (#5893) @alexfauquette +- [docs] Fix typo (#5945) @wettopa +- [docs] Fix typo `onYearPicker` to `onYearChange` (#5954) @alexfauquette +- [docs] Update `GridCellParams`'s `value` description (#5849) @cherniavskii +- [docs] Update `README.md` to match Introduction section of the docs (#5754) @samuelsycamore + +### Core + +- [core] Fix typo (#5990) @flaviendelangle +- [core] Remove old babel resolve rule (#5939) @oliviertassinari +- [core] Remove outdated TODO (#5956) @flaviendelangle +- [core] Upgrade monorepo (#5960) @cherniavskii +- [core] Fix statics (#5986) @DanailH +- [core] Remove unused dependencies (#5937) @oliviertassinari +- [license] Remove CLI (#5757) @flaviendelangle +- [test] Fix time zone sensitive test (#5955) @LukasTy +- [test] Use `userEvent.mousePress` instead of `fireClickEvent` (#5920) @cherniavskii + ## 5.16.0 _Aug 25, 2022_ diff --git a/benchmark/package.json b/benchmark/package.json index 6ef25e551713..665c5ea5dbed 100644 --- a/benchmark/package.json +++ b/benchmark/package.json @@ -1,6 +1,6 @@ { "name": "benchmark", - "version": "5.16.0", + "version": "5.17.0", "private": true, "scripts": { "browser": "webpack --config browser/webpack.config.js && node browser/scripts/benchmark.js" diff --git a/docs/package.json b/docs/package.json index b8479d66bdf1..d6fb6f4048e9 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "docs", - "version": "5.16.0", + "version": "5.17.0", "private": true, "author": "MUI Team", "license": "MIT", diff --git a/lerna.json b/lerna.json index ab5cff8389d8..7e501ce5ded5 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { "npmClient": "yarn", "useWorkspaces": true, - "version": "5.16.0" + "version": "5.17.0" } diff --git a/package.json b/package.json index abbd0d5843e2..b849acf487cb 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "5.16.0", + "version": "5.17.0", "private": true, "scripts": { "start": "yarn docs:dev", diff --git a/packages/eslint-plugin-material-ui/package.json b/packages/eslint-plugin-material-ui/package.json index 101e4bf73d60..cc26636322fd 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.16.0", + "version": "5.17.0", "private": true, "description": "Custom eslint rules for MUI X.", "main": "src/index.js", diff --git a/packages/grid/x-data-grid-generator/package.json b/packages/grid/x-data-grid-generator/package.json index 066f9dd8344b..0f872bbfa968 100644 --- a/packages/grid/x-data-grid-generator/package.json +++ b/packages/grid/x-data-grid-generator/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-data-grid-generator", - "version": "5.16.0", + "version": "5.17.0", "description": "Generate fake data for demo purposes only.", "author": "MUI Team", "main": "src/index.ts", @@ -32,7 +32,7 @@ "dependencies": { "@babel/runtime": "^7.18.9", "@mui/base": "^5.0.0-alpha.94", - "@mui/x-data-grid-premium": "5.16.0", + "@mui/x-data-grid-premium": "5.17.0", "chance": "^1.1.8", "clsx": "^1.2.1", "lru-cache": "^7.14.0" diff --git a/packages/grid/x-data-grid-premium/package.json b/packages/grid/x-data-grid-premium/package.json index 8c64a8d82ace..3b385e12c77c 100644 --- a/packages/grid/x-data-grid-premium/package.json +++ b/packages/grid/x-data-grid-premium/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-data-grid-premium", - "version": "5.16.0", + "version": "5.17.0", "description": "The Premium plan edition of the data grid component (MUI X).", "author": "MUI Team", "main": "src/index.ts", @@ -44,9 +44,9 @@ "dependencies": { "@babel/runtime": "^7.18.9", "@mui/utils": "^5.9.3", - "@mui/x-data-grid": "5.16.0", - "@mui/x-data-grid-pro": "5.16.0", - "@mui/x-license-pro": "5.16.0", + "@mui/x-data-grid": "5.17.0", + "@mui/x-data-grid-pro": "5.17.0", + "@mui/x-license-pro": "5.17.0", "@types/format-util": "^1.0.2", "clsx": "^1.2.1", "exceljs": "^4.3.0", diff --git a/packages/grid/x-data-grid-pro/package.json b/packages/grid/x-data-grid-pro/package.json index 3a0e3280a266..220b476e2551 100644 --- a/packages/grid/x-data-grid-pro/package.json +++ b/packages/grid/x-data-grid-pro/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-data-grid-pro", - "version": "5.16.0", + "version": "5.17.0", "description": "The Pro plan edition of the data grid component (MUI X).", "author": "MUI Team", "main": "src/index.ts", @@ -44,8 +44,8 @@ "dependencies": { "@babel/runtime": "^7.18.9", "@mui/utils": "^5.9.3", - "@mui/x-data-grid": "5.16.0", - "@mui/x-license-pro": "5.16.0", + "@mui/x-data-grid": "5.17.0", + "@mui/x-license-pro": "5.17.0", "@types/format-util": "^1.0.2", "clsx": "^1.2.1", "prop-types": "^15.8.1", diff --git a/packages/grid/x-data-grid/package.json b/packages/grid/x-data-grid/package.json index 8478a35c57db..05a9a1a5b238 100644 --- a/packages/grid/x-data-grid/package.json +++ b/packages/grid/x-data-grid/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-data-grid", - "version": "5.16.0", + "version": "5.17.0", "description": "The community edition of the data grid component (MUI X).", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/storybook/package.json b/packages/storybook/package.json index 5d323af23f10..e42dac8e46fd 100644 --- a/packages/storybook/package.json +++ b/packages/storybook/package.json @@ -1,6 +1,6 @@ { "name": "storybook", - "version": "5.16.0", + "version": "5.17.0", "description": "Storybook components", "author": "MUI Team", "private": true, @@ -18,11 +18,11 @@ "dependencies": { "@mui/icons-material": "^5.10.2", "@mui/material": "^5.10.2", - "@mui/x-data-grid": "5.16.0", - "@mui/x-data-grid-generator": "5.16.0", - "@mui/x-data-grid-premium": "5.16.0", - "@mui/x-data-grid-pro": "5.16.0", - "@mui/x-license-pro": "5.16.0", + "@mui/x-data-grid": "5.17.0", + "@mui/x-data-grid-generator": "5.17.0", + "@mui/x-data-grid-premium": "5.17.0", + "@mui/x-data-grid-pro": "5.17.0", + "@mui/x-license-pro": "5.17.0", "@storybook/builder-webpack5": "^6.5.10", "@storybook/manager-webpack5": "^6.5.10", "react": "^18.2.0", diff --git a/packages/x-date-pickers-pro/package.json b/packages/x-date-pickers-pro/package.json index 89f63ad38353..562c224b7e64 100644 --- a/packages/x-date-pickers-pro/package.json +++ b/packages/x-date-pickers-pro/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-date-pickers-pro", - "version": "5.0.0-beta.7", + "version": "5.0.0", "description": "The commercial edition of the date picker components (MUI X).", "author": "MUI Team", "main": "./src/index.js", @@ -47,8 +47,8 @@ "@date-io/luxon": "^2.15.0", "@date-io/moment": "^2.15.0", "@mui/utils": "^5.9.3", - "@mui/x-date-pickers": "5.0.0-beta.7", - "@mui/x-license-pro": "5.12.1", + "@mui/x-date-pickers": "5.0.0", + "@mui/x-license-pro": "5.17.0", "clsx": "^1.2.1", "prop-types": "^15.7.2", "react-transition-group": "^4.4.5", diff --git a/packages/x-date-pickers/package.json b/packages/x-date-pickers/package.json index 844a4c712b6c..072c78e26c18 100644 --- a/packages/x-date-pickers/package.json +++ b/packages/x-date-pickers/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-date-pickers", - "version": "5.0.0-beta.7", + "version": "5.0.0", "description": "The community edition of the date picker components (MUI X).", "author": "MUI Team", "main": "./src/index.js", diff --git a/packages/x-license-pro/package.json b/packages/x-license-pro/package.json index ac8ec79f3eac..ec8d288ffc3f 100644 --- a/packages/x-license-pro/package.json +++ b/packages/x-license-pro/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-license-pro", - "version": "5.16.0", + "version": "5.17.0", "description": "MUI X License verification", "author": "MUI Team", "main": "src/index.ts", diff --git a/yarn.lock b/yarn.lock index 7dfd8e2553e8..b41a9f6c8ed5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2769,7 +2769,7 @@ resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.1.5.tgz#5e5cc49d719bc86522983359bc1f90eddcff0624" integrity sha512-HnRXrxgHJYJcT8ZDdDCQIlqk0s0skOKD7eWs9mJgBUu70hyW4iA6Kiv3yspJR474RFH8hysKR65VVSzUSzkuwA== -"@mui/utils@^5.4.1", "@mui/utils@^5.9.3": +"@mui/utils@^5.9.3": version "5.9.3" resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-5.9.3.tgz#a11e0824f00b7ea40257b390060ce167fe861d02" integrity sha512-l0N5bcrenE9hnwZ/jPecpIRqsDFHkPXoFUcmkgysaJwVZzJ3yQkGXB47eqmXX5yyGrSc6HksbbqXEaUya+siew== @@ -2790,16 +2790,6 @@ prop-types "^15.7.2" reselect "^4.0.0" -"@mui/x-license-pro@5.12.1": - version "5.12.1" - resolved "https://registry.yarnpkg.com/@mui/x-license-pro/-/x-license-pro-5.12.1.tgz#c0c0a175ebacd1a017fcd9bc25afe205ff6bd1f7" - integrity sha512-loiYFPr709tvWpIDLkDuNwsRoGVAkW1MlKDiurPlQaizVaS4w9YGw+oSHro7DTkXehuhkF2g2QTKorynazDu/Q== - dependencies: - "@babel/runtime" "^7.17.2" - "@mui/utils" "^5.4.1" - esm "^3.2.25" - yargs "^17.5.1" - "@next/env@12.2.5": version "12.2.5" resolved "https://registry.yarnpkg.com/@next/env/-/env-12.2.5.tgz#d908c57b35262b94db3e431e869b72ac3e1ad3e3" @@ -9808,11 +9798,6 @@ eslint@^8.22.0: text-table "^0.2.0" v8-compile-cache "^2.0.3" -esm@^3.2.25: - version "3.2.25" - resolved "https://registry.yarnpkg.com/esm/-/esm-3.2.25.tgz#342c18c29d56157688ba5ce31f8431fbb795cc10" - integrity sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA== - espree@^9.3.2, espree@^9.3.3: version "9.3.3" resolved "https://registry.yarnpkg.com/espree/-/espree-9.3.3.tgz#2dd37c4162bb05f433ad3c1a52ddf8a49dc08e9d"