8000 release: set the v3 crate version for the 3.0.0-alpha prerelease · Issue #929 · project-minigraf/minigraf · GitHub
[go: up one dir, main page]

Skip to content

release: set the v3 crate version for the 3.0.0-alpha prerelease #929

Backlog

Description

@adityamukho

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).

Also on v3:

  • README.md Installation snippet pins minigraf = "2.0.5".
  • CLAUDE.md status line still reads "v2.0.5 released".

Checks once bumped:

Found during the 3.0.0-alpha readiness check (no release was attempted).

Activity

  1. added this to the v3.0.0 milestone on Nov 29, 2026
  2. added
    rust
    on Nov 29, 2026
  3. adityamukho commented on Nov 30, 2026

    @adityamukho
    CollaboratorAuthor

    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).

  4. adityamukho commented on Nov 30, 2026

    @adityamukho
    CollaboratorAuthor

    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.
  5. adityamukho commented on Nov 30, 2026

    @adityamukho
    CollaboratorAuthor

    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.

  6. adityamukho commented on Dec 1, 2026

    @adityamukho
    CollaboratorAuthor

    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.
    • release: move v3 to main and main to v2.x at the 3.0.0-alpha #937 is done and its post-move routing check passed.

    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).
    • GitHub releases (C, Swift) are marked prerelease. PyPI shows 3.0.0a0. Maven consumers resolve exactly 3.0.0-alpha.

    Partial success

    • 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.
    • A rehearsal reports production_decision: resume for a pre-move tag; production would fail with recovery-conflict (see release: move v3 to main and main to v2.x at the 3.0.0-alpha #937).
    • 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    rust

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0