When there is a new release for Core products (Material UI, Base UI, Joy UI, Pigment CSS, MUI System), the release process goes on pre-alpha phase, alpha phase, beta phase, and finally, a stable one.
Once the release process is started, a few steps are needed to start delivering the alpha and beta versions of the new major version, for which an infrastructure setup is needed, which will be discussed in this document.
For a stable version, the default branch is master
, but when the release process is started, the new branch next
becomes the default branch, and from that point onwards, only the important bug fixes are ported back to the master branch; all the rest of the new features, enhancements, etc. are merged into the next
branch until the stable release is done.
Before starting the alpha, these steps need to be taken on a date mutually decided by the team (examples below will assume the major version being released to be v6
):
next
from the current master
branch commit.next
the default branch in GitHub https://github.com/mui/material-ui/settings.next
to match those for master
master
to next
.breaking change
label on the PR and closing the respective checklist items in the preparing the release umbrella issuenext
and cherry-pick the bug fixes, localization changes (or other important issues) on the master to be released under the currently active major.v5.*
and v6.*
)master
as the currently active major versionNetlify docs deployments are made from thenext
git branch. So, pushing the current state of the next
branch is sufficient to start working on that.
master
version dropdown✅ Update the deploy script in docs/package.json to push to next:next
instead of master:latest
✅ Change the release:publish
script to use the next
tag
(normally no longer needed) Update Argos CI’ baseline branch to be next
, https://app.argos-ci.com/mui/mui-x/settings
✅ Update the instance of #default-branch-switch
in the source. Example: https://github.com/mui/material-ui/pull/41552
Update the examples to use the next tag - https://github.com/mui/material-ui/pull/41701