Skip to content

Commit 1a92d90

Browse files
committed
Clarify PVP/SemVer comparison
Four-component versioning (A.B.C.D) with `D` being patch-level change (lower risk than minor-level change) is ubiquitous, but not mandated by the PVP.
1 parent 537bcdb commit 1a92d90

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pvp-faq.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,13 @@ The most apparent somewhat superficial difference between SemVer and the
2929
PVP is which components of the version number are interpreted as
3030
major, minor, and patch-level numerals:
3131

32-
- PVP: *MAJOR.MAJOR.MINOR.PATCH*
32+
- PVP: *MAJOR.MAJOR.MINOR.PATCH* [^1]
3333
- SemVer: *MAJOR.MINOR.PATCH*
3434

35+
[^1]: In PVP, components beyond the third are optional, to be used in any
36+
way the package maintainer sees fit. In practice, four-component
37+
versioning (`A.B.C.D`) is standard.
38+
3539
While having a 2-part major component may confuse people used to
3640
SemVer, it provides an additional dimension for communicating API
3741
changes:

0 commit comments

Comments
 (0)