Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2021

Bumps @material-ui/data-grid from 4.0.0-alpha.33 to 4.0.0-alpha.35.

Release notes

Sourced from @​material-ui/data-grid's releases.

v4.0.0-alpha.35

July 31, 2021

Big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:

@material-ui/[email protected] / @material-ui/[email protected]

Breaking changes

  • [DataGrid] Improve controllable cell edit (#2143) @​m4theushw

    • The onEditCellChange prop was renamed to onEditCellPropsChange.
    • The onEditCellChangeCommitted prop was renamed to onCellEditCommit.
    • The onEditRowModelChange prop was removed. Use the new onEditRowsModelChange prop.
      -onEditRowModelChange?: (params: GridEditRowModelParams)
      +onEditRowsModelChange?: (editRowsModel: GridEditRowsModel)
  • [XGrid] Improve controllable cell edit (#2143) @​m4theushw

    • The cellEditPropsChange event was renamed to editCellPropsChange.
    • The cellEditPropsChangeCommitted event was renamed to cellEditCommit.
    • The cellValueChange event was removed. Listen to cellEditCommit to detect when the value is committed.
    • The editRowModelChange event was renamed to editRowsModelChange.
  • [DataGrid] Improve controllable pagination (#2099) @​flaviendelangle

    • The pageSize is now a controlled prop. If you set a value, you also need to handle updates with onPageSizeChange. See the documentation.

    • Change the controllable API signature:

      // Signature
      -onPageChange?: (params: GridPageChangeParams) => void;
      +onPageChange?: (page: number) => void;
      // Usage
      -<DataGrid onPageChange={(params: GridPageChangeParams) => setPage(params.page)} />
      +<DataGrid onPageChange={(page: number) => setPage(page)} />

      // Signature
      -onPageSizeChange?: (params: GridPageChangeParams) => void;
      +onPageSizeChange?: (pageSize: number) => void;

... (truncated)

Changelog

Sourced from @​material-ui/data-grid's changelog.

4.0.0-alpha.35

July 31, 2021

Big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:

@material-ui/[email protected] / @material-ui/[email protected]

Breaking changes

  • [DataGrid] Improve controllable cell edit (#2143) @​m4theushw

    • The onEditCellChange prop was renamed to onEditCellPropsChange.
    • The onEditCellChangeCommitted prop was renamed to onCellEditCommit.
    • The onEditRowModelChange prop was removed. Use the new onEditRowsModelChange prop.
      -onEditRowModelChange?: (params: GridEditRowModelParams)
      +onEditRowsModelChange?: (editRowsModel: GridEditRowsModel)
  • [XGrid] Improve controllable cell edit (#2143) @​m4theushw

    • The cellEditPropsChange event was renamed to editCellPropsChange.
    • The cellEditPropsChangeCommitted event was renamed to cellEditCommit.
    • The cellValueChange event was removed. Listen to cellEditCommit to detect when the value is committed.
    • The editRowModelChange event was renamed to editRowsModelChange.
  • [DataGrid] Improve controllable pagination (#2099) @​flaviendelangle

    • The pageSize is now a controlled prop. If you set a value, you also need to handle updates with onPageSizeChange. See the documentation.

    • Change the controllable API signature:

      // Signature
      -onPageChange?: (params: GridPageChangeParams) => void;
      +onPageChange?: (page: number) => void;
      // Usage
      -<DataGrid onPageChange={(params: GridPageChangeParams) => setPage(params.page)} />
      +<DataGrid onPageChange={(page: number) => setPage(page)} />

      // Signature
      -onPageSizeChange?: (params: GridPageChangeParams) => void;
      +onPageSizeChange?: (pageSize: number) => void;

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@material-ui/data-grid](https://github.com/mui-org/material-ui-x/tree/HEAD/packages/grid/data-grid) from 4.0.0-alpha.33 to 4.0.0-alpha.35.
- [Release notes](https://github.com/mui-org/material-ui-x/releases)
- [Changelog](https://github.com/mui-org/material-ui-x/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui-org/material-ui-x/commits/v4.0.0-alpha.35/packages/grid/data-grid)

---
updated-dependencies:
- dependency-name: "@material-ui/data-grid"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 1, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 1, 2021

Superseded by #124.

@dependabot dependabot bot closed this Sep 1, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/frontend/material-ui/data-grid-4.0.0-alpha.35 branch September 1, 2021 01:01
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 javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants