mirror of
https://github.com/semver/semver.git
synced 2026-07-10 19:50:47 -05:00
[GH-ISSUE #28] development order and API compatibility are not the same #6012
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 @Tieske on GitHub (May 27, 2012).
Original GitHub issue: https://github.com/semver/semver/issues/28
Currently the spec prescribes how to calculate precedence, but actually mixes this with development order.
The pre-release versions should not be taken into account when determining compatibility, because if you do, it requires updating the major/minor and patch numbers while working on new releases. If the alpha of 3.2.1 has a bug that is fixed in beta of 3.2.1, then it should have been labeled beta for 3.2.2 because of that bugfix.
To fix it; define 2 distinct precedence calculations;
@Tieske commented on GitHub (Jun 4, 2012):
Created a pull request under issue 30, see https://github.com/mojombo/semver/pull/30
Hence closing this issue.