chore: pin release-please's first release to 0.1.0#192
Conversation
#191 added bump-minor-pre-major: true, but that flag only affects releases *after* the first. The first-release path uses a separate computation that didn't pick up the flag, so release-please still proposed 1.0.0 because of the feat!: commit in history. initial-version is the purpose-built knob for this case: it forces the very first release out of manifest 0.0.0 to a specified version, skipping the normal major/minor/patch computation. 0.1.0 matches the version ladder: first labelled beta candidate once SD coverage and Windows reliable transport land. After this merges, PR #101's title should re-render from "release 1.0.0" to "release 0.1.0". bump-minor-pre-major keeps subsequent breaking changes capped at minor bumps (0.1.0 → 0.2.0, not → 1.0.0), in line with the 0.x-is-beta policy.
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 38 minutes and 51 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
☀️ Quality Summary 🚦 Unit Tests (GCC): 100% successful (✔️ 775 passed, 🙈 3 skipped) Created by Quality Monitor v1.14.0 (#f3859fd). More details are shown in the GitHub Checks Result. |
Purpose
Finish the job #191 started.
bump-minor-pre-major: truewas the right flag for post-first-release behaviour in 0.x, but it doesn't affect the first release computation — that uses a separate path. Result: PR #101 still proposes1.0.0because release-please sees afeat!:in history and, withoutinitial-version, falls back to the standard "breaking change → 1.0.0" rule for the first release.Change Description
Add
"initial-version": "0.1.0"torelease-please-config.json. Combined effect:0.1.0feat:in 0.x0.1.0→0.2.0)feat!:/ BREAKING in 0.x0.1.0→0.2.0) — capped bybump-minor-pre-majorfix:in 0.xTest Evidence
chore(main): release 1.0.0tochore(main): release 0.1.0, and the proposed manifest in that PR updates from1.0.0to0.1.0. That's the confirmation signal.initial-versionis a supported package-level key ("Releases the initial library with a specified version").Areas Affected
release-please-config.json— one line added.