Skip to content

Releases: hashicorp/go-version

v1.6.0

28 Jun 09:09
Compare
Choose a tag to compare

FEATURES:

  • Add Prerelease function to Constraint to return true if the version includes a prerelease field (#100)

v1.5.0

19 May 00:03
1a9a0e4
Compare
Choose a tag to compare

FEATURES:

  • Use encoding TextMarshaler & TextUnmarshaler instead of JSON equivalents (#95)
  • Add JSON handlers to allow parsing from/to JSON (#93)

v1.4.0

05 Jan 06:35
4cadd97
Compare
Choose a tag to compare

FEATURES:

  • Introduce MustConstraints() (#87)
  • Constraints: Introduce Equals() and sort.Interface methods (#88)

v1.3.0

31 Mar 15:50
c2de231
Compare
Choose a tag to compare

FEATURES:

  • Add Core function to return a version without prerelease or metadata (#85)

v1.2.1

17 Jun 17:18
59da58c
Compare
Choose a tag to compare

Prevent Version.Equal method from panicking on nil encounter (#73)

v1.2.0

22 Apr 23:14
ac23dc3
Compare
Choose a tag to compare

Add GreaterThanOrEqual + LessThanOrEqual helper methods.

v1.1.0

07 Jan 18:49
d40cf49
Compare
Choose a tag to compare

Adds NewSemver constructor