mirror of
https://github.com/semver/semver.git
synced 2025-08-28 00:35:30 +00:00
Semantic Versioning Specification
As this is relaxing a constraint, it would be a minor update (2.1) to the specification - all existing implementations would remain compliant. The relaxation of the increment by 1 requirements from SemVer 1.0 allowed, where it was necessary, to skip an increment, e.g. from release 2.4.10, change to 2.6.0 (or 4.0.0). But, as the specification currently stands it would not be possible change from 2.4.10 to 2.5.1 - it MUST be 2.5.0 (or 2.6.0, etc). Changing from MUST to SHOULD still encourages the reset, but allows for situations where it is not followed. Example, moving from version 2.4.10, there could be an extensive period of 3.0.0-beta.1, 3.0.0-beta.2, etc, that never actually gets released, but is widely known; if the decision is made to skip a version, then this change would allow 3.1.0 to be developed (releasing 3.1.0-beta.1, etc) and eventually released (as 3.1.0). Without this change, the only option would be to bump to 4.0.0. |
||
---|---|---|
.github/workflows | ||
.gitignore | ||
.remarkrc | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
package-lock.json | ||
package.json | ||
README.md | ||
semver.md | ||
semver.svg |
Semantic Versioning Specification
"Semantic Versioning" or "SemVer" contains a set of rules and requirements that dictate how version numbers are assigned and incremented. You can find the full document in semver.md or visit our official website semver.org to find previous versions and localized specifications.
Changes to the document are published to the website by a GitHub Actions workflow which runs once each day.
Contributing
See the contribution guide.