Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Compare the last tag with the branch upon which you want to release (
next
for the alpha / beta releases andmaster
for the current stable version).To do so, use
yarn release:changelog
The options are the following:yarn release:changelog --githubToken YOUR_GITHUB_TOKEN (needs "public_repo" permission) --lastRelease The release to compare against (default: the last one) --release The branch to release (default: master)
You can also provide the github token by setting
process.env.GITHUB_TOKEN
variable.In case of a problem, another method to generate the changelog is available at the end of this page.
Clean the generated changelog, to match the format of https://github.com/mui/mui-x/releases.
Update the root
package.json
's versionUpdate the versions of the other
package.json
files and of the dependencies withyarn release:version
.Fix manually the package version in
x-date-pickers/package.json
andx-date-pickers-pro/package.json
.Open PR with changes and wait for review and green CI.
Merge PR once CI is green, and it has been approved.
Release the packages
yarn
.yarn release:build
.yarn release:publish
(you need your 2FA device).yarn release:tag
.Publish the documentation
The documentation must be updated on the
docs-vX
branch (docs-v4
forv4.X
releases,docs-v5
forv5.X
releases, ...)You can follow the deployment process on the Netlify Dashboard
Once deployed, it will be accessible at https://material-ui-x.netlify.app/ for the
docs-v5
deployment.Publish GitHub release