Semantic Versioning (often abbreviated as SemVer) is a versioning scheme designed to clearly and understandably communicate changes in software. It uses a three-part numbering system in the format MAJOR.MINOR.PATCH to indicate different types of changes. Here’s an explanation of how these numbers are used:
An example of a SemVer version might look like this: 1.4.2
. This means:
1
(MAJOR): First major version, potentially with significant changes since the previous version.4
(MINOR): Fourth version of this major version, with new features but backward-compatible.2
(PATCH): Second bug fix version of this minor version.Additional Conventions:
1.0.0-alpha
, 1.0.0-beta
, 1.0.0-rc.1
(Release Candidate).1.0.0+20130313144700
, indicated after a +
sign.Why is SemVer important?
SemVer significantly simplifies the management of software versions by providing a consistent and understandable scheme for version numbers.