sdk-java
sdk-java copied to clipboard
⬆️ Bump Protobuf Plugin
Is your feature request related to a problem? Please describe.
There is a new major version for the proto plugin and it would be nice to bump it in this repo, so we are able to bump our version too. There are breaking changes.
Describe the solution you'd like
Merge the protobuf PR with the new major version. Wanted to update this PR but I was not able to do this.
Describe alternatives you've considered Just do it.
Just an update on this issue from @Quinn-With-Two-Ns in a conversation from Slack:
Proto 4 has some issues with grpc-java. We're waiting for https://github.com/grpc/grpc-java/issues/11015 to resolve and plan to follow their recommendations for the widest compatibility.
If bumping the plugin is not an option yet, SDK should be made compatible with 3.x and 4.x.
grpc recommends:
- If one of your dependencies isn't compatible with 4.x, please file an issue with them
- Everyone: Replace all references of GeneratedMessage and GeneratedMessageV3 outside of protoc-generated code with Message and Use protoc 25.x for your generated cod
More details on protobuf upgrade at https://github.com/googleapis/java-cloud-bom/releases/tag/v26.50.0