Skip to content

v0.3.0: renamed to protocontract-buffa and protoc-gen-protocontract-buffa

Choose a tag to compare

@github-actions github-actions released this 16 Oct 18:17
· 23 commits to main since this release
v0.3.0
a055230

Changed

  • Breaking: the project is renamed to protocontract-buffa. The
    repository is github.com/sonalect/protocontract-buffa.rs (GitHub
    redirects sonalect/proto-contract.rs), the plugin and its binary are
    protoc-gen-protocontract-buffa (was protoc-gen-contract-rust), and
    the Bazel module is protocontract_buffa (was contract). The
    generated code is the same except for its header,
    // @generated by protoc-gen-protocontract-buffa. DO NOT EDIT.; the
    runtime crate keeps its name, protocontract, and the output files keep
    theirs (<stem>.__contract.rs, <pkg>.mod.rs).
  • The minimum Rust version of protocontract and of the generated code is
    1.92 (it was 1.99.1 in 0.2.2): 1.92 is the oldest rustc that compiles the
    generated handles of bidi-streaming methods. The release workflow builds
    and tests both with Rust 1.92. The plugin, built from source with
    cargo install, needs Rust 1.99.1.

What a consumer changes

  • buf.gen.yaml: local: protoc-gen-protocontract-buffa instead of
    local: protoc-gen-contract-rust.
  • The protocontract git dependency:
    git = "https://github.com/sonalect/protocontract-buffa.rs", tag = "v0.3.0".
  • Release binaries are named
    protoc-gen-protocontract-buffa-v0.3.0-<os>-<arch>; a script or catalog
    that downloads them takes the new names.
  • No Rust code changes: no renamed items, no new signatures, no plugin
    parameter changes.