@mui/x-data-grid-pro 5.2.0 → 5.4.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 +335 -33
- package/index-cjs.js +2 -2
- package/index-esm.js +2 -2
- package/package.json +6 -6
- package/themeAugmentation/props.d.ts +1 -1
- package/x-data-grid-pro.d.ts +3464 -3873
- package/x-data-grid/src/DataGrid.d.ts +0 -4
- package/x-data-grid/src/DataGridColumnHeaders.d.ts +0 -6
- package/x-data-grid/src/DataGridProps.d.ts +0 -8
- package/x-data-grid/src/DataGridVirtualScroller.d.ts +0 -8
- package/x-data-grid/src/index.d.ts +0 -4
- package/x-data-grid/src/tests/DataGrid.spec.d.ts +0 -1
- package/x-data-grid/src/tests/columns.spec.d.ts +0 -1
- package/x-data-grid/src/tests/themeAugmentation.spec.d.ts +0 -1
- package/x-data-grid/src/themeAugmentation/index.d.ts +0 -2
- package/x-data-grid/src/themeAugmentation/overrides.d.ts +0 -8
- package/x-data-grid/src/themeAugmentation/props.d.ts +0 -19
- package/x-data-grid/src/useDataGridComponent.d.ts +0 -2
- package/x-data-grid/src/useDataGridProps.d.ts +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,309 @@
|
|
|
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.4.0
|
|
7
|
+
|
|
8
|
+
_Jan 28, 2022_
|
|
9
|
+
|
|
10
|
+
A big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🚣 Introduce [variable row height](https://mui.com/components/data-grid/rows/#variable-row-height) (#438) @DanailH
|
|
13
|
+
|
|
14
|
+
Allows for setting a row-specific height.
|
|
15
|
+
By default, all rows have the same height, but now you can set the height on a per-row basis.
|
|
16
|
+
|
|
17
|
+
```tsx
|
|
18
|
+
<DataGrid
|
|
19
|
+
getRowHeight={
|
|
20
|
+
({ id }: GridRowHeightParams) => (id % 2 === 0 ? 100 : null)
|
|
21
|
+
}
|
|
22
|
+
/>
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
- 🎁 Add new CSV export option: [`getRowsToExport`](https://mui.com/components/data-grid/export/#custom-exported-content) (#3687) @flaviendelangle
|
|
26
|
+
- 📚 Documentation improvements
|
|
27
|
+
- 🐞 Bugfixes
|
|
28
|
+
|
|
29
|
+
### `@mui/x-data-grid@v5.4.0` / `@mui/x-data-grid-pro@v5.4.0`
|
|
30
|
+
|
|
31
|
+
#### Changes
|
|
32
|
+
|
|
33
|
+
- [DataGrid] Add l10n support for `is any of` (#3746) @alexfauquette
|
|
34
|
+
- [DataGrid] Add new CSV `getRowsToExport` option (#3687) @flaviendelangle
|
|
35
|
+
- [DataGrid] Clean params of `onCellEditCommit` (#3693) @valenfv
|
|
36
|
+
- [DataGrid] Create a new lookup with all the filtered rows, collapsed or not (#3736) @flaviendelangle
|
|
37
|
+
- [DataGrid] Fix Alt+c being ignored on some systems (#3660) @cherniavskii
|
|
38
|
+
- [DataGrid] Fix `isRowSelectable` when `paginationMode='server'` (#3647) @flaviendelangle
|
|
39
|
+
- [DataGrid] Fix browser keyboard shortcuts not working when header cell is focused (#3692) @valenfv
|
|
40
|
+
- [DataGrid] Fix focus on checkbox cells (#3501) @alexfauquette
|
|
41
|
+
- [DataGrid] Only update the visibility status of the updated columns when calling `apiRef.current.updateRows` (#3735) @flaviendelangle
|
|
42
|
+
- [DataGrid] Prevent commit if `preProcessEditCellProps` resolves with an error (#3612) @m4theushw
|
|
43
|
+
- [DataGrid] Update selected rows when turning off `checkboxSelection` (#3684) @m4theushw
|
|
44
|
+
- [DataGrid] Variable row height (#3218) @DanailH
|
|
45
|
+
- [DataGridPro] Call `useGridColumnPinning` before `useGridColumns` (#3676) @flaviendelangle
|
|
46
|
+
- [DataGridPro] Fix grid cell losing focus when scrolling with keyboard (#3667) @cherniavskii
|
|
47
|
+
- [DataGridPro] Fix missing `styleOverrides` on pinned columns (#3733) @alexfauquette
|
|
48
|
+
- [DataGridPro] Remove function overloading for `useGridApiRef` (#3666) @flaviendelangle
|
|
49
|
+
- [l10n] Improve French (frFR) locale (#3739) @flaviendelangle
|
|
50
|
+
- [l10n] Improve Italian (itIT) locale (#3744) @destegabry
|
|
51
|
+
|
|
52
|
+
### Docs
|
|
53
|
+
|
|
54
|
+
- [docs] Fix broken code example on the localization page (#3742) @flaviendelangle
|
|
55
|
+
- [docs] Fix typo in column visibility example (#3734) @flaviendelangle
|
|
56
|
+
- [docs] Fix typo on `columnVisibilityModel` (#3723) @alexfauquette
|
|
57
|
+
- [docs] Improve sorting documentation page (#3564) @flaviendelangle
|
|
58
|
+
- [docs] Improve `v5.3.0` release notes (#3722) @cherniavskii
|
|
59
|
+
- [docs] Prepare scripts and E2E tests for migration (#3515) @siriwatknp
|
|
60
|
+
- [docs] Clarify what is the professional support (#3530) @oliviertassinari
|
|
61
|
+
|
|
62
|
+
### Core
|
|
63
|
+
|
|
64
|
+
- [core] Add ESLint rule to force default export equals to filename in documentation (#3674) @alexfauquette
|
|
65
|
+
- [core] Fix `l10n` script not updating `csCZ` locale (#3748) @cherniavskii
|
|
66
|
+
- [core] Generate CHANGELOG from GitHub API (#3313) @alexfauquette
|
|
67
|
+
- [core] Isolate selectors from different grid instances (#3663) @m4theushw
|
|
68
|
+
- [test] Improve test detection (#3728) @m4theushw
|
|
69
|
+
- [test] Include module augmentation for Chai custom matchers (#3754) @m4theushw
|
|
70
|
+
- [test] Remove a useless `async` (#3675) @alexfauquette
|
|
71
|
+
- [test] Remove remaining `@ts-expect-error` (#3762) @m4theushw
|
|
72
|
+
- [test] Skip test on Firefox (#3752) @m4theushw
|
|
73
|
+
- [test] Wait for flags to load before creating snapshots (#3726) @m4theushw
|
|
74
|
+
- [test] Warn when focusing cells without syncing the state (#3486) @m4theushw
|
|
75
|
+
|
|
76
|
+
## 5.3.0
|
|
77
|
+
|
|
78
|
+
_Jan 21, 2022_
|
|
79
|
+
|
|
80
|
+
A big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
|
|
81
|
+
|
|
82
|
+
- 🎁 Allow to group rows based on column value (#3277) @flaviendelangle
|
|
83
|
+
|
|
84
|
+
⚠️ This feature is temporarily available on the Pro plan until the release of the Premium plan.
|
|
85
|
+
|
|
86
|
+
To avoid future regression for users of the Pro plan, the feature needs to be explicitly activated using the rowGrouping experimental feature flag.
|
|
87
|
+
|
|
88
|
+
```tsx
|
|
89
|
+
// To fully control
|
|
90
|
+
<DataGridPro
|
|
91
|
+
rowGroupingModel={rowGroupingModel}
|
|
92
|
+
onRowGroupingModel={newModel => setRowGroupingModel(newModel)}
|
|
93
|
+
experimentalFeatures={{ rowGrouping: true }}
|
|
94
|
+
/>
|
|
95
|
+
|
|
96
|
+
// To initialize without controlling
|
|
97
|
+
<DataGridPro
|
|
98
|
+
initialState={{
|
|
99
|
+
rowGrouping: {
|
|
100
|
+
model: rowGroupingModel,
|
|
101
|
+
},
|
|
102
|
+
}}
|
|
103
|
+
experimentalFeatures={{ rowGrouping: true }}
|
|
104
|
+
/>
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
For more details see the [introduction blog post](https://mui.com/blog/introducing-the-row-grouping-feature/) and [documentation](https://mui.com/components/data-grid/group-pivot/#row-grouping).
|
|
108
|
+
|
|
109
|
+
- ⚡ Add `is any of` filter operator (#2874) @alexfauquette
|
|
110
|
+
|
|
111
|
+
The new filter operator `is any of` allows the user to provide multiple values. It opens access to complex filtering pattern mixing `AND` and `OR` logic connectors, such as `status is any of filled or rejected, and currency is any of EUR or USD`.
|
|
112
|
+
|
|
113
|
+
<img src="https://user-images.githubusercontent.com/45398769/150486348-996a938f-db24-426f-bfe3-c06337f71807.gif" width="770">
|
|
114
|
+
|
|
115
|
+
- ✨ Introduce a `maxWidth` property in `GridColDef` (#3550) @flaviendelangle
|
|
116
|
+
|
|
117
|
+
You can now limit the width of the flex columns and the resizable columns with the new `maxWidth` property on `GridColDef`.
|
|
118
|
+
|
|
119
|
+
```tsx
|
|
120
|
+
const columns: GridColDef[] = [
|
|
121
|
+
{ field: 'director', flex: 1, maxWidth: 200 }, // will take the free space up to 200px and will not be resizable above 200px
|
|
122
|
+
{ field: 'year', maxWidth: 150 }, // will not be resizable above 150px
|
|
123
|
+
]
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
- 🚀 Add component slots for a subset of used `@mui/material` components (#3490) @DanailH
|
|
127
|
+
|
|
128
|
+
To make the grid more flexible we added component slots for base `@mui/material` components that we use. Those component slots are prefixed with `Base` to differentiate them from the other grid specific components
|
|
129
|
+
|
|
130
|
+
For more information check the documentation [documentation](https://mui.com/api/data-grid/data-grid/#slots).
|
|
131
|
+
|
|
132
|
+
- 🔥 Allow to pass `csvOptions` and `printOptions` to `toolbar` component prop (#3623) @flaviendelangle
|
|
133
|
+
|
|
134
|
+
```tsx
|
|
135
|
+
const CustomDataGrid = (props: DataGridProps) => {
|
|
136
|
+
return (
|
|
137
|
+
<DataGrid {...props} componentsProps={{ toolbar: { csvOptions: { delimiter: ';' } } }} />
|
|
138
|
+
)
|
|
139
|
+
}
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
- 🙈 Add controlled behavior for the visible columns (#3554) @flaviendelangle
|
|
143
|
+
|
|
144
|
+
```tsx
|
|
145
|
+
// To fully control
|
|
146
|
+
<DataGrid
|
|
147
|
+
columnVisibilityModel={columnVisibilityModel}
|
|
148
|
+
onColumnVisilibilityModelChange={newModel => setColumnVisibilityModel(newModel)}
|
|
149
|
+
/>
|
|
150
|
+
|
|
151
|
+
// To initialize without controlling
|
|
152
|
+
<DataGrid
|
|
153
|
+
initialState={{
|
|
154
|
+
columns: {
|
|
155
|
+
columnVisibilityModel
|
|
156
|
+
}
|
|
157
|
+
}}
|
|
158
|
+
/>
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
See the [documentation](https://mui.com/components/data-grid/columns/#column-visibility) for more details.
|
|
162
|
+
|
|
163
|
+
The `hide` property from `GridColDef` still works but has been deprecated.
|
|
164
|
+
|
|
165
|
+
- 📚 Documentation improvements
|
|
166
|
+
- 🐞 Bugfixes
|
|
167
|
+
|
|
168
|
+
### `@mui/x-data-grid@v5.3.0` / `@mui/x-data-grid-pro@v5.3.0`
|
|
169
|
+
|
|
170
|
+
#### Changes
|
|
171
|
+
|
|
172
|
+
- [DataGrid] Add component slots for a subset of used `@mui/material` components (#3490) @DanailH
|
|
173
|
+
- [DataGrid] Add controlled behavior for the visible columns (#3554) @flaviendelangle
|
|
174
|
+
- [DataGrid] Add debounce to text input (#3617) @m4theushw
|
|
175
|
+
- [DataGrid] Add `is any of` filter operator (#2874) @alexfauquette
|
|
176
|
+
- [DataGrid] Allow to pass `csvOptions` and `printOptions` to `GridToolbar` (#3623) @flaviendelangle
|
|
177
|
+
- [DataGrid] Disable `Hide` button if there's only one visible column (#3607) @cherniavskii
|
|
178
|
+
- [DataGrid] Fix line break characters breaking CSV rows (#3590) @cherniavskii
|
|
179
|
+
- [DataGrid] Fix potential memory leak warning (#3558) @m4theushw
|
|
180
|
+
- [DataGrid] Introduce a `maxWidth` property in `GridColDef` (#3550) @flaviendelangle
|
|
181
|
+
- [DataGrid] Make row editing work with `preProcessEditCellProps` (#3562) @flaviendelangle
|
|
182
|
+
- [DataGridPro] Export the column pinning selector (#3594) @flaviendelangle
|
|
183
|
+
- [DataGridPro] Keep row children expansion when updating the rows (#3604) @flaviendelangle
|
|
184
|
+
- [DataGridPro] Keep tree data grouping column width when regenerating the columns (#3603) @flaviendelangle
|
|
185
|
+
- [DataGridPremium] Allow to group rows based on column value (#3277) @flaviendelangle
|
|
186
|
+
- [l10n] Improve Finnish (fiFI) locale (#3621) @MijMa
|
|
187
|
+
- [l10n] Improve Ukrainian (ukUA) locale (#3586) @Neonin
|
|
188
|
+
- [l10n] Improve Czech (csCZ) and Slovak (skSK) locale (#3678) @Haaxor1689
|
|
189
|
+
|
|
190
|
+
### Docs
|
|
191
|
+
|
|
192
|
+
- [docs] Add doc example for tree data children lazy loading (#3657) @flaviendelangle
|
|
193
|
+
- [docs] Fix typo exchanging `false` and `true` on columns hiding section (#3561) @alexfauquette
|
|
194
|
+
- [docs] Improve filtering documentation page (#3437) @flaviendelangle
|
|
195
|
+
- [docs] Include header badges as in the other components (#3606) @oliviertassinari
|
|
196
|
+
- [docs] Lint markdown in the CI (#3504) @oliviertassinari
|
|
197
|
+
- [docs] Make inputs to extend full height of the cell (#3567) @m4theushw
|
|
198
|
+
- [docs] Add documentation page about the grid state (#3431) @flaviendelangle
|
|
199
|
+
- [docs] Replace `@mui/styles` in `x-data-grid-generator` (#3560) @m4theushw
|
|
200
|
+
- [docs] Update usage of prop/property naming (#3649) @cherniavskii
|
|
201
|
+
|
|
202
|
+
### Core
|
|
203
|
+
|
|
204
|
+
- [core] Log the output of the script (#3527) @oliviertassinari
|
|
205
|
+
- [core] Add ESLint rule to prevent direct state access (#3521) @m4theushw
|
|
206
|
+
- [core] Add language to markdown code block (#3651) @m4theushw
|
|
207
|
+
- [core] Add typing to the pre-processors methods (#3595) @flaviendelangle
|
|
208
|
+
- [core] Don't bump peer dependency ranges on dependency updates (#3646) @oliviertassinari
|
|
209
|
+
- [core] Rename more instances of Material-UI to MUI (#3525) @oliviertassinari
|
|
210
|
+
- [core] Renovate should not try to update node (#3645) @oliviertassinari
|
|
211
|
+
- [core] Report performance test results on each PR (#3551) @m4theushw
|
|
212
|
+
- [core] Update monorepo (#3653) @m4theushw
|
|
213
|
+
- [core] Update `l10n` issue with a single command line (#3588) @alexfauquette
|
|
214
|
+
- [test] Wait for promise to resolve before expect (#3597) @m4theushw
|
|
215
|
+
- [test] Split cell/row editing tests (#3618) @m4theushw
|
|
216
|
+
- [test] Skip tests on Safari (#3679) @m4theushw
|
|
217
|
+
|
|
218
|
+
## 5.2.2
|
|
219
|
+
|
|
220
|
+
_Jan 6, 2022_
|
|
221
|
+
|
|
222
|
+
A big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
|
|
223
|
+
|
|
224
|
+
- 🎁 Add `hideable` option to `GridColDef` (#3433) @m4theushw
|
|
225
|
+
- ⚡ Add support for column-based `sortingOrder` with the new `sortingOrder` option in `GridColDef` (#3449) @Quppa
|
|
226
|
+
- ✨ Allow to initialize the `page` and `pageSize` without controlling them with the `initialState` prop (#3495) @flaviendelangle
|
|
227
|
+
- 🙈 Allow to precisely control which children rows to expand with the new `isGroupExpandedByDefault` prop (#3444) @flaviendelangle
|
|
228
|
+
- 🌍 Add Finnish (fiFI) locale (#3485) @kurkle
|
|
229
|
+
- 📚 Documentation improvements
|
|
230
|
+
- 🐞 Bugfixes
|
|
231
|
+
|
|
232
|
+
### `@mui/x-data-grid@v5.2.2` / `@mui/x-data-grid-pro@v5.2.2`
|
|
233
|
+
|
|
234
|
+
#### Changes
|
|
235
|
+
|
|
236
|
+
- [DataGrid] Add `hideable` option to GridColDef (#3433) @alexfauquette
|
|
237
|
+
- [DataGrid] Add `sortingOrder` to GridColDef (#3449) @Quppa
|
|
238
|
+
- [DataGrid] Add the page and pageSize to the initialState prop (#3495) @flaviendelangle
|
|
239
|
+
- [DataGrid] Avoid re-render when pressing key inside already focused cell (#3484) @m4theushw
|
|
240
|
+
- [DataGrid] Close other actions menus when opening a new one (#3492) @m4theushw
|
|
241
|
+
- [DataGrid] Deprecate `getValue` param from the cell and row params (#3369) @flaviendelangle
|
|
242
|
+
- [DataGrid] Fix value parsing in date input (#3307) @alexfauquette
|
|
243
|
+
- [DataGrid] Fix can't enter 0 on numeric column (#3491) @m4theushw
|
|
244
|
+
- [DataGrid] Fix scrolling bug when an action is focused (#3483) @alexfauquette
|
|
245
|
+
- [DataGrid] Remove `line-height` from `GridCell` (#3446) @DanailH
|
|
246
|
+
- [DataGridPro] Block edition for auto-generated rows (#3547) @flaviendelangle
|
|
247
|
+
- [DataGridPro] Expose the field of the tree data grouping column as a constant (#3549) @flaviendelangle
|
|
248
|
+
- [DataGridPro] Fix resizing of right pinned columns (#3502) @m4theushw
|
|
249
|
+
- [DataGridPro] Add new prop `isGroupExpandedByDefault` (#3444) @flaviendelangle
|
|
250
|
+
- [l10n] Add Finnish (fiFI) locale (#3485) @kurkle
|
|
251
|
+
- [l10n] Improve French (frFR) locale (#3494) @Zenoo
|
|
252
|
+
- [l10n] Improve Italian (itIT) locale (#3452) @destegabry
|
|
253
|
+
- [l10n] Improve Vietnamese (viVN) locale (#3493) @hckhanh
|
|
254
|
+
|
|
255
|
+
### Docs
|
|
256
|
+
|
|
257
|
+
- [docs] Generate imports dynamically from the packages export list (#3488) @flaviendelangle
|
|
258
|
+
- [docs] Make demos compatible with `preProcessEditCellProps` (#3453) @m4theushw
|
|
259
|
+
|
|
260
|
+
### Core
|
|
261
|
+
|
|
262
|
+
- [test] Add test for row checkbox toggling using the Space key (#3262) @alexfauquette
|
|
263
|
+
- [core] Increase CI efficiency (#3441) @oliviertassinari
|
|
264
|
+
- [core] Refactor sorting comparator (#3390) @flaviendelangle
|
|
265
|
+
- [core] Update dependency on the core (#3526) @oliviertassinari
|
|
266
|
+
- [core] Update tweet example in release readme (#3481) @DanailH
|
|
267
|
+
|
|
268
|
+
## 5.2.1
|
|
269
|
+
|
|
270
|
+
_Dec 17, 2021_
|
|
271
|
+
|
|
272
|
+
A big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
|
|
273
|
+
|
|
274
|
+
- 🖨️ Improve the print export to break the pages correctly (#3302) @flaviendelangle
|
|
275
|
+
- 🎁 Add `pinnable` option to `GridColDef` (#3425) @m4theushw
|
|
276
|
+
- 📚 Documentation improvements
|
|
277
|
+
- 🐞 Bugfixes
|
|
278
|
+
|
|
279
|
+
### `@mui/x-data-grid@v5.2.1` / `@mui/x-data-grid-pro@v5.2.1`
|
|
280
|
+
|
|
281
|
+
#### Changes
|
|
282
|
+
|
|
283
|
+
- [DataGridPro] Add `pinnable` option (#3425) @m4theushw
|
|
284
|
+
- [DataGridPro] Avoid filtering columns if no column is pinned (#3438) @m4theushw
|
|
285
|
+
- [DataGrid] Avoid page break inside a row in the Print Export (#3302) @flaviendelangle
|
|
286
|
+
- [DataGrid] Fix `GridEditDateCell` to handle `editRowsModel` correctly (#3267) @alexfauquette
|
|
287
|
+
- [DataGrid] Refactor keyboard/click event management (#3275) @alexfauquette
|
|
288
|
+
- [DataGrid] Fire change event when the state changes, instead of when the prop changes (#3388) @flaviendelangle
|
|
289
|
+
- [DataGrid] Unsubscribe event listeners registered in uncommitted renders (#3310) @m4theushw
|
|
290
|
+
- [DataGrid] Rework state update methods and deprecate `useGridApi` and `useGridState` (#3325) @flaviendelangle
|
|
291
|
+
- [l10n] Improve German (deDE) locale (#3430) @sebastianfrey
|
|
292
|
+
- [l10n] Improve Hebrew (heIL) locale (#3445) @ColdAtNight
|
|
293
|
+
- [l10n] Improve Dutch (nlNL) locale (#3429) @jaapjr
|
|
294
|
+
|
|
295
|
+
### Docs
|
|
296
|
+
|
|
297
|
+
- [docs] Improve pagination documentation page (#3424) @flaviendelangle
|
|
298
|
+
- [docs] Include @mui/x-data-grid as dependency in the CodeSandbox (#3396) @m4theushw
|
|
299
|
+
- [docs] Stop using TypeDoc to generate the API documentation (#3320) @flaviendelangle
|
|
300
|
+
- [docs] Remove column pinning from "Upcoming features" (#3443) @alexfauquette
|
|
301
|
+
|
|
302
|
+
### Core
|
|
303
|
+
|
|
304
|
+
- [core] Add sections to some of the feature hooks (#3391) @flaviendelangle
|
|
305
|
+
- [core] Generate exports snapshot for both `x-data-grid` and `x-data-grid-pro` packages (#3427) @flaviendelangle
|
|
306
|
+
- [core] Remove 'x-data-grid' folder from DataGridPro bundle (#3394) @m4theushw
|
|
307
|
+
- [core] Add link to OpenCollective (#3392) @oliviertassinari
|
|
308
|
+
|
|
6
309
|
## 5.2.0
|
|
7
310
|
|
|
8
311
|
_Dec 9, 2021_
|
|
@@ -62,6 +365,18 @@ A big thanks to the 5 contributors who made this release possible. Here are some
|
|
|
62
365
|
- [DataGrid] Fix `DatePicker` bug by limiting years to 4 digits (#3222) @alexfauquette
|
|
63
366
|
- [DataGrid] Fix column menu position when closing (#3289) @m4theushw
|
|
64
367
|
- [DataGrid] Fix to not crash when a sort item uses a non-existing column (#3224) @flaviendelangle
|
|
368
|
+
- [DataGrid] Type the `api` param in callback interfaces (#3315) @flaviendelangle
|
|
369
|
+
|
|
370
|
+
### Docs
|
|
371
|
+
|
|
372
|
+
- [docs] Always use auto-generated `apiRef` documentation (#3266) @flaviendelangle
|
|
373
|
+
- [docs] Avoid 301 links (#3329) @oliviertassinari
|
|
374
|
+
- [docs] Disable the ad when not MIT (#3334) @oliviertassinari
|
|
375
|
+
- [docs] Fix 404 link to Zendesk @oliviertassinari
|
|
376
|
+
- [docs] Fix dead link on the overview page (#3326) @flaviendelangle
|
|
377
|
+
- [docs] Fix double MUI in the title (#3332) @oliviertassinari
|
|
378
|
+
- [docs] Fix duplicate "the" (#3365) @noam-honig
|
|
379
|
+
- [docs] Update branch to deploy docs (#3321) @m4theushw
|
|
65
380
|
|
|
66
381
|
### Core
|
|
67
382
|
|
|
@@ -72,22 +387,10 @@ A big thanks to the 5 contributors who made this release possible. Here are some
|
|
|
72
387
|
- [core] Improve tests for Tree Data (#3366) @flaviendelangle
|
|
73
388
|
- [core] Never import directly from the `__modules__` folder in the `x-data-grid-generator` package (#3379) @flaviendelangle
|
|
74
389
|
- [core] Transition to a new StackOverflow tag (#3308) @oliviertassinari
|
|
75
|
-
- [core] Type the `api` param in callback interfaces (#3315) @flaviendelangle
|
|
76
390
|
- [core] Update monorepo (#3370) @flaviendelangle
|
|
77
391
|
- [core] Use pre-processors for sorting and filtering (#3318) @flaviendelangle
|
|
78
392
|
- [test] Replace `useFakeTimers` (#3323) @m4theushw
|
|
79
393
|
|
|
80
|
-
### Docs
|
|
81
|
-
|
|
82
|
-
- [docs] Always use auto-generated `apiRef` documentation (#3266) @flaviendelangle
|
|
83
|
-
- [docs] Avoid 301 links (#3329) @oliviertassinari
|
|
84
|
-
- [docs] Disable the ad when not MIT (#3334) @oliviertassinari
|
|
85
|
-
- [docs] Fix 404 link to Zendesk @oliviertassinari
|
|
86
|
-
- [docs] Fix dead link on the overview page (#3326) @flaviendelangle
|
|
87
|
-
- [docs] Fix double MUI in the title (#3332) @oliviertassinari
|
|
88
|
-
- [docs] Fix duplicate "the" (#3365) @noam-honig
|
|
89
|
-
- [docs] Update branch to deploy docs (#3321) @m4theushw
|
|
90
|
-
|
|
91
394
|
## 5.1.0
|
|
92
395
|
|
|
93
396
|
_Dec 2, 2021_
|
|
@@ -219,12 +522,14 @@ A big thanks to the 3 contributors who made this release possible. Here are some
|
|
|
219
522
|
|
|
220
523
|
### `@mui/x-data-grid@v5.0.1` / `@mui/x-data-grid-pro@v5.0.1`
|
|
221
524
|
|
|
222
|
-
#### Changes
|
|
223
|
-
|
|
224
525
|
- [DataGrid] New API to validate the editing values (#3006) @m4theushw
|
|
225
526
|
- [DataGrid] Use color-scheme to set dark mode on native components (#3146) @alexfauquette
|
|
226
527
|
- [DataGrid] Fix the `@mui/x-data-grid` type entrypoint (#3196) @flaviendelangle
|
|
227
528
|
|
|
529
|
+
### Docs
|
|
530
|
+
|
|
531
|
+
- [docs] Move sentence about disabling multi rows selection (#3167) @alexfauquette
|
|
532
|
+
|
|
228
533
|
### Core
|
|
229
534
|
|
|
230
535
|
- [core] Drop `useGridContainerProps` (#3007) @flaviendelangle
|
|
@@ -233,10 +538,6 @@ A big thanks to the 3 contributors who made this release possible. Here are some
|
|
|
233
538
|
- [core] Remove the `index.ts` of the export hooks (#3165) @flaviendelangle
|
|
234
539
|
- [core] Set the correct release date for v5.0.0 in the CHANGELOG.md (#3192) @flaviendelangle
|
|
235
540
|
|
|
236
|
-
### Docs
|
|
237
|
-
|
|
238
|
-
- [docs] Move sentence about disabling multi rows selection (#3167) @alexfauquette
|
|
239
|
-
|
|
240
541
|
## 5.0.0
|
|
241
542
|
|
|
242
543
|
_Nov 23, 2021_
|
|
@@ -1337,6 +1638,7 @@ Big thanks to the 8 contributors who made this release possible. Here are some h
|
|
|
1337
1638
|
- The `onEditCellChange` prop was renamed to `onEditCellPropsChange`.
|
|
1338
1639
|
- The `onEditCellChangeCommitted` prop was renamed to `onCellEditCommit`.
|
|
1339
1640
|
- The `onEditRowModelChange` prop was removed. Use the new `onEditRowsModelChange` prop.
|
|
1641
|
+
|
|
1340
1642
|
```diff
|
|
1341
1643
|
-onEditRowModelChange?: (params: GridEditRowModelParams)
|
|
1342
1644
|
+onEditRowsModelChange?: (editRowsModel: GridEditRowsModel)
|
|
@@ -2575,7 +2877,7 @@ Big thanks to the 4 contributors who made this release possible. Here are some h
|
|
|
2575
2877
|
|
|
2576
2878
|
## [4.0.0-alpha.19](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.18...v4.0.0-alpha.19)
|
|
2577
2879
|
|
|
2578
|
-
|
|
2880
|
+
_Feb 5, 2021_
|
|
2579
2881
|
|
|
2580
2882
|
Big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
|
|
2581
2883
|
|
|
@@ -2618,7 +2920,7 @@ Big thanks to the 5 contributors who made this release possible. Here are some h
|
|
|
2618
2920
|
|
|
2619
2921
|
## [4.0.0-alpha.18](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.17...v4.0.0-alpha.18)
|
|
2620
2922
|
|
|
2621
|
-
|
|
2923
|
+
_Jan 26, 2021_
|
|
2622
2924
|
|
|
2623
2925
|
Big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
|
|
2624
2926
|
|
|
@@ -2705,7 +3007,7 @@ Big thanks to the 5 contributors who made this release possible. Here are some h
|
|
|
2705
3007
|
|
|
2706
3008
|
## [4.0.0-alpha.17](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.15...v4.0.0-alpha.17)
|
|
2707
3009
|
|
|
2708
|
-
|
|
3010
|
+
_Jan 14, 2021_
|
|
2709
3011
|
|
|
2710
3012
|
Big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
|
|
2711
3013
|
|
|
@@ -2735,7 +3037,7 @@ Big thanks to the 4 contributors who made this release possible. Here are some h
|
|
|
2735
3037
|
|
|
2736
3038
|
## [4.0.0-alpha.15](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.14...v4.0.0-alpha.15)
|
|
2737
3039
|
|
|
2738
|
-
|
|
3040
|
+
_Jan 7, 2021_
|
|
2739
3041
|
|
|
2740
3042
|
Big thanks to the 2 contributors who made this release possible. Here are some highlights ✨:
|
|
2741
3043
|
|
|
@@ -2758,7 +3060,7 @@ Big thanks to the 2 contributors who made this release possible. Here are some h
|
|
|
2758
3060
|
|
|
2759
3061
|
## [4.0.0-alpha.14](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.13...v4.0.0-alpha.14)
|
|
2760
3062
|
|
|
2761
|
-
|
|
3063
|
+
_Dec 31, 2020_
|
|
2762
3064
|
|
|
2763
3065
|
Big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
|
|
2764
3066
|
|
|
@@ -2792,7 +3094,7 @@ Big thanks to the 5 contributors who made this release possible. Here are some h
|
|
|
2792
3094
|
|
|
2793
3095
|
## [4.0.0-alpha.13](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.12...v4.0.0-alpha.13)
|
|
2794
3096
|
|
|
2795
|
-
|
|
3097
|
+
_Dec 16, 2020_
|
|
2796
3098
|
|
|
2797
3099
|
Big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
|
|
2798
3100
|
|
|
@@ -2821,7 +3123,7 @@ Big thanks to the 4 contributors who made this release possible. Here are some h
|
|
|
2821
3123
|
|
|
2822
3124
|
## [4.0.0-alpha.12](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.11...v4.0.0-alpha.12)
|
|
2823
3125
|
|
|
2824
|
-
|
|
3126
|
+
_Dec 9, 2020_
|
|
2825
3127
|
|
|
2826
3128
|
Big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
|
|
2827
3129
|
|
|
@@ -2858,7 +3160,7 @@ Big thanks to the 6 contributors who made this release possible. Here are some h
|
|
|
2858
3160
|
|
|
2859
3161
|
## [4.0.0-alpha.11](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.10...v4.0.0-alpha.11)
|
|
2860
3162
|
|
|
2861
|
-
|
|
3163
|
+
_Dec 2, 2020_
|
|
2862
3164
|
|
|
2863
3165
|
Big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
|
|
2864
3166
|
|
|
@@ -2916,7 +3218,7 @@ Big thanks to the 8 contributors who made this release possible. Here are some h
|
|
|
2916
3218
|
|
|
2917
3219
|
## [4.0.0-alpha.10](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.9...v4.0.0-alpha.10)
|
|
2918
3220
|
|
|
2919
|
-
|
|
3221
|
+
_Nov 20, 2020_
|
|
2920
3222
|
|
|
2921
3223
|
### @material-ui/x-grid@v4.0.0-alpha.10 / @material-ui/data-grid@v4.0.0-alpha.10
|
|
2922
3224
|
|
|
@@ -2938,7 +3240,7 @@ Big thanks to the 8 contributors who made this release possible. Here are some h
|
|
|
2938
3240
|
|
|
2939
3241
|
## [4.0.0-alpha.9](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.8...v4.0.0-alpha.9)
|
|
2940
3242
|
|
|
2941
|
-
|
|
3243
|
+
_Nov 9, 2020_
|
|
2942
3244
|
|
|
2943
3245
|
### @material-ui/x-grid@v4.0.0-alpha.9 / @material-ui/data-grid@v4.0.0-alpha.9
|
|
2944
3246
|
|
|
@@ -2976,7 +3278,7 @@ Big thanks to the 8 contributors who made this release possible. Here are some h
|
|
|
2976
3278
|
|
|
2977
3279
|
## [4.0.0-alpha.8](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.7...v4.0.0-alpha.8)
|
|
2978
3280
|
|
|
2979
|
-
|
|
3281
|
+
_Oct 23, 2020_
|
|
2980
3282
|
|
|
2981
3283
|
### @material-ui/x-grid@v4.0.0-alpha.8 / @material-ui/data-grid@v4.0.0-alpha.8
|
|
2982
3284
|
|
|
@@ -2993,7 +3295,7 @@ Big thanks to the 8 contributors who made this release possible. Here are some h
|
|
|
2993
3295
|
|
|
2994
3296
|
## [4.0.0-alpha.7](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.6...v4.0.0-alpha.7)
|
|
2995
3297
|
|
|
2996
|
-
|
|
3298
|
+
_Oct 19, 2020_
|
|
2997
3299
|
|
|
2998
3300
|
### @material-ui/x-grid@v4.0.0-alpha.7 / @material-ui/data-grid@v4.0.0-alpha.7
|
|
2999
3301
|
|
|
@@ -3022,7 +3324,7 @@ Big thanks to the 8 contributors who made this release possible. Here are some h
|
|
|
3022
3324
|
|
|
3023
3325
|
## [4.0.0-alpha.6](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.2...v4.0.0-alpha.6)
|
|
3024
3326
|
|
|
3025
|
-
|
|
3327
|
+
_Sep 25, 2020_
|
|
3026
3328
|
|
|
3027
3329
|
### @material-ui/x-grid@v4.0.0-alpha.6 / @material-ui/data-grid@v4.0.0-alpha.6
|
|
3028
3330
|
|
|
@@ -3039,13 +3341,13 @@ Big thanks to the 8 contributors who made this release possible. Here are some h
|
|
|
3039
3341
|
|
|
3040
3342
|
## [4.0.0-alpha.2](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.1...v4.0.0-alpha.2)
|
|
3041
3343
|
|
|
3042
|
-
|
|
3344
|
+
_Sep 18, 2020_
|
|
3043
3345
|
|
|
3044
3346
|
- [DataGrid] Fix wrongly exported types (#298) @dtassone
|
|
3045
3347
|
|
|
3046
3348
|
## [4.0.0-alpha.1](https://github.com/mui-org/material-ui-x/compare/v0.1.67...v4.0.0-alpha.1)
|
|
3047
3349
|
|
|
3048
|
-
|
|
3350
|
+
_Sep 17, 2020_
|
|
3049
3351
|
|
|
3050
3352
|
This is the first public alpha release of the component after 6 months of development since the initial commit (March 15th 2020).
|
|
3051
3353
|
`@material-ui/data-grid` is licensed under MIT while `@material-ui/x-grid` is licensed under a commercial license.
|