Repository navigation
deps: bump buffa to 0.6.0, regenerate checked-in code - #108
Merged
Merged
Conversation
Raises the workspace `buffa` / `buffa-types` / `buffa-codegen` floor from 0.5 to 0.6 and regenerates all four checked-in `buf generate` output trees (`conformance`, `examples/eliza`, `examples/multiservice`, `benches/rpc`). The regen picks up the buffa 0.6.0 codegen changes: - `with_<field>()` builder setters on every explicit-presence field - `MessageName` impls on owned and view message types - `serde::Serialize` impls on view types (plus `MapView::iter_unique`) - empty `__oneof.rs` / `__ext.rs` / `__view_oneof.rs` ancillary content files are no longer emitted; the orphaned files are deleted and the package stitcher (`*.mod.rs`) no longer `include!`s them `examples/bazel` is intentionally left at `buffa = "0.5.2"` — it pins published crates.io artifacts (`connectrpc 0.4.2` requires `buffa 0.5`) and will be bumped alongside the 0.5.0 release. All conformance suites pass against the regenerated code: server default 3600/3600, client Connect 2580/2580, client gRPC 1454/1454, client gRPC-Web 2838/2838.
|
All contributors have signed the CLA ✍️ ✅ |
rpb-ant
approved these changes
May 18, 2026
iainmcgin
marked this pull request as ready for review
May 18, 2026 16:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Raises the workspace
buffa/buffa-types/buffa-codegenfloor from0.5to0.6and regenerates all four checked-inbuf generateoutput trees (conformance/src/generated/,examples/eliza/src/generated/,examples/multiservice/src/generated/,benches/rpc/src/generated/).What the regen picks up (buffa 0.6.0)
with_<field>()builder-style setters on every explicit-presence field (proto3/proto2optional, editionsfield_presence = EXPLICIT).MessageNameimpls on owned and view message types —PACKAGE/NAME/FULL_NAME/TYPE_URLconsts, computed at codegen time.serde::Serializeimpls on view types whengenerate_jsonis enabled, plusMapView::iter_unique()/len_unique().__oneof.rs/__ext.rs/__view_oneof.rsancillary content files are no longer emitted. The orphaned files are deleted and the package stitcher (*.mod.rs) no longerinclude!s them. The only ancillary files that remain areconnectrpc.conformance.v1.{service,client_compat}.__oneof.rs/.__view_oneof.rs, which actually contain oneof definitions.The hand-written diff is
Cargo.toml(workspace dependency floor + comment) andREADME.md(Generated Code Dependencies snippet). Everything else under*/generated/*istask generate:alloutput againstbuffa v0.6.0.Not changed
examples/bazel/Cargo.tomlis intentionally left atbuffa = "0.5.2"— it pins published crates.io artifacts (connectrpc 0.4.2requiresbuffa 0.5), so bumping it beforeconnectrpc 0.5.0ships would break that standalone example. It will be updated as part of the 0.5.0 release.Verification
All six conformance suites pass against the regenerated code:
task lint,task test,task check:minimal,cargo doc(deny broken intra-doc links),cargo check --target wasm32-unknown-unknown, andtask example:multiservice:testall pass.