Skip to content

protobuf-2.0.1

Compare
Choose a tag to compare
@osa1 osa1 released this 28 Apr 10:03
· 232 commits to master since this release
23136dc

2.0.1

  • Fix bug of parsing map-values with default values.
  • Merge fixes from version 1.1.2 - 1.1.4 into v2.

2.0.0

  • Stable null safety release.

1.1.4

  • Fix comparison of empty lists from frozen messages.
  • Switch repo internals to use dart format instead of dartfmt.

1.1.3

  • Fix that fixed32 int could be negative.

1.1.2

  • Fix proto deserialization issue for repeated and map enum value fields where
    the enum value is unknown.

1.1.1

  • Fix decoding of oneof fields from proto3 json. The 'whichFoo' state would
    not be set.
  • Fix the return type of copyWith.

1.1.0

  • Require at least Dart SDK 2.7.0 to enable usage of extension methods.
  • Introduce extension methods GeneratedMessage.rebuild and GeneratedMessage.deepCopy replacing copyWith and clone. Using these alternatives can result in smaller binaries, because it is defined once instead of once per class. Use protoc_plugin from 19.1.0 to generate deprecation warnings for copyWith and clone methods.
  • GeneratedMessage.getExtension throws when reading trying to read an extension that is present in the unknown fields. We consider this change a bug-fix because depending on the old behavior is indicative of a bug in your program.

1.0.4

  • Requires sdk 2.3.0
  • Update pedantic to 1.9.2

1.0.3

  • Enable hashCode memoization for frozen protos.
  • Add timeout to ClientContext

1.0.2

  • Fix hashcode of bytes fields.
  • Fix issue with the permissiveEnums option to mergeFromProto3Json. The comparison did not work properly.
  • Fix binary representation of negative int32 values.