gogoprotobuf v1.3.1 Release Notes

Release Date: 2019-10-14 // over 4 years ago
  • โœ… Tested versions:

    go 1.12.10
    protoc 3.9.1

    ๐Ÿ› Bug fixes:

    Upstream commits:

    • 4c88cc3f1a34ffade77b79abc53335d1e511f25b - all: fix reflect.Value.Interface races.
    • 6c65a5562fc06764971b7c5d05c76c75e84bdbf7 - jsonpb: fix marshaling of Duration
    • ๐Ÿ“œ b285ee9cfc6c881bb20c0d8dc73370ea9b9ec90f - Log parsing errors using log pkg

    Misc:

    • โž• add github workflow config
    • โšก๏ธ protoc update - Updated to protoc 3.9.1

Previous changes from v1.3.0

  • โœ… Tested versions:

    go 1.12.9
    protoc 3.7.1

    ๐Ÿ‘Œ Improvements:

    • ๐Ÿ”Œ plugin/stringer - Handle repeated and/or nullable types a bit better now.
    • ๐Ÿ”Œ plugin/size - Remove the loop in sovXXX by using bit twiddling.
    • ๐Ÿ”Œ plugin/marshalto - Implemented a reverse marshal strategy which allows for faster marshalling. This now avoids a recursive (and repeated) call to Size().
    • ๐Ÿ”Œ plugin/compare - Added support for for oneof types.

    ๐Ÿ› Bug fixes:

    • protoc-gen-gogo/generator - Fix assignment to entry in nil map.
    • ๐Ÿ”Œ protoc-gen-gogo/generator - Allows plugins to call RecordTypeUse without panicking.
    • ๐Ÿ›  proto/extensions - Fixed set extension regression. We did not clear the extensions before setting.
    • io/uint32 - fix uint32reader bug that causes ReadMsg to recreate buffer when lengths are the same.
    • ๐Ÿ”€ proto/table_merge: Fix merge of non-nullable slices.

    Upstream commits:

    • ๐Ÿ”€ merged in golang/protobuf commit 318d17de72747ed1c16502681db4b2bb709a92d0 - Add UnimplementedServer for server interface
    • ๐Ÿ”€ merged in golang/protobuf commit b85cd75de734650db18a99a943fe351d41387800 - protoc-gen-go/grpc: inline errUnimplemented function
    • ๐Ÿ“ฆ merged in golang/protobuf commit d3c38a4eb4970272b87a425ae00ccc4548e2f9bb - protoc-gen-go/grpc: use status and code packages only if needed
    • ๐Ÿ”€ merged in golang/protobuf commit e91709a02e0e8ff8b86b7aa913fdc9ae9498e825 - fix indentation in jsonpb with Any messages
    • merged in golang/protobuf commit 8d0c54c1246661d9a51ca0ba455d22116d485eaa - protoc-gen-go: generate XXX_OneofWrappers instead of XXX_OneofFuncs

    Misc:

    • โšก๏ธ extensions.md - Markdown update.
    • Readme.md - Added user.
    • โšก๏ธ go/protoc update - Updated to go1.12.x and protoc 3.7.1
    • โšก๏ธ Makefile update - fix go vet shadow tool reference
    • โšก๏ธ test/mixbench - Update mixbench tool. Expose runnable benchmarks via flags.