Re: [protobuf] binary compatibility between versions 2.x and 3.x

2020-06-24 Thread 'Xuelin Fan' via Protocol Buffers
So there is no formal compatibility document between 2.6 and 3.x ? Then how to upgrade? also seem 2.7 is not a stable version On Tuesday, October 8, 2019 at 1:33:46 AM UTC+8 acoz...@google.com wrote: > Any mixing of 2.x and 3.x is not supported; you might get lucky and have > it work, but I

Re: [protobuf] binary compatibility between versions 2.x and 3.x

2019-10-07 Thread 'Adam Cozzette' via Protocol Buffers
Any mixing of 2.x and 3.x is not supported; you might get lucky and have it work, but I wouldn't recommend doing that because no one has attempted to make that work safely. As long as all your code is at 3.0 or higher, you can freely mix 3.x versions as long as you follow the rule that the runtime

Re: [protobuf] binary compatibility between versions 2.x and 3.x

2019-10-07 Thread André Pinto
I have the same question. protobuf-java 3.7.1 seems to be compatible with Protobuf generated with protoc 2.5.0. Is there any official statement about the compatibility of the protobuf-java library against different protobuf versions? On Tuesday, June 5, 2018 at 1:44:02 AM UTC+1, madhav goyal

Re: [protobuf] binary compatibility between versions 2.x and 3.x

2018-06-04 Thread madhav goyal
Hey Feng, Can you please tell what's the incompatibility between protoc_linux.2.5 and protobuf-java_3.x? I upgraded protobuf-java to 3.5 and tried to use it with protoc_linux.2.5 and I was able to compile, read/write with no issues. $protoc_linux --version libprotoc 2.5.0

Re: [protobuf] binary compatibility between versions 2.x and 3.x

2017-04-20 Thread 'Feng Xiao' via Protocol Buffers
On Thu, Apr 20, 2017 at 6:01 PM, Scott Sue wrote: > Hi Feng, > > Apologies, what I was meaning was that with the introduction of protobuf > 3.2.0 now, is 3.2.0 binary compatible with protobuf 2.5.0? Or does you > original message reply still hold true? > No, 3.2.0

Re: [protobuf] binary compatibility between versions 2.x and 3.x

2017-04-20 Thread Scott Sue
Hi Feng, Apologies, what I was meaning was that with the introduction of protobuf 3.2.0 now, is 3.2.0 binary compatible with protobuf 2.5.0? Or does you original message reply still hold true? Regards, Scott SCOTT SUE CHIEF TECHNOLOGY OFFICER Support Line : +44(0) 2031 371 603 Mobile :

Re: [protobuf] binary compatibility between versions 2.x and 3.x

2017-04-20 Thread 'Feng Xiao' via Protocol Buffers
On Thu, Apr 20, 2017 at 3:55 AM, Scott Sue wrote: > Hi Feng, > > Is this still the case considering that 3.2.0 is out that allows the > version number to be used by protoc? > Not sure what you are asking, but 3.0.0 generated code should work with 3.2.0 runtime and 3.2.0

Re: [protobuf] binary compatibility between versions 2.x and 3.x

2017-04-20 Thread Scott Sue
Hi Feng, Is this still the case considering that 3.2.0 is out that allows the version number to be used by protoc? General * Added protoc version number to protoc plugin protocol. It can be used by protoc plugin to detect which version of protoc is used with the plugin and mitigate known