blang/semver
Semantic Versioning (semver) library written in golang observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- 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: n/a
- age_days: 4446
- days_rel: n/a
- days_push: 1326
- n_releases_24m: 0
Adoption not part of the score
1049 stars · 102 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Semantic Versioning (semver) library for Go that fully implements the semver 2.0.0 spec. It provides parsing, validation, comparison, range matching with wildcards, and JSON/SQL serialization compatibility.
Use cases
- parse and validate semantic version strings in Go
- compare two semver versions to determine ordering
- check whether a version satisfies a range like >=1.0.0 <2.0.0
- sort a list of versions
- marshal and unmarshal versions to and from JSON
- store versions in a SQL database
When to choose
- you need spec-compliant semver parsing and comparison in Go
- you need version range matching with operators and wildcards
- you want a fast, dependency-free library with only stdlib
- you need JSON or database/sql integration for versions
When to avoid
- you need non-semver versioning schemes
- you are not working in Go
- you need constraint syntax with brackets or complex boolean expressions
Facets
library · maturity stable
parser serialization developer-tools developer-tools version-control apis go cross-platform semver semantic-versioning version-comparison version-ranges golang-library
1 source
- readme: https://github.com/blang/semver · fetched 2026-08-28 · 732e0e77c14c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| blang/semver | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem