Replace dependency @material-ui/core with @mui/material ^5.0.0#12483
Replace dependency @material-ui/core with @mui/material ^5.0.0#12483renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
|
Automatic Review Skipped Too many files for automatic review. If you would still like a review, you can trigger one manually by commenting: |
🤖 Augment PR SummarySummary: This PR (Renovate-generated) replaces direct workspace dependencies on Changes:
Technical Notes: This is a major ecosystem switch (MUI v4 → v5) and may require corresponding updates to source imports, peer dependency alignment (e.g. Emotion), and compatibility checks with remaining MUI v4 packages (icons/lab/styles). 🤖 Was this summary useful? React with 👍 or 👎 |
| "@backstage/plugin-permission-react": "workspace:^", | ||
| "@backstage/theme": "workspace:^", | ||
| "@material-ui/core": "^4.12.2", | ||
| "@mui/material": "^5.0.0", |
There was a problem hiding this comment.
@mui/material is added here, but this workspace still has source imports from @material-ui/core (e.g. packages/app-defaults/src/defaults/components.tsx); with Yarn PnP this will likely break builds since @material-ui/core is no longer a declared dependency for the package.
Severity: high
🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.
| "@backstage/theme": "workspace:^", | ||
| "@internal/plugin-catalog-customized": "workspace:^", | ||
| "@material-ui/core": "^4.12.2", | ||
| "@mui/material": "^5.0.0", |
There was a problem hiding this comment.
This package still depends on @material-ui/icons / @material-ui/lab, which (at these v4 versions) typically declare a peer dependency on @material-ui/core; removing @material-ui/core in favor of @mui/material may leave unmet peers or incompatible expectations at runtime.
Severity: high
🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.
| "@date-io/core": "^1.3.13", | ||
| "@material-table/core": "^3.1.0", | ||
| "@material-ui/core": "^4.12.2", | ||
| "@mui/material": "^5.0.0", |
There was a problem hiding this comment.
@mui/material (MUI v5) has required peers like @emotion/react and @emotion/styled; this package now depends on @mui/material but doesn’t list Emotion deps, which can surface as peer-dependency errors under Yarn PnP.
Severity: medium
🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.
| }, | ||
| "peerDependencies": { | ||
| "@material-ui/core": "^4.12.2", | ||
| "@mui/material": "^5.0.0", |
There was a problem hiding this comment.
The repo templates (e.g. packages/cli/templates/default-plugin/package.json.hbs) still reference @material-ui/core, so running yarn new may generate new packages that don’t match this PR’s dependency switch to @mui/material.
Severity: medium
🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
|
This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution! |
This PR contains the following updates:
^4.12.2→^5.0.0^4.9.13→^5.0.0^4.12.4→^5.0.0^4.12.2→^5.0.0This is a special PR that replaces
@material-ui/corewith the community suggested minimal stable replacement version.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.