Skip to content

Releases: hashicorp/go-version

v1.7.0

24 May 10:17
v1.7.0
fcaa532
Compare
Choose a tag to compare

ENHANCEMENTS:

  • Remove reflect dependency (#91)
  • Implement the database/sql.Scanner and database/sql/driver.Value interfaces for Version (#133)

INTERNAL:

  • [COMPLIANCE] Add Copyright and License Headers (#115)
  • [COMPLIANCE] Update MPL-2.0 LICENSE (#105)
  • Bump actions/cache from 3.0.11 to 3.2.5 (#116)
  • Bump actions/checkout from 3.2.0 to 3.3.0 (#111)
  • Bump actions/upload-artifact from 3.1.1 to 3.1.2 (#112)
  • GHA Migration (#103)
  • github: Pin external GitHub Actions to hashes (#107)
  • SEC-090: Automated trusted workflow pinning (2023-04-05) (#124)
  • update readme (#104)

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