Skip to content

protobuf-2.1.0, protoc_plugin-20.0.1

Compare
Choose a tag to compare
@osa1 osa1 released this 15 Jun 06:51
· 167 commits to master since this release
53f756a

protobuf-2.1.0

  • Update READMEs of protobuf and protoc_plugin:
    • Use dart pub instead of pub in command examples (a7e75cb)
    • Fix typos, clarify installation instructions, mention native compilation, fix proto syntax for protoc_plugin (#610, #617, #641)
  • Update some of the documentation according to Effective Dart documentation guide (#664, #674)
  • Improve runtime perf by removing some of the runtime type checks (#574, #573)
  • Fix a bug when converting negative Timestamp to Dart DateTime (#580, #577)
  • Document BuilderInfo and FieldInfo properties (#597)
  • Improve BuilderInfo initialization by doing some of the work lazily (#606)
  • Improve enum hash code generation (#556)
  • Fix parsing nested Any messages from JSON (#568)
  • Improve message hash code generation performance (#554, #633)
  • Fix reading uninitialized map fields changing equality and hash code of messages. (#638)
  • Fix setting an extension field when there's an unknown field with the same tag. (#639)
  • Fix sharing backing memory for repeated bytes and optional bytes fields. (#640)
  • GeneratedMessage.rebuild now generates a warning when the return value is not used. (#631)
  • Fix hash code of messages with empty unknown field set (#648)
  • Show field tags with protobuf.omit_field_names, enum value tags with protobuf.omit_enum_names in debug strings (toString methods) (#649)
  • TimestampMixin.toDateTime now takes an optional named bool argument toLocal (defaults to false) for generating a DateTime in the local time zone (instead of UTC). (#653)
  • Fix serialization of infinity and nan doubles in JSON serializers (#652)
  • Fix Dart generation for fields starting with underscore (#651)
  • Fix proto3 JSON deserialization of fixed32 fields (#655)
  • Fix uninitialized repeated field values runtime types for frozen messages (#654)

protoc_plugin-20.0.1

  • Fix proto3 repeated field encoding without the packed option (#345, #635)