Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release] v7.0.0-alpha.0 #10966

Merged
merged 35 commits into from
Nov 10, 2023
Merged
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
98debeb
[DataGridPro] Add data source interface and basic documentation (#10543)
MBilalShafi Nov 7, 2023
35f9dd9
[DataGrid] Fix undefined slot values (#10934)
romgrk Nov 8, 2023
215a820
[core] Adds new alpha version to version select on the docs (#10944)
michelengelen Nov 8, 2023
efa968b
[charts] Add <ChartsReferenceLine /> component (#10597)
wascou Nov 8, 2023
a711a0e
[DataGrid] Fix keyboard navigation for actions cell with disabled but…
michelengelen Nov 8, 2023
a0be8ca
[charts] Improve properties JSDoc (#10931)
alexfauquette Nov 8, 2023
02ce6be
[core] Fix GitHub title tag consistency
oliviertassinari Nov 8, 2023
0590e6f
[docs] Document how to hide the legend (#10951) (#10954)
alexfauquette Nov 9, 2023
43df40b
[DataGridPremium] Render aggregation label when `renderHeader` is use…
cherniavskii Nov 9, 2023
9be9e22
[release] v6.18.1 (#10960)
michelengelen Nov 9, 2023
3a476d3
Merge branch 'master' into release/alpha-release
michelengelen Nov 9, 2023
90117a3
added CHANGELOG content for the alpha release
michelengelen Nov 9, 2023
74f7972
updated package versions
michelengelen Nov 9, 2023
3d8d466
make MD linter happy
michelengelen Nov 9, 2023
2f20102
Update CHANGELOG.md
michelengelen Nov 9, 2023
2cc8240
Update CHANGELOG.md
michelengelen Nov 9, 2023
f38bf83
Update CHANGELOG.md
michelengelen Nov 9, 2023
ca4106e
Update CHANGELOG.md
michelengelen Nov 9, 2023
3c71c45
suggestion from @MBilalShafi
michelengelen Nov 9, 2023
0932b82
Update CHANGELOG.md
michelengelen Nov 9, 2023
e8cb505
added a change from @flaviendelangle
michelengelen Nov 9, 2023
c84de97
Update CHANGELOG.md
michelengelen Nov 9, 2023
abf101d
Update CHANGELOG.md
michelengelen Nov 9, 2023
95ebed5
Update CHANGELOG.md
michelengelen Nov 9, 2023
b2d5d7d
added latest changes from @LukasTy
michelengelen Nov 9, 2023
7b30729
Update CHANGELOG.md
michelengelen Nov 9, 2023
f38842f
Update CHANGELOG.md
michelengelen Nov 9, 2023
0d3644c
Update CHANGELOG.md
michelengelen Nov 10, 2023
0375583
Update CHANGELOG.md
michelengelen Nov 10, 2023
bfbc045
Update CHANGELOG.md
michelengelen Nov 10, 2023
a1e0e29
Update CHANGELOG.md
DanailH Nov 10, 2023
0cf2030
Update CHANGELOG.md
michelengelen Nov 10, 2023
18d9314
Update CHANGELOG.md
michelengelen Nov 10, 2023
732b15f
make MD linter happy :D
michelengelen Nov 10, 2023
425143f
added change from @alexfauquette
michelengelen Nov 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
206 changes: 206 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,212 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 7.0.0-alpha.0

_Nov 10, 2023_

We're thrilled to announce the first alpha release of our next major version, v7.
This release introduces a few breaking changes, paving the way for the upcoming features like Pivoting and DateTimeRangePicker.

A special shoutout to thank the 12 contributors who made this release possible. Here are some highlights ✨:

- 🚀 First v7 alpha release
- ✨ Fix aggregation label not showing when `renderHeader` is used (#10961) @cherniavskii
- 📘 Server side data source [early documentation](https://mui.com/x/react-data-grid/server-side-data/)
- 💫 New recipes added for the data grid
- 📈 `<ChartsReferenceLine />` component is now available
- 🌍 Add Basque (eu) locale, improve Czech (cs-CZ) and Spanish (es-ES) locales
- 🐞 Bugfixes
- 📚 Documentation improvements

### Data Grid

#### Breaking changes

- The deprecated `components` and `componentsProps` props have been removed. Use `slots` and `slotProps` instead. See [components section](/x/react-data-grid/components/) for more details.
- The print export will now only print the selected rows if there are any.
If there are no selected rows, it will print all rows. This makes the print export consistent with the other exports.
You can [customize the rows to export by using the `getRowsToExport` function](/x/react-data-grid/export/#customizing-the-rows-to-export).
- The `getApplyFilterFnV7` in `GridFilterOperator` was renamed to `getApplyFilterFn`.
If you use `getApplyFilterFnV7` directly - rename it to `getApplyFilterFn`.
- The signature of the function returned by `getApplyFilterFn` has changed for performance reasons:

```diff
const getApplyFilterFn: GetApplyFilterFn<any, unknown> = (filterItem) => {
if (!filterItem.value) {
return null;
}
const filterRegex = new RegExp(escapeRegExp(filterItem.value), 'i');
- return (cellParams) => {
- const { value } = cellParams;
+ return (value, row, colDef, apiRef) => {
return value != null ? filterRegex.test(String(value)) : false;
};
}
```

- The `getApplyQuickFilterFnV7` in `GridColDef` was renamed to `getApplyQuickFilterFn`.
If you use `getApplyQuickFilterFnV7` directly - rename it to `getApplyQuickFilterFn`.
- The signature of the function returned by `getApplyQuickFilterFn` has changed for performance reasons:

```diff
const getGridStringQuickFilterFn: GetApplyQuickFilterFn<any, unknown> = (value) => {
if (!value) {
return null;
}
const filterRegex = new RegExp(escapeRegExp(value), 'i');
- return (cellParams) => {
- const { formattedValue } = cellParams;
+ return (value, row, column, apiRef) => {
+ let formattedValue = apiRef.current.getRowFormattedValue(row, column);
return formattedValue != null ? filterRegex.test(formattedValue.toString()) : false;
};
};
```

michelengelen marked this conversation as resolved.
Show resolved Hide resolved
#### `@mui/[email protected]`

- [DataGrid] Fix for error thrown when removing skeleton rows, after sorting is applied (#10807) @benjaminbialy
- [DataGrid] Fix: `undefined` slot value (#10937) @romgrk
- [DataGrid] Print selected rows by default (#10846) @cherniavskii
- [DataGrid] Remove deprecated `components` and `componentsProps` (#10911) @MBilalShafi
- [DataGrid] Remove legacy filtering API (#10897) @cherniavskii
- [DataGrid] Fix keyboard navigation for actions cell with disabled buttons (#10882) @michelengelen
- [DataGrid] Added a recipe for using non-native select in filter panel (#10916) @michelengelen
- [DataGrid] Added a recipe to style cells without impacting the aggregation cells (#10913) @michelengelen
- [l10n] Improve Czech (cs-CZ) locale (#10949) @luborepka
michelengelen marked this conversation as resolved.
Show resolved Hide resolved

#### `@mui/[email protected]` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')

Same changes as in `@mui/[email protected]`, plus:

- [DataGridPro] Autosize Columns - Fix headers being cut off (#10666) @gitstart
- [DataGridPro] Add data source interface and basic documentation (#10543) @MBilalShafi

michelengelen marked this conversation as resolved.
Show resolved Hide resolved
#### `@mui/[email protected]` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')

Same changes as in `@mui/[email protected]`, plus:

- [DataGridPremium] Render aggregation label when `renderHeader` is used (#10936) @cherniavskii

### Date Pickers

michelengelen marked this conversation as resolved.
Show resolved Hide resolved
#### Breaking changes

- The deprecated `components` and `componentsProps` props have been removed. Use `slots` and `slotProps` instead.

#### `@mui/[email protected]`

- [pickers] Escape non tokens words (#10400) @alexfauquette
- [fields] Fix `MultiInputTimeRangeField` section selection (#10922) @noraleonte
michelengelen marked this conversation as resolved.
Show resolved Hide resolved
michelengelen marked this conversation as resolved.
Show resolved Hide resolved
- [pickers] Refine `referenceDate` behavior in views (#10863) @LukasTy
- [pickers] Remove `components` and `componentsProps` props (#10700) @alexfauquette
michelengelen marked this conversation as resolved.
Show resolved Hide resolved
- [l10n] Add Basque (eu) locale and improve Spanish (es-ES) locale (#10819) @lajtomekadimon

#### `@mui/[email protected]` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')

Same changes as in `@mui/[email protected]`.

### Charts / `@mui/[email protected]`

#### Breaking changes

Types for `slots` and `slotProps` got renamed by removing the "Component" which is meaningless for charts.
Unless you imported those types, to create a wrapper, you should not be impacted by this breaking change.

Here is an example of the renaming for the `<ChartsTooltip />` component.

```diff
-ChartsTooltipSlotsComponent
+ChartsTooltipSlots

-ChartsTooltipSlotComponentProps
+ChartsTooltipSlotProps
```

- [charts] Add `<ChartsReferenceLine />` component (#10597) (#10946) @alexfauquette
- [charts] Improve properties JSDoc (#10931) (#10955) @alexfauquette
- [charts] Rename `slots` and `slotProps` types (#10875) @alexfauquette

### `@mui/[email protected]`

- [codemod] Add `v7.0.0/preset-safe` (#10973) @LukasTy

### Docs

- [docs] Add `@next` tag to the installation instructions (#10963) @MBilalShafi
- [docs] Document how to hide the legend (#10951) @alexfauquette
- [docs] Fix typo in the migration guide (#10972) @flaviendelangle

### Core

- [core] Adds migration docs for charts, pickers and tree view (#10926) @michelengelen
- [core] Bump monorepo (#10959) @LukasTy
- [core] Changed prettier branch value to next (#10917) @michelengelen
- [core] Fix GitHub title tag consistency @oliviertassinari
- [core] Fixed wrong package names in migration docs (#10953) @michelengelen
- [core] Merge `master` into `next` (#10929) @cherniavskii
- [core] Update release instructions as per v7 configuration (#10962) @MBilalShafi
- [license] Correctly throw errors (#10924) @oliviertassinari

## 6.18.1

_Nov 9, 2023_

We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:

- ✨ Fix aggregation label not showing when `renderHeader` is used (#10961) @cherniavskii
- 📘 Server side data source [early documentation](https://mui.com/x/react-data-grid/server-side-data/) published
- 📈 `<ChartsReferenceLine />` component is now available
- 🐞 Bugfixes
- 📚 Documentation improvements

### Data Grid

#### `@mui/[email protected]`

- [DataGrid] Fix cell value type in quick filtering v7 (#10884) @cherniavskii
- [DataGrid] Fix keyboard navigation for actions cell with disabled buttons (#10947) @michelengelen
- [DataGrid] Fix `undefined` slot values (#10934) @romgrk

#### `@mui/[email protected]` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')

Same changes as in `@mui/[email protected]`, plus:

- [DataGridPro] Add data source interface and basic documentation (#10543) @MBilalShafi

#### `@mui/[email protected]` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')

Same changes as in `@mui/[email protected]`, plus:

- [DataGridPremium] Render aggregation label when `renderHeader` is used (#10961) @cherniavskii

### Date Pickers

#### `@mui/[email protected]`

- [fields] Fix multi input date time field section selection (#10915) @noraleonte
- [pickers] Always use up-to-date `defaultView` (#10889) @LukasTy

#### `@mui/[email protected]` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')

Same changes as in `@mui/[email protected]`.

### Charts / `@mui/[email protected]`

- [charts] Add `<ChartsReferenceLine />` component (#10597) @wascou
- [charts] Improve properties JSDoc (#10931) @alexfauquette

### Docs

- [docs] Fix charts docs as stable (#10888) @alexfauquette
- [docs] Document how to hide the legend (#10954) @alexfauquette

### Core

- [core] Adds new alpha version to version select on the docs (#10944) @michelengelen
- [core] Fix GitHub title tag consistency @oliviertassinari

## 6.18.0

_Nov 3, 2023_
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "6.18.0",
"version": "7.0.0-alpha.0",
"private": true,
"scripts": {
"start": "yarn && yarn docs:dev",
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": "6.18.0",
"version": "7.0.0-alpha.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.23.2",
"@mui/base": "^5.0.0-beta.22",
"@mui/x-data-grid-premium": "6.18.0",
"@mui/x-data-grid-premium": "7.0.0-alpha.0",
"chance": "^1.1.11",
"clsx": "^2.0.0",
"lru-cache": "^7.18.3"
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": "6.18.0",
"version": "7.0.0-alpha.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.23.2",
"@mui/utils": "^5.14.16",
"@mui/x-data-grid": "6.18.0",
"@mui/x-data-grid-pro": "6.18.0",
"@mui/x-license-pro": "6.10.2",
"@mui/x-data-grid": "7.0.0-alpha.0",
"@mui/x-data-grid-pro": "7.0.0-alpha.0",
"@mui/x-license-pro": "7.0.0-alpha.0",
"@types/format-util": "^1.0.3",
"clsx": "^2.0.0",
"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": "6.18.0",
"version": "7.0.0-alpha.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.23.2",
"@mui/utils": "^5.14.16",
"@mui/x-data-grid": "6.18.0",
"@mui/x-license-pro": "6.10.2",
"@mui/x-data-grid": "7.0.0-alpha.0",
"@mui/x-license-pro": "7.0.0-alpha.0",
"@types/format-util": "^1.0.3",
"clsx": "^2.0.0",
"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": "6.18.0",
"version": "7.0.0-alpha.0",
"description": "The community edition of the data grid component (MUI X).",
"author": "MUI Team",
"main": "src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/x-charts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/x-charts",
"version": "6.18.0",
"version": "7.0.0-alpha.0",
"description": "The community edition of the charts components (MUI X).",
"author": "MUI Team",
"main": "./src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/x-codemod/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/x-codemod",
"version": "6.9.0",
"version": "7.0.0-alpha.0",
LukasTy marked this conversation as resolved.
Show resolved Hide resolved
"bin": "./codemod.js",
"private": false,
"author": "MUI Team",
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": "6.18.0",
"version": "7.0.0-alpha.0",
"description": "The commercial edition of the date picker components (MUI X).",
"author": "MUI Team",
"main": "src/index.ts",
Expand Down Expand Up @@ -44,8 +44,8 @@
"@babel/runtime": "^7.23.2",
"@mui/base": "^5.0.0-beta.22",
"@mui/utils": "^5.14.16",
"@mui/x-date-pickers": "6.18.0",
"@mui/x-license-pro": "6.10.2",
"@mui/x-date-pickers": "7.0.0-alpha.0",
"@mui/x-license-pro": "7.0.0-alpha.0",
"clsx": "^2.0.0",
"prop-types": "^15.8.1",
"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": "6.18.0",
"version": "7.0.0-alpha.0",
"description": "The community edition of the date picker components (MUI X).",
"author": "MUI Team",
"main": "src/index.ts",
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": "6.10.2",
"version": "7.0.0-alpha.0",
michelengelen marked this conversation as resolved.
Show resolved Hide resolved
"description": "MUI X License verification",
"author": "MUI Team",
"main": "src/index.ts",
Expand Down