Skip to content

Semantic Versioning

SemVer

Easy — everyone uses thisGeneral Dev

ELI5 — The Vibe Check

Semantic versioning uses three numbers — MAJOR.MINOR.PATCH — where each number means something. PATCH (1.0.1) = bug fix. MINOR (1.1.0) = new feature, nothing breaks. MAJOR (2.0.0) = breaking changes, your code might break. It's a contract between the library author and you: 'I promise this update won't break your stuff unless I bump the major version.' When authors follow it. Which is... sometimes.

Real Talk

Semantic Versioning (SemVer) is a versioning convention using MAJOR.MINOR.PATCH format (e.g., 2.4.1) where MAJOR indicates incompatible API changes, MINOR indicates backward-compatible functionality additions, and PATCH indicates backward-compatible bug fixes. Pre-release versions use suffixes (1.0.0-beta.1). SemVer is the standard for npm, Cargo, and most package ecosystems. It enables dependency resolution tools to safely auto-update within compatible ranges (~, ^).

When You'll Hear This

"Bump the major version — this PR changes the API response format." / "The caret (^) in package.json means 'any compatible minor/patch update.'"

Made with passive-aggressive love by manoga.digital. Powered by Claude.