From 4db3e018d615b8a7c2fa998bc274c29eb3422c5c Mon Sep 17 00:00:00 2001 From: Michel Engelen <32863416+michelengelen@users.noreply.github.com> Date: Thu, 5 Dec 2024 16:19:59 +0100 Subject: [PATCH] [release] v8.0.0-alpha.3 (#15750) Signed-off-by: Michel Engelen <32863416+michelengelen@users.noreply.github.com> Co-authored-by: Jose C Quintas Jr Co-authored-by: Flavien DELANGLE Co-authored-by: Armin Mehinovic <4390250+arminmeh@users.noreply.github.com> --- CHANGELOG.md | 102 ++++++++++++++++++++ package.json | 2 +- packages/x-charts-pro/package.json | 2 +- packages/x-charts-vendor/package.json | 2 +- packages/x-charts/package.json | 2 +- packages/x-codemod/package.json | 2 +- packages/x-data-grid-generator/package.json | 2 +- packages/x-data-grid-premium/package.json | 2 +- packages/x-data-grid-pro/package.json | 2 +- packages/x-data-grid/package.json | 2 +- packages/x-date-pickers-pro/package.json | 2 +- packages/x-date-pickers/package.json | 2 +- 12 files changed, 113 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 523da9f73d3d..eeee378b0778 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,108 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 8.0.0-alpha.3 + +_Dec 5, 2024_ + +We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨: + +- 💫 Support [Server-side lazy loading](https://mui.com/x/react-data-grid/server-side-data/lazy-loading/) on the Data Grid. Use [data source](https://mui.com/x/react-data-grid/server-side-data/#data-source) to fetch a range of rows on demand and update the rows in the same way as described in [Infinite loading](https://mui.com/x/react-data-grid/row-updates/#infinite-loading) and [Lazy loading](https://mui.com/x/react-data-grid/row-updates/#lazy-loading) without the need to use any additional event listeners and callbacks. +- 🎯 Improved [data caching](https://mui.com/x/react-data-grid/server-side-data/#data-caching). Check out our [recommendations](https://mui.com/x/react-data-grid/server-side-data/#improving-the-cache-hit-rate) for improving the cache hit rate. + +Special thanks go out to the community contributors who have helped make this release possible: +@ihsanberkozcan, @k-rajat19, @perezShaked. +Following are all team members who have contributed to this release: +@arminmeh, @cherniavskii, @flaviendelangle, @JCQuintas, @MBilalShafi, @noraleonte. + + + +### Data Grid + +#### Breaking changes + +- The "Select all" checkbox is now checked when all the selectable rows are selected, ignoring rows that are not selectable because of the `isRowSelectable` prop. +- The `rowPositionsDebounceMs` prop was removed. +- The `gridRowsDataRowIdToIdLookupSelector` selector was removed. Use the `gridRowsLookupSelector` selector in combination with the `getRowId()` API method instead. + ```diff + -const idToIdLookup = gridRowsDataRowIdToIdLookupSelector(apiRef); + -const rowId = idToIdLookup[id] + +const rowsLookup = gridRowsLookupSelector(apiRef); + +const rowId = apiRef.current.getRowId(rowsLookup[id]) + ``` +- The Grid is now more aligned with the WAI-ARIA authoring practices and sets the `role` attribute to `treegrid` if the Data Grid is used with row grouping feature. + +#### `@mui/x-data-grid@8.0.0-alpha.3` + +- [DataGrid] Fix deselection not working with `isRowSelectable` (#15692) @MBilalShafi +- [DataGrid] Make column autosizing work with flex columns (#15465) @cherniavskii +- [DataGrid] Remove `gridRowsDataRowIdToIdLookupSelector` selector (#15698) @arminmeh +- [DataGrid] Remove `rowPositionsDebounceMs` prop (#15482) @k-rajat19 +- [l10n] Improve Hebrew (he-IL) locale (#15699) @perezShaked +- [l10n] Improve Turkish (tr-TR) locale (#15734) @ihsanberkozcan + +#### `@mui/x-data-grid-pro@8.0.0-alpha.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan') + +Same changes as in `@mui/x-data-grid@8.0.0-alpha.3`, plus: + +- [DataGridPro] Cleanup pinned rows on removal (#15697) @cherniavskii +- [DataGridPro] Server-side lazy loading (#13878) @arminmeh + +#### `@mui/x-data-grid-premium@8.0.0-alpha.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan') + +Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.3`, plus: + +- [DataGridPremium] Remove the `ariaV8` experimental flag (#15694) @arminmeh + +### Date and Time Pickers + +#### Breaking changes + +- The `onOpen()` and `onClose()` methods of the `usePickerContext()` hook have been replaced with a single `setOpen` method — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#usepickercontext). + +#### `@mui/x-date-pickers@8.0.0-alpha.3` + +- [pickers] Replace the `onOpen()` and `onClose()` methods of `usePickerContext()` with a single `setOpen()` method. (#15701) @flaviendelangle + +#### `@mui/x-date-pickers-pro@8.0.0-alpha.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan') + +Same changes as in `@mui/x-date-pickers@8.0.0-alpha.3`. + +### Charts + +#### `@mui/x-charts@8.0.0-alpha.3` + +- [charts] Improve SVG `pattern` and `gradient` support (#15720) @JCQuintas + +#### `@mui/x-charts-pro@8.0.0-alpha.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan') + +Same changes as in `@mui/x-charts@8.0.0-alpha.3`. + +### Tree View + +#### `@mui/x-tree-view@8.0.0-alpha.3` + +No changes since `@mui/x-tree-view-pro@v8.0.0-alpha.2`. + +#### `@mui/x-tree-view-pro@8.0.0-alpha.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan') + +Same changes as in `@mui/x-tree-view@8.0.0-alpha.3`. + +### Docs + +- [docs] Add a customization demo for the Date and Time Pickers overview page (#15118) @noraleonte +- [docs] Fix typo in charts axis documentation (#15743) @JCQuintas +- [docs] Improve SEO titles for the Data Grid (#15695) @MBilalShafi + +### Core + +- [core] Add `@mui/x-tree-view-pro` to `releaseChangelog` (#15316) @flaviendelangle +- [code-infra] Lock file maintenance (#11894) +- [code-infra] Check if `preset-safe` folder exists in codemod test (#15703) @JCQuintas +- [code-infra] Import Pickers `preset-safe` into global codemod config (#15659) @JCQuintas +- [code-infra] Playwright 1.49 (#15493) @JCQuintas +- [test] Force hover in headless Chrome (#15710) @cherniavskii + ## v8.0.0-alpha.2 _Nov 29, 2024_ diff --git a/package.json b/package.json index 73081f044f82..9a550d86ec5b 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "8.0.0-alpha.2", + "version": "8.0.0-alpha.3", "private": true, "scripts": { "preinstall": "npx only-allow pnpm", diff --git a/packages/x-charts-pro/package.json b/packages/x-charts-pro/package.json index 2db48795de10..7de393785839 100644 --- a/packages/x-charts-pro/package.json +++ b/packages/x-charts-pro/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-charts-pro", - "version": "8.0.0-alpha.2", + "version": "8.0.0-alpha.3", "description": "The Pro plan edition of the Charts components (MUI X).", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-charts-vendor/package.json b/packages/x-charts-vendor/package.json index 4bae0ee2bcd4..3b0175a2662f 100644 --- a/packages/x-charts-vendor/package.json +++ b/packages/x-charts-vendor/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-charts-vendor", - "version": "8.0.0-alpha.1", + "version": "8.0.0-alpha.3", "description": "Vendored dependencies for MUI X Charts", "author": "MUI Team", "keywords": [ diff --git a/packages/x-charts/package.json b/packages/x-charts/package.json index 79e796d347ff..37aa1b9aa412 100644 --- a/packages/x-charts/package.json +++ b/packages/x-charts/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-charts", - "version": "8.0.0-alpha.2", + "version": "8.0.0-alpha.3", "description": "The community edition of the Charts components (MUI X).", "author": "MUI Team", "main": "src/index.js", diff --git a/packages/x-codemod/package.json b/packages/x-codemod/package.json index 5905a3213478..be9bbb240320 100644 --- a/packages/x-codemod/package.json +++ b/packages/x-codemod/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-codemod", - "version": "8.0.0-alpha.2", + "version": "8.0.0-alpha.3", "bin": "./codemod.js", "private": false, "author": "MUI Team", diff --git a/packages/x-data-grid-generator/package.json b/packages/x-data-grid-generator/package.json index fd117991ddfc..4e6dbc252038 100644 --- a/packages/x-data-grid-generator/package.json +++ b/packages/x-data-grid-generator/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-data-grid-generator", - "version": "8.0.0-alpha.2", + "version": "8.0.0-alpha.3", "description": "Generate fake data for demo purposes only.", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-data-grid-premium/package.json b/packages/x-data-grid-premium/package.json index 62ed1ab3aa45..7aa4c53a946d 100644 --- a/packages/x-data-grid-premium/package.json +++ b/packages/x-data-grid-premium/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-data-grid-premium", - "version": "8.0.0-alpha.2", + "version": "8.0.0-alpha.3", "description": "The Premium plan edition of the Data Grid Components (MUI X).", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-data-grid-pro/package.json b/packages/x-data-grid-pro/package.json index 3e3dd988ec2d..66cd5a8c2573 100644 --- a/packages/x-data-grid-pro/package.json +++ b/packages/x-data-grid-pro/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-data-grid-pro", - "version": "8.0.0-alpha.2", + "version": "8.0.0-alpha.3", "description": "The Pro plan edition of the Data Grid components (MUI X).", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-data-grid/package.json b/packages/x-data-grid/package.json index f7cdc4f789e2..b5156bb9c852 100644 --- a/packages/x-data-grid/package.json +++ b/packages/x-data-grid/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-data-grid", - "version": "8.0.0-alpha.2", + "version": "8.0.0-alpha.3", "description": "The Community plan edition of the Data Grid components (MUI X).", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-date-pickers-pro/package.json b/packages/x-date-pickers-pro/package.json index e2a26efcca95..f47e2057e303 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": "8.0.0-alpha.2", + "version": "8.0.0-alpha.3", "description": "The Pro plan edition of the Date and Time Picker components (MUI X).", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-date-pickers/package.json b/packages/x-date-pickers/package.json index 1fe1636ef226..23afa8f2f17a 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": "8.0.0-alpha.2", + "version": "8.0.0-alpha.3", "description": "The community edition of the Date and Time Picker components (MUI X).", "author": "MUI Team", "main": "src/index.ts",