Skip to content

Commit

Permalink
v5.17.0 (#5991)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanailH committed Sep 2, 2022
1 parent a910196 commit 0ea9329
Show file tree
Hide file tree
Showing 15 changed files with 104 additions and 42 deletions.
77 changes: 77 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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_
Expand Down
2 changes: 1 addition & 1 deletion benchmark/package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docs",
"version": "5.16.0",
"version": "5.17.0",
"private": true,
"author": "MUI Team",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"npmClient": "yarn",
"useWorkspaces": true,
"version": "5.16.0"
"version": "5.17.0"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.16.0",
"version": "5.17.0",
"private": true,
"scripts": {
"start": "yarn docs:dev",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-material-ui/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/grid/x-data-grid-generator/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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"
Expand Down
8 changes: 4 additions & 4 deletions packages/grid/x-data-grid-premium/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions packages/grid/x-data-grid-pro/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/grid/x-data-grid/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
12 changes: 6 additions & 6 deletions packages/storybook/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "storybook",
"version": "5.16.0",
"version": "5.17.0",
"description": "Storybook components",
"author": "MUI Team",
"private": true,
Expand All @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions packages/x-date-pickers-pro/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/x-date-pickers/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/x-license-pro/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
17 changes: 1 addition & 16 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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==
Expand All @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 0ea9329

Please sign in to comment.