-
-
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: Jose C Quintas Jr <[email protected]> Signed-off-by: Andrew Cherniavskii <[email protected]> Signed-off-by: Lukas Tyla <[email protected]> Co-authored-by: Alexandre Fauquette <[email protected]> Co-authored-by: Armin Mehinovic <[email protected]> Co-authored-by: Kenan Yusuf <[email protected]> Co-authored-by: Andrew Cherniavskii <[email protected]> Co-authored-by: Lukas Tyla <[email protected]>
- Loading branch information
1 parent
d8f2691
commit 8ff176d
Showing
14 changed files
with
120 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,110 @@ | |
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.11** | ||
|
||
_Feb 7, 2025_ | ||
|
||
We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨: | ||
|
||
- ⚡ Mount and resize performance improvements for the Data Grid | ||
|
||
Special thanks go out to the community contributors who have helped make this release possible: | ||
@lauri865. | ||
Following are all team members who have contributed to this release: | ||
@alexfauquette, @arminmeh, @bernardobelchior, @flaviendelangle, @Janpot, @KenanYusuf, @LukasTy, @MBilalShafi, @noraleonte, @romgrk. | ||
|
||
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /--> | ||
|
||
### Data Grid | ||
|
||
#### Breaking changes | ||
|
||
- `createUseGridApiEventHandler()` is not exported anymore. | ||
- The `filteredRowsLookup` object of the filter state does not contain `true` values anymore. If the row is filtered out, the value is `false`. Otherwise, the row id is not present in the object. | ||
This change only impacts you if you relied on `filteredRowsLookup` to get ids of filtered rows. In this case,use `gridDataRowIdsSelector` selector to get row ids and check `filteredRowsLookup` for `false` values: | ||
|
||
```diff | ||
const filteredRowsLookup = gridFilteredRowsLookupSelector(apiRef); | ||
-const filteredRowIds = Object.keys(filteredRowsLookup).filter((rowId) => filteredRowsLookup[rowId] === true); | ||
+const rowIds = gridDataRowIdsSelector(apiRef); | ||
+const filteredRowIds = rowIds.filter((rowId) => filteredRowsLookup[rowId] !== false); | ||
``` | ||
|
||
- The `visibleRowsLookup` state does not contain `true` values anymore. If the row is not visible, the value is `false`. Otherwise, the row id is not present in the object: | ||
|
||
```diff | ||
const visibleRowsLookup = gridVisibleRowsLookupSelector(apiRef); | ||
-const isRowVisible = visibleRowsLookup[rowId] === true; | ||
+const isRowVisible = visibleRowsLookup[rowId] !== false; | ||
``` | ||
|
||
#### `@mui/[email protected]` | ||
|
||
- [DataGrid] Avoid `<GridRoot />` double-render pass on mount in SPA mode (#15648) @lauri865 | ||
- [DataGrid] Fix loading overlay not in sync with scroll (#16437) @MBilalShafi | ||
- [DataGrid] Refactor: remove material `MenuList` import (#16444) @romgrk | ||
- [DataGrid] Refactor: simplify `useGridApiEventHandler()` (#16479) @romgrk | ||
|
||
#### `@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 `useGridApiContext()` for Pro and Premium packages on React < 19 (#16441) @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]`, plus: | ||
|
||
- [DataGridPremium] Fix "no rows" overlay not showing with active aggregation (#16466) @KenanYusuf | ||
|
||
### 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]`, plus: | ||
|
||
- [DateRangeCalendar] Support arrow navigation with multiple months rendered (#16363) @flaviendelangle | ||
- [DateRangePicker] Fix `currentMonthCalendarPosition` prop behavior on mobile (#16455) @LukasTy | ||
- [DateRangePicker] Fix vertical alignment for multi input fields (#16489) @noraleonte | ||
|
||
### Charts | ||
|
||
#### `@mui/[email protected]` | ||
|
||
- [charts] Add `color` prop to `Sparkline` and deprecate `colors` (#16477) @bernardobelchior | ||
- [charts] Make typescript more flexible about plugins and their params (#16478) @alexfauquette | ||
- [charts] Remove component for axis event listener (#16314) @alexfauquette | ||
|
||
#### `@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] Update charts colors default value (#16484) @bernardobelchior | ||
|
||
### Core | ||
|
||
- [core] Fix corepack and pnpm installation in CircleCI (#16434) @flaviendelangle | ||
- [code-infra] Update monorepo (#16112) @Janpot | ||
- [test] Avoid test warning when running on React 18 (#16486) @LukasTy | ||
- [test] Disable `react-transition-group` transitions in unit testing (#16288) @lauri865 | ||
|
||
## 8.0.0-alpha.10 | ||
|
||
_Jan 30, 2025_ | ||
|
@@ -50,6 +154,7 @@ Following are all team members who have contributed to this release: | |
+ }, | ||
}); | ||
``` | ||
|
||
- 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 `{}`. | ||
|
||
|
@@ -91,7 +196,7 @@ Same changes as in `@mui/[email protected]`. | |
|
||
#### 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 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]` | ||
|
@@ -111,7 +216,7 @@ Same changes as in `@mui/[email protected]`. | |
|
||
- 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 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]` | ||
|
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