Skip to content

Releases: Masterminds/semver

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.

Release 1.1.1

30 Jun 14:49
v1.1.1
8d04313
Compare
Choose a tag to compare

Changed

  • 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.

Release 1.1.0

30 Jun 13:52
Compare
Choose a tag to compare

Issue #2: Implemented validation to provide reasons a versions failed a constraint.