1.0.0 = MAJOR.MINOR.PATCH
- 3º digit = backward compatible bug fixes
- 2º digit = backward compatible new features
- 1ª digit = changes that break backward compatibility
- optionally, in pre-release versions, you can append to the MAJOR.MINOR.PATCH a hyphen and a series of dot separated identifiers, e.g.
1.0.0-alpha.1
- a pre-release version indicates that the version is unstable and might not satisfy the intended compatibility requirements
- identifiers MUST comprise only ASCII alphanumerics and hyphen [0-9A-Za-z-]
- common pre-release parts:
alpha.1
,alpha.2
= feature incompletebeta.1
,beta.2
= feature completerc.1
,rc.2
= release candidate, will be release unless there is a last minute bug found
- mustn't contain leading zeroes
- The first version (still in the initial development/pre-release phase) is
0.1.0
not0.0.1
, as no bug fix have taken place - after finish the initial development/pre-release phase, use
1.0.0
to the first published version
- tilde = will update you to all future patch versions
- carret = will update you to all future minor/patch versions
- patch releases
1.0 or 1.0.x
= any patch version of 1.0~1.0.4
= any patch version of 1.0 equal or greter than 4
- minor releases
1 or 1.x
= any minor version of 1^1.2.3
= any minor version of 1 equal or greater than 2
- major releases
* or x