Registry / utility / java-semver

java-semver

JSON →
library0.10.2javamavenunverified

Java implementation of the Semantic Versioning specification for parsing, comparing, and validating version strings.

utility
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

com.github.zafarkhaja.java.semver.Version

Parse and compare semantic versions

import com.github.zafarkhaja.java.semver.Version; Version v1 = Version.valueOf("1.2.3"); Version v2 = Version.valueOf("2.0.0"); System.out.println(v1.compareTo(v2));
Debug
Known footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
11 hits · last 30 days
gptbot
3
claudebot
3
Resources