mirror of
https://github.com/semver/semver.git
synced 2026-07-10 19:50:47 -05:00
[GH-ISSUE #681] proposal: LIBRARY version #3181
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 @coldnebo on GitHub (Mar 26, 2021).
Original GitHub issue: https://github.com/semver/semver/issues/681
While looking at Rails versioning, I notice that some PATCH level changes have breaking changes now. For example:
SemVer 2.0 says:
If Rails followed this advice, then the logical semver increment from 5.2.4 would have to be 6.x, not 5.2.4.1. But Rails 6.x already means something bigger than an incompatible API change -- it means a group of incompatible architectural changes with the previous version.
Indeed, many gems in the ecosystem face this dilemma.
Proposal: LIBRARY version
Given a version number LIBRARY.MAJOR.MINOR.PATCH, increment the:
So, for the above example, the bump could have been: 5.3.0.0
@coldnebo commented on GitHub (Mar 26, 2021):
ah, sorry, I'll circle back with an RFC for this.
@ljharb commented on GitHub (Mar 26, 2021):
Rails doesn’t follow semver.