Semantic Versioning 2.0.0 | Semantic Versioning
In a nut shell
Semantic Versioning is a simple set of rules and requirements that dictate how version numbers are assigned and incremented
⇒ Easy to understand what has been modified from the way they change one version to the next 🙌
- MAJOR version when you make incompatible API changes
- MINOR version when you add functionality in a backwards compatible manner
- PATCH version when you make backwards compatible bug fixes
Some points from the spec(I picked very few 🙇🏻♂️)
- No leading zero
- Good: 1.0.0
- Bad: 01.0.0
- Major version zero (0.y.z) is for initial development
- When the major version is incremented, the patch and minor will be reset to 0
- When the minor version is incremented, the patch will be reset to 0
Details
Please refer to this official site Semantic Versioning 2.0.0 | Semantic Versioning
Top comments (0)