googleapis / java-pubsub

Apache License 2.0
122 stars 88 forks source link

Protobuf V4 compatiblity #1996

Open bjoernmayer opened 2 months ago

bjoernmayer commented 2 months ago

Is your feature request related to a problem? Please describe. protobuf-java had a major release: See here. In this release GeneratedMessageV3 was renamed to GeneratedMessage.

It is therefore impossible to use the generated java classes like PubsubMessage in projects with protobuf v4 as GeneratedMessageV3 cannot be found.

Describe the solution you'd like Update your protobuf-java version to v4 and recompile the .proto files.

Describe alternatives you've considered None

michaelpri10 commented 3 weeks ago

Hello! As the new release introduces some breaking changes, the migration to Protobuf V4 must be done carefully. We are waiting on some decisions to be made regarding changes to introduce backwards compatibility, but we do not currently have a timeline on when the Protobuf version upgrade will occur.