Masterminds/semver
Work with Semantic Versions in Go observed · 2026-08-28
Health v2 · maintenance only
81/100
- Activity 97
- Release rhythm 49
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 263.0
- age_days: 3982
- days_rel: 125
- days_push: 19
- n_releases_24m: 3
Adoption not part of the score
1431 stars · 166 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, sorting, and constraining Semantic Versions. It supports strict SemVer 2.0 parsing, coercion of loose versions, and constraint checks with tilde and caret ranges.
Use cases
- parse semantic versions in go
- compare version numbers in go
- check if a version satisfies constraints like ^1.2.0
- sort a list of versions
- handle versions with a v prefix
- validate semver strings
When to choose
- you need robust semver parsing and constraint checking in a Go project
- you need tilde/caret range compatibility with other ecosystems' tooling
- you want a mature, widely used library (used by Helm and dep)
When to avoid
- you need version handling in a language other than Go
- you need full non-semver version scheme support (e.g., arbitrary versioning schemes)
Facets
library · maturity active
parser developer-tools developer-tools version-control go semver semantic-versioning version-constraints version-comparison algorithms
1 source
- readme: https://github.com/Masterminds/semver · fetched 2026-08-28 · 39214f1e462c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Masterminds/semver | main | 81 |
For agents
markdown · JSON · MCP: product_card(name="Masterminds/semver")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem