opencti
opencti copied to clipboard
Update dependency @mui/x-date-pickers to v7 - abandoned
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @mui/x-date-pickers (source) | 6.19.9 -> 7.2.0 |
Release Notes
mui/mui-x (@mui/x-date-pickers)
v7.2.0
Apr 12, 2024
We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
- 🎨 Make grid colors customizable through the MUI themes API
- 🌍 Improve French (fr-FR), German (de-DE), and Swedish (sv-SE) locales on the Data Grid and Pickers
- 🐞 Bugfixes
- 📚 Documentation improvements
Data Grid
@mui/[email protected]
- [DataGrid] Add missing
apiproperty toGridCallbackDetails(#12742) @sai6855 - [DataGrid] Do not escape double quotes when copying to clipboard (#12722) @cherniavskii
- [DataGrid] Fix column vertical border (#12741) @romgrk
- [DataGrid] Fix invalid date error when filtering
date/dateTimecolumns (#12709) @cherniavskii - [DataGrid] Fix overflow with dynamic row height (#12683) @romgrk
- [DataGrid] Make colors customizable (#12614) @romgrk
- [l10n] Improve French (fr-FR) locale (#12755) @derek-0000
- [l10n] Improve German (de-DE) locale (#12752) @Jens-Schoen
- [l10n] Improve Swedish (sv-SE) locale (#12731) @pontusdacke
@mui/[email protected] 
Same changes as in @mui/[email protected].
@mui/[email protected] 
Same changes as in @mui/[email protected], plus:
- [DataGridPremium] Fix clipboard paste not working when cell loses focus (#12724) @cherniavskii
Date and Time Pickers
@mui/[email protected]
- [fields] Fix field editing after closing the picker (#12675) @LukasTy
- [l10n] Improve French (fr-FR) locale (#12692) @FaroukBel
- [l10n] Improve German (de-DE) locale (#12752) @Jens-Schoen
- [l10n] Improve Swedish (sv-SE) locale (#12731) @pontusdacke
- [pickers] Fix desktop date time Pickers grid layout (#12748) @LukasTy
@mui/[email protected] 
Same changes as in @mui/[email protected], plus:
Charts
@mui/[email protected]
- [charts] Fix Bar chart with empty dataset throwing an error (#12708) @JCQuintas
- [charts] Fix
tickLabelIntervalnot working onYAxis(#12746) @JCQuintas
Tree View
@mui/[email protected]
- [TreeView] Add a new lookup to access an item index without expansive computation (#12729) @flaviendelangle
- [TreeView] Clean up usage of term "node" in internals (#12655) @noraleonte
- [TreeView] Improve performance by removing
getNavigableChildrenIdsmethod (#12713) @flaviendelangle - [TreeView] Remove
state.items.itemTree(#12717) @flaviendelangle - [TreeView] Remove remaining occurences of the word "node" in the codebase (#12712) @flaviendelangle
- [TreeView] Return
instanceandpublicAPImethods from plugin and populate the main objects insideuseTreeView(#12650) @flaviendelangle - [TreeView] Fix behaviors when the item order changes (#12369) @flaviendelangle
Docs
- [docs] Add
AxisFormatterdocumentation for customizing tick/tooltip value formatting (#12700) @JCQuintas - [docs] Add file explorer example to rich tree view customization docs (#12707) @noraleonte
- [docs] Do not use import of depth 3 in the doc (#12716) @flaviendelangle
- [docs] Explain how to clip plots with composition (#12679) @alexfauquette
- [docs] Fix typo in Data Grid v7 migration page (#12720) @bfaulk96
- [docs] Fix typo in Pickers v7 migration page (#12721) @bfaulk96
Core
- [core] Support multiple resolved
l10nPR packages (#12735) @LukasTy - [core] Update Netlify release references in release README (#12687) @LukasTy
- [core] Use
describeTreeViewfor icons tests (#12672) @flaviendelangle - [core] Use
describeTreeViewin existing tests foruseTreeViewItems(#12732) @flaviendelangle
v7.1.1
Apr 5, 2024
We'd like to offer a big thanks to the 19 contributors who made this release possible. Here are some highlights ✨:
- 🚀 Add
setItemExpansionTree View API method (#12595) @flaviendelangle - 🌍 Improve Persian (fa-IR), Portuguese (pt-BR), and Spanish (es-ES) locale on the Data Grid
- 🌍 Improve Persian (fa-IR), Portuguese (pt-BR), and Ukrainian (uk-UA) locale on the Pickers
- 🐞 Bugfixes
- 📚 Documentation improvements
Data Grid
@mui/[email protected]
- [DataGrid] Allow higher packages' props to be used in MIT (#12365) @MBilalShafi
- [DataGrid] Fix RTL mode (#12583) @romgrk
- [DataGrid] Fix
ColDefChangesGridNoSnapdemo crash (#12663) @MBilalShafi - [DataGrid] Fix server-side filter demo not working (#12662) @MBilalShafi
- [DataGrid] Log error if
rowCountis used with client-side pagination (#12448) @michelengelen - [DataGrid] Remove
GridFormatterParamscompletely (#12660) @romgrk - [DataGrid] Restore main slot (#12657) @romgrk
- [l10n] Improve Persian (fa-IR) locale (#12630) @amirhosseinzf
- [l10n] Improve Portuguese (pt-BR) locale (#12618) @hugoalkimim
- [l10n] Improve Spanish (es-ES) locale (#12606) @aitor40
@mui/[email protected] 
Same changes as in @mui/[email protected].
@mui/[email protected] 
Same changes as in @mui/[email protected].
Date and Time Pickers
@mui/[email protected]
- [fields] Fix
readOnlybehavior (#12609) @LukasTy - [l10n] Improve Persian (fa-IR) locale (#12632) @misafari
- [l10n] Improve Portuguese (pt-BR) locale (#12613) @cnHealth
- [l10n] Improve Ukrainian (uk-UA) locale (#12627) @alexkobylansky
@mui/[email protected] 
Same changes as in @mui/[email protected], plus:
Charts
@mui/[email protected]
- [charts] Fix
tickIntervalusage for y-axis (#12592) @alexfauquette - [charts] Fix Scatter series highlight when
idis anumber(#12677) @JCQuintas - [charts] Fix TS error when using
sxproperty onChartsTooltip(#12659) @JCQuintas
Tree View
@mui/[email protected]
- [TreeView] Add JSDoc to all
publicAPImethods (#12649) @flaviendelangle - [TreeView] Create
RichTreeViewProcomponent (not released yet) (#12610) @flaviendelangle - [TreeView] Create pro package (not released yet) (#12240) @flaviendelangle
- [TreeView] Fix typo in errors (#12623) @alissa-tung
- [TreeView] New API method:
setItemExpansion(#12595) @flaviendelangle
Docs
- [docs] Add a recipe for the
checkboxSelectionVisibleOnlyprop (#12646) @michelengelen - [docs] Explain the use of
_action: 'delete'inprocessRowUpdate(#12670) @michelengelen - [docs] Fix formatting and typo on migration guide @oliviertassinari
- [docs] Fix formatting in changelog @oliviertassinari
- [docs] Fix grammar in TreeView migration doc (#12615) @joshkel
- [docs] Fix missing closing props in
PieShapeNoSnapdemo (#12636) @alp-ex - [docs] Fix type arguments in Custom Field page (#12619) @Juneezee
- [docs] Fix typo in
getItemIdprop description (#12637) @flaviendelangle - [docs] Make the Charts
marginusage more visible (#12591) @alexfauquette - [docs] Match IE 11 spacing with Material UI @oliviertassinari
- [docs] Move data grid interfaces to standard API page layout (#12016) @alexfauquette
- [docs] Remove ` around @default values (#12158) @alexfauquette
- [docs] Remove
dayfrom the defaultdayOfWeekFormatterfunction params (#12644) @LukasTy - [docs] Use
TreeItem2for icon expansion example onRichTreeView(#12563) @flaviendelangle
Core
- [core] Add cherry-pick
mastertov6action (#12648) @LukasTy - [core] Fix typo in
@mui/x-tree-view-pro/themeAugmentation(#12674) @flaviendelangle - [core] Introduce
describeTreeViewto run test onSimpleTreeViewandRichTreeView, usingTreeItemandTreeItem2+ migrate expansion tests (#12428) @flaviendelangle - [core] Limit
test-typesCI step allowed memory (#12651) @LukasTy - [core] Remove explicit
expresspackage (#12602) @LukasTy - [core] Update to new embedded translations in the docs package (#12232) @Janpot
- [core] Use PR labels to identify the package a
l10nPR belongs to (#12639) @LukasTy - [core] Use
describeTreeViewfor selection tests (#12647) @flaviendelangle - [docs-infra] Adjust the links to search for issues (#11995) @michelengelen
- [infra] Polish support survey experience (#12624) @oliviertassinari
- [support-infra] Replace author association with a permission check in survey action (#12068) @michelengelen
- [support-infra] Fix user permission check (#12669) @michelengelen
- [test] Fix Tree View test import (#12668) @LukasTy
v7.1.0
Mar 28, 2024
We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
- 🚀 Add
resizeThrottleMsprop (#12556) @romgrk - 🌍 Improve Chinese (Hong Kong) (zh-HK) and Italian (it-IT) locale on the Pickers
- 🐞 Bugfixes
- 📚 Documentation improvements
Data Grid
@mui/[email protected]
- [DataGrid] Add
resizeThrottleMsprop (#12556) @romgrk - [DataGrid] Do not publish
rowEditStopevent if row has fields with errors (#11383) @cherniavskii - [DataGrid] Fix bug in suspense (#12553) @romgrk
- [DataGrid] Fix missing class name in the
GridToolbarQuickFiltercomponent (#12484) @jhawkins11
@mui/[email protected] 
Same changes as in @mui/[email protected].
@mui/[email protected] 
Same changes as in @mui/[email protected].
Date and Time Pickers
@mui/[email protected]
- [fields] Fix placeholder override (#12589) @flaviendelangle
- [l10n] Improve Chinese (Hong Kong) (zh-HK) locale (#12547) @samchiu90
- [l10n] Improve Italian (it-IT) locale (#12549) @antomanc
- [pickers] Prepare compatibility with
@mui/zero-runtime(stop usingownerStateinstyled) (#12003) @flaviendelangle
@mui/[email protected] 
Same changes as in @mui/[email protected], plus:
Charts
@mui/[email protected]
- [charts] Fix tooltip causing crash on data change (#12571) @Rishi556
Tree View
@mui/[email protected]
- [TreeView] Do not use outdated version of the state to compute new label first char in
RichTreeView(#12512) @flaviendelangle
Docs
- [docs] Add example to add a second icon next to the field's opening button (#12524) @flaviendelangle
- [docs] Add missing note to Data Grid migration guide (#12557) @romgrk
- [docs] Fix Charts title for SEO (#12545) @oliviertassinari
- [docs] Fix small typo (#12558) @diogoparente
- [docs] Improve codemod related documentation (#12582) @MBilalShafi
- [docs] Reduce noise in migration docs side navigation (#12552) @cherniavskii
- [docs] Sync static images from core repository (#12525) @LukasTy
Core
- [core] Fix
l10nscript on Windows (#12550) @LukasTy - [core] Include
DateTimeRangePickertag inreleaseChangelog(#12526) @LukasTy - [core] Upgrade monorepo (#12536) @cherniavskii
v7.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 ✨:
- 🚀 Improve the usage of custom
viewRenderersonDateTimePicker(#12441) @LukasTy - ✨ Set focus on the focused Tree Item instead of the Tree View (#12226) @flaviendelangle
- 🕹️ Support controlled
densityfor the Data Grid (#12332) @MBilalShafi - 🎁 Dynamic virtualization range for the Data Grid (#12353) @romgrk
- 🐞 Bugfixes
- 📚 Documentation improvements
Data 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:- Move it to the
initialState.densityto initialize it.
<DataGrid - density="compact" + initialState={{ density: "compact" }} />- Move it to the state and use
onDensityChangecallback to update thedensityprop accordingly for it to work as expected.
+ const [density, setDensity] = React.useState<GridDensity>('compact'); <DataGrid - density="compact" + density={density} + onDensityChange={(newDensity) => setDensity(newDensity)} /> - Move it to the
-
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 now150. -
The props
rowThresholdandcolumnThresholdhave been removed. If you had therowThresholdprop set to0to force new rows to be rendered more often – this is no longer necessary.
@mui/[email protected]
- [DataGrid] Allow to control the grid density (#12332) @MBilalShafi
- [DataGrid] Dynamic virtualization range (#12353) @romgrk
- [DataGrid] Fix
ElementTypeusage (#12479) @cherniavskii - [DataGrid] Fix cell value formatting on copy (#12357) @sai6855
- [DataGrid] Fix checkbox selection is keeping selection when filtering (#11751) @g1mishra
- [DataGrid] Make
rowsan optional prop (#12478) @MBilalShafi
@mui/[email protected] 
Same changes as in @mui/[email protected].
@mui/[email protected] 
Same changes as in @mui/[email protected], plus:
- [DataGridPremium] Add support for confirmation before clipboard paste (#12225) @cherniavskii
- [DataGridPremium] Fix single grouping column sorting (#9679) @cherniavskii
- [DataGridPremium] Fix boolean cell not rendered in group rows (#12492) @sai6855
Date and Time Pickers
Breaking changes
- The
DesktopDateTimePickerview rendering has been optimized by using the same technique as forDesktopDateTimeRangePicker.- The
dateTimeViewRenderershave been removed in favor of reusing existing time view renderers (renderTimeViewClock,renderDigitalClockTimeViewandrenderMultiSectionDigitalClockTimeView) and date view renderer (renderDateViewCalendar). - Passing
renderTimeViewClockto time view renderers will no longer revert to the old behavior of rendering only date or time view.
- The
@mui/[email protected]
- [fields] Allow to override the separator between the start and the end date in all range fields (#12174) @flaviendelangle
- [fields] Support format without separator (#12489) @flaviendelangle
- [pickers] Use renderer interceptor on
DesktopDateTimePicker(#12441) @LukasTy
@mui/[email protected] 
Same changes as in @mui/[email protected], plus:
- [DateTimeRangePicker] Add component
JSDoc(#12518) @LukasTy - [DateTimeRangePicker] Fix views behavior regression (#12529) @LukasTy
Charts
@mui/[email protected]
Tree View
Breaking changes
- The required
nodeIdprop used by theTreeItemhas been renamed toitemIdfor consistency:
<TreeView>
- <TreeItem label="Item 1" nodeId="one">
+ <TreeItem label="Item 1" itemId="one">
</TreeView>
-
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:it('test example on first item', () => { - const { getByRole } = render( + const { getAllByRole } = render( <SimpleTreeView> <TreeItem nodeId="one" /> <TreeItem nodeId="two" /> </SimpleTreeView> ); - const tree = getByRole('tree'); + const firstTreeItem = getAllByRole('treeitem')[0]; act(() => { - tree.focus(); + firstTreeItem.focus(); }); - fireEvent.keyDown(tree, { key: 'ArrowDown' }); + fireEvent.keyDown(firstTreeItem, { key: 'ArrowDown' }); })
@mui/[email protected]
- [TreeView] Rename
nodeIdtoitemId(#12418) @noraleonte - [TreeView] Set focus on the focused Tree Item instead of the Tree View (#12226) @flaviendelangle
- [TreeView] Update JSDoc of the
ContentComponentprop to avoid using the word "node" (#12476) @flaviendelangle
@mui/[email protected]
- [codemod] Add a codemod and update the grid migration guide (#12488) @MBilalShafi
Docs
- [docs] Finalize migration guide (#12501) @noraleonte
- [docs] Fix nested cells alignment in the popular features demo (#12450) @cherniavskii
- [docs] Fix some Vale errors (#12469) @oliviertassinari
- [docs] Remove mentions of pre release (#12513) @noraleonte
- [docs] Update branch name and tags (#12498) @cherniavskii
- [docs] Update links to v6 (#12496) @cherniavskii
- [docs] Update links to v7 docs (#12500) @noraleonte
- [docs] Update supported versions (#12508) @joserodolfofreitas
- [docs] Update "What's new in MUI X" page #12527 @cherniavskii
Core
- [core] Bump
@mui/materialpeer dependency for all packages (#12516) @LukasTy - [core] Fix
no-restricted-importsESLint rule not working for Data Grid packages (#12477) @cherniavskii - [core] Lower the frequency of
no-responseaction runs (#12491) @michaldudak - [core] Remove leftover
legacybrowserlistrcentry (#12415) @LukasTy - [core] Update NPM tag (#12511) @cherniavskii
- [core] Update supported browsers (browserlistrc) (#12521) @LukasTy
- [core] Use Circle CI context @oliviertassinari
- [license] Fix grammar on expired license error message (#12460) @joserodolfofreitas
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
https://mui.com/x/migration/migration-pickers-v6/
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ Warning: custom changes will be lost.
Autoclosing Skipped
This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.
@lndrtrbn this renovate is abandoned but still opened. Do you know why?
I suppose renovate tried to close it but as I made a commit to make some tests it cannot