From f2a285af3759d37d7cfa2216838a7d4ce0aa3f52 Mon Sep 17 00:00:00 2001 From: Flavien DELANGLE Date: Mon, 17 Feb 2025 11:22:46 +0100 Subject: [PATCH] v8.0.0-alpha.12 (#16596) Signed-off-by: Flavien DELANGLE Co-authored-by: Lukas Tyla Co-authored-by: Armin Mehinovic <4390250+arminmeh@users.noreply.github.com> Co-authored-by: Andrew Cherniavskii Co-authored-by: Kenan Yusuf Co-authored-by: Bilal Shafi --- CHANGELOG.md | 162 +++++++++++++++++++- package.json | 2 +- packages/x-charts-pro/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 +- packages/x-internals/package.json | 2 +- packages/x-license/package.json | 2 +- packages/x-tree-view-pro/package.json | 2 +- packages/x-tree-view/package.json | 2 +- 15 files changed, 175 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90aa8e9111e79..098e4c6e2f2f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,167 @@ 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.11** +## 8.0.0-alpha.12 + +_Feb 17, 2025_ + +We'd like to offer a big thanks to the 16 contributors who made this release possible. Here are some highlights ✨: + +- 📦 Data Grid [data source](https://next.mui.com/x/react-data-grid/server-side-data/) is now available in the Community plan +- ⚡ Improve Data Grid Excel export serialization performance +- 🚫 Add ["No columns" overlay](https://next.mui.com/x/react-data-grid/overlays/#no-columns-overlay) to Data Grid +- 🌍 Improve Polish (pl-PL) and Ukrainian (uk-UA) locales on the Data Grid +- 🐞 Bugfixes + +Special thanks go out to the community contributors who have helped make this release possible: +@Neonin, @nusr, and @pawelkula. +Following are all team members who have contributed to this release: +@alexfauquette, @arminmeh, @bernardobelchior, @cherniavskii, @Janpot, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi, @michelengelen, @oliviertassinari, @romgrk, and @mapache-salvaje. + +### Data Grid + +#### Breaking changes + +- The `main--hasSkeletonLoadingOverlay` class has been renamed to `main--hiddenContent` and is now also applied when the "No columns" overlay is displayed. + +- The `apiRef.current.forceUpdate()` method was removed. Use selectors combined with `useGridSelector()` hook to react to changes in the state. + +- The selectors signature has been updated. They are only accepting `apiRef` as a first argument and `instanceId` is no longer the third argument. + + ```diff + -mySelector(state, arguments, instanceId) + +mySelector(apiRef, arguments) + ``` + +#### `@mui/x-data-grid@8.0.0-alpha.12` + +- [DataGrid] Add "No columns" overlay (#16543) @KenanYusuf +- [DataGrid] All selectors accept only `apiRef` as first argument (#16198) @arminmeh +- [DataGrid] Avoid `undefined` value for pagination `rowCount` (#16488) @cherniavskii +- [DataGrid] Create the base Checkbox slot (#16445) @romgrk +- [DataGrid] Create the base Input slot (#16443) @romgrk +- [DataGrid] Create the base MenuList slot (#16481) @romgrk +- [DataGrid] Create the base Popper slot (#16362) @romgrk +- [DataGrid] Create the base Select slot (#16394) @romgrk +- [DataGrid] Create the base Switch slot (#16527) @romgrk +- [DataGrid] Extract `getRowId()` API method as a selector (#16487) @MBilalShafi +- [DataGrid] Fix the `onClock` prop of the base Select slot (#16557) @romgrk +- [DataGrid] Go to the first page when sorting/filtering is applied (#16447) @arminmeh +- [DataGrid] Make base data source available in the Community plan (#16359) @MBilalShafi +- [DataGrid] Remove `apiRef.current.forceUpdate()` method (#16560) @MBilalShafi +- [DataGrid] Fix the unexpected behavior of the pagination when using `-1` for "All" rows per page (#16485) @nusr +- [l10n] Improve Polish (pl-PL) locale (#16123) @pawelkula +- [l10n] Improve Ukrainian (uk-UA) locale (#16463) @Neonin + +#### `@mui/x-data-grid-pro@8.0.0-alpha.12` [![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.12`. + +#### `@mui/x-data-grid-premium@8.0.0-alpha.12` [![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.12`, plus: + +- [DataGridPremium] Fix Excel export Web Worker demo not working in dev mode (#16517) @cherniavskii +- [DataGridPremium] Fix loading issue + add skeleton overlay (#16282) @MBilalShafi +- [DataGridPremium] Improve Excel export serialization performance (#16526) @cherniavskii +- [DataGridPremium] Namespace Excel export worker (#16020) @oliviertassinari + +### Date and Time Pickers + +#### Breaking changes + +- The `aria-label` on the `` component and Time Picker opening button has been fixed to rely on the set `ampm` property instead of defaulting to the user's locale. + +- The following unused formats have been removed from the adapters and can no longer be overridden via the `dateFormats` prop on the `` component: + + - `fullTime` - please use `fullTime12h` and `fullTime24h` instead: + ```diff + + ``` + - `keyboardDateTime` - please use `keyboardDateTime12h` and `keyboardDateTime24h` instead: + ```diff + + ``` + +#### `@mui/x-date-pickers@8.0.0-alpha.12` + +- [pickers] Fix time related aria labels to depend on `ampm` flag value (#16572) @LukasTy +- [pickers] Remove unused adapter formats (#16522) @LukasTy + +#### `@mui/x-date-pickers-pro@8.0.0-alpha.12` [![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.12`, plus: + +- [DateRangePicker] Avoid unnecessary field section focusing (#16474) @LukasTy + +### Charts + +#### Breaking changes + +- The `useSeries` hook family has been stabilized and renamed accordingly — [Learn more](https://next.mui.com/x/migration/migration-charts-v7/#stabilize-useseries-and-usexxxseries-hooks-✅) + +#### `@mui/x-charts@8.0.0-alpha.12` + +- [charts] Add docs for scatter "Size" section (#16556) @bernardobelchior +- [charts] Add `test:performance:browser` script #16600 @bernardobelchior +- [charts] Add warning when using unknown ids in `useXxxSeries` hooks (#16552) @JCQuintas +- [charts] Divide the logic for `useXxxSeries` into `useXxxSeriesContext` (#16546) @JCQuintas +- [charts] Document plugins for internal use (#16504) @JCQuintas +- [charts] Fix internal typo (#16524) @alexfauquette +- [charts] Fix type overloads (#16581) @JCQuintas +- [charts] Fix zoom filter regression (#16507) @alexfauquette +- [charts] Improve tooltip placement in mobile (#16553) @bernardobelchior +- [charts] Let the `useXxxSeries` support array of ids and document them (#15545) @JCQuintas +- [charts] Memoize some tooltip internals (#16564) @alexfauquette +- [charts] Move Voronoi handler in a dedicated plugin (#16470) @alexfauquette +- [charts] Performance tests: set license on setup. Update vitest minor version. (#16525) @bernardobelchior +- [charts] Propagate the axis scale to the `valueFormatter` (#16555) @alexfauquette +- [charts] Remove `colors` prop from `SparkLineChart`. (#16494) @bernardobelchior +- [charts] Stabilize series hooks (`useSeries`, `usePieSeries`, etc.) (#16459) @bernardobelchior + +#### `@mui/x-charts-pro@8.0.0-alpha.12` [![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.12`. + +### Tree View + +#### `@mui/x-tree-view@8.0.0-alpha.12` + +Internal changes. + +#### `@mui/x-tree-view-pro@8.0.0-alpha.12` [![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.12`. + +### Docs + +- [docs] Add demo for Scatter Chart with linked points (#16505) @bernardobelchior +- [docs] Improve license installation page (#16403) @michelengelen +- [docs] Standardize getting started docs across all packages (#16302) @mapache-salvaje + +### Core + +- [core] Update charts folder structure (#16471) @alexfauquette +- [code-infra] Bump @mui/monorepo (#16422) @LukasTy +- [code-infra] Fix lock file (#16562) @LukasTy +- [code-infra] Fix root package version (#16503) @JCQuintas +- [code-infra] Update internal packages to `next` releases (#16423) @LukasTy +- [code-infra] Update package layout for better ESM support (#14386) @Janpot +- [code-infra] Update peer dependencies for v8 (#16563) @Janpot + +## 8.0.0-alpha.11 _Feb 7, 2025_ diff --git a/package.json b/package.json index 6e282252858ea..ab3ca40150d86 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "8.0.0-alpha.11", + "version": "8.0.0-alpha.12", "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 9d4606034bf7d..68704eaceb22f 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.11", + "version": "8.0.0-alpha.12", "description": "The Pro plan edition of the Charts components (MUI X).", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-charts/package.json b/packages/x-charts/package.json index 041c6c64fa621..3604802f95780 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.11", + "version": "8.0.0-alpha.12", "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 982fdbd7d9620..32f766e966707 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.11", + "version": "8.0.0-alpha.12", "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 3778ea6e0780e..086ab760c9152 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.11", + "version": "8.0.0-alpha.12", "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 e1b80dd37c4bf..6e97322fc7f10 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.11", + "version": "8.0.0-alpha.12", "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 0953e5d118821..54bb8807df169 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.11", + "version": "8.0.0-alpha.12", "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 a5fed3ae7b030..9ceb2562f72f0 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.11", + "version": "8.0.0-alpha.12", "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 a6c18f06bf51f..7ad7814b3163e 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.11", + "version": "8.0.0-alpha.12", "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 632094c5e8f97..53d5af1600a08 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.11", + "version": "8.0.0-alpha.12", "description": "The community edition of the Date and Time Picker components (MUI X).", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-internals/package.json b/packages/x-internals/package.json index 3533cce08a151..48e5bcbbab6dc 100644 --- a/packages/x-internals/package.json +++ b/packages/x-internals/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-internals", - "version": "8.0.0-alpha.11", + "version": "8.0.0-alpha.12", "description": "Utility functions for the MUI X packages (internal use only).", "author": "MUI Team", "license": "MIT", diff --git a/packages/x-license/package.json b/packages/x-license/package.json index f91f9577b2ed5..28dfafb5c2c15 100644 --- a/packages/x-license/package.json +++ b/packages/x-license/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-license", - "version": "8.0.0-alpha.11", + "version": "8.0.0-alpha.12", "description": "MUI X License verification", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-tree-view-pro/package.json b/packages/x-tree-view-pro/package.json index 77270b91ff341..54b210524150a 100644 --- a/packages/x-tree-view-pro/package.json +++ b/packages/x-tree-view-pro/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-tree-view-pro", - "version": "8.0.0-alpha.11", + "version": "8.0.0-alpha.12", "description": "The Pro plan edition of the Tree View components (MUI X).", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-tree-view/package.json b/packages/x-tree-view/package.json index 5aefc1d75c1f2..8666391551ce3 100644 --- a/packages/x-tree-view/package.json +++ b/packages/x-tree-view/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-tree-view", - "version": "8.0.0-alpha.11", + "version": "8.0.0-alpha.12", "description": "The community edition of the Tree View components (MUI X).", "author": "MUI Team", "main": "src/index.ts",