-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information
1 parent
381a9d6
commit a592f92
Showing
16 changed files
with
234 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,148 @@ | |
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
|
||
## 8.0.0-alpha.10 | ||
|
||
_Jan 30, 2025_ | ||
|
||
We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨: | ||
|
||
- 🎨 Data Grid theming improvements and default background color | ||
- 📚 Documentation improvements | ||
- 🐞 Bugfixes | ||
|
||
Special thanks go out to the community contributors who have helped make this release possible: | ||
@k-rajat19, @lauri865, @mateuseap. | ||
Following are all team members who have contributed to this release: | ||
@alexfauquette, @flaviendelangle, @JCQuintas, @KenanYusuf, @MBilalShafi, @romgrk, @arminmeh. | ||
|
||
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /--> | ||
|
||
### Data Grid | ||
|
||
### Breaking changes | ||
|
||
- `viewportInnerSize.width` now includes pinned columns' widths (fixes recursive loops in updating dimensions <-> columns) | ||
- 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: | ||
|
||
- `bg`: Sets the background color of the entire grid (new property) | ||
- `headerBg`: Sets the background color of the header (previously named `containerBackground`) | ||
- `pinnedBg`: Sets the background color of pinned rows and columns (previously named `pinnedBackground`) | ||
|
||
```diff | ||
const theme = createTheme({ | ||
- mixins: { | ||
- MuiDataGrid: { | ||
- containerBackground: '#f8fafc', | ||
- pinnedBackground: '#f1f5f9', | ||
- }, | ||
- }, | ||
+ palette: { | ||
+ DataGrid: { | ||
+ bg: '#f8fafc', | ||
+ headerBg: '#e2e8f0', | ||
+ pinnedBg: '#f1f5f9', | ||
+ }, | ||
+ }, | ||
}); | ||
``` | ||
- The `detailPanels`, `pinnedColumns`, and `pinnedRowsRenderZone` classes have been removed. | ||
- 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 `{}`. | ||
|
||
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. | ||
|
||
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: | ||
|
||
- Use optional chaining | ||
- Use non-null assertion operator if you are sure your code is always executed when the `apiRef` is not `null` | ||
- Return early if `apiRef` is `null` | ||
- Throw an error if `apiRef` is `null` | ||
|
||
#### `@mui/[email protected]` | ||
|
||
- [DataGrid] Fix `renderContext` calculation with scroll bounce / over-scroll (#16297) @lauri865 | ||
- [DataGrid] Remove unused classes from `gridClasses` (#16256) @mateuseap | ||
- [DataGrid] Add default background color to grid (#16066) @KenanYusuf | ||
- [DataGrid] Add missing style overrides (#16272) @KenanYusuf | ||
- [DataGrid] Add possibility of `null` in the return type of the `useGridApiRef()` hook (#16353) @arminmeh | ||
- [DataGrid] Fix header filters keyboard navigation when there are no rows (#16126) @k-rajat19 | ||
- [DataGrid] Fix order of `onClick` prop on toolbar buttons (#16356) @KenanYusuf | ||
- [DataGrid] Refactor row state propagation (#15627) @lauri865 | ||
- [DataGrid] Refactor: create TextField props (#16174) @romgrk | ||
- [DataGrid] Remove outdated warning (#16360) @MBilalShafi | ||
- [DataGrid] Respect width of `iconContainer` during autosizing (#16399) @michelengelen | ||
|
||
#### `@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] Fetch new rows only once when multiple models are changed in one cycle (#16101) @arminmeh | ||
- [DataGridPro] Fix the return type of `useGridApiRef` for Pro and Premium packages on React < 19 (#16328) @arminmeh | ||
|
||
#### `@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]`. | ||
|
||
### Date and Time Pickers | ||
|
||
#### Breaking changes | ||
|
||
- 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) | ||
- 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) | ||
|
||
#### `@mui/[email protected]` | ||
|
||
- [pickers] Clean the internals and the public API of `<PickersPopper />` (#16319) @flaviendelangle | ||
- [pickers] Improve the JSDoc of the `PickerContextValue` properties (#16327) @flaviendelangle | ||
- [pickers] Move more field props to the context (#16278) @flaviendelangle | ||
- [pickers] Do not close the picker when doing keyboard editing (#16402) @flaviendelangle | ||
|
||
#### `@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 | ||
|
||
#### Breaking changes | ||
|
||
- Replace `legend.position.horizontal` from `"left" | "middle" | "right"` to `"start" | "center" | "end"`. | ||
This is to align with the CSS values and reflect the RTL ability of the legend component. | ||
- 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. | ||
- The `id` property is now optional on the `Pie` and `Scatter` data types. | ||
|
||
#### `@mui/[email protected]` | ||
|
||
- [charts] Add new `bumpX` and `bumpY` curve options (#16318) @JCQuintas | ||
- [charts] Move `tooltipGetter` to `seriesConfig` (#16331) @JCQuintas | ||
- [charts] Move item highligh feature to plugin system (#16211) @alexfauquette | ||
- [charts] Replace `legend.position.horizontal` from `"left" | "middle" | "right"` to `"start" | "center" | "end"` (#16315) @JCQuintas | ||
- [charts] New default colors (#16373) @JCQuintas | ||
- [charts] Make `id` optional on `PieValueType` and `ScatterValueType` (#16389) @JCQuintas | ||
|
||
#### `@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]`. | ||
|
||
### Tree View | ||
|
||
#### `@mui/[email protected]` | ||
|
||
Internal changes. | ||
|
||
#### `@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]`. | ||
|
||
### Docs | ||
|
||
- [docs] Improve release documentation (#16321) @MBilalShafi | ||
|
||
### Core | ||
|
||
- [core] Reduce chart perf benchmark weight (#16374) @alexfauquette | ||
- [test] Fix console warnings while executing tests with React 18 (#16386) @arminmeh | ||
- [test] Fix flaky data source tests in DataGrid (#16395) @lauri865 | ||
|
||
## 8.0.0-alpha.9 | ||
|
||
_Jan 24, 2025_ | ||
|
@@ -1209,6 +1351,83 @@ Same changes as in `@mui/[email protected]`. | |
- [release] v8 preparation (#15054) @michelengelen | ||
- [test] Fix advanced list view regression test snapshot (#15260) @KenanYusuf | ||
|
||
## 7.25.0 | ||
|
||
_Jan 31, 2025_ | ||
|
||
We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights ✨: | ||
|
||
- 🐞 Bugfixes | ||
|
||
Special thanks go out to the community contributors who have helped make this release possible: | ||
@k-rajat19, @lauri865. | ||
Following are all team members who have contributed to this release: | ||
@KenanYusuf, @MBilalShafi, @arminmeh. | ||
|
||
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /--> | ||
|
||
### Data Grid | ||
|
||
#### `@mui/[email protected]` | ||
|
||
- [DataGrid] Fix `renderContext` calculation with scroll bounce / over-scroll (#16368) @lauri865 | ||
- [DataGrid] Refactor row state propagation (#16351) @lauri865 | ||
- [DataGrid] Add missing style overrides (#16272) (#16358) @KenanYusuf | ||
- [DataGrid] Fix header filters keyboard navigation when there are no rows (#16369) @k-rajat19 | ||
- [DataGrid] Fix order of `onClick` prop on toolbar buttons (#16364) @KenanYusuf | ||
- [DataGrid] Improve test coverage of server side data source (#15988) @MBilalShafi | ||
- [DataGrid] Remove outdated warning (#16370) @MBilalShafi | ||
- [DataGrid] Respect width of `iconContainer` during autosizing (#16409) @michelengelen | ||
|
||
#### `@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] Fix the return type of `useGridApiRef` for Pro and Premium packages on React < 19 (#16348) @arminmeh | ||
- [DataGridPro] Fetch new rows only once when multiple models are changed in one cycle (#16382) @arminmeh | ||
|
||
#### `@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]`. | ||
|
||
### Date and Time Pickers | ||
|
||
#### `@mui/[email protected]` | ||
|
||
Internal changes. | ||
|
||
#### `@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]` | ||
|
||
Internal changes. | ||
|
||
#### `@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]`. | ||
|
||
### Tree View | ||
|
||
#### `@mui/[email protected]` | ||
|
||
Internal changes. | ||
|
||
#### `@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]`. | ||
|
||
### Docs | ||
|
||
- [docs] Improve release documentation (#16322) @MBilalShafi | ||
|
||
### Core | ||
|
||
- [test] Fix flaky data source tests in DataGrid (#16382) @lauri865 | ||
|
||
## 7.24.1 | ||
|
||
_Jan 24, 2025_ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters