mirror of
https://github.com/semver/semver.git
synced 2026-07-10 19:50:47 -05:00
[GH-ISSUE #82] Pre-release version semantics #5178
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 @back2dos on GitHub (Mar 19, 2013).
Original GitHub issue: https://github.com/semver/semver/issues/82
The current concept of pre-release versions seems a little confusing.
Given that a patch should be backward compatible and not introduce new functionality, it seems that it is not meaningful to have a pre-release version of a patch. So in essence, shouldn't a pre-release always be on the scope of a minor or major update? It would then occur to me that the natural progression is something like:
Rather than opening up a whole new space for pre-release versioning (that virtually has no restrictions), I think it would make sense to say something roughly along the lines of this (not very exact or entirely thought through but hopefully gets the core idea across):
I would point out that alpha, beta and rc are broadly established terms, so it seems sensible to me to restrict the choice to those (and expand the spec to include details on when each of these is appropriate). Somebody who issues an "omicron" pre-release clearly is just making things up.
Does any of this make sense?
@haacked commented on GitHub (Mar 19, 2013):
I think this is overthinking it to be honest. It's probably not common to have a pre-release for a patch, but why prevent it? It just adds unnecessary complexity.
Also, there may be good reason to have a pre-release for a patch. Perhaps the patch is a security patch that retains back compat. You may want to issue a beta of the patch before you release it to everybody.
@jeffhandley commented on GitHub (Apr 30, 2013):
Any objections to closing this out and leaving the spec as-is in this regard?
@haacked commented on GitHub (May 6, 2013):
I'll close it for now. If someone feels strongly about it we can re-open.