From 702294a84d9f8fa188636dde75058e4fbd2ddf55 Mon Sep 17 00:00:00 2001 From: Armin Mehinovic Date: Thu, 9 Jan 2025 09:03:07 +0100 Subject: [PATCH 1/4] Initial changelog --- CHANGELOG.md | 124 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d8e6af73aad21..0d87175167df2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,130 @@ 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.7 + +_Jan 9, 2025_ + +We'd like to offer a big thanks to the 13 contributors who made this release possible. Here are some highlights ✨: + +- 📊 Charts legend is now an HTML element which can be styled more easily +- 🏎️ Improve Data Grid aggregation performance +- 🌍 Add Chinese (Taiwan) (zh-TW) locale on the Date and Time Picker components +- 🌍 Improve Norwegian (nb-NO) locale on the Date and Time Picker components +- 🐞 Bugfixes + +Special thanks go out to the community contributors who have helped make this release possible: +@derek-0000, @josteinjhauge, @k-rajat19, @nusr, @tomashauser. +Following are all team members who have contributed to this release: +@cherniavskii, @flaviendelangle, @JCQuintas, @LukasTy, @MBilalShafi, @arminmeh, @romgrk, @oliviertassinari. + + + +### Data Grid + +#### `@mui/x-data-grid@8.0.0-alpha.7` + +- [DataGrid] Improve React 19 support (#15769) @LukasTy +- [DataGrid] Add `name` attribute to selection checkboxes (#15178) @derek-0000 +- [DataGrid] Fix number filter field formatting values while typing (#16062) @arminmeh +- [DataGrid] Fix select all checkbox state reset with server side data (#16034) @MBilalShafi +- [DataGrid] Refactor: create base button props (#15930) @romgrk +- [DataGrid] Refactor: create tooltip props (#16086) @romgrk +- [DataGrid] Fix TS error (#16046) @cherniavskii + +#### `@mui/x-data-grid-pro@8.0.0-alpha.7` [![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.7`. + +#### `@mui/x-data-grid-premium@8.0.0-alpha.7` [![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.7`, plus: + +- [DataGridPremium] Improve aggregation performance for multiple columns (#16097) @cherniavskii +- [DataGridPremium] Make Aggregation keyboard accessible in the column menu (#15934) @k-rajat19 + +### Date and Time Pickers + +From https://github.com/mui/mui-x/pull/15948 + +### Breaking changes + +- The component passed to the `layout` slot no longer receives the `value`, `onChange` and `onSelectShortcut` props — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#slot-layout). +- The component passed to the `toolbar` slot no longer receives the `value`, `onChange` and `isLandscape` props — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#slot-toolbar). +- The component passed to the `shortcuts` slot no longer receives the `onChange`, `isValid` and `isLandscape` props — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#slot-shortcuts). +- The `PickerShortcutChangeImportance` type has been renamed `PickerChangeImportance` — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#renamed-variables-and-types). +- The component passed to the `layout` slot no longer receives the `rangePosition` and `onRangePositionChange` on range pickers — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#slot-layout). +- The component passed to the `toolbar` slot no longer receives the `rangePosition` and `onRangePositionChange` on range pickers — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#slot-toolbar). +- The component passed to the `tabs` slot no longer receives the `rangePosition` and `onRangePositionChange` on range pickers — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#slot-tabs). + +#### `@mui/x-date-pickers@8.0.0-alpha.7` + +- [fields] Handle focusing container with `inputRef.current.focus` on `accessibleFieldDOMStructure` (#15985) @LukasTy +- [pickers] Always use `setValue` internally to update the picker value (#16056) @flaviendelangle +- [pickers] Create a new context to pass the range position props to the layout components and to the views (#15846) @flaviendelangle +- [pickers] Introduce a new concept of `manager` (#15339) @flaviendelangle +- [pickers] Improve React 19 support (#15769) @LukasTy +- [pickers] Memoize `` (#16071) @LukasTy +- [pickers] Remove `NonEmptyDateRange` type (#16035) @flaviendelangle +- [pickers] Rename `AdapterDateFns` into `AdapterDateFnsV2` and `AdapterDateFnsV3` into `AdapterDateFns` (#16082) @LukasTy +- [pickers] Rename `ctx.onViewChange` to `ctx.setView` and add it to the actions context (#16044) @flaviendelangle +- [pickers] Support `date-fns-jalali` v4 (#16011) @LukasTy +- [pickers] Update `closeOnSelect` and `actionBar.actions` default values (#15944) @LukasTy +- [pickers] Use `usePickerContext()` and `usePickerActionsContext()` instead of passing props to the `shortcuts` and `toolbar` slots (#15948) @flaviendelangle +- [l10n] Add Chinese (Taiwan) (zh-TW) locale (#16033) @nusr +- [l10n] Improve Norwegian (nb-NO) locale (#16083) (@josteinjhauge) (#16089) @LukasTy + +#### `@mui/x-date-pickers-pro@8.0.0-alpha.7` [![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.7`. + +### Charts + +### Breaking changes + +- Removed `DefaultChartsLegend` component, since it is now easier to create custom legends — [Learn more](https://next.mui.com/x/react-charts/components/#html-components). +- The default legend is now an HTML element and can be styled more easily. +- The `width` and `height` properties of the charts now only apply to the `svg` element, and not their wrappers, this might cause some layout shifts. +- `slotProps.legend.direction` now accepts `'horizontal' | 'vertical'` instead of `'row' | 'column'` — [Learn more](https://next.mui.com/x/migration/migration-charts-v7/#legend-direction-value-change-✅). +- The `getSeriesToDisplay` function was removed in favor of the `useLegend` hook. — [Learn more](https://next.mui.com/x/migration/migration-charts-v7/#the-getseriestodisplay-function-was-removed). + +#### `@mui/x-charts@8.0.0-alpha.7` + +- [charts] New HTML legend & styles (#15733) @JCQuintas +- [charts] Improve React 19 support (#15769) @LukasTy +- [charts] Fix 301 redirection in the API documentation @oliviertassinari + +#### `@mui/x-charts-pro@8.0.0-alpha.7` [![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.7`. + +### Tree View + +#### `@mui/x-tree-view@8.0.0-alpha.7` + +- [TreeView] Improve React 19 support (#15769) @LukasTy + +#### `@mui/x-tree-view-pro@8.0.0-alpha.7` [![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.7`. + +### Docs + +- [docs] Fix `EditingWithDatePickers` demo (#15967) @k-rajat19 +- [docs] Fix inconsistent multi input range field separators (#16043) @flaviendelangle +- [docs] Fix non-existing "adapter" property of `LocalizationProvider` (#16084) @tomashauser +- [docs] Refactor Data Grid with Date Pickers example (#15992) @LukasTy +- [docs] Unify the wording of the pickers slots breaking changes (#16036) @flaviendelangle + +### Core + +- [core] Clarify the release strategy (#16014) @MBilalShafi +- [core] Small fixes on docs @oliviertassinari +- [core] Sync with other repos @oliviertassinari +- [core] Update the `release:version` docs (#16038) @cherniavskii +- [code-infra] Add `testSkipIf` and `describeSkipIf` (#16049) @JCQuintas +- [test] Stabilize flaky Data Grid tests (#16053) @LukasTy + ## 8.0.0-alpha.6 _Dec 26, 2024_ From b5f521595f5053679b8b88d403863d8a1069107f Mon Sep 17 00:00:00 2001 From: Armin Mehinovic Date: Thu, 9 Jan 2025 09:05:31 +0100 Subject: [PATCH 2/4] Bump --- 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 +- 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, 15 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index c84ab7265ba46..82c549817cd7a 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "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 a9c9de0ca921b..5a7e12a30e73d 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.6", + "version": "8.0.0-alpha.7", "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 1c0b3758191bd..beb6650fb488c 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.5", + "version": "8.0.0-alpha.7", "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 03562671c5200..6fdc3011cb739 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.6", + "version": "8.0.0-alpha.7", "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 c12b47838aa14..4ba5dbdf60d34 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.6", + "version": "8.0.0-alpha.7", "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 09cf9d7b0b063..65778ff4a9c23 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.6", + "version": "8.0.0-alpha.7", "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 29e609742bd06..0e6a91e96f627 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.6", + "version": "8.0.0-alpha.7", "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 107890045a297..65e8daee41016 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.6", + "version": "8.0.0-alpha.7", "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 572fc9b3efff6..7f97269acefb8 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.6", + "version": "8.0.0-alpha.7", "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 05c6ac1b23d79..7d1110749809e 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.6", + "version": "8.0.0-alpha.7", "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 e76bb93630d2a..56781abac6f33 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.6", + "version": "8.0.0-alpha.7", "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 429678f13ed90..7f6bf17b78491 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.6", + "version": "8.0.0-alpha.7", "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 25e1d6ea4af62..4d80321e87540 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.6", + "version": "8.0.0-alpha.7", "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 5b269168b652a..9476c29501938 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.6", + "version": "8.0.0-alpha.7", "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 bc8cfb25a0d8e..edf0358f35f56 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.6", + "version": "8.0.0-alpha.7", "description": "The community edition of the Tree View components (MUI X).", "author": "MUI Team", "main": "src/index.ts", From 84b1b0921b12871e5646502d51066ecd7d51fc4b Mon Sep 17 00:00:00 2001 From: Armin Mehinovic <4390250+arminmeh@users.noreply.github.com> Date: Thu, 9 Jan 2025 09:17:26 +0100 Subject: [PATCH 3/4] Lint Signed-off-by: Armin Mehinovic <4390250+arminmeh@users.noreply.github.com> --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d87175167df2..8bf803c009906 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -51,7 +51,7 @@ Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.7`, plus: From https://github.com/mui/mui-x/pull/15948 -### Breaking changes +#### Breaking changes - The component passed to the `layout` slot no longer receives the `value`, `onChange` and `onSelectShortcut` props — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#slot-layout). - The component passed to the `toolbar` slot no longer receives the `value`, `onChange` and `isLandscape` props — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#slot-toolbar). @@ -84,7 +84,7 @@ Same changes as in `@mui/x-date-pickers@8.0.0-alpha.7`. ### Charts -### Breaking changes +#### Breaking changes - Removed `DefaultChartsLegend` component, since it is now easier to create custom legends — [Learn more](https://next.mui.com/x/react-charts/components/#html-components). - The default legend is now an HTML element and can be styled more easily. From d7cc26f7e9fda493377e625fc16a6836f407118e Mon Sep 17 00:00:00 2001 From: Armin Mehinovic <4390250+arminmeh@users.noreply.github.com> Date: Thu, 9 Jan 2025 13:29:47 +0100 Subject: [PATCH 4/4] Update changelog Co-authored-by: Bilal Shafi Co-authored-by: Lukas Tyla Co-authored-by: Alexandre Fauquette <45398769+alexfauquette@users.noreply.github.com> Signed-off-by: Armin Mehinovic <4390250+arminmeh@users.noreply.github.com> --- CHANGELOG.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bf803c009906..ab86f3fc1ea91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,9 +12,10 @@ _Jan 9, 2025_ We'd like to offer a big thanks to the 13 contributors who made this release possible. Here are some highlights ✨: - 📊 Charts legend is now an HTML element which can be styled more easily +- 💫 Support [aggregation with server-side data](/x/react-data-grid/server-side-data/aggregation/) - 🏎️ Improve Data Grid aggregation performance -- 🌍 Add Chinese (Taiwan) (zh-TW) locale on the Date and Time Picker components -- 🌍 Improve Norwegian (nb-NO) locale on the Date and Time Picker components +- 🌍 Add Chinese (Taiwan) (zh-TW) locale on the Date and Time Pickers +- 🌍 Improve Norwegian (nb-NO) locale on the Date and Time Pickers - 🐞 Bugfixes Special thanks go out to the community contributors who have helped make this release possible: @@ -29,7 +30,7 @@ Following are all team members who have contributed to this release: #### `@mui/x-data-grid@8.0.0-alpha.7` - [DataGrid] Improve React 19 support (#15769) @LukasTy -- [DataGrid] Add `name` attribute to selection checkboxes (#15178) @derek-0000 +- [DataGrid] Add `name` attribute to the checkbox selection column (#15178) @derek-0000 - [DataGrid] Fix number filter field formatting values while typing (#16062) @arminmeh - [DataGrid] Fix select all checkbox state reset with server side data (#16034) @MBilalShafi - [DataGrid] Refactor: create base button props (#15930) @romgrk @@ -46,13 +47,14 @@ Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.7`, plus: - [DataGridPremium] Improve aggregation performance for multiple columns (#16097) @cherniavskii - [DataGridPremium] Make Aggregation keyboard accessible in the column menu (#15934) @k-rajat19 +- [DataGridPremium] Server-side aggregation with data source (#15741) @MBilalShafi ### Date and Time Pickers -From https://github.com/mui/mui-x/pull/15948 - #### Breaking changes +- The `date-fns` and `date-fns-jalali` date library adapters have been renamed to better align with the current stable major versions — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#✅-rename-date-fns-adapter-imports) +- Update default `closeOnSelect` and Action Bar `actions` values - [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#update-default-closeonselect-and-action-bar-actions-values) - The component passed to the `layout` slot no longer receives the `value`, `onChange` and `onSelectShortcut` props — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#slot-layout). - The component passed to the `toolbar` slot no longer receives the `value`, `onChange` and `isLandscape` props — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#slot-toolbar). - The component passed to the `shortcuts` slot no longer receives the `onChange`, `isValid` and `isLandscape` props — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#slot-shortcuts). @@ -76,7 +78,7 @@ From https://github.com/mui/mui-x/pull/15948 - [pickers] Update `closeOnSelect` and `actionBar.actions` default values (#15944) @LukasTy - [pickers] Use `usePickerContext()` and `usePickerActionsContext()` instead of passing props to the `shortcuts` and `toolbar` slots (#15948) @flaviendelangle - [l10n] Add Chinese (Taiwan) (zh-TW) locale (#16033) @nusr -- [l10n] Improve Norwegian (nb-NO) locale (#16083) (@josteinjhauge) (#16089) @LukasTy +- [l10n] Improve Norwegian (nb-NO) locale (#16089) @josteinjhauge #### `@mui/x-date-pickers-pro@8.0.0-alpha.7` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')