Update dependency @mui/x-data-grid to v7 #6
Reference in New Issue
Block a user
Delete Branch "renovate/mui-x-data-grid-7.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
^6.12.1->^7.0.0Release Notes
mui/mui-x (@mui/x-data-grid)
v7.1.1Compare Source
Apr 5, 2024
We'd like to offer a big thanks to the 19 contributors who made this release possible. Here are some highlights ✨:
setItemExpansionTree View API method (#12595) @flaviendelangleData Grid
@mui/x-data-grid@7.1.1ColDefChangesGridNoSnapdemo crash (#12663) @MBilalShafirowCountis used with client-side pagination (#12448) @michelengelenGridFormatterParamscompletely (#12660) @romgrk@mui/x-data-grid-pro@7.1.1Same changes as in
@mui/x-data-grid@7.1.1.@mui/x-data-grid-premium@7.1.1Same changes as in
@mui/x-data-grid-pro@7.1.1.Date and Time Pickers
@mui/x-date-pickers@7.1.1readOnlybehavior (#12609) @LukasTy@mui/x-date-pickers-pro@7.1.1Same changes as in
@mui/x-date-pickers@7.1.1, plus:Charts
@mui/x-charts@7.1.1tickIntervalusage for y-axis (#12592) @alexfauquetteidis anumber(#12677) @JCQuintassxproperty onChartsTooltip(#12659) @JCQuintasTree View
@mui/x-tree-view@7.1.1publicAPImethods (#12649) @flaviendelangleRichTreeViewProcomponent (not released yet) (#12610) @flaviendelanglesetItemExpansion(#12595) @flaviendelangleDocs
checkboxSelectionVisibleOnlyprop (#12646) @michelengelen_action: 'delete'inprocessRowUpdate(#12670) @michelengelenPieShapeNoSnapdemo (#12636) @alp-exgetItemIdprop description (#12637) @flaviendelanglemarginusage more visible (#12591) @alexfauquettedayfrom the defaultdayOfWeekFormatterfunction params (#12644) @LukasTyTreeItem2for icon expansion example onRichTreeView(#12563) @flaviendelangleCore
mastertov6action (#12648) @LukasTy@mui/x-tree-view-pro/themeAugmentation(#12674) @flaviendelangledescribeTreeViewto run test onSimpleTreeViewandRichTreeView, usingTreeItemandTreeItem2+ migrate expansion tests (#12428) @flaviendelangletest-typesCI step allowed memory (#12651) @LukasTyexpresspackage (#12602) @LukasTyl10nPR belongs to (#12639) @LukasTydescribeTreeViewfor selection tests (#12647) @flaviendelanglev7.1.0Compare Source
Mar 28, 2024
We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
resizeThrottleMsprop (#12556) @romgrkData Grid
@mui/x-data-grid@7.1.0resizeThrottleMsprop (#12556) @romgrkrowEditStopevent if row has fields with errors (#11383) @cherniavskiiGridToolbarQuickFiltercomponent (#12484) @jhawkins11@mui/x-data-grid-pro@7.1.0Same changes as in
@mui/x-data-grid@7.1.0.@mui/x-data-grid-premium@7.1.0Same changes as in
@mui/x-data-grid-pro@7.1.0.Date and Time Pickers
@mui/x-date-pickers@7.1.0@mui/zero-runtime(stop usingownerStateinstyled) (#12003) @flaviendelangle@mui/x-date-pickers-pro@7.1.0Same changes as in
@mui/x-date-pickers@7.1.0, plus:readOnly(#12593) @LukasTyCharts
@mui/x-charts@7.1.0Tree View
@mui/x-tree-view@7.1.0RichTreeView(#12512) @flaviendelangleDocs
Core
l10nscript on Windows (#12550) @LukasTyDateTimeRangePickertag inreleaseChangelog(#12526) @LukasTyv7.0.0Compare Source
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 ✨:
viewRenderersonDateTimePicker(#12441) @LukasTydensityfor the Data Grid (#12332) @MBilalShafiData Grid
Breaking changes
The
densityis a controlled prop now, if you were previously passing thedensityprop to the Data Grid, you will need to do one of the following:initialState.densityto initialize it.onDensityChangecallback to update thedensityprop accordingly for it to work as expected.The selector
gridDensityValueSelectorwas removed, use thegridDensitySelectorinstead.The props
rowBufferandcolumnBufferwere renamed torowBufferPxandcolumnBufferPx.Their value is now a pixel value rather than a number of items. Their default value is now
150.The props
rowThresholdandcolumnThresholdhave been removed.If you had the
rowThresholdprop set to0to force new rows to be rendered more often – this is no longer necessary.@mui/x-data-grid@7.0.0ElementTypeusage (#12479) @cherniavskiirowsan optional prop (#12478) @MBilalShafi@mui/x-data-grid-pro@7.0.0Same changes as in
@mui/x-data-grid@7.0.0.@mui/x-data-grid-premium@7.0.0Same changes as in
@mui/x-data-grid-pro@7.0.0, plus:Date and Time Pickers
Breaking changes
DesktopDateTimePickerview rendering has been optimized by using the same technique as forDesktopDateTimeRangePicker.dateTimeViewRenderershave been removed in favor of reusing existing time view renderers (renderTimeViewClock,renderDigitalClockTimeViewandrenderMultiSectionDigitalClockTimeView) and date view renderer (renderDateViewCalendar).renderTimeViewClockto time view renderers will no longer revert to the old behavior of rendering only date or time view.@mui/x-date-pickers@7.0.0DesktopDateTimePicker(#12441) @LukasTy@mui/x-date-pickers-pro@7.0.0Same changes as in
@mui/x-date-pickers@7.0.0, plus:JSDoc(#12518) @LukasTyCharts
@mui/x-charts@7.0.0CartesianContextProvider(#12461) @JanpotTree View
Breaking changes
nodeIdprop used by theTreeItemhas been renamed toitemIdfor consistency:The focus is now applied to the Tree Item root element instead of the Tree View root element.
This change will allow new features that require the focus to be on the Tree Item,
like the drag and drop reordering of items.
It also solves several issues with focus management,
like the inability to scroll to the focused item when a lot of items are rendered.
This will mostly impact how you write tests to interact with the Tree View:
For example, if you were writing a test with
react-testing-library, here is what the changes could look like:@mui/x-tree-view@7.0.0nodeIdtoitemId(#12418) @noraleonteContentComponentprop to avoid using the word "node" (#12476) @flaviendelangle@mui/x-codemod@7.0.0Docs
Core
@mui/materialpeer dependency for all packages (#12516) @LukasTyno-restricted-importsESLint rule not working for Data Grid packages (#12477) @cherniavskiino-responseaction runs (#12491) @michaldudaklegacybrowserlistrcentry (#12415) @LukasTyConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.