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

[DataGrid] Make data source stable #16710

Merged
merged 10 commits into from
Feb 25, 2025

Conversation

MBilalShafi
Copy link
Member

@MBilalShafi MBilalShafi commented Feb 24, 2025

Closes #15488

Changelog

Breaking changes

  • The data source feature and its related props are now stable.

     <DataGridPro
    -  unstable_dataSource={dataSource}
    -  unstable_dataSourceCache={cache}
    -  unstable_lazyLoading
    -  unstable_lazyLoadingRequestThrottleMs={100}
    +  dataSource={dataSource}
    +  dataSourceCache={cache}
    +  lazyLoading
    +  lazyLoadingRequestThrottleMs={100}
     />
  • The data source API is now stable.

    - apiRef.current.unstable_dataSource.getRows()
    + apiRef.current.dataSource.getRows()

@MBilalShafi MBilalShafi added breaking change component: data grid This is the name of the generic UI component, not the React module! v8.x labels Feb 24, 2025
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Feb 24, 2025

This comment was marked as outdated.

@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Feb 24, 2025
@MBilalShafi MBilalShafi marked this pull request as ready for review February 24, 2025 20:07
@MBilalShafi MBilalShafi requested a review from a team February 24, 2025 20:08
@arminmeh
Copy link
Contributor

I assume that we also need to put 'New' label to the server-side data menu item(s)

@MBilalShafi MBilalShafi merged commit 14a188d into mui:master Feb 25, 2025
18 checks passed
@MBilalShafi MBilalShafi deleted the stablize-data-source branch February 25, 2025 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change component: data grid This is the name of the generic UI component, not the React module! v8.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[data grid] Mark some unstable features stable
3 participants