Skip to content

Commit a592f92

Browse files
romgrkflaviendelanglealexfauquetteJCQuintasarminmeh
authored
v8.0.0-alpha.10 (#16391)
Signed-off-by: Rom Grk <[email protected]> Co-authored-by: Flavien DELANGLE <[email protected]> Co-authored-by: Alexandre Fauquette <[email protected]> Co-authored-by: Jose C Quintas Jr <[email protected]> Co-authored-by: Armin Mehinovic <[email protected]> Co-authored-by: Kenan Yusuf <[email protected]> Co-authored-by: Michel Engelen <[email protected]>
1 parent 381a9d6 commit a592f92

File tree

16 files changed

+234
-15
lines changed

16 files changed

+234
-15
lines changed

Diff for: CHANGELOG.md

+219
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,148 @@
55
All notable changes to this project will be documented in this file.
66
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
77

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+
#### `@mui/[email protected]`
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]` [![pro](https://mui.com/r/x-pro-svg)](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]` [![premium](https://mui.com/r/x-premium-svg)](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+
#### `@mui/[email protected]`
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]` [![pro](https://mui.com/r/x-pro-svg)](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+
#### `@mui/[email protected]`
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]` [![pro](https://mui.com/r/x-pro-svg)](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+
#### `@mui/[email protected]`
133+
134+
Internal changes.
135+
136+
#### `@mui/[email protected]` [![pro](https://mui.com/r/x-pro-svg)](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+
8150
## 8.0.0-alpha.9
9151

10152
_Jan 24, 2025_
@@ -1209,6 +1351,83 @@ Same changes as in `@mui/[email protected]`.
12091351
- [release] v8 preparation (#15054) @michelengelen
12101352
- [test] Fix advanced list view regression test snapshot (#15260) @KenanYusuf
12111353

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+
#### `@mui/[email protected]`
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]` [![pro](https://mui.com/r/x-pro-svg)](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]` [![premium](https://mui.com/r/x-premium-svg)](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+
#### `@mui/[email protected]`
1396+
1397+
Internal changes.
1398+
1399+
#### `@mui/[email protected]` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1400+
1401+
Same changes as in `@mui/[email protected]`.
1402+
1403+
### Charts
1404+
1405+
#### `@mui/[email protected]`
1406+
1407+
Internal changes.
1408+
1409+
#### `@mui/[email protected]` [![pro](https://mui.com/r/x-pro-svg)](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+
#### `@mui/[email protected]`
1416+
1417+
Internal changes.
1418+
1419+
#### `@mui/[email protected]` [![pro](https://mui.com/r/x-pro-svg)](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+
12121431
## 7.24.1
12131432

12141433
_Jan 24, 2025_

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "8.0.0-alpha.9",
2+
"version": "8.0.0-alpha.10",
33
"private": true,
44
"scripts": {
55
"preinstall": "npx only-allow pnpm",

Diff for: packages/x-charts-pro/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-charts-pro",
3-
"version": "8.0.0-alpha.9",
3+
"version": "8.0.0-alpha.10",
44
"description": "The Pro plan edition of the Charts components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.ts",

Diff for: packages/x-charts-vendor/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-charts-vendor",
3-
"version": "8.0.0-alpha.8",
3+
"version": "8.0.0-alpha.10",
44
"description": "Vendored dependencies for MUI X Charts",
55
"author": "MUI Team",
66
"keywords": [

Diff for: packages/x-charts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-charts",
3-
"version": "8.0.0-alpha.9",
3+
"version": "8.0.0-alpha.10",
44
"description": "The community edition of the Charts components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.js",

Diff for: packages/x-codemod/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-codemod",
3-
"version": "8.0.0-alpha.9",
3+
"version": "8.0.0-alpha.10",
44
"bin": "./codemod.js",
55
"private": false,
66
"author": "MUI Team",

Diff for: packages/x-data-grid-generator/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-data-grid-generator",
3-
"version": "8.0.0-alpha.9",
3+
"version": "8.0.0-alpha.10",
44
"description": "Generate fake data for demo purposes only.",
55
"author": "MUI Team",
66
"main": "src/index.ts",

Diff for: packages/x-data-grid-premium/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-data-grid-premium",
3-
"version": "8.0.0-alpha.9",
3+
"version": "8.0.0-alpha.10",
44
"description": "The Premium plan edition of the Data Grid Components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.ts",

Diff for: packages/x-data-grid-pro/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-data-grid-pro",
3-
"version": "8.0.0-alpha.9",
3+
"version": "8.0.0-alpha.10",
44
"description": "The Pro plan edition of the Data Grid components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.ts",

Diff for: packages/x-data-grid/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-data-grid",
3-
"version": "8.0.0-alpha.9",
3+
"version": "8.0.0-alpha.10",
44
"description": "The Community plan edition of the Data Grid components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.ts",

Diff for: packages/x-date-pickers-pro/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-date-pickers-pro",
3-
"version": "8.0.0-alpha.9",
3+
"version": "8.0.0-alpha.10",
44
"description": "The Pro plan edition of the Date and Time Picker components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.ts",

Diff for: packages/x-date-pickers/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-date-pickers",
3-
"version": "8.0.0-alpha.9",
3+
"version": "8.0.0-alpha.10",
44
"description": "The community edition of the Date and Time Picker components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.ts",

Diff for: packages/x-internals/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-internals",
3-
"version": "8.0.0-alpha.9",
3+
"version": "8.0.0-alpha.10",
44
"description": "Utility functions for the MUI X packages (internal use only).",
55
"author": "MUI Team",
66
"license": "MIT",

Diff for: packages/x-license/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-license",
3-
"version": "8.0.0-alpha.9",
3+
"version": "8.0.0-alpha.10",
44
"description": "MUI X License verification",
55
"author": "MUI Team",
66
"main": "src/index.ts",

Diff for: packages/x-tree-view-pro/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-tree-view-pro",
3-
"version": "8.0.0-alpha.9",
3+
"version": "8.0.0-alpha.10",
44
"description": "The Pro plan edition of the Tree View components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.ts",

Diff for: packages/x-tree-view/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-tree-view",
3-
"version": "8.0.0-alpha.9",
3+
"version": "8.0.0-alpha.10",
44
"description": "The community edition of the Tree View components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.ts",

0 commit comments

Comments
 (0)