Major Changes
-
#7208
367b4681ae7e336d9cc0397e95c9b9d36186a656Thanks @JuicyBenjamin! - feat: upgrade@mui/x-data-gridfrom v7 to v8Updated the
@mui/x-data-gridpeer dependency from^7.23.5to^8.24.0.This is a major version bump as MUI X v8 includes breaking changes that users should be aware of:
- Minimum TypeScript version is now v5
- Package structure updated to use Node.js
exportsfield - Some removed props:
rowPositionsDebounceMs,resetPageOnSortFilter showToolbarprop is now required to display the toolbar
The
useDataGridhook and all DataGrid-related types remain fully compatible with v8.Here is the updated version alignment:
@refinedev/mui @mui/x-data-grid @mui/material 6.x.x 7.x.x 6.x.x 7.x.x 7.x.x 6.x.x 8.x.x 8.x.x 6.x.x For the full MUI X v8 migration guide, see: https://mui.com/x/migration/migration-data-grid-v7/
Patch Changes
-
#7217
adc4c6431252c035caa62acbaf42f79854535548Thanks @alicanerdurmaz! - fix: prevent server-side filter input from dropping characters inuseDataGridWhen typing in the DataGrid filter panel with server mode, the input could lose
recent characters because the server update resets the filter model mid-typing.
We now debounce thesetFilterscall insideuseDataGridand disable the
DataGrid's own debounce to keep the input state stable while still triggering
server queries.Resolves #7216