mirror of
https://github.com/semver/semver.git
synced 2026-07-11 08:02:23 -05:00
[GH-ISSUE #250] Seperating structural and change semantics #1041
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 @EddieGarmon on GitHub (Apr 22, 2015).
Original GitHub issue: https://github.com/semver/semver/issues/250
The more I talk to people about SemVer, the more I explicitly separate the structural semantics from the change semantics.
I think that defining these concepts separately helps alleviate a lot of the pains on when to do what, and how to handle 0.Y.Z versions in a manner that adds the most value for downstream consumers.
How about something like the following?
Summary
A semantic version structurally has:
When comparing two semantic version numbers, you can always tell what type of API change should be expected, which should be one of:
@Ericson2314 commented on GitHub (Jun 28, 2015):
The JSON RFC does a good job of this, introducing groups of non-terminals with a description of their semantic meaning.
@jwdonahue commented on GitHub (Dec 8, 2017):
@EddieGarmon, that appears to be one state machine that is compliant with SemVer, but there are others as well. For instance, according the spec, you can have 0.0.0-n. Unless you intend to issue a PR related to this issue or have further comments/questions, please close this issue at your earliest possible convenience.
@alexandrtovmach commented on GitHub (Jun 10, 2020):
This issue looks staled and will be closed in 10 days if there are no objections. Thanks everyone for contributions, you're amazing 🎆
@EddieGarmon commented on GitHub (Jun 11, 2020):
This has not been addressed, why close?
@alexandrtovmach commented on GitHub (Jun 11, 2020):
@EddieGarmon Thanks for reaching out 👍 Last comment was added 2 years ago, so it's kind of "staled", do you agree? 😄
I'm just trying to clean-up current list of tasks from everything that's not actual anymore #573. I removed "staled" label, and will keep on this issue after urgent things
@alexandrtovmach commented on GitHub (May 14, 2021):
closing in favor of https://github.com/semver/semver/issues/703#issuecomment-841420754