Skip to content

Releases: Masterminds/semver

Release 1.5.0

11 Sep 18:25
v1.5.0
805c489
Compare
Choose a tag to compare

Added

  • #103: Add basic fuzzing for NewVersion() (thanks @jesse-c)

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

10 Apr 20:54
v1.4.2
c7af129
Compare
Choose a tag to compare

Changed

  • #72: Updated the docs to point to vert for a console appliaction
  • #71: Update the docs on pre-release comparator handling

Fixed

  • #70: Fix the handling of pre-releases and the 0.0.0 release edge case

Release 1.4.1

02 Apr 14:04
v1.4.1
8d82589
Compare
Choose a tag to compare

Fixed

  • Fixed #64: Fix pre-release precedence issue (thanks @uudashr)

Release 1.4.0

02 Apr 13:44
v1.4.0
Compare
Choose a tag to compare

Changed

  • #61: Update NewVersion to parse ints with a 64bit int size (thanks @zknill)

Release 1.3.1

10 Jul 14:50
v1.3.1
517734c
Compare
Choose a tag to compare

Fixed

  • Fixed #57: number comparisons in prerelease sometimes inaccurate

Release 1.3.0

02 May 10:49
v1.3.0
abff190
Compare
Choose a tag to compare

Added

Fixed

  • #51: Fix handling of single digit tilde constraint (thanks @dgodd)

Changed

  • #55: The godoc icon moved from png to svg

Release 1.2.3

03 Apr 21:12
v1.2.3
Compare
Choose a tag to compare

#46: Fixed 0.x.x and 0.0.x in constraints being treated as *

Release 1.2.2

13 Dec 14:42
v1.2.2
59c29af
Compare
Choose a tag to compare

Fixed

  • #34: Fixed issue where hyphen range was not working with pre-release parsing.

Release 1.2.1

29 Nov 02:11
v1.2.1
52edfc0
Compare
Choose a tag to compare

Fixed:

  • #24: Fixed edge case issue where constraint "> 0" does not handle "0.0.1-alpha"
    properly.

Release 1.2.0

04 Nov 14:20
v1.2.0
05d8cdb
Compare
Choose a tag to compare

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.