github mui/mui-x v5.8.0

latest releases: v7.3.2, v7.3.1, v7.3.0...
2 years ago

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

  • 🚀 Expose new methods to save and restore the grid state (#4028) @flaviendelangle

    The different methods to save and restore the data-grid state are now documented.

  • ⌚️ Move date and time picker components from the lab (#3451) @flaviendelangle

    Date and time picker components have been moved to the MUI X repository.
    They are now accessible in their own packages: @mui/x-date-pickers and @mui/x-date-pickers-pro.
    For more information, you can read the blog article and the migration guide.

  • 📝 Add onProcessRowUpdateError prop to simplify error management in edit mode (#4267) @m4theushw

  • ✨ Add generic typing to GridColDef and derived interfaces (#4064) @flaviendelangle

    You can now strongly type all the objects related to the row and the cell values.
    Here is an example, you can find out more in the description of #4064.

    const rows: Movie[] = [];
    
    return (
      <DataGrid 
        rows={rows}
        columns={[{ 
          // typeof params.row => Movie (R)
          valueGetter: params => params.row.year, 
        }]}
      />
    );

@mui/x-data-grid@v5.8.0 / @mui/x-data-grid-pro@v5.8.0

Changes

@mui/x-date-pickers@v5.0.0-alpha.0 / @mui/x-date-pickers-pro@v5.0.0-alpha.0

Changes

Docs

Core

Don't miss a new mui-x release

NewReleases is sending notifications on new releases.