🎉 We are excited to finally introduce a stable release (v5.0.0) for the @mui/x-date-pickers
and @mui/x-date-pickers-pro
packages!
If you are still using picker components from the lab
, take a look at the migration guide.
We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
-
🎁 Implement Lazy loading (#5214) @DanailH
Pro users now can try the experimental lazy loading feature.
In a few steps, you can load your data on demand, as the rows are displayed.To enable this feature, add
experimentalFeatures={{ lazyLoading: true }}
.
Lazy Loading requires a few other settings.
See the documentation to explore the example in detail. -
🚀 Improve
pickers
focus management (#5820) @alexfauquette -
🎉 Enable disabling
day
on date range picker depending onposition
(#5773) @alexfauquette -
✨ Various improvements
-
📚 Documentation improvements
-
🐞 Bugfixes
@mui/x-data-grid@v5.17.0
/ @mui/x-data-grid-pro@v5.17.0
/ @mui/x-data-grid-premium@v5.17.0
Changes
- [DataGrid] Add
sort
prop to columns panel slot (#5888) @gavbrennan - [DataGrid] Do not throw if
fieldToFocus
cannot be found (#5871) @cherniavskii - [DataGrid] Support
getRowId
in thereplaceRows
method (#5988) @flaviendelangle - [DataGridPro] Add class name to row with open detail panel (#5924) @m4theushw
- [DataGridPro] Fix crash when using
pinnedRows
+getRowClassName
props androws=[]
(#5851) @cherniavskii - [DataGridPro] Fix filtering with inactive filter items (#5993) @alexfauquette
- [DataGridPro] Implement Lazy loading (#5214) @DanailH
- [DataGridPro] Support pinned columns and dynamic row height (#5782) @m4theushw
- [DataGridPremium] Add state initializer for column groups (#5963) @alexfauquette
- [DataGridPremium] Update grouping when
groupingValueGetter
changes (#5919) @flaviendelangle - [DataGridPremium] Use the aggregated value on tree data real groups (#5953) @flaviendelangle
@mui/x-date-pickers@v5.0.0
/ @mui/x-date-pickers-pro@v5.0.0
Changes
- [DatePicker] Improve focus management (#5820) @alexfauquette
- [DateRangePicker] Enable disabling
day
depending onposition
(#5773) @alexfauquette - [DateTimePicker] Create a new
tabs
component slot (#5972) @LukasTy - [pickers] Do not forward validation props to the DOM on field components (#5971) @flaviendelangle
- [pickers] Do not hardcode
date-fns
elements in field components (#5975) @flaviendelangle - [pickers] Do not require
date-fns
in@mui/x-date-pickers-pro
(#5941) @flaviendelangle - [pickers] Fix mobile picker not opening on label click (#5651) @LukasTy
- [pickers] Improve DOM event management on
useField
(#5901) @flaviendelangle - [pickers] Include
community
packagethemeAugmentation
inpro
package types (#5969) @LukasTy - [pickers] Rename
DateRangeField
intoSingleInputDateRangeField
(#5961) @flaviendelangle - [pickers] Support
isSameError
on field components (#5984) @flaviendelangle
Docs
- [docs] Add
description
anddefault
to pickers slots (#5893) @alexfauquette - [docs] Fix typo (#5945) @wettopa
- [docs] Fix typo
onYearPicker
toonYearChange
(#5954) @alexfauquette - [docs] Update
GridCellParams
'svalue
description (#5849) @cherniavskii - [docs] Update
README.md
to match Introduction section of the docs (#5754) @samuelsycamore
Core
- [core] Fix typo (#5990) @flaviendelangle
- [core] Remove old babel resolve rule (#5939) @oliviertassinari
- [core] Remove outdated TODO (#5956) @flaviendelangle
- [core] Upgrade monorepo (#5960) @cherniavskii
- [core] Fix statics (#5986) @DanailH
- [core] Remove unused dependencies (#5937) @oliviertassinari
- [license] Remove CLI (#5757) @flaviendelangle
- [test] Fix time zone sensitive test (#5955) @LukasTy
- [test] Use
userEvent.mousePress
instead offireClickEvent
(#5920) @cherniavskii