What is semantic versioning?
Semantic Versioning (semver) is a versioning system that uses the format:
MAJOR.MINOR.PATCH
Example: 2.5.3
- MAJOR: Breaking changes
- MINOR: New features, no breaking changes
- PATCH: Bug fixes, backwards-compatible
📌 Example:
If a package moves from 1.2.0 to 2.0.0, it likely has breaking changes.
In package.json, you might see:
"express": "^4.17.1"
- ^ means it can auto-update minor and patch versions, but not major ones.