A worked example, rendered from real sample data. Sign in to run the tool on your own input.
1.2.3
feature{
"currentVersion": "1.2.3",
"nextVersion": "1.3.0",
"changeType": "minor",
"changeDescription": "New feature - backward compatible",
"semverRules": {
"major": "Incompatible API changes",
"minor": "Backward-compatible functionality additions",
"patch": "Backward-compatible bug fixes"
},
"precedence": {
"1.0.0": "< 1.1.0 < 1.1.1 < 2.0.0"
},
"rangeExamples": {
"^1.2.3": "Allow changes that don't increment major (>=1.2.3, <2.0.0)",
"~1.2.3": "Allow patch updates (>=1.2.3, <1.3.0)",
"1.2.x": "Allow patch updates (>=1.2.0, <1.3.0)"
},
"recommendation": "Increment to 1.3.0"
}
Analyze and calculate semantic versioning with major, minor, patch increments. Part of the DevTools Surf developer suite. Browse more tools in the Developer Utilities collection.