Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update gogo/protobuf version from v1.2.1 to v1.3.0 #3947

Merged
merged 7 commits into from Sep 4, 2019
Merged

Conversation

melekes
Copy link
Contributor

@melekes melekes commented Sep 4, 2019

Also

  • errcheck from v1.1.0 to v1.2.0
  • certstrap to e27060a3643e814151e65b9807b6b06d169580a7
  • golangci-lint from v0.13.2 to v1.17.1
  • gox to v1.0.1

See full diff in

Changelog:

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.
    Thanks: https://github.com/euroelessar

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.
    Thanks: https://github.com/TennyZhuang
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.
  • Referenced an issue explaining the need for the change
  • Updated all relevant documentation in docs
  • Updated all code comments where relevant
  • Wrote tests
  • Updated CHANGELOG_PENDING.md

Also errcheck from v1.1.0 to v1.2.0

See full diff in
- gogo/protobuf@v1.2.1...v1.3.0
- kisielk/errcheck@v1.1.0...v1.2.0

Changelog:

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.
        Thanks: https://github.com/euroelessar

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.
        Thanks: https://github.com/TennyZhuang
    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.
@melekes melekes added the T:dependencies Pull requests that update a dependency file label Sep 4, 2019
@melekes
Copy link
Contributor Author

melekes commented Sep 4, 2019

Changesets are massive. I am not sure if we'll ever be able to review those

@melekes
Copy link
Contributor Author

melekes commented Sep 4, 2019

@codecov-io
Copy link

Codecov Report

Merging #3947 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #3947      +/-   ##
==========================================
- Coverage   66.98%   66.97%   -0.01%     
==========================================
  Files         219      219              
  Lines       18207    18473     +266     
==========================================
+ Hits        12196    12373     +177     
- Misses       5126     5181      +55     
- Partials      885      919      +34
Impacted Files Coverage Δ
config/config.go 84.43% <100%> (ø) ⬆️
consensus/reactor.go 77.96% <0%> (-0.83%) ⬇️
p2p/conn/connection.go 80.71% <0%> (-0.26%) ⬇️
blockchain/v0/pool.go 81.31% <0%> (+0.32%) ⬆️
consensus/replay.go 71.77% <0%> (+0.8%) ⬆️
blockchain/v0/reactor.go 78.77% <0%> (+0.94%) ⬆️
libs/pubsub/query/query.peg.go 64.38% <0%> (+1.33%) ⬆️

@melekes
Copy link
Contributor Author

melekes commented Sep 4, 2019

Changesets are massive. I am not sure if we'll ever be able to review those

most of those were ./vendor removals

@melekes melekes merged commit fe2dddd into master Sep 4, 2019
@melekes melekes deleted the anton/protobuf branch September 4, 2019 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T:dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants