mirror of
https://github.com/semver/semver.git
synced 2026-07-11 03:53:53 -05:00
[GH-ISSUE #259] Non-linear developement #6173
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 @Ericson2314 on GitHub (Jun 29, 2015).
Original GitHub issue: https://github.com/semver/semver/issues/259
Larger projects usually maintain multiple branches of releases. This is done to offer both stability and flexibility. An example of this would be backporting a security fix to an old release.
It is possible to version the project so that the comparability between releases obeys semver's requirements--in other words so the project can be consumed as if it were versioned with semver. However it is not clear how one should go about doing this. For example:
Assume
1.1.0and1.2.0,2.0.0-alpha,2.0.0are released. An bug is found affecting all versions. Should I release1.1.1? Can I release2.0.0-alpha2?@FichteFoll commented on GitHub (Jun 29, 2015):
Depends on the adaptation of that software. If there is a need to support minor versions, then release
1.1.1,1.2.1and2.0.1. If there is a need to support major versions, release1.2.1and2.0.1. Otherwise, only release2.0.1. (By "need" I mean if others are restricting your dependency to a minor version because of incompatibilities with the next minor release (shouldn't be the case if you correctly follow sever) or if the update process is complicated.)Pre-releases do not need fix releases since 2.0.0 comes immediately after 2.0.0-alpha already (assuming this is the latest pre-release). People shouldn't be using pre-releases longer than they need to, i.e. when the next stable is released.
@Ericson2314 commented on GitHub (Jun 29, 2015):
But since there are no breaking changes between versions equal up to minor release, why should anyone support any but the last?
@jwdonahue commented on GitHub (Dec 8, 2017):
@Ericson2314
I don't understand that question. Do you still need an answer? If not, please close this issue at your earliest possible convenience.