@mui/x-data-grid 5.0.0-beta.7 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,88 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 5.0.0
7
+
8
+ _Nov 15, 2021_
9
+
10
+ 🎉 This is the new stable release of the data grid component 🎉!
11
+
12
+ If you want to migrate the DataGrid or DataGridPro from v4 to v5, take a look at the [migration guide](https://mui.com/components/data-grid/migration-v4/).
13
+ This version is fully compatible with `@mui/material@5.X` and can be used with `@material-ui/core@4.x` with some additional steps as described [here](https://mui.com/components/data-grid/migration-v4/#using-mui-x-v5-with-mui-core-v4)
14
+
15
+ A big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
16
+
17
+ - ⌨️ Enhance keyboard navigation when pagination is enabled
18
+ - 👁 Better support for flex columns
19
+ - 📚 Documentation improvements
20
+ - 🐞 Bugfixes
21
+
22
+ ### `@mui/x-data-grid@v5.0.0` / `@mui/x-data-grid-pro@v5.0.0`
23
+
24
+ #### Breaking changes
25
+
26
+ - [DataGrid] The following CSS classes were renamed to follow the internal convention:
27
+
28
+ - `MuiDataGrid-columnsContainer` was renamed to `MuiDataGrid-columnHeaders`
29
+ - `MuiDataGrid-columnHeaderWrapper` was renamed to `MuiDataGrid-columnHeadersInner`
30
+ - The `scroll` class applied to `MuiDataGrid-columnHeaderWrapper` was renamed to `MuiDataGrid-columnHeadersInner--scrollable`
31
+
32
+ - [DataGrid] The `props.components.Checkbox` and `props.componentsProps.checkbox` props were renamed to `props.components.BaseCheckbox` and `props.componentsProps.baseCheckbox` respectively.
33
+
34
+ As a first step for [#3066](https://github.com/mui-org/material-ui-x/issues/3066), these slots were renamed to clearly indicate that they are meant to replace a core component.
35
+
36
+ ```diff
37
+ <DataGrid
38
+ components={{
39
+ - checkbox: MyCustomCheckbox,
40
+ + BaseCheckbox: MyCustomCheckbox,
41
+ }}
42
+ componentsProps={{
43
+ - checkbox: {},
44
+ + baseCheckbox: {},
45
+ }}
46
+ />;
47
+ ```
48
+
49
+ **Note**: these changes apply to both the `DataGrid` and `DataGridPro` components.
50
+
51
+ #### Changes
52
+
53
+ - [DataGrid] Block multi-rows updates in `apiRef.current.updateRows` on the Community plan (#3095) @flaviendelangle
54
+ - [DataGrid] Fix filter not working after deleting the value (#3018) @m4theushw
55
+ - [DataGrid] Fix performance regression when selecting 100k rows (#3077) @m4theushw
56
+ - [DataGrid] Fix `apiRef.current.updateRows` to not share rows from other instances (#3127) @m4theushw
57
+ - [DataGrid] Fix flex space allocation to not cause a horizontal scroll when there is enough space (#3099) @flaviendelangle
58
+ - [DataGrid] Improve the filter panel behaviors (#3080) @flaviendelangle
59
+ - [DataGrid] Fix keyboard navigation between column headers and rows when not on the first page (#3086) @flaviendelangle
60
+ - [DataGrid] Fix keyboard navigation between rows when not on the first page (#3074) @flaviendelangle
61
+ - [DataGrid] Prevents bubbling in menu header (#3000) @alexfauquette
62
+ - [DataGrid] Remove unused rendering state and selectors (#3133) @flaviendelangle
63
+ - [DataGrid] Rename `Checkbox` component and props slots to `BaseCheckbox` (#3142) @DanailH
64
+
65
+ ### Core
66
+
67
+ - [core] Adapt changelog script to GitHub DOM modification (#3087) @alexfauquette
68
+ - [core] Automatically close issues that are incomplete and inactive (#3029) @oliviertassinari
69
+ - [core] Improve the typing of `LicenseStatus` (#3141) @Himself65
70
+ - [core] Make `useGridColumnsPreProcessing` generic (#3092) @m4theushw
71
+ - [core] Move column headers virtualization to hook (#3078) @m4theushw
72
+ - [core] Move virtualization logic to hook (#3079) @m4theushw
73
+ - [core] Rename directories to match new packages new names (#3088) @flaviendelangle
74
+ - [core] Replace `createClientRender` with new `createRenderer` API (#3125) @flaviendelangle
75
+ - [core] Store the event manager in a key of `GridApi` instead of making the whole `GridApi` extend it (#3069) @flaviendelangle
76
+ - [core] Update monorepo (#3139) @m4theushw
77
+ - [core] Use `unstable_` prefix instead of `unsafe_` for private APIs (#3090) @flaviendelangle
78
+ - [core] Use official MUI repo as monorepo (#3084) @m4theushw
79
+
80
+ ### Docs
81
+
82
+ - [docs] Fix broken example in the component slot example (#3123) @Himself65
83
+ - [docs] Fix inline previews (#3081) @DanailH
84
+ - [docs] Fix the client-side validation link clarity (#3100) @oliviertassinari
85
+ - [docs] Improve `rowCount` CSS class description (#3072) @ZeeshanTamboli
86
+ - [docs] Use core repo constants for doc internationalization (#3143) @flaviendelangle
87
+
6
88
  ## 5.0.0-beta.7
7
89
 
8
90
  _Nov 4, 2021_