mirror of
https://github.com/semver/semver.git
synced 2026-07-10 19:50:47 -05:00
[GH-ISSUE #807] Question: Do bump in version implies an actual change for SemVer? #4774
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 @pak3nuh on GitHub (Feb 22, 2022).
Original GitHub issue: https://github.com/semver/semver/issues/807
It might seem like common sense that if a version changes, then something in the code changes, but there are nuances.
For instance there might be branding strategies like bumping a product version to a new major early or there might side effects of bundling components where we make an increment on one of the components, but all others are bumped just because they belong to the same global package.
I've looked at the spec and I've only seen that if something changes, then it MUST be versioned, but haven't seen the opposite. If something hasn't changed, CAN it be versioned?
@ljharb commented on GitHub (Feb 22, 2022):
Yes, a change is not required - although bumping a version when no change is included causes churn for consumers, and so may be seen as a hostile act if done frequently.
@JohnTitor commented on GitHub (Aug 13, 2022):
I think this is not something to clarify on the semver specification, so just closing in favor of the above answer.