Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

housekeeping: Update dependency @mui/x-date-pickers to v7 #2973

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 8, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@mui/x-date-pickers (source) ^5.0.5 -> ^7.0.0 age adoption passing confidence

Release Notes

mui/mui-x (@​mui/x-date-pickers)

v7.1.0

Compare 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 ✨:

  • 🚀 Add resizeThrottleMs prop (#​12556) @​romgrk
  • 🌍 Improve Chinese (Hong Kong) (zh-HK) and Italian (it-IT) locale on the Pickers
  • 🐞 Bugfixes
  • 📚 Documentation improvements
Data Grid
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected].

@mui/[email protected] premium

Same changes as in @mui/[email protected].

Date and Time Pickers
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected], plus:

  • [DateRangePicker] Fix selection behavior with single input field when readOnly (#​12593) @​LukasTy
Charts
@mui/[email protected]
Tree View
@mui/[email protected]
Docs
Core

v7.0.0

Compare 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 ✨:

Data Grid
Breaking changes
  • The 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:

    1. Move it to the initialState.density to initialize it.
     <DataGrid
    -  density="compact"
    +  initialState={{ density: "compact" }}
     />
    1. Move it to the state and use 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.

@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected].

@mui/[email protected] premium

Same changes as in @mui/[email protected], plus:

Date and Time Pickers
Breaking changes
  • The DesktopDateTimePicker view rendering has been optimized by using the same technique as for DesktopDateTimeRangePicker.
    • The dateTimeViewRenderers have been removed in favor of reusing existing time view renderers (renderTimeViewClock, renderDigitalClockTimeView and renderMultiSectionDigitalClockTimeView) and date view renderer (renderDateViewCalendar).
    • Passing renderTimeViewClock to time view renderers will no longer revert to the old behavior of rendering only date or time view.
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected], plus:

Charts
@mui/[email protected]
Tree View
Breaking changes
  • The required nodeId prop used by the TreeItem has been renamed to itemId for 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]
@mui/[email protected]
Docs
Core

v6.19.9

Compare Source

v6.19.8

Compare Source

v6.19.7

Compare Source

v6.19.6

Compare Source

Mar 1, 2024

We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:

  • 🌍 Improve Korean (ko-KR) and Chinese (zh-CN) locales on the Pickers
  • 🐞 Bugfixes
  • 📚 Documentation improvements
Data Grid
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected].

@mui/[email protected] premium

Same changes as in @mui/[email protected], plus:

Date Pickers
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected].

Docs

v6.19.5

Compare Source

Feb 23, 2024

We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:

  • 🐞 Bugfixes
  • 📚 Documentation improvements
Data Grid
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected].

@mui/[email protected] premium

Same changes as in @mui/[email protected].

Date Pickers
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected].

Charts / @mui/[email protected]
Docs
Core

v6.19.4

Compare Source

Feb 9, 2024

We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:

  • 🌍 Improve Danish (da-DK) locale on the Data Grid (#​11972) @​ShahrazH
  • 🐞 Bugfixes
  • 📚 Documentation improvements
Data Grid
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected].

@mui/[email protected] premium

Same changes as in @mui/[email protected], plus:

Date Pickers
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected].

Charts / @mui/[email protected]
Docs

v6.19.3

Compare Source

Feb 1, 2024

We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:

Data Grid
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected].

@mui/[email protected] premium

Same changes as in @mui/[email protected].

Date Pickers
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected].

Charts / @mui/[email protected]
Docs

v6.19.2

Compare Source

v6.19.0

Compare Source

Jan 11, 2024

We'd like to offer a big thanks to the 3 contributors who made this release possible. Here are some highlights ✨:

  • ⏰ Support date-fns v3 (#​11659) @​LukasTy
    Pickers support both v2 and v3 of date-fns. For v3 use AdapterDateFnsV3.
    // with date-fns v2.x
    import { AdapterDateFns } from '@&#8203;mui/x-date-pickers/AdapterDateFns';
    import de from 'date-fns/locale/de';
    // with date-fns v3.x
    import { AdapterDateFns } from '@&#8203;mui/x-date-pickers/AdapterDateFnsV3';
    import { de } from 'date-fns/locale/de';
Date Pickers
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected].

Docs

v6.18.7

Compare Source

v6.18.6

Compare Source

Dec 22, 2023

