Nov 4, 2021
- 💅 Reduce styles specificity to make it simpler to override (#3012) @DanailH
- 🌍 Add Hebrew (heIL) locale (#3028) @ColdAtNight
- 📚 Documentation improvements
- 🐞 Bugfixes
@mui/x-data-grid@v5.0.0-beta.7
/ @mui/x-data-grid-pro@v5.0.0-beta.7
Breaking changes
-
[core] Prefix selectors from
useGridContainerProps
withunstable
(#3002) @flaviendelangleThe dimension API is being temporarily made private to allow to clean it in future minor releases. The current approach causes useless re-renders.
If you relay on any of these selectors, open an issue explaining the use case so that will be taken into account when refactoring them.The following selectors were prefixed by
unstable_
. Use the provided alternatives.gridContainerSizesSelector
was renamed tounstable_gridContainerSizesSelector
gridViewportSizesSelector
was renamed tounstable_gridViewportSizesSelector
gridScrollBarSizeSelector
was renamed tounstable_gridScrollBarSizeSelector
The following selectors were removed. You can hard-code their logic in your application if you really need them.
gridDataContainerSizesSelector
const dataContainerSizes = gridContainerSizesSelector(state)?.dataContainerSizes ?? null;
gridDataContainerHeightSelector
const dataContainerHeight = gridContainerSizesSelector(state)?.dataContainerSizes.height ?? null;
The selector
gridViewportSizeStateSelector
was a duplicate and has been removed, you can use the selectorunstable_gridViewportSizesSelector
instead.
Changes
- [DataGrid] Add Hebrew (heIL) locale (#3028) @ColdAtNight
- [DataGrid] Move virtualization logic to hook (#3079) @m4theushw
- [DataGrid] Revert year change in the MIT license (#3059) @oliviertassinari
- [DataGrid] Fix filtering of nullish numeric cells (#3070) @flaviendelangle
- [DataGrid] Improve performance when selecting 100k rows (#3077) @m4theushw
- [DataGrid] Fix
GridEditDateCell
to handle timezone correctly (#2918) @flaviendelangle - [DataGrid] Fix keyboard navigation on page > 0 (#3074) @flaviendelangle
- [DataGrid] Prevents bubbling in menu header (#3000) @alexfauquette
- [DataGrid] Fix wrong params provided to
cellModeChange
whensetCellMode
is called (#3025) @flaviendelangle
Core
- [core] Adapt
useDemoData
for Tree Data (#2978) @flaviendelangle - [core] Group update of MUI Core (#3055) @oliviertassinari
- [core] Ignore
*.tsbuildinfo
files (#3068) @m4theushw - [core] Implement tree-based row management (#2996) @flaviendelangle
- [core] Invert Codesandbox examples on README (#3073) @flaviendelangle
- [core] Prefix selectors from
useGridContainerProps
withunsafe
(#3002) @flaviendelangle - [core] Reduce
setGridState
andapplyFilters
call when updatingfilterModel
(#3023) @flaviendelangle - [core] Reduce styles complexity (#3012) @DanailH
- [core] Upgrade monorepo (#3067) @m4theushw
- [core] Use official MUI repo as monorepo (#3084) @m4theushw
- [test] Retry each expect until success (#3027) @m4theushw
- [core] Adapt changelog script to new GitHub DOM (#3087) @alexfauquette
Docs
- [docs] Explain how to use
valueGetter
to transform type (#3003) @alexfauquette - [docs] Fix the outdated demo of the docs (#3058) @oliviertassinari
- [docs] Fix inline previews (#3081) @DanailH