From 9e70a3f52c6b9f9de5c6fabde3f17318cf365851 Mon Sep 17 00:00:00 2001 From: JacobPEvans <20714140+JacobPEvans@users.noreply.github.com> Date: Fri, 6 Mar 2026 17:56:48 -0500 Subject: [PATCH] fix(release): replace bump-minor-pre-major with versioning always-bump-minor Switch from the deprecated bump-minor-pre-major flag to the explicit versioning: always-bump-minor strategy. This ensures major version bumps (from BREAKING CHANGE commits) are always capped at minor regardless of commit type. Also adds the 'breaking' changelog section. Relates to: stale v2.0.0 release-please PR #86, now closed. (claude) --- release-please-config.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/release-please-config.json b/release-please-config.json index 8080e16..1b051a2 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -6,16 +6,17 @@ "version-file": "VERSION" } }, - "bump-minor-pre-major": true, + "versioning": "always-bump-minor", "include-v-in-tag": true, "changelog-sections": [ {"type": "feat", "section": "Features"}, {"type": "fix", "section": "Bug Fixes"}, {"type": "perf", "section": "Performance"}, - {"type": "docs", "section": "Documentation", "hidden": true}, + {"type": "breaking", "section": "Breaking Changes"}, {"type": "chore", "section": "Miscellaneous", "hidden": true}, + {"type": "ci", "section": "CI", "hidden": true}, + {"type": "docs", "section": "Documentation", "hidden": true}, {"type": "refactor", "section": "Refactoring", "hidden": true}, - {"type": "test", "section": "Tests", "hidden": true}, - {"type": "ci", "section": "CI", "hidden": true} + {"type": "test", "section": "Tests", "hidden": true} ] }