talira

Compare

semver (Go)go-semvergo-version
What it isParse, sort and check semantic versions against constraints in GoParse, compare and bump semantic version strings in GoA Go library for parsing and verifying versions and version constraints
KindOpen sourceOpen sourceOpen source
Trust0.420.310.48
Stars14493671780
Last commit2026-08-142026-02-062026-10-16
LicenceMITApache-2.0MPL-2.0
PricingFree and open sourceFree and open sourceFree and open source
Free tierYesYesYes
Self-hostable———
Ways to run it———
SOC 2———
HIPAA———
SSO———
API———
Plugins———
MCP server———
CompanyMastermindsCoreOSHashiCorp
acquired by IBM (2025)
Features
  • strict and coercing version parsing
  • sorting versions
  • constraint checking with hyphen ranges, wildcards, ~ and ^
  • optional v prefix
  • Parses semantic version strings, with pre-release and metadata parts
  • Compare, Equal and LessThan, with pre-release precedence
  • Sorts lists of versions
  • BumpMajor, BumpMinor and BumpPatch
  • Works as a flag.Value and marshals to JSON and YAML
  • parse versions and compare them (less than, greater than, equal)
  • version constraints such as '>= 1.0, < 1.4'
  • sort a collection of versions, prereleases included
  • strip a custom prefix before parsing
  • increment versions
Limitations
  • The 1.x line is no longer maintained; use v3