# Semantic Versioning

*noun*

say it: **“suh-MAN-tik VER-zhuh-ning”** **/səˈmæntɪk ˈvɝʒənɪŋ/**

A way of numbering releases as MAJOR.MINOR.PATCH, where a new major number warns that something may break.

## What is **Semantic Versioning**?

**Semantic versioning** numbers releases MAJOR.MINOR.PATCH; `^1.4.0` in package.json accepts any 1.x update but not 2.0.

## In a sentence

- “npm's ^ ranges rely on packages following **semantic versioning**.”
- “Under **semantic versioning**, 4.21.2 to 4.21.3 is a fix and 4 to 5 may break your code.”

Level: Journeyman · [More Node.js terms at this level](https://www.ask-codey.com/glossary?category=nodejs&level=3)

Updated: November 19, 2026

## In other subjects

- [Semantic Versioning in JavaScript](https://www.ask-codey.com/glossary/semantic-versioning)

Source: https://www.ask-codey.com/glossary/semantic-versioning-nodejs
