|
5 | 5 | All notable changes to this project will be documented in this file.
|
6 | 6 | See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
7 | 7 |
|
| 8 | +## 8.0.0-alpha.10 |
| 9 | + |
| 10 | +_Jan 30, 2025_ |
| 11 | + |
| 12 | +We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨: |
| 13 | + |
| 14 | +- 🎨 Data Grid theming improvements and default background color |
| 15 | +- 📚 Documentation improvements |
| 16 | +- 🐞 Bugfixes |
| 17 | + |
| 18 | +Special thanks go out to the community contributors who have helped make this release possible: |
| 19 | +@k-rajat19, @lauri865, @mateuseap. |
| 20 | +Following are all team members who have contributed to this release: |
| 21 | +@alexfauquette, @flaviendelangle, @JCQuintas, @KenanYusuf, @MBilalShafi, @romgrk, @arminmeh. |
| 22 | + |
| 23 | +<!--/ HIGHLIGHT_ABOVE_SEPARATOR /--> |
| 24 | + |
| 25 | +### Data Grid |
| 26 | + |
| 27 | +### Breaking changes |
| 28 | + |
| 29 | +- `viewportInnerSize.width` now includes pinned columns' widths (fixes recursive loops in updating dimensions <-> columns) |
| 30 | +- The Data Grid now has a default background color, and its customization has moved from `theme.mixins.MuiDataGrid` to `theme.palette.DataGrid` with the following properties: |
| 31 | + |
| 32 | + - `bg`: Sets the background color of the entire grid (new property) |
| 33 | + - `headerBg`: Sets the background color of the header (previously named `containerBackground`) |
| 34 | + - `pinnedBg`: Sets the background color of pinned rows and columns (previously named `pinnedBackground`) |
| 35 | + |
| 36 | + ```diff |
| 37 | + const theme = createTheme({ |
| 38 | + - mixins: { |
| 39 | + - MuiDataGrid: { |
| 40 | + - containerBackground: '#f8fafc', |
| 41 | + - pinnedBackground: '#f1f5f9', |
| 42 | + - }, |
| 43 | + - }, |
| 44 | + + palette: { |
| 45 | + + DataGrid: { |
| 46 | + + bg: '#f8fafc', |
| 47 | + + headerBg: '#e2e8f0', |
| 48 | + + pinnedBg: '#f1f5f9', |
| 49 | + + }, |
| 50 | + + }, |
| 51 | + }); |
| 52 | + ``` |
| 53 | +- The `detailPanels`, `pinnedColumns`, and `pinnedRowsRenderZone` classes have been removed. |
| 54 | +- Return type of the `useGridApiRef()` hook and the type of `apiRef` prop are updated to explicitly include the possibilty of `null`. In addition to this, `useGridApiRef()` returns a reference that is initialized with `null` instead of `{}`. |
| 55 | + |
| 56 | + Only the initial value and the type are updated. Logic that initializes the API and its availability remained the same, which means that if you could access API in a particular line of your code before, you are able to access it as well after this change. |
| 57 | + |
| 58 | + Depending on the context in which the API is being used, you can decide what is the best way to deal with `null` value. Some options are: |
| 59 | + |
| 60 | + - Use optional chaining |
| 61 | + - Use non-null assertion operator if you are sure your code is always executed when the `apiRef` is not `null` |
| 62 | + - Return early if `apiRef` is `null` |
| 63 | + - Throw an error if `apiRef` is `null` |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | +- [DataGrid] Fix `renderContext` calculation with scroll bounce / over-scroll (#16297) @lauri865 |
| 68 | +- [DataGrid] Remove unused classes from `gridClasses` (#16256) @mateuseap |
| 69 | +- [DataGrid] Add default background color to grid (#16066) @KenanYusuf |
| 70 | +- [DataGrid] Add missing style overrides (#16272) @KenanYusuf |
| 71 | +- [DataGrid] Add possibility of `null` in the return type of the `useGridApiRef()` hook (#16353) @arminmeh |
| 72 | +- [DataGrid] Fix header filters keyboard navigation when there are no rows (#16126) @k-rajat19 |
| 73 | +- [DataGrid] Fix order of `onClick` prop on toolbar buttons (#16356) @KenanYusuf |
| 74 | +- [DataGrid] Refactor row state propagation (#15627) @lauri865 |
| 75 | +- [DataGrid] Refactor: create TextField props (#16174) @romgrk |
| 76 | +- [DataGrid] Remove outdated warning (#16360) @MBilalShafi |
| 77 | +- [DataGrid] Respect width of `iconContainer` during autosizing (#16399) @michelengelen |
| 78 | + |
| 79 | +#### `@mui/[email protected]` [](https://mui.com/r/x-pro-svg-link 'Pro plan') |
| 80 | + |
| 81 | +Same changes as in `@mui/[email protected]`, plus: |
| 82 | + |
| 83 | +- [DataGridPro] Fetch new rows only once when multiple models are changed in one cycle (#16101) @arminmeh |
| 84 | +- [DataGridPro] Fix the return type of `useGridApiRef` for Pro and Premium packages on React < 19 (#16328) @arminmeh |
| 85 | + |
| 86 | +#### `@mui/[email protected]` [](https://mui.com/r/x-premium-svg-link 'Premium plan') |
| 87 | + |
| 88 | +Same changes as in `@mui/[email protected]`. |
| 89 | + |
| 90 | +### Date and Time Pickers |
| 91 | + |
| 92 | +#### Breaking changes |
| 93 | + |
| 94 | +- The component passed to the `field` slot no longer receives the `ref`, `disabled`, `className`, `sx`, `label`, `name`, `formatDensity`, `enableAccessibleFieldDOMStructure`, `selectedSections`, `onSelectedSectionsChange` and `inputRef` props — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#slot-field) |
| 95 | +- The `MuiPickersPopper` theme entry have been renamed `MuiPickerPopper` and some of its props have been removed — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#muipickerspopper) |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | +- [pickers] Clean the internals and the public API of `<PickersPopper />` (#16319) @flaviendelangle |
| 100 | +- [pickers] Improve the JSDoc of the `PickerContextValue` properties (#16327) @flaviendelangle |
| 101 | +- [pickers] Move more field props to the context (#16278) @flaviendelangle |
| 102 | +- [pickers] Do not close the picker when doing keyboard editing (#16402) @flaviendelangle |
| 103 | + |
| 104 | +#### `@mui/[email protected]` [](https://mui.com/r/x-pro-svg-link 'Pro plan') |
| 105 | + |
| 106 | +Same changes as in `@mui/[email protected]`. |
| 107 | + |
| 108 | +### Charts |
| 109 | + |
| 110 | +#### Breaking changes |
| 111 | + |
| 112 | +- Replace `legend.position.horizontal` from `"left" | "middle" | "right"` to `"start" | "center" | "end"`. |
| 113 | + This is to align with the CSS values and reflect the RTL ability of the legend component. |
| 114 | +- The default colors have changed. To keep using the old palette. It is possible to import `blueberryTwilightPalette` from `@mui/x-charts/colorPalettes` and set it on the `colors` property of charts. |
| 115 | +- The `id` property is now optional on the `Pie` and `Scatter` data types. |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | +- [charts] Add new `bumpX` and `bumpY` curve options (#16318) @JCQuintas |
| 120 | +- [charts] Move `tooltipGetter` to `seriesConfig` (#16331) @JCQuintas |
| 121 | +- [charts] Move item highligh feature to plugin system (#16211) @alexfauquette |
| 122 | +- [charts] Replace `legend.position.horizontal` from `"left" | "middle" | "right"` to `"start" | "center" | "end"` (#16315) @JCQuintas |
| 123 | +- [charts] New default colors (#16373) @JCQuintas |
| 124 | +- [charts] Make `id` optional on `PieValueType` and `ScatterValueType` (#16389) @JCQuintas |
| 125 | + |
| 126 | +#### `@mui/[email protected]` [](https://mui.com/r/x-pro-svg-link 'Pro plan') |
| 127 | + |
| 128 | +Same changes as in `@mui/[email protected]`. |
| 129 | + |
| 130 | +### Tree View |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | +Internal changes. |
| 135 | + |
| 136 | +#### `@mui/[email protected]` [](https://mui.com/r/x-pro-svg-link 'Pro plan') |
| 137 | + |
| 138 | +Same changes as in `@mui/[email protected]`. |
| 139 | + |
| 140 | +### Docs |
| 141 | + |
| 142 | +- [docs] Improve release documentation (#16321) @MBilalShafi |
| 143 | + |
| 144 | +### Core |
| 145 | + |
| 146 | +- [core] Reduce chart perf benchmark weight (#16374) @alexfauquette |
| 147 | +- [test] Fix console warnings while executing tests with React 18 (#16386) @arminmeh |
| 148 | +- [test] Fix flaky data source tests in DataGrid (#16395) @lauri865 |
| 149 | + |
8 | 150 | ## 8.0.0-alpha.9
|
9 | 151 |
|
10 | 152 | _Jan 24, 2025_
|
|
1209 | 1351 | - [release] v8 preparation (#15054) @michelengelen
|
1210 | 1352 | - [test] Fix advanced list view regression test snapshot (#15260) @KenanYusuf
|
1211 | 1353 |
|
| 1354 | +## 7.25.0 |
| 1355 | + |
| 1356 | +_Jan 31, 2025_ |
| 1357 | + |
| 1358 | +We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights ✨: |
| 1359 | + |
| 1360 | +- 🐞 Bugfixes |
| 1361 | + |
| 1362 | +Special thanks go out to the community contributors who have helped make this release possible: |
| 1363 | +@k-rajat19, @lauri865. |
| 1364 | +Following are all team members who have contributed to this release: |
| 1365 | +@KenanYusuf, @MBilalShafi, @arminmeh. |
| 1366 | + |
| 1367 | +<!--/ HIGHLIGHT_ABOVE_SEPARATOR /--> |
| 1368 | + |
| 1369 | +### Data Grid |
| 1370 | + |
| 1371 | + |
| 1372 | + |
| 1373 | +- [DataGrid] Fix `renderContext` calculation with scroll bounce / over-scroll (#16368) @lauri865 |
| 1374 | +- [DataGrid] Refactor row state propagation (#16351) @lauri865 |
| 1375 | +- [DataGrid] Add missing style overrides (#16272) (#16358) @KenanYusuf |
| 1376 | +- [DataGrid] Fix header filters keyboard navigation when there are no rows (#16369) @k-rajat19 |
| 1377 | +- [DataGrid] Fix order of `onClick` prop on toolbar buttons (#16364) @KenanYusuf |
| 1378 | +- [DataGrid] Improve test coverage of server side data source (#15988) @MBilalShafi |
| 1379 | +- [DataGrid] Remove outdated warning (#16370) @MBilalShafi |
| 1380 | +- [DataGrid] Respect width of `iconContainer` during autosizing (#16409) @michelengelen |
| 1381 | + |
| 1382 | +#### `@mui/[email protected]` [](https://mui.com/r/x-pro-svg-link 'Pro plan') |
| 1383 | + |
| 1384 | +Same changes as in `@mui/[email protected]`, plus: |
| 1385 | + |
| 1386 | +- [DataGridPro] Fix the return type of `useGridApiRef` for Pro and Premium packages on React < 19 (#16348) @arminmeh |
| 1387 | +- [DataGridPro] Fetch new rows only once when multiple models are changed in one cycle (#16382) @arminmeh |
| 1388 | + |
| 1389 | +#### `@mui/[email protected]` [](https://mui.com/r/x-premium-svg-link 'Premium plan') |
| 1390 | + |
| 1391 | +Same changes as in `@mui/[email protected]`. |
| 1392 | + |
| 1393 | +### Date and Time Pickers |
| 1394 | + |
| 1395 | + |
| 1396 | + |
| 1397 | +Internal changes. |
| 1398 | + |
| 1399 | +#### `@mui/[email protected]` [](https://mui.com/r/x-pro-svg-link 'Pro plan') |
| 1400 | + |
| 1401 | +Same changes as in `@mui/[email protected]`. |
| 1402 | + |
| 1403 | +### Charts |
| 1404 | + |
| 1405 | + |
| 1406 | + |
| 1407 | +Internal changes. |
| 1408 | + |
| 1409 | +#### `@mui/[email protected]` [](https://mui.com/r/x-pro-svg-link 'Pro plan') |
| 1410 | + |
| 1411 | +Same changes as in `@mui/[email protected]`. |
| 1412 | + |
| 1413 | +### Tree View |
| 1414 | + |
| 1415 | + |
| 1416 | + |
| 1417 | +Internal changes. |
| 1418 | + |
| 1419 | +#### `@mui/[email protected]` [](https://mui.com/r/x-pro-svg-link 'Pro plan') |
| 1420 | + |
| 1421 | +Same changes as in `@mui/[email protected]`. |
| 1422 | + |
| 1423 | +### Docs |
| 1424 | + |
| 1425 | +- [docs] Improve release documentation (#16322) @MBilalShafi |
| 1426 | + |
| 1427 | +### Core |
| 1428 | + |
| 1429 | +- [test] Fix flaky data source tests in DataGrid (#16382) @lauri865 |
| 1430 | + |
1212 | 1431 | ## 7.24.1
|
1213 | 1432 |
|
1214 | 1433 | _Jan 24, 2025_
|
|
0 commit comments