v8.0.0-alpha.11
Pre-releaseWe'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.
Data Grid
Breaking changes
-
createUseGridApiEventHandler()is not exported anymore. -
The
filteredRowsLookupobject of the filter state does not containtruevalues anymore. If the row is filtered out, the value isfalse. Otherwise, the row id is not present in the object.
This change only impacts you if you relied onfilteredRowsLookupto get ids of filtered rows. In this case,usegridDataRowIdsSelectorselector to get row ids and checkfilteredRowsLookupforfalsevalues: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
visibleRowsLookupstate does not containtruevalues anymore. If the row is not visible, the value isfalse. Otherwise, the row id is not present in the object: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
MenuListimport (#16444) @romgrk - [DataGrid] Refactor: simplify
useGridApiEventHandler()(#16479) @romgrk
@mui/[email protected] 
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] 
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] 
Same changes as in @mui/[email protected], plus:
- [DateRangeCalendar] Support arrow navigation with multiple months rendered (#16363) @flaviendelangle
- [DateRangePicker] Fix
currentMonthCalendarPositionprop behavior on mobile (#16455) @LukasTy - [DateRangePicker] Fix vertical alignment for multi input fields (#16489) @noraleonte
Charts
@mui/[email protected]
- [charts] Add
colorprop toSparklineand deprecatecolors(#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] 
Same changes as in @mui/[email protected].
Tree View
@mui/[email protected]
Internal changes.
@mui/[email protected] 
Same changes as in @mui/[email protected].
Docs
- [docs] Update charts colors default value (#16484) @bernardobelchior