yarn @mui/x-date-pickers 5.0.0-beta.0
v5.0.0-beta.0

latest releases: 7.18.0, 7.17.0, 7.16.0...
2 years ago

Sep 17, 2021

🎉 This is the first release with support for the new MUI v5 🎉!
In the next releases, we will be working to bring all the cool features from MUI v5 to the advanced components.

This beta version of MUI X drops support for MUI v4. We encourage everyone to upgrade to MUI v5 to be able to continue to get all the upcoming features and fixes of MUI X. New versions of MUI X v4, containing only fixes, will still be released, but at a slower pace.

A big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:

  • ⚡ Migrate to the new @mui/material and @mui/styles packages and drop support for @material-ui/core (#2515, #2571, #2620) @m4theushw

  • 📚 Migrate to the new documentation infrastructure and design (#2441) (@DanailH, @m4theushw)

  • 🎁 Add actions column type (#2385) @m4theushw

    See the documentation for more details.

  • 👁 Allow to disable virtualization with the disableVirtualization prop (#2326) @m4theushw

  • 🚀 Introduce the new isRowSelected api method (#2523) @flaviendelangle

  • 🕹ī¸ Show page size controls on smaller resolutions (#2461) @michaldudak

  • 🌎 Add Simplified Chinese (zhCN) localization (#2431) @wlf100220

  • 🌎 Add Korean (koKR) localization (#2446) @zzossig

  • 🐞 Bugfixes

@mui/x-data-grid@v5.0.0-beta.0 / @mui/x-data-grid-pro@v5.0.0-beta.0

Breaking changes

  • [DataGridPro] Remove apiRef.current.getState method.

    -const state = apiRef.current.getState();
    +const state = apiRef.current.state
  • [DataGridPro] The third argument in apiRef.current.selectRow is now inverted to keep consistency with other selection APIs. (#2523) @flaviendelangle

    -selectRow: (id: GridRowId, isSelected?: boolean, allowMultiple?: boolean = false) => void;
    +selectRow: (id: GridRowId, isSelected?: boolean, resetSelection?: boolean = false) => void;
  • [DataGrid] Remove the options prop from the return of useGridSlotComponentProps.

    -const { options } = useGridSlotComponentProps();
    +const rootProps = useGridRootProps();
  • [DataGrid] The module augmentation is not enabled by default. This change was done to prevent conflicts with projects using DataGrid and DataGridPro together.

    In order to still be able to do overrides at the theme level, add the following imports to your project:

    +import type {} from '@mui/x-data-grid/themeAugmentation';
    +import type {} from '@mui/x-data-grid-pro/themeAugmentation';

Changes

Docs

Core

Don't miss a new x-date-pickers release

NewReleases is sending notifications on new releases.