hornet
hornet copied to clipboard
Bump google.golang.org/grpc from 1.57.0 to 1.59.0
Bumps google.golang.org/grpc from 1.57.0 to 1.59.0.
Release notes
Sourced from google.golang.org/grpc's releases.
Release 1.58.3
Security
server: prohibit more than MaxConcurrentStreams handlers from running at once (CVE-2023-44487)
In addition to this change, applications should ensure they do not leave running tasks behind related to the RPC before returning from method handlers, or should enforce appropriate limits on any such work.
Release 1.58.2
Bug Fixes
balancer/weighted_round_robin: fix ticker leak on update
A new ticker is created every time there is an update of addresses or configuration, but was not properly stopped. This change stops the ticker when it is no longer needed.
Release 1.58.1
Bug Fixes
- grpc: fix a bug that was decrementing active RPC count too early for streaming RPCs; leading to channel moving to IDLE even though it had open streams
- grpc: fix a bug where transports were not being closed upon channel entering IDLE
Release 1.58.0
API Changes
See #6472 for details about these changes.
- balancer: add
StateListenertoNewSubConnOptionsforSubConnstate updates and deprecateBalancer.UpdateSubConnState(#6481)
UpdateSubConnStatewill be deleted in the future.- balancer: add
SubConn.Shutdownand deprecateBalancer.RemoveSubConn(#6493)
RemoveSubConnwill be deleted in the future.- resolver: remove deprecated
AddressType(#6451)
- This was previously used as a signal to enable the "grpclb" load balancing policy, and to pass LB addresses to the policy. Instead,
balancer/grpclb/state.Set()should be used to add these addresses to the name resolver's output. The built-in "dns" name resolver already does this.- resolver: add new field
EndpointstoStateand deprecateAddresses(#6471)
Addresseswill be deleted in the future.New Features
- balancer/leastrequest: Add experimental support for least request LB policy and least request configured as a custom xDS policy (#6510, #6517)
- Set
GRPC_EXPERIMENTAL_ENABLE_LEAST_REQUEST=trueto enable- stats: Add an RPC event for blocking caused by the LB policy's picker (#6422)
Bug Fixes
- clusterresolver: fix deadlock when dns resolver responds inline with update or error at build time (#6563)
- grpc: fix a bug where the channel could erroneously report
TRANSIENT_FAILUREwhen actually moving toIDLE(#6497)- balancergroup: do not cache closed sub-balancers by default; affects
rls,weightedtargetandclustermanagerLB policies (#6523)- client: fix a bug that prevented detection of RPC status in trailers-only RPC responses when using
ClientStream.Header(), and prevented retry of the RPC (#6557)Performance Improvements
- client & server: Add experimental
[With]SharedWriteBufferto improve performance by reducing allocations when sending RPC messages. (Disabled by default.) (#6309)
- Special Thanks:
@s-matyukevich
... (truncated)
Commits
7765221Change version to 1.59.0 (#6695)e88f12eserver: prohibit more than MaxConcurrentStreams handlers from running at once...be7919ctransport: Pass Header metadata to tap handle. (#6652)e3f1514Reapply "status: fix/improve status handling (#6662)" (#6673) (#6688)696faa9client: add a test for NewSubConn / StateListener / cc.Close racing (#6678)318c717readme: fix badges (#6687)39972fdgithub: add code coverage with codecov.io (#6676)93dbc05xds: move virtual host matcher test to the xdsresource package (#6680)2c00469github: update actions/setup-go and actions/checkout (#6675)1f73ed5Replace the gRFC pull request with the permanent link. (#6674)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)