- What's patched, minor, and major?
- Patch: backwards-compatible bug fix (1.2.3 → 1.2.4). Minor: backwards-compatible feature (1.2.3 → 1.3.0). Major: breaking change (1.2.3 → 2.0.0).
- What about pre-release?
- Adds -alpha.1, -beta.1, -rc.1 suffixes. 1.2.3 → 1.2.4-alpha.1. Pre-releases sort before the final version per semver spec.
- Does it support build metadata?
- Yes — the +buildid suffix. 1.2.3+20240101 is 'version 1.2.3, built on 2024-01-01'. Build metadata is ignored for version precedence.
- Is this compatible with npm?
- Yes — matches npm's behavior exactly. 0.x.y has special rules (x is major, y is minor+patch). Toggle between strict semver and npm rules.