square / wire

gRPC and protocol buffers for Android, Kotlin, Swift and Java.
https://square.github.io/wire/
Apache License 2.0
4.23k stars 571 forks source link

Cross-Version Runtime Guarantee by Wire? #3054

Closed prathamk closed 1 month ago

prathamk commented 1 month ago

Hello,

We were looking to decode GPB encoded messages, and evaluating the Google packages (protoc and protobuff-java). Those were working fine, though the generated code is heavy from our need perspective. But we ran into this problem, that they don't support gencode to run on newer runtime across major releases (We kind of have this requirement).

Does wire support Cross-Version runtime as it upgrades internal dependencies (as I see protoc, and protobuff-java is also mentioned in dependencies)? Or is there a same requirement here also, that across releases code needs to be re-generated? When and in which scenarios is code re-generation needed by wire?

Thanks//Pratham