Masterminds Semver Versions Save

Work with Semantic Versions in Go

v1.4.1

6 years ago

Fixed

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

v1.4.0

6 years ago

Changed

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

v1.3.1

6 years ago

Fixed

  • Fixed #57: number comparisons in prerelease sometimes inaccurate

v1.3.0

7 years ago

Added

Fixed

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

Changed

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

v1.2.3

7 years ago

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

v1.2.2

7 years ago

Fixed

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

v1.2.1

7 years ago

Fixed:

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

v1.2.0

7 years ago

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.

v1.1.1

7 years ago

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.

1.1.0

7 years ago

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