- #24: Fixed edge case issue where constraint "> 0" does not handle "0.0.1-alpha" properly.
- #20: Added MustParse function for versions (thanks @adamreese)
- #15: Added increment methods on versions (thanks @mh-cbon)
- Issue #21: Per the SemVer spec (section 9) a pre-release is unstable and
might not satisfy the intended compatibility. The change here ignores pre-releases
on constraint checks (e.g., ~ or ^) when a pre-release is not part of the
constraint. For example,
^1.2.3
will ignore pre-releases while^1.2.3-alpha
will include them.
- Issue #9: Speed up version comparison performance (thanks @sdboyer)
- Issue #8: Added benchmarks (thanks @sdboyer)
- Updated Go Report Card URL to new location
- Updated Readme to add code snippet formatting (thanks @mh-cbon)
- Updating tagging to v[SemVer] structure for compatibility with other tools.
- Issue #2: Implemented validation to provide reasons a versions failed a constraint.
- Fixed #1: * constraint failing on valid versions.
- Initial release