Ross ROSS = Recommend OSS · open-source software intelligence for agents

hashicorp/go-version

A Go (golang) library for parsing and verifying versions and version constraints. observed · 2026-08-28

github.com/hashicorp/go-version · homepage · Go · MPL-2.0 (copyleft) observed · 2026-08-28

Health v2 · maintenance only

83/100

  • Activity 99
  • Release rhythm 53
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 122
  • age_days: 4543
  • days_rel: 156
  • days_push: 7
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

1770 stars · 164 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Go library for parsing, comparing, and verifying semantic versions and version constraints. It supports prerelease versions, sorting collections of versions, incrementing versions, and checking versions against constraint expressions.

Use cases

  • parse semver version strings in go
  • check if a version satisfies constraints like >= 1.0, < 1.4
  • sort a list of versions correctly including prereleases
  • compare two versions to see which is newer
  • parse versions with custom prefixes like deployment-v1.2.3
  • increment a version number programmatically

When to choose

  • you need SemVer parsing and constraint checking in a Go project
  • you need correct sorting of versions including beta/prerelease tags
  • you want a widely adopted, stable library (6,000+ importers)

When to avoid

  • you need non-SemVer versioning schemes
  • you're not working in Go

Facets

library · maturity stable

parser developer-tools developer-tools programming-languages go cross-platform semver version-constraints version-comparison version-sorting hashicorp algorithms

4 sources

Member repositories

RepositoryRoleHealth v2
hashicorp/go-versionmain83

For agents

markdown · JSON · MCP: product_card(name="hashicorp/go-version")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem