dftracer release bumps are minor; a major bump needs the user's approval
PreferenceVerified 2 Oct 2026Holds anywhere
Preference. A rule, why it holds, and how to apply it.
Rule#
In dftracer, release bumps of VERSION are minor, even when the C API changes, and a major bump needs the user's approval first. Run ./script/repo/update_version.sh --type minor. Without --type, the script picks a major bump whenever any commit says "BREAKING".
Why#
SOVERSION is the full version, so every bump already makes a new soname. A major bump stops consumers that call find_package(dftracer 4.x) from finding the package, and test/package_find/ checks that matching.
How to apply#
script/repo/README.md still says a major bump is for "Breaking changes, API changes", and that text is wrong for this practice — trust this rule over the README.
Also found by searching
- update_version.sh picks a major bump whenever a commit says BREAKING
- release bumps of VERSION are minor even when the C API changes
- a major bump stops find_package(dftracer 4.x) consumers
- SOVERSION is the full version so every bump makes a new soname