Releases: hashicorp/go-version
Releases · hashicorp/go-version
v1.6.0
FEATURES:
- Add
Prerelease
function to Constraint
to return true if the version includes a prerelease field (#100)
v1.5.0
FEATURES:
- Use
encoding
TextMarshaler
& TextUnmarshaler
instead of JSON equivalents (#95)
- Add JSON handlers to allow parsing from/to JSON (#93)
v1.4.0
FEATURES:
- Introduce
MustConstraints()
(#87)
Constraints
: Introduce Equals()
and sort.Interface
methods (#88)
v1.3.0
FEATURES:
- Add
Core
function to return a version without prerelease or metadata (#85)
v1.2.1
Prevent Version.Equal
method from panicking on nil
encounter (#73)
v1.2.0
Add GreaterThanOrEqual
+ LessThanOrEqual
helper methods.
v1.1.0
Adds NewSemver
constructor