开发者

Are protobuf messages compatible across versions of protobuf

I started building an app with protobuf 2.2.0 as it was the latest. Now I'm considering upgrading to pro开发者_如何学Ctobuf 2.4.0a which is the latest. If I do so will the messages generated by one version of the app still be readable by the other version for the same schema? Or would I be breaking something?


That should be fine. Version 2.1.0 introduced packed repeated fields, but I don't believe there have been any wire format changes since then.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