Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Version bump script improvements #45492

Open
2 tasks
DiegoAndai opened this issue Mar 5, 2025 · 2 comments
Open
2 tasks

[core] Version bump script improvements #45492

DiegoAndai opened this issue Mar 5, 2025 · 2 comments
Assignees
Labels
core Infrastructure work going on behind the scenes

Comments

@DiegoAndai
Copy link
Member

DiegoAndai commented Mar 5, 2025

An issue to collect improvements we need for the version bump script (release:version)

  • When bumping to a new major or prerelease tag (e.g.,alpha to beta) the script should bump all packages regardless of whether they have changes or not.
  • When a package which follows Material UI versions (e.g., @mui/material, @mui/utils, @mui/system) was skipped in a previous release (because it had no changes) and has to be bumped in the next release (because now it has changes), the script should propose the root's package.json version for it
@DiegoAndai DiegoAndai added the core Infrastructure work going on behind the scenes label Mar 5, 2025
@DiegoAndai
Copy link
Member Author

@Janpot I've created this issue to collect improvements we've discussed about the version bump script. I'll leave it up to you and the @mui/code-infra team to prioritize it.

@Janpot
Copy link
Member

Janpot commented Mar 6, 2025

When a package which follows Material UI versions (e.g., @mui/material, @mui/utils, @mui/system) was skipped in a previous release (because it had no changes) and has to be bumped in the next release (because now it has changes), the script should propose the root's package.json version for it

But we explicitly want independent versioning. Why does it only have to catch up with latest version once there is a change. i.e. In your example: why is it ok for @mui/[email protected] to depend on @mui/[email protected] but it's not ok for @mui/[email protected] to depend on @mui/[email protected]? We either do independent versioning or we don't, I don't really see the benefit of creating a hybrid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes
Projects
None yet
Development

No branches or pull requests

2 participants