@mui/x-date-pickers
Advanced tools
Changelog
7.0.0
Mar 22, 2024
We're excited to announce the first v7 stable release! 🎉🚀
This is now the officially supported major version, where we'll keep rolling out new features, bug fixes, and improvements. Migration guides are available with a complete list of the breaking changes:
We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
viewRenderers
on DateTimePicker
(#12441) @LukasTydensity
for the Data Grid (#12332) @MBilalShafiThe density
is a controlled prop now, if you were previously passing the density
prop to the Data Grid, you will need to do one of the following:
initialState.density
to initialize it. <DataGrid
- density="compact"
+ initialState={{ density: "compact" }}
/>
onDensityChange
callback to update the density
prop accordingly for it to work as expected.+ const [density, setDensity] = React.useState<GridDensity>('compact');
<DataGrid
- density="compact"
+ density={density}
+ onDensityChange={(newDensity) => setDensity(newDensity)}
/>
The selector gridDensityValueSelector
was removed, use the gridDensitySelector
instead.
The props rowBuffer
and columnBuffer
were renamed to rowBufferPx
and columnBufferPx
.
Their value is now a pixel value rather than a number of items. Their default value is now 150
.
The props rowThreshold
and columnThreshold
have been removed.
If you had the rowThreshold
prop set to 0
to force new rows to be rendered more often – this is no longer necessary.
Changelog
7.0.0-beta.7
Mar 14, 2024
We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
lazyLoading
feature flag was removed from the experimentalFeatures
prop.columnHeader--showColumnBorder
class was replaced by columnHeader--withLeftBorder
and columnHeader--withRightBorder
.columnHeadersInner
, columnHeadersInner--scrollable
, and columnHeaderDropZone
classes were removed since the inner wrapper was removed in our effort to simplify the DOM structure and improve accessibility.pinnedColumnHeaders
, pinnedColumnHeaders--left
, and pinnedColumnHeaders--right
classes were removed along with the element they were applied to.
The pinned column headers now use position: 'sticky'
and are rendered in the same row element as the regular column headers.Changelog
7.0.0-beta.5
Mar 1, 2024
We'd like to offer a big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
getSortComparator
for more advanced sorting behaviors (#12215) @cherniavskiiuse client
directive to the Grid packages (#11803) @MBilalShafiChangelog
7.0.0-beta.4
Feb 23, 2024
We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
legacy
bundle that used to support old browsers like IE 11 is no longer included..MuiDataGrid-cellContent
has been removed, use .MuiDataGrid-cell
to style the cells.Changelog
7.0.0-beta.2
Feb 9, 2024
We'd like to offer a big thanks to the 15 contributors who made this release possible. Here are some highlights ✨: