I don't think we have separate compiler and runtime versions for proto2 and proto3, unless you meant that proto2 is protobuf 2.x release and proto3 is protobuf 3.x release. In that case, there might be minor breaking changes for the version upgrades you'll need to pay attention. Actually, I recommend you make an upgrade since 2.x release is about nine years ago.
On Wednesday, February 1, 2023 at 4:02:20 AM UTC-8 Jiang Cao wrote: > We had persistent some data using proto2, we plan upgrade the compiler and > runtime library to proto3 but keep the proto file syntax on 2. Is it a safe > upgrade operation? Is there any risk reading the old binary data? Is it > officially supported by protobuf project? I don't see any doc describing > it. > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/8d307956-5209-41bb-85ca-1a9f993ce345n%40googlegroups.com.