Oct 7, 2021
A big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
- 🌎 Add Persian (faIR) locale (#2712) @devlifeX
- 🎁 Allow selecting a range of rows with Shift + click (#2456) @flaviendelangle
- 🚀 Allow to throttle the row updates with the
throttleRowsMs
prop onDataGridPro
and remove the default 100ms row update delay (#2561) @flaviendelangle - 💡 Enhance internal code structure
- 📚 Documentation improvements
- 🐞 Bugfixes
@mui/x-data-grid@v5.0.0-beta.3
/ @mui/x-data-grid-pro@v5.0.0-beta.3
Breaking changes
-
[DataGrid] Rename some selectors and interfaces to follow the codebase naming conventions (#2723) @flaviendelangle
The following selectors were renamed:
-const filterModel = filterGridStateSelector(state); +const filterModel = gridFilterModelSelector(state);
-const density: GridGridDensity = densitySelector(state); +const density: GridDensityState = gridDensitySelector(state);
-const rendering: InternalRenderingState = gridRenderingSelector(state); +const rendering: GridRenderingState = gridRenderingSelector(state);
Changes
- [DataGrid] Add Persian (faIR) locale (#2712) @devlifeX
- [DataGrid] Allow to select range of rows using Shift + click (#2456) @flaviendelangle
- [DataGrid] Fix numeric column filter to not run when value is empty (#2780) @m4theushw
- [DataGrid] Export
singleSelect
operators (#2666) @jeremyalan - [DataGrid] Fix Italian localization (#2717) @destegabry
- [DataGrid] Fix
undefined
in filter panel (#2715) @DanailH - [DataGrid] Fix the fade-out transition of the
GridMenu
(#2734) @flaviendelangle - [DataGrid] Pass row
id
tovalueFormatter
(#2738) @m4theushw - [DataGrid] Fix
onSortModelChange
to not be called during initialization (#2724) @flaviendelangle - [DataGridPro] Stop drag event propagation (#2802) @DanailH
- [DataGridPro] Fix keyboard navigation to work with filtered rows (#2800) @flaviendelangle
Docs
- [docs] Add missing fonts (#2745) @m4theushw
- [docs] Add page for scrolling API (#2634) @m4theushw
- [docs] Add type to
onChange
event argument (#2669) @jayariglesias - [docs] Add explanation about the
id
usage in multiple filters in DataGridPro (#2783) @ZeeshanTamboli - [docs] Fix demo throwing error (#2719) @m4theushw
- [docs] Fix index and improve playground page (#2755) @oliviertassinari
Core
- [core] Add benchmark script (#2683) @m4theushw
- [core] Clean error messages prefix (#2676) @flaviendelangle
- [core] Do not regenerate columns of
useDemoData
on each render (#2747) @flaviendelangle - [core] Don't run benchmark on cached files (#2786) @m4theushw
- [core] Drop localization v4 format (#2792) @flaviendelangle
- [core] Remove useless state update in
useGridColumnMenu
(#2722) @flaviendelangle - [core] Remove v4 conditional code (#2575) @flaviendelangle
- [core] Rework
useGridRows
high frequency update (#2561) @flaviendelangle - [core] Set up
eps1lon/actions-label-merge-conflict
action (#2751) @m4theushw - [core] Stop using selectors for Pro features on React components (#2716) @flaviendelangle