Skip to content

[infra] Prepare for the v7 release#48222

Merged
silviuaavram merged 9 commits intomui:v7.xfrom
silviuaavram:release/prepare-for-release
Apr 8, 2026
Merged

[infra] Prepare for the v7 release#48222
silviuaavram merged 9 commits intomui:v7.xfrom
silviuaavram:release/prepare-for-release

Conversation

@silviuaavram
Copy link
Copy Markdown
Member

@silviuaavram silviuaavram commented Apr 7, 2026

Copilot AI review requested due to automatic review settings April 7, 2026 13:05
@mui-bot
Copy link
Copy Markdown

mui-bot commented Apr 7, 2026

Netlify deploy preview

Bundle size report

Bundle Parsed size Gzip size
@mui/material 0B(0.00%) 0B(0.00%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 80a31a0

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Prepares the repository/docs tooling for the Material UI v7 release by switching documentation hosts to the v7 domain and ensuring examples/sandboxes install v7 packages.

Changes:

  • Update documentation and in-repo links from mui.com to v7.mui.com in key surfaces (READMEs, docs, warnings).
  • Pin install instructions and sandbox dependency versions to v7 ranges (e.g. @^7.0.0, @^7.0.0-beta).
  • Adjust release publishing script to publish under a dedicated dist-tag (latest-v7).

Reviewed changes

Copilot reviewed 53 out of 54 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
README.md Point main README links/assets at v7.mui.com.
packages/mui-system/src/Grid/Grid.test.js Update warning message migration URL to v7 host.
packages/mui-system/src/Grid/deleteLegacyGridProps.ts Update legacy grid warning migration URL to v7 host.
packages/mui-system/src/createBreakpoints/createBreakpoints.d.ts Update API doc links to v7 host.
packages/mui-system/README.md Pin install command to v7 and update docs link to v7 host.
packages/mui-styled-engine/README.md Update docs link to v7 host.
packages/mui-styled-engine-sc/README.md Update docs link to v7 host.
packages/mui-material/src/styles/createThemeNoVars.js Update error message docs link to v7 host.
packages/mui-material/README.md Pin install command to v7 and update logo link/asset host.
packages/mui-lab/README.md Pin install commands to v7 ranges and update docs link to v7 host.
packages/mui-icons-material/README.md Pin install command to v7 and update docs links to v7 host.
packages/mui-docs/README.md Pin install command to v7 and adjust wording (“Material UI”).
packages/mui-codemod/README.md Pin npx @mui/codemod usage to v7 range and update one migration link to v7 host.
packages/api-docs-builder-core/materialUi/projectSettings.ts Switch API docs base URL to https://v7.mui.com.
package.json Publish releases under the latest-v7 dist-tag.
examples/material-ui-vite/README.md Update templates link to v7 host.
examples/material-ui-vite-ts/README.md Update templates link to v7 host.
examples/material-ui-vite-tailwind-ts/README.md Update templates link to v7 host.
examples/material-ui-via-cdn/README.md Update templates link to v7 host.
examples/material-ui-remix-ts/README.md Update interoperability/templates links to v7 host.
examples/material-ui-react-router-ts/README.md Update templates link to v7 host.
examples/material-ui-preact/README.md Update interoperability/templates links to v7 host.
examples/material-ui-pigment-css-vite-ts/README.md Update templates link to v7 host.
examples/material-ui-pigment-css-nextjs-ts/README.md Update customization/templates links and wording to v7 host.
examples/material-ui-nextjs/README.md Update customization/templates links and wording to v7 host.
examples/material-ui-nextjs-ts/README.md Update customization/templates links and wording to v7 host.
examples/material-ui-nextjs-pages-router/README.md Update interoperability/routing/templates links to v7 host.
examples/material-ui-nextjs-pages-router-ts/README.md Update interoperability/routing/templates links to v7 host.
examples/material-ui-gatsby/README.md Update interoperability/templates links to v7 host.
examples/material-ui-express-ssr/README.md Update SSR/interoperability/templates links to v7 host.
examples/joy-ui-vite-ts/README.md Update templates link to v7 host.
examples/joy-ui-nextjs-ts/README.md Update templates link to v7 host.
examples/joy-ui-cra-ts/README.md Update templates link to v7 host.
docs/src/modules/sandbox/StackBlitz.test.js Pin sandbox @mui/material dependency to ^7.0.0.
docs/src/modules/sandbox/Dependencies.ts Default MUI dependency range now returns ^7.0.0 (see review comment re: lab).
docs/src/modules/sandbox/Dependencies.test.js Update expected sandbox dependency ranges for v7.
docs/src/modules/sandbox/CodeSandbox.test.js Pin sandbox @mui/material dependency to ^7.0.0.
docs/src/modules/components/Head.tsx Switch canonical/alternate host from mui.com to v7.mui.com.
docs/data/system/getting-started/installation/installation.md Pin install commands for system/styled-engine-sc to v7.
docs/data/material/migration/upgrade-to-v7/upgrade-to-v7.md Pin codemod invocations to v7 package range.
docs/data/material/migration/upgrade-to-v7/upgrade-to-native-color.md Pin @mui/material install commands to v7 range.
docs/data/material/integrations/styled-components/styled-components.md Update styled-engine(-sc) version ranges to v7.
docs/data/material/getting-started/templates/sign-up/README.md Update demo link to v7 host.
docs/data/material/getting-started/templates/sign-in/README.md Update demo link to v7 host.
docs/data/material/getting-started/templates/sign-in-side/README.md Update demo link to v7 host.
docs/data/material/getting-started/templates/marketing-page/README.md Update demo link to v7 host.
docs/data/material/getting-started/templates/dashboard/README.md Update demo link to v7 host.
docs/data/material/getting-started/templates/crud-dashboard/README.md Update demo link to v7 host.
docs/data/material/getting-started/templates/checkout/README.md Update demo link to v7 host.
docs/data/material/getting-started/templates/blog/README.md Update demo link to v7 host.
docs/data/material/getting-started/installation/installation.md Pin install commands to v7 range.
docs/data/material/components/material-icons/material-icons.md Pin install commands to v7 ranges.
docs/data/material/components/icons/icons.md Pin install commands to v7 range.
docs/data/material/components/about-the-lab/about-the-lab.md Pin lab/material install commands to v7 ranges.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@zannager zannager added the scope: docs-infra Involves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305). label Apr 7, 2026
@zannager zannager requested a review from a team April 7, 2026 14:57
Copy link
Copy Markdown
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.

