Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .changes/unreleased/Changed-20260905-231500.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
kind: Changed
body: |-
**Updated to buffa 0.9.2; `connectrpc-health` and `connectrpc-reflection`
ship message code regenerated with it.** buffa 0.9.2 is a hardening
release: on the generated path, `decode_view` now attaches the
element-memory budget and the view decoders merge split map values the way
the owned decoder does. `connectrpc-build` users pick this up on their next
build; `buf generate` and `protoc-gen-connect-rust` users should reinstall
`protoc-gen-buffa` at 0.9.2 and regenerate, although code generated by
0.9.1 still compiles and runs against the new runtime.
time: 2026-09-05T23:15:00.000000000+00:00
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,23 @@ pin-project = "1"
sync_wrapper = "1"
async-trait = "0.1"

# Protobuf. 0.9.1 is a hard floor rather than a preference, for two reasons.
# Protobuf. The 0.9.x floor is hard rather than a preference, for two reasons.
# 0.9.0 widens `types::put_len_delimited_header` and the
# `map_codec::field_len` accumulator to `u64`, so code emitted by a 0.8.x
# codegen does not compile against a 0.9 runtime; and the codegen paths call
# `buffa_codegen::decode_request` and `tooling_decode_options`, which arrived
# in 0.9.1. The floor also matches the regen baseline for the checked-in
# in 0.9.1. Within 0.9.x the floor tracks the regen baseline for the checked-in
# generated code — regenerate whenever it moves.
# (connectrpc-build also sources the generated `mod.rs` `#[allow(...)]` list
# from `buffa_codegen::ALLOW_LINTS`.)
# NOTE: the `connectrpc` crate pins `buffa` directly (not `workspace = true`)
# so its `json` cargo feature can gate `buffa/json` for proto-only builds —
# keep that floor aligned with this one when bumping.
buffa = { version = "0.9.1", features = ["json"] }
buffa-types = { version = "0.9.1", features = ["json"] }
buffa-codegen = { version = "0.9.1" }
buffa = { version = "0.9.2", features = ["json"] }
buffa-types = { version = "0.9.2", features = ["json"] }
buffa-codegen = { version = "0.9.2" }
# `reflect` is needed for `DescriptorPool`, which backs connectrpc-reflection.
buffa-descriptor = { version = "0.9.1", features = ["reflect"] }
buffa-descriptor = { version = "0.9.2", features = ["reflect"] }

# Serialization
serde = { version = "1", features = ["derive"] }
Expand Down
44 changes: 33 additions & 11 deletions benches/rpc/src/generated/buffa/bench.__view.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions benches/rpc/src/generated/buffa/bench.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 12 additions & 4 deletions benches/rpc/src/generated/buffa/bench_noutf8.__view.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions benches/rpc/src/generated/buffa/bench_noutf8.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading