>From my perspective as a fellow user, the spec is very stable in terms of >breaking changes. The last notable wire change I can think of is packed >arrays, which would: A: only apply on an opt-in basis B: continue to be round-trip safe (via extension fields) for clients that didn't expect it.
I would expect that any future changes would need a very good reason to introduce a fundamental new encoding approach (although IIRC there is a remaining wire-type unused :p ) Marc On 15 Jul 2011, at 16:19, jl <jlaben...@gmail.com> wrote: > We are wondering if the serialized data format used by Protocol > Buffers is standardized or in some way set in stone? In other words, > should we have any expectation that it will change in the future and > we won't be able to read the serialized data back into a Message > class? > > For example, we receive protobuf messages and archive them to disk in > their serialized format using > google::protobuf::Message::SerializeToFileDescriptor() or > SerializeToOstream() and later, maybe 5 years from now using a newer > version of Protocol Buffers, try to read them back using > google::protobuf::Message::ParseFromFileDescriptor() or > ParseFromIstream(). Can I expect this to work? > > I could not find any mention about this on the Protobuf website or by > Googling, but perhaps I missed it. Any links to any official > documentation saying either yes or no would be greatly appreciated. > > Thanks and regards, > John > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To post to this group, send email to email@example.com. > To unsubscribe from this group, send email to > protobuf+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/protobuf?hl=en. > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to firstname.lastname@example.org. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.