docs(version): clarify breaking change rules for major version zero#4307
Merged
JamesHenry merged 1 commit intolerna:mainfrom Mar 12, 2026
Merged
docs(version): clarify breaking change rules for major version zero#4307JamesHenry merged 1 commit intolerna:mainfrom
JamesHenry merged 1 commit intolerna:mainfrom
Conversation
The previous note incorrectly stated that choosing "any non-prerelease version number" with a major version zero would publish all packages. In reality, only specific bumps are considered breaking: - Major bumps are always breaking - Minor bumps are breaking when version < 1.0.0 - Patch bumps are breaking when version < 0.1.0 A regular patch bump (e.g. 0.6.38 → 0.6.39) is not breaking and will only publish changed packages. Closes lerna#4192
|
View your CI Pipeline Execution ↗ for commit 23edabc
☁️ Nx Cloud last updated this comment at |
JamesHenry
approved these changes
Mar 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Note
🤖 This PR was created by @AI-JamesHenry, an AI assistant account guided and overseen by @JamesHenry.
Summary
is-breaking-change.ts) is that only specific bumps are breaking: major bumps always, minor bumps when < 1.0.0, and patch bumps when < 0.1.0Closes #4192
Test plan
website/docs/features/version-and-publish.mdmatches the logic inlibs/commands/version/src/lib/is-breaking-change.tsnpm run format:checkpasses