[infra] Prepare for the v7 release#48222
Conversation
Netlify deploy preview
Bundle size report
|
There was a problem hiding this comment.
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.comtov7.mui.comin 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.
|
Should we update:
We can do another pass on the https://mui.com links to see if we need to do more changes. For the ones we do not need to change let's also add |
mnajdova
left a comment
There was a problem hiding this comment.
Preemptively approving, it would be nice to resolve the raised links before merging.
|
no changes required for |
|
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 =
|
Correct 👌 |
|
We can go ahead and merge, we can update these links afterwards, it's not blocking. |

Uh oh!
There was an error while loading. Please reload this page.