Preemptively approving, it would be nice to resolve the raised links before merging.

@brijeshb42
Copy link
Copy Markdown
Contributor

brijeshb42 commented Apr 7, 2026

no changes required for formatMuiErrorMessage since we retain all the error codes regardless of version updates.

@mnajdova mnajdova mentioned this pull request Apr 7, 2026
1 task
@Janpot
Copy link
Copy Markdown
Member

Janpot commented Apr 7, 2026

@siriwatknp
Copy link
Copy Markdown
Member

siriwatknp commented Apr 7, 2026

https://github.com/mui/material-ui/blob/v7.x/scripts/buildLlmsDocs/index.ts#L71 needs to follow the host of the docs. cc @siriwatknp

@Janpot but eventually, the value will be 'ORIGIN = https://${process.env.HEAD.replace('.x', '')}.mui.com;' because the v7.x deploy is not on master branch, is my understanding is correct?

image

@mnajdova
Copy link
Copy Markdown
Member

mnajdova commented Apr 7, 2026

@Janpot but eventually, the value will be 'ORIGIN = https://${process.env.HEAD.replace('.x', '')}.mui.com;' because the v7.x deploy is not on master branch, is my understanding is correct?

Correct 👌

@mnajdova
Copy link
Copy Markdown
Member

mnajdova commented Apr 7, 2026

We can go ahead and merge, we can update these links afterwards, it's not blocking.

@silviuaavram silviuaavram merged commit dbb5734 into mui:v7.x Apr 8, 2026
23 checks passed
@silviuaavram silviuaavram deleted the release/prepare-for-release branch April 8, 2026 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: docs-infra Involves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants