Skip to content

Instantly share code, notes, and snippets.

@raulghm
Last active August 29, 2015 14:26
Show Gist options
  • Save raulghm/adad56dcda65d7c6cffc to your computer and use it in GitHub Desktop.
Save raulghm/adad56dcda65d7c6cffc to your computer and use it in GitHub Desktop.
Semantic Versioning

Semantic Versioning

1.2.3

major minor patch
1 2 3

major: incompatible API changes

minor: backwards-compatible functionality

patch: backwards-compatible bug fixes

Version Explanation
1.2.3 A specific version
>1.2.3 Greater than a specific version
<1.2.3 Less than a specific version
>=1.2.3 Greater than or equal to
<=1.2.3 Less than or equal
~1.2.3 (>=1.2.3 <1.3.0) close to 1.2.3
~1.2 (>=1.2.0-0 <1.3.0-0) any version starting with 1.2
^1.2.3 (>=1.2.3 <2.0.0) compatible with 1.2.3
^0.1.3 (0.1.3) 0.x.x = unstable
^1.2 (>=1.2.0-0 <2.0.0-0) any version compatible with 1.2
* any version or last version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment