Semantic Versioning

Semver is used in popular package managers like npm/yarn. Semantic versioning uses the following formula:

1.2.3 -> MAJOR.MINOR.PATCH

Given a version number MAJOR.MINOR.PATCH, increment the:

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[1]

Or put another way:

Ranges

References

  1. https://semver.org/
  2. https://github.com/npm/node-semver
  3. Semver cheatsheet

Last modified: 202302151616