mirror of
https://github.com/semver/semver.git
synced 2026-07-11 03:53:53 -05:00
[GH-ISSUE #752] Improve documentation around major-version-zero rules #5618
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @privatenumber on GitHub (Sep 1, 2021).
Original GitHub issue: https://github.com/semver/semver/issues/752
Based on the npm docs, seems that in major version zero, semver rules are shifted over.
According to the npm docs:
My understanding based off of this is that a breaking change released from version
0.x.y, will only bumpx.I don't disagree with this behavior, but seems many expect it to be
1.0.0. I did too before I read the npm semver docs.If this behavior is not npm specific, I think it should be documented clearly.
@ljharb commented on GitHub (Sep 1, 2021):
It is npm specific at this point.
@privatenumber commented on GitHub (Sep 1, 2021):
Thanks for confirming.
Moving request over to https://github.com/npm/node-semver/issues/344.