workhorse: Update gRPC dependencies
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
google.golang.org/grpc | require | minor |
v1.62.1 -> v1.64.0
|
google.golang.org/protobuf | require | minor |
v1.33.0 -> v1.34.1
|
MR created with the help of gitlab-org/frontend/renovate-gitlab-bot
Release Notes
grpc/grpc-go (google.golang.org/grpc)
v1.64.0
: Release 1.64.0
API Changes
- stats: Deprecate
InPayload.Data
andOutPayload.Data
; they were experimental and will be deleted in the next release (#7121)
Behavior Changes
- codec: Remove handling of environment variable
GRPC_GO_ADVERTISE_COMPRESSORS
to suppress setting supported compressors ingrpc-accept-encoding
header. Compressors will always be advertised, as they have been by default for some time (#7203)
New Features
- resolver/dns: Add
SetMinResolutionInterval
to set the minimum interval at which DNS re-resolutions may occur (#6962)- Special Thanks: @HomayoonAlimohammadi
- peer/peer: Implement the
fmt.Stringer
interface for pretty printingPeer
, and - metadata/metadata: Implement the
fmt.Stringer
interface for pretty printingMD
(#7137)- Special Thanks: @AnomalRoil
Performance Improvements
- client: Improve RPC performance by reducing work while holding a lock (#7132)
Bug Fixes
- transport/server: Display the proper timeout value when keepalive pings are not ack'd in time (#7038)
- Special Thanks: @BatmanAoD
- channelz: Fix bug that was causing the subchannel's target to be unset (#7189)
- stats: Fix bug where peer was not set in context when calling stats handler for
OutPayload
,InPayload
, andEnd
(#7096)
Dependencies
- deps: Remove dependency on deprecated
github.com/golang/protobuf
module (#7122)
Documentation
- grpc: Deprecate
WithBlock
,WithReturnConnectionError
,FailOnNonTempDialError
which are ignored byNewClient
(#7097)- Special Thanks: @pellared
- grpc: Deprecate
Dial
andDialContext
. These will continue to be supported throughout 1.x, but are deprecated to direct users toNewClient
(See #7090 for more information) - examples: Add custom lb example (#6691)
v1.63.2
: Release 1.63.2
Bugs
- Fix the user agent string
v1.63.1
: Release 1.63.1
Bugs
- grpc: fixed subchannel log messages to properly reference the parent channel (#7101)
- Special thanks: @daniel-weisse
API Changes
- grpc: remove Deprecated tag from Dial and DialContext; these will be deprecated in v1.64 instead (#7103)
v1.63.0
: Release 1.63.0
Behavior Changes
- grpc: Return canonical target string from
resolver.Address.String()
(experimental) (#6923) - client & server: when using write buffer pooling, use input value for buffer size instead of size*2 (#6983)
- Special Thanks: @raghav-stripe
New Features
- grpc: add
ClientConn.CanonicalTarget()
to return the canonical target string. (#7006) - xds: implement LRS named metrics support (gRFC A64) (#7027)
- Special Thanks: @danielzhaotongliu
- grpc: introduce
grpc.NewClient
to allow users to create new clients in idle mode and with "dns" as the default resolver (#7010)- Special Thanks: @bruuuuuuuce
API Changes
- grpc: stabilize experimental method
ClientConn.Target()
(#7006)
Bug Fixes
- xds: fix an issue that would cause the client to send an empty list of resources for LDS/CDS upon reconnecting with the management server (#7026)
- server: Fix some errors returned by a server when using a
grpc.Server
as anhttp.Handler
with the Go stdlib HTTP server (#6989) - resolver/dns: add
SetResolvingTimeout
to allow configuring the DNS resolver's global timeout (#6917)- Special Thanks: @and1truong
- Set the security level of Windows named pipes to NoSecurity (#6956)
- Special Thanks: @irsl
v1.62.2
: Release 1.62.2
Dependencies
- Update http2 library to address vulnerability CVE-2023-45288
protocolbuffers/protobuf-go (google.golang.org/protobuf)
v1.34.1
Minor fixes for editions compliance:
- CL/582635: all: update to protobuf 27.0-rc1 and regenerate protos
- CL/582755: encoding/proto[json|text]: accept lower case names for group-like fields
v1.34.0
Notable changes
New Features
Protobuf editions are fully supported. You can now use edition = "2023"
in .proto files together with the proto-gen-go
. Edition2023 does not introduce any new features but can be used to replace syntax "proto2/3"
. Future editions might introduce new features. See https://protobuf.dev/editions/overview/ for more details on protobuf editions.
Documentation Various smaller changes to improve existing documentation and to add more examples.
- CL/574455: proto: extend Marshal documentation, include an example
- CL/574635: proto: extend Unmarshal documentation, include an example
- CL/574836: protogen: update Options documentation.
- CL/573361: proto: add examples for Size, MarshalAppend (regarding allocations)
- CL/579895: encoding/{protojson,prototext}: strengthen wording on stability
Extensions These are mostly performance improvements or preparations for performance improvements.
- CL/575035: internal/impl: ensure proto.HasExtension does not allocate
- CL/576315: [encoding/{protojson,prototext}: strengthen wording on stability](proto: CSE ProtoReflect() and TypeDescriptor() in proto.HasExtension
- CL/576316: internal/impl: pass ExtensionTypeDescriptor to extensionMap
- CL/579275: [proto] use the correct parent when resolving features for extensions
- CL/579595: proto: return an error instead of producing invalid wire format
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.