Skip to content

Update client.proto to protocol v0.23.1 - #75

Merged
FZambia merged 1 commit into
masterfrom
update_protocol_v0.23.1
Nov 10, 2026
Merged

FZambia merged 1 commit into
masterfrom
update_protocol_v0.23.1

Conversation

@FZambia

@FZambia FZambia commented Nov 10, 2026

Copy link
Copy Markdown
Member

client.proto stopped at Publication.channel = 10. The fields added to the protocol since then were missing from the generated module, among them Publication.key, removed, score, epoch, prev_data and version. With the Protobuf protocol they were dropped when decoding, while the JSON protocol received them.

client.proto is now the protocol's definitions/client.proto at v0.23.1, and centrifuge/protocol/client_pb2.py is regenerated with make proto, using the pinned grpcio-tools 1.71.0. The generated module loads on protobuf 5.29.6 and 7.35.1, the ends of the range pyproject.toml allows.

Most of the client.proto diff is comments from the upstream file. No field was renumbered or removed.

client.proto stopped at Publication.channel: the fields added to the protocol
since then (Publication key, removed, score, epoch, prev_data, version and
others) were missing from the generated module, so with the Protobuf protocol
they were dropped when decoding.

Generated with the pinned grpcio-tools 1.71.0. The result loads on protobuf
5.29.6 and 7.35.1.
@FZambia
FZambia merged commit 8b9e7d3 into master Nov 10, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant