Question about dependency on protobuf

85 views
Skip to first unread message

Amber Hu

unread,
Dec 12, 2023, 9:50:47 AM12/12/23
to grpc.io
Hi Experts,

I have a question about the requirement on protobuf from grpc.
I found the required protobuf version's bumped from 3.5.0 to 4.21.3 directly since v1.49.0, my question is what new feature from protobuf is requested for this upgrading?
Thanks for your time in advance.

BR/Amber

This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.

veb...@google.com

unread,
Dec 27, 2023, 1:52:50 PM12/27/23
to grpc.io
Usually gRPC tries to bump the version of Protobuf every time Protobuf has a new release to make two libraries work together. But gRPC can work with older versions of Protobuf in general. You can try using older protobuf with the latest gRPC. Sometimes you might see build errors because of breaking changes Protobuf sometimes introduced. Note that protobuf introduced two major things recently; new Abseil dependency and Cord support. Those may prevent you from pairing new gRPC and old Protobuf but you can try it.

Amber Hu

unread,
Jan 4, 2024, 6:39:27 AMJan 4
to veb...@google.com, grpc.io
Huge thanks for your answer.

BR/Amber

--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/e59d3400-0341-4756-ba6c-7e7df16c6d55n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages