IT lexicon › Programming › Semantic versioning

Semantic versioning

Programming På svenska → Updated: 2026-11-13

A versioning scheme (MAJOR.MINOR.PATCH) where the version number signals the type of changes made.

Semantic Versioning (SemVer) was formalized in 2009 by Tom Preston-Werner. MAJOR increments on breaking changes, MINOR for backwards-compatible new features, PATCH for bug fixes. This convention lets dependency managers (npm, Maven, pip) automatically decide which versions are safe to upgrade to.

SemVer is a standard for new projects but not universal — many use alternative schemes like calendar versioning (2024.11) or simple sequential numbers. It's a way to communicate stability and compatibility without requiring readers to check release notes.

← Back to the lexicon