Releases: Masterminds/semver
Releases · Masterminds/semver
Release 1.5.0
Added
Changed
- #82: Clarify wildcard meaning in range constraints and update tests for it (thanks @greysteil)
- #83: Clarify caret operator range for pre-1.0.0 dependencies (thanks @greysteil)
- #72: Adding docs comment pointing to vert for a cli
- #71: Update the docs on pre-release comparator handling
- #89: Test with new go versions (thanks @thedevsaddam)
- #87: Added $ to ValidPrerelease for better validation (thanks @jeremycarroll)
Fixed
- #78: Fix unchecked error in example code (thanks @ravron)
- #70: Fix the handling of pre-releases and the 0.0.0 release edge case
- #97: Fixed copyright file for proper display on GitHub
- #107: Fix handling prerelease when sorting alphanum and num
- #109: Fixed where Validate sometimes returns wrong message on error
Release 1.4.2
Release 1.4.1
Release 1.4.0
Release 1.3.1
Fixed
- Fixed #57: number comparisons in prerelease sometimes inaccurate
Release 1.3.0
Release 1.2.3
#46: Fixed 0.x.x and 0.0.x in constraints being treated as *
Release 1.2.2
Fixed
- #34: Fixed issue where hyphen range was not working with pre-release parsing.
Release 1.2.1
Fixed:
- #24: Fixed edge case issue where constraint "> 0" does not handle "0.0.1-alpha"
properly.
Release 1.2.0
Added
- #20: Added MustParse function for versions (thanks @adamreese)
- #15: Added increment methods on versions (thanks @mh-cbon)
Fixed
- 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.