You signed in with an
8000
other tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
release: set the v3 crate version for the 3.0.0-alpha prerelease #929
The v3 branch still has version = "2.0.5" in Cargo.toml (main is at 2.0.12). As decided in #928, set the crate version to 3.0.0-alpha and use the Git tag v3.0.0-alpha (PyPI version 3.0.0a0).
CLAUDE.md status line still reads "v2.0.5 released".
Checks once bumped:
cargo check --workspace, cargo package -p minigraf and the docs.rs build accept the prerelease version.
cargo semver-checks against 2.0.12 runs cleanly as a major bump, and its output is used for the CHANGELOG "Breaking changes" list.
cargo-dist's plan job marks the GitHub release as a prerelease (announcement_is_prerelease), and publish-crates-io still runs for it. release.yml is generated by cargo-dist and must not be edited by hand.
Reminder for the bump: the docs-site upgrade guide (minigraf-docs#107) links the changelog page. Once the heading is ## v3.0.0-alpha — <date>, link its anchor #v300-alpha--YYYY-MM-DD in content/upgrading-to-v3.md, and add the released v3.0.0-alpha entry to site.toml (DESIGN.md, minigraf-docs#106).
Pre-tag checks from #938/#939 (merged as #954 on main and #955 on v3; CONTRIBUTING release steps 5–7):
From a clean checkout of the candidate SHA: cargo publish --dry-run --locked.
Push CI (Rust, WASM, Lint, Coverage Gates, Policy, Binary Size) green on that exact SHA. Release Gate refuses to host or publish otherwise; retry the Release run after CI finishes.
The cascade now runs on completion of the Release workflow from the default branch and waits for the exact, unyanked version in the Cargo sparse index. Recovery: gh workflow run cascade.yml --ref main -f tag=v3.0.0-alpha.
publish-prereleases = true is set, so the alpha publishes to crates.io.
Release checklist addition: the "After approved publication" half of #960. Record build/publication and exact-version consumer checks for all seven bindings, Tier 2 included; check npm dist-tags on all seven npm packages; and on partial success, retry only the missing work at the same tested source/artifact identity. The rehearsal half of #960 must be done before tagging.
Handoff from the binding release routing work (#960)
Before tagging
npm: enable Allow npm dist-tag on the trusted publisher of all seven packages (minigraf, @minigraf/linux-x64-gnu, @minigraf/linux-arm64-gnu, @minigraf/darwin-universal, @minigraf/win32-x64-msvc, @minigraf/browser, @minigraf/wasi). A dist-tag repair fails without it.
Publication record (the "After approved publication" half of #960)
Build/publication and exact-version registry consumer results for all seven bindings.
npm: the alpha is on next, latest unchanged, on all seven packages. After 3.0.0 stable, 2.x patches go to maintenance-v2 (npm rejects v2 as a tag name).
Retry one binding with gh workflow run release.yml -R project-minigraf/<repo> --ref main -f version=v3.0.0-alpha, or re-dispatch the cascade. A retry resumes the tested identity, uploads only what is missing and fails on any conflict. Never delete or move a tag.
Original artifacts are retained for 90 days; keep the original runs.
GitHub keeps only one pending run per concurrency group: a superseded release must be dispatched again.
Alpha release notes
Python wheels need glibc 2.34 or later and there is no sdist (minigraf-python#9).
Java/Android: the Kotlin namespace changes to io.github.project_minigraf.minigraf.
Later
minigraf-binding-template#6 stays open for the published-alpha registry pin and its API review.
Known gaps in the release workflows (not blocking, not yet tracked elsewhere)
Java and Android: a manual verify-published run has no report-failure input, so a failure always opens or comments a release-broken issue; their logs also do not print the resolved version.
The binding release design doc's amendments omit two deviations: lockfile and generated-source digests ignore CRLF/LF differences, and the 2.x branches carry an older shared helper.
The 2.x READMEs keep generic release text, and the evidence-summary job fails in a rehearsal that is refused at routing.
Activity
adityamukho commentedon Nov 30, 2026
Reminder for the bump: the docs-site upgrade guide (minigraf-docs#107) links the changelog page. Once the heading is
## v3.0.0-alpha — <date>, link its anchor#v300-alpha--YYYY-MM-DDincontent/upgrading-to-v3.md, and add the releasedv3.0.0-alphaentry tosite.toml(DESIGN.md, minigraf-docs#106).adityamukho commentedon Nov 30, 2026
Pre-tag checks from #938/#939 (merged as #954 on main and #955 on v3; CONTRIBUTING release steps 5–7):
cargo publish --dry-run --locked.gh workflow run cascade.yml --ref main -f tag=v3.0.0-alpha.publish-prereleases = trueis set, so the alpha publishes to crates.io.adityamukho commentedon Nov 30, 2026
Release checklist addition: the "After approved publication" half of #960. Record build/publication and exact-version consumer checks for all seven bindings, Tier 2 included; check npm dist-tags on all seven npm packages; and on partial success, retry only the missing work at the same tested source/artifact identity. The rehearsal half of #960 must be done before tagging.
adityamukho commentedon Dec 1, 2026
Handoff from the binding release routing work (#960)
Before tagging
minigraf,@minigraf/linux-x64-gnu,@minigraf/linux-arm64-gnu,@minigraf/darwin-universal,@minigraf/win32-x64-msvc,@minigraf/browser,@minigraf/wasi). A dist-tag repair fails without it.Publication record (the "After approved publication" half of #960)
next,latestunchanged, on all seven packages. After 3.0.0 stable, 2.x patches go tomaintenance-v2(npm rejectsv2as a tag name).3.0.0a0. Maven consumers resolve exactly3.0.0-alpha.Partial success
gh workflow run release.yml -R project-minigraf/<repo> --ref main -f version=v3.0.0-alpha, or re-dispatch the cascade. A retry resumes the tested identity, uploads only what is missing and fails on any conflict. Never delete or move a tag.Alpha release notes
io.github.project_minigraf.minigraf.Later
Known gaps in the release workflows (not blocking, not yet tracked elsewhere)
verify-publishedrun has noreport-failureinput, so a failure always opens or comments arelease-brokenissue; their logs also do not print the resolved version.production_decision: resumefor a pre-move tag; production would fail withrecovery-conflict(see release: move v3 to main and main to v2.x at the 3.0.0-alpha #937).ci: remap two-line workflows to main (3.x) and v2.x for the branch mo…