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

[material-ui][styles] Remove deprecated exports #45397

Merged
merged 2 commits into from
Feb 25, 2025

Conversation

DiegoAndai
Copy link
Member

The following exports have been deprecated since v5:

  • createMuiTheme
  • experimentalStyled
  • StyledEngineProvider from @mui/material

We can safely remove them, all have updated exports to replace them. The migration is manageable through search and replace, so I'm not currently adding a codemod. We can add one in the future if users report issues.

@DiegoAndai DiegoAndai requested a review from mnajdova February 24, 2025 19:40
@DiegoAndai DiegoAndai self-assigned this Feb 24, 2025
@mui-bot
Copy link

mui-bot commented Feb 24, 2025

Netlify deploy preview

StyledEngineProvider: parsed: -100.00% 😍, gzip: -100.00% 😍

Bundle size report

Details of bundle changes (Toolpad)
Details of bundle changes

Generated by 🚫 dangerJS against 6021662

@DiegoAndai DiegoAndai force-pushed the remove-styles-deprecated-exports branch from 55efaa9 to 4ad87db Compare February 24, 2025 19:45
@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
Copy link
Member

@mnajdova mnajdova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Feb 25, 2025
@DiegoAndai DiegoAndai merged commit d98976c into mui:master Feb 25, 2025
22 checks passed
@DiegoAndai DiegoAndai deleted the remove-styles-deprecated-exports branch February 25, 2025 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants