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

Bump io.grpc:grpc-context from 1.59.0 to 1.60.1 #12198

Merged
merged 1 commit into from
Dec 23, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 22, 2023

Bumps io.grpc:grpc-context from 1.59.0 to 1.60.1.

Release notes

Sourced from io.grpc:grpc-context's releases.

v1.60.1

Bug Fixes

  • util: Fix NPE when multiple addresses in an address group for petiole load balancer policies (#10770)

v1.60.0

API Changes

  • api: Stabilize ForwardingServerBuilder, ForwardingChannelBuilder2, and ForwardingChannelBuilder. Note that ForwardingChannelBuilder is stabilized (no changes will be made to it), but immediately deprecated in favor of ForwardingChannelBuilder2. (#10586)
  • api: Deprecate ForwardingChannelBuilder.delegate(). De facto this deprecates the class itself, since all classes extending ForwardingChannelBuilder implement the delegate() method. See javadoc for details (#10587)
  • api: Changed recently-introduced LoadBalancer.acceptResolvedAddresses() to return Status instead of boolean (#10636). This is part of continued work to align the LB API cross-language and API stabilization
  • stub: Deprecate StreamObservers (#10654)
  • alts: AltsChannelBuilder now extends ForwardingChannelBuilder2 (#10587)
  • protobuf: Stabilize ProtoUtils.metadataMarshaller() (#10628)
  • protobuf-lite: ProtoLiteUtils experimental comment (#10627)

Behavior Changes

  • core: ManagedChannels now check the address types provided by the nameResolver (for the given target) with the address types supported by the channel transport and generate an error in case of mismatch. That dramatically improves the error message when an issue occurs
  • core: When a server stream is closed due to user's code (an uncaught exception in halfClosed, messagesAvailable, onReady callback of a ServerStream's listener), the Status.UNKNOWN returned to the client will have Application error processing RPC description. Previously the description was empty. This is helpful to differentiate between server errors originated in user application, gRPC library, or even those injected by a proxy. (#10643)
  • xds: Log ORCA UNIMPLEMENTED error to subchannel logger. This removes them from the normal application logs, reducing log spam

Improvements

  • Change the underlying implementations of RingHash, RoundRobin, WeightedRoundRobin and LeastRequest load balancers to utilize the pick first load balancer rather than directly manage subchannels. This should only be noticeable if it introduced a bug
  • core: Avoid flushing headers when the server returns a single response (#9314). This is a performance optimization to reduce the number of packets for non-streaming responses
  • util: Make grpc-core an implementation dependency. This will prevent the io.grpc.internal classes in grpc-core from being visible during compilation when depending on just grpc-util
  • netty: Implement Http2Headers.isEmpty(). This fixes compatibility with Netty 4.1.101.Final.
  • netty: Add NettyServerBuilder.maxRstFramesPerWindow(). This can be used to limit impact of Rapid Reset
  • netty: Disable huffman coding in headers (#10563). Huffman coding provides modest compression for relatively high CPU usage, especially within a data center. Rely just on the HPACK static and dynamic tables for compression, for higher performance. This only impacts header values 512 bytes or longer, as Netty already disabled Huffman for smaller values
  • alts: Improve handshake failure error message by propagating original exception (#10644)

Bug Fixes

  • util: Remove shutdown subchannels from OD tracking (#10683). This could have caused a memory leak on a long-lived channel. But we don’t think it could be triggered with our built-in load balancing policies.

Dependencies

  • Bump Netty to 4.1.100.Final

Acknowledgements

@​anthonyjpratti @​fedorka @​jpd236 @​mateusazis @​pkoenig10 @​yannickepstein @​amirhadadi

v1.59.1

  • netty: Implement Http2Headers.isEmpty(). This fixes compatibility with Netty 4.1.101.Final.
  • netty: Add NettyServerBuilder.maxRstFramesPerWindow(). This can be used to limit impact of Rapid Reset
  • xds: Log ORCA UNIMPLEMENTED error to subchannel logger. This removes them from the normal application logs, reducing log spam
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [io.grpc:grpc-context](https://github.com/grpc/grpc-java) from 1.59.0 to 1.60.1.
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](grpc/grpc-java@v1.59.0...v1.60.1)

---
updated-dependencies:
- dependency-name: io.grpc:grpc-context
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Dec 22, 2023
@codecov-commenter
Copy link

codecov-commenter commented Dec 22, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9cfce82) 61.54% compared to head (e9c127a) 61.55%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #12198      +/-   ##
============================================
+ Coverage     61.54%   61.55%   +0.01%     
- Complexity     1152     1153       +1     
============================================
  Files          2407     2407              
  Lines        130968   130968              
  Branches      20237    20237              
============================================
+ Hits          80605    80619      +14     
+ Misses        44470    44460      -10     
+ Partials       5893     5889       -4     
Flag Coverage Δ
custom-integration1 <0.01% <ø> (ø)
integration <0.01% <ø> (ø)
integration1 <0.01% <ø> (ø)
integration2 0.00% <ø> (ø)
java-11 61.52% <ø> (+0.02%) ⬆️
java-21 61.41% <ø> (-0.01%) ⬇️
skip-bytebuffers-false 61.54% <ø> (+0.01%) ⬆️
skip-bytebuffers-true 61.39% <ø> (-0.02%) ⬇️
temurin 61.55% <ø> (+0.01%) ⬆️
unittests 61.55% <ø> (+0.01%) ⬆️
unittests1 46.62% <ø> (+0.01%) ⬆️
unittests2 27.67% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Jackie-Jiang Jackie-Jiang merged commit 95ec64e into master Dec 23, 2023
21 checks passed
@Jackie-Jiang Jackie-Jiang deleted the dependabot/maven/io.grpc-grpc-context-1.60.1 branch December 23, 2023 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants