Skip to content

Pluggable bump-verifier slot; first plugin: cargo-semver-checks #551

Description

@goosewobbler

From the July 2026 direction review (§1.5). release-plz's killer feature and the biggest credibility gap in releasekit's Rust story — generalized into a seam rather than a cargo special case (the durable form of Elm's registry-enforced semver).

Scope

  • A pluggable per-ecosystem "bump verifier" slot in the version stage: final bump = max(commit-derived bump, API-diff-derived bump). Advisory-only mode first (report, don't override), then enforcing.
  • First plugin: cargo-semver-checks — run against the published baseline for lib crates (parallel across crates); detected breakage forces major (minor on 0.x); render ⚠ API-breaking / ✓ compatible badges with collapsible detail in the standing-PR body (release-plz's PR rendering is the reference).
  • Design the slot so later plugins are additive: Go apidiff if Go ever ships; a TS public-API diff (api-extractor) would be novel in the entire JS field.
  • Config: per-package opt-out; behavior on tool-missing = skip with warning (soft, like the LLM pipeline).

Activity

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

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions