Skip to content

Releases: hashicorp/go-version

v1.8.0

28 Nov 04:49
505335e

Choose a tag to compare

What's Changed

  • Add CODEOWNERS file in .github/CODEOWNERS by @mukeshjc in #145
  • Linting by @KaushikiAnand in #151
  • Correct typos in comments by @alexandear in #134
  • Migrate GitHub Actions updates from TSCCR to Dependabot by @nodyhub in #155
  • Bump the github-actions-backward-compatible group with 2 updates by @dependabot[bot] in #157
  • Update doc reference in README by @alexandear in #135
  • Bump the github-actions-breaking group with 3 updates by @dependabot[bot] in #156
  • [Compliance] - PR Template Changes Required by @compliance-pr-automation-bot[bot] in #158
  • Add benchmark test for version.String() by @Manikkumar1988 in #159
  • Bytes implementation by @Manikkumar1988 in #161
  • Bump actions/cache from 4.2.3 to 4.2.4 in the github-actions-backward-compatible group by @dependabot[bot] in #167
  • Bump actions/checkout from 4.2.2 to 5.0.0 in the github-actions-breaking group by @dependabot[bot] in #166
  • Bump the github-actions-breaking group across 1 directory with 2 updates by @dependabot[bot] in #171
  • [IND-4226] [COMPLIANCE] Update Copyright Headers by @oss-core-libraries-dashboard[bot] in #172
  • drop init() by @florianl in #175

New Contributors

Full Changelog: v1.7.0...v1.8.0

v1.7.0

24 May 10:17
v1.7.0
fcaa532

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

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

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

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

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

Choose a tag to compare

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

v1.2.0

22 Apr 23:14
ac23dc3

Choose a tag to compare

Add GreaterThanOrEqual + LessThanOrEqual helper methods.

v1.1.0

07 Jan 18:49
d40cf49

Choose a tag to compare

Adds NewSemver constructor