0
0
mirror of https://github.com/semver/semver.git synced 2025-08-24 14:58:35 +00:00

Issue 1004: MAJOR should not be incremented unless backward incompatible changes exist

This commit is contained in:
Carl Wiedemann 2024-02-02 16:31:23 -08:00
parent 38a25311c9
commit 6b0757823d

View File

@ -86,9 +86,10 @@ within the private code. It MAY include patch level changes. Patch version
MUST be reset to 0 when minor version is incremented.
1. Major version X (X.y.z | X > 0) MUST be incremented if any backward
incompatible changes are introduced to the public API. It MAY also include minor
and patch level changes. Patch and minor versions MUST be reset to 0 when major
version is incremented.
incompatible changes are introduced to the public API. It SHOULD NOT be
incremented unless backward incompatible changes are introduced to the public
API. It MAY also include minor and patch level changes. Patch and minor versions
MUST be reset to 0 when major version is incremented.
1. A pre-release version MAY be denoted by appending a hyphen and a
series of dot separated identifiers immediately following the patch