Release 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.
- Thanks: https://github.com/apelisse
- plugin/marshalto - Implemented a reverse marshal strategy which allows for faster marshalling. This now avoids a recursive (and repeated) call to Size().
- Thanks: https://github.com/apelisse
- plugin/compare - Added support for for oneof types.
Bug fixes:
- protoc-gen-gogo/generator - Fix assignment to entry in nil map.
- Thanks: https://github.com/tgulacsi
- protoc-gen-gogo/generator - Allows plugins to call RecordTypeUse without panicking.
- Thanks: https://github.com/fedenusy
- 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.
- Thanks: https://github.com/SebiSujar
- 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.