On Wed, May 18, 2016 at 9:27 AM, Artem Kazakov <kaza...@gmail.com> wrote:
> +1 > Yes, a checklist would be extremely helpful. > > > On Friday, April 29, 2016 at 5:04:56 PM UTC-4, Kostiantyn Shchepanovskyi > wrote: >> >> It would be nice to have a migration guide (checklist) somewhere, like: >> >> 1. All fields should be optional. >> 2. Do not use custom defailt values. >> 3. All enums should have first element with tag = 0. >> 4. Do not use extension for anything except custom options. >> >> Something else? >> > In 3.0.0-alpha-1 release note <https://github.com/google/protobuf/releases/tag/v3.0.0-alpha-1> there is a list of main proto3 changes: The following are the main new features in language version 3: 1. Removal of field presence logic for primitive value fields, removal of required fields, and removal of default values. This makes proto3 significantly easier to implement with open struct representations, as in languages like Android Java, Objective C, or Go. 2. Removal of unknown fields. 3. Removal of extensions, which are instead replaced by a new standard type called Any. 4. Fix semantics for unknown enum values. 5. Addition of maps. 6. Addition of a small set of standard types for representation of time, dynamic data, etc. 7. A well-defined encoding in JSON as an alternative to binary proto encoding. > >> On Friday, April 29, 2016 at 1:18:12 AM UTC+3, Feng Xiao wrote: >>> >>> >>> >>> On Tue, Apr 26, 2016 at 7:04 PM, Bo Gao <gblo...@gmail.com> wrote: >>> >>>> suppose server side is updating into protobuf3, but client side still >>>> use protobuf2, can then communicate will? >>>> >>> Yes, as long as you only use proto3 features, they are wire compatible. >>> >>> >>>> -- >>>> 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+u...@googlegroups.com. >>>> To post to this group, send email to prot...@googlegroups.com. >>>> Visit this group at https://groups.google.com/group/protobuf. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- > 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 post to this group, send email to protobuf@googlegroups.com. > Visit this group at https://groups.google.com/group/protobuf. > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to protobuf@googlegroups.com. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.