We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:

Data Grid
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected].

@mui/[email protected] premium

Same changes as in @mui/[email protected].

Date Pickers
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected].

Charts / @mui/[email protected]
Docs

v6.18.5

Compare Source

Dec 14, 2023

We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:

  • 🌍 Improve Swedish (sv-SE) and Urdu (ur-PK) locales on the Data Grid
  • 🐞 Bugfixes
Data Grid
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected].

@mui/[email protected] premium

Same changes as in @mui/[email protected].

Date Pickers
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected], plus:

Docs

v6.18.4

Compare Source

Dec 8, 2023

We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:

  • 📚 Add Pickers FAQ page
  • 🌍 Improve Danish (da-DK) locale on Data Grid
  • 🐞 Bugfixes
Data Grid
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected].

@mui/[email protected] premium

Same changes as in @mui/[email protected].

Date Pickers
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected].

Docs

v6.18.3

Compare Source

Dec 4, 2023

We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:

  • 📈 Fix a lot of Charts package issues
  • 🌍 Improve Bulgarian (bg-BG) locale on Data Grid
  • 🐞 Bugfixes
  • 📚 Documentation improvements
Data Grid
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected].

@mui/[email protected] premium

Same changes as in @mui/[email protected], plus:

Date Pickers
@mui/[email protected]
  • [pickers] Correctly format MultiSectionDigitalClock number sections (#​11297) @​LukasTy
  • [pickers] Expand field placeholder methods flexibility by providing format parameter (#​11254) @​LukasTy
@mui/[email protected] pro

Same changes as in @mui/[email protected].

Charts / @mui/[email protected]
Docs

v6.18.2

Compare Source

Nov 23, 2023

We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:

  • 🌍 Improve Arabic (ar-SD), Czech (cs-CZ), and Hebrew (he-IL) locales on Data Grid
  • 🌍 Add Basque (eu) and Macedonian (mk) locales on Pickers
  • 🌍 Improve German (de-DE) and Spanish (es-ES) locales on Pickers
  • 🐞 Bugfixes
  • 📚 Documentation improvements
Data Grid
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected].

@mui/[email protected] premium

Same changes as in @mui/[email protected].

Date Pickers
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected].

Charts / @mui/[email protected]
Docs

v6.18.1

Compare Source

Nov 9, 2023

We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:

  • ✨ Fix aggregation label not showing when renderHeader is used (#​10961) @​cherniavskii
  • 📘 Server side data source early documentation published
  • 📈 <ChartsReferenceLine /> component is now available
  • 🐞 Bugfixes
  • 📚 Documentation improvements
Data Grid
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected], plus:

@mui/[email protected] premium

Same changes as in @mui/[email protected], plus:

Date Pickers
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected].

Charts / @mui/[email protected]
Docs
Core

v6.18.0

Compare Source

Nov 3, 2023

We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:

  • 🎁 The Charts package is now officially stable!
  • 🥧 Pie charts are now animated.
  • 📈 Line charts now support partial data, and can interpolate missing data.
line charts with partial data
  • ✨ Allow to ignore diacritics when filtering
  • 📚 Documentation improvements
Data Grid
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected].

@mui/[email protected] premium

Same changes as in @mui/[email protected].

Date Pickers
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected].

Charts / @mui/[email protected]
Docs
Core

v6.17.0

Compare Source

Oct 27, 2023

We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:

  • 🎁 The Tree View package is now officially stable!

tree-view-example

  • ✨ Improve the handling of non-numeric values by Data Grid aggregation
  • 🚀 Support lines with different domains on the line charts
  • 🐞 Bugfixes
  • 📚 Documentation improvements
Data Grid
@mui/[email protected]
@mui/[email protected] pro

Same changes as in @mui/[email protected], plus:

@mui/[email protected] [![premium

Configuration

📅 Schedule: Branch creation - "every 2 week on monday" (UTC), 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.

@renovate renovate bot requested a review from a team as a code owner April 8, 2024 08:41
@renovate renovate bot added the dependencies Pull requests that update a dependency file label Apr 8, 2024
@jdslaugh jdslaugh closed this Apr 12, 2024
Copy link
Contributor Author

renovate bot commented Apr 12, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 7.x releases. But if you manually upgrade to 7.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/major-7-material-ui-monorepo branch April 12, 2024 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant