Fork me on GitHub

slimver

This repository describes slimver which is a simplified, opinionated, and strict variant of the semver spec. If it doesn't fit your needs, then that is likely by design and you should continue with using semver.

Feel free to open an issue if you would like to discuss aspects of the design though.

unstable

Rules

Version Strings

Ranges

Only simple version range expressions are permitted:

NOTE: The special pre 1.0.0 version range matching expressions from node-semver have been replaced with simpler rules (see here and here for more info behind why).

Range Examples

version min max
^1.2.3 1.2.3 1.65535.65535
^0.1.2 0.1.2 0.65535.65535
^0.0.1 0.0.1 0.65535.65535
~1.2.3 1.2.3 1.65535.65535
~0.1.2 0.1.2 0.65535.65535
~0.0.1 0.0.1 0.65535.65535
1.x.x 1.0.0 1.65535.65535
1.1.x 1.1.0 1.1.65535

Benefits

Implementations

Feedback

Drop an issue in the source repo, or add your opinion to any of the existing issues.

Other Reading

The following sites, issues, posts, etc are all worth a look:

License

Creative Commons - CC BY 3.0