fix(deps): update module google.golang.org/grpc to v1.68.0 #4

Open
renovate wants to merge 1 commits from renovate/google.golang.org-grpc-1.x into main
Member

This PR contains the following updates:

Package Type Update Change
google.golang.org/grpc require minor v1.54.0 -> v1.68.0

Release Notes

grpc/grpc-go (google.golang.org/grpc)

v1.68.0: Release 1.68.0

Compare Source

Known Issues

  • The recently added grpc.NewClient function is incompatible with forward proxies, because it resolves the target hostname on the client instead of passing the hostname to the proxy. This bug has been present since the introduction of NewClient. A fix is expected to be a part of grpc-go v1.69. (#​7556)

Behavior Changes

  • stats/opentelemetry/csm: Get mesh_id local label from "CSM_MESH_ID" environment variable, rather than parsing from bootstrap file (#​7740)
  • orca (experimental): if using an ORCA listener, it must now be registered only on a READY SubConn, and the listener will automatically be stopped when the connection is lost. (#​7663)
  • client: ClientConn.Close() now closes transports simultaneously and waits for transports to be closed before returning. (#​7666)
  • credentials: TLS credentials created via NewTLS that use tls.Config.GetConfigForClient will now have CipherSuites, supported TLS versions and ALPN configured automatically. These were previously only set for configs not using the GetConfigForClient option. (#​7709)

Bug Fixes

  • transport: prevent deadlock in client transport shutdown when writing the GOAWAY frame hangs. (#​7662)
  • mem: reuse buffers more accurately by using slice capacity instead of length (#​7702)
  • status: Fix regression caused by #​6919 in status.Details() causing it to return a wrapped type when getting proto messages generated with protoc-gen-go < v1. (#​7724)

Dependencies

  • Bump minimum supported Go version to go1.22.7. (#​7624)

v1.67.1: Release 1.67.1

Compare Source

Bug Fixes

  • transport: Fix a bug causing stream failures due to miscalculation of the flow control window in both clients and servers. (#​7667)
  • xds/server: Fix xDS Server memory leak. (#​7681)

v1.67.0: Release 1.67.0

Compare Source

Bug Fixes

  • ringhash: when used with multiple EDS priorities, fix bug that could prevent a higher priority from recovering from transient failure. (#​7364)

Behavior Changes

  • In accordance with RFC 7540, clients and servers will now reject TLS connections that don't support ALPN. This can be disabled by setting the environment variable GRPC_ENFORCE_ALPN_ENABLED to false (case insensitive). Please file a bug if you encounter any issues with this behavior. The environment variable to revert this behavior will be removed in an upcoming release. (#​7535)

v1.66.3: Release 1.66.3

Compare Source

Bug Fixes

  • transport: Fix a bug causing stream failures due to miscalculation of the flow control window in both clients and servers. (#​7667)
  • xds/server: Fix xDS Server memory leak. (#​7681)

v1.66.2: Release 1.66.2

Compare Source

Dependencies

  • Remove unintentional dependency on the testing package (#​7579)
  • Remove unintentional dependency on the flate package (#​7595)

Bug Fixes

  • client: fix a bug that prevented memory reuse after handling unary RPCs (#​7571)

v1.66.1

Compare Source

v1.66.0: Release 1.66.0

Compare Source

New Features

Bug Fixes

  • grpc: Clients now return status code INTERNAL instead of UNIMPLEMENTED when the server uses an unsupported compressor. This is consistent with the gRPC compression spec. (#​7461)
  • transport: Fix a bug which could result in writes busy looping when the underlying conn.Write returns errors (#​7394)
  • client: fix race that could lead to orphaned connections and associated resources. (#​7390)
  • xds: use locality from the connected address for load reporting with pick_first (#​7378)
    • without this fix, if a priority contains multiple localities with pick_first, load was reported for the wrong locality
  • client: prevent hanging during ClientConn.Close() when the network is unreachable (#​7540)

Performance Improvements

  • transport: double buffering is avoided when using an http connect proxy and the target server waits for client to send the first message. (#​7424)
  • codec: Implement a new Codec which uses buffer recycling for encoded message (#​7356)

v1.65.1: Release 1.65.1

Compare Source

Bug Fixes

v1.65.0: Release 1.65.0

Compare Source

Dependencies

  • Change support policy to cover only the latest TWO releases of Go, matching the policy for Go itself. See #​7249 for more information. (#​7250)
  • Update x/net/http2 to address CVE-2023-45288 (#​7282)

Behavior Changes

  • credentials/tls: clients and servers will now reject connections that don't support ALPN when environment variable GRPC_ENFORCE_ALPN_ENABLED is set to "true" (case insensitive). (#​7184)
    • NOTE: this behavior will become the default in a future release.
  • metadata: remove String method from MD to make printing more consistent (#​7373)

New Features

  • grpc: add WithMaxCallAttempts to configure gRPC's retry behavior per-channel. (#​7229)

Bug Fixes

  • ringhash: properly apply endpoint weights instead of ignoring them (#​7156)
  • xds: fix a bug that could cause xds-enabled servers to stop accepting new connections after handshaking errors (#​7128)

v1.64.1: Release 1.64.1

Compare Source

Dependencies

v1.64.0: Release 1.64.0

Compare Source

API Changes

  • stats: Deprecate InPayload.Data and OutPayload.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 in grpc-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)
  • peer/peer: Implement the fmt.Stringer interface for pretty printing Peer, and
  • metadata/metadata: Implement the fmt.Stringer interface for pretty printing MD (#​7137)

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)
  • 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, and End (#​7096)

Dependencies

  • deps: Remove dependency on deprecated github.com/golang/protobuf module (#​7122)

Documentation

  • grpc: Deprecate WithBlock, WithReturnConnectionError, FailOnNonTempDialError which are ignored by NewClient (#​7097)
  • grpc: Deprecate Dial and DialContext. These will continue to be supported throughout 1.x, but are deprecated to direct users to NewClient (See #​7090 for more information)
  • examples: Add custom lb example (#​6691)

v1.63.3: Release 1.63.3

Compare Source

Dependencies

v1.63.2: Release 1.63.2

Compare Source

Bugs

  • Fix the user agent string

v1.63.1: Release 1.63.1

Compare Source

Bugs

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

Compare Source

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)

New Features

  • grpc: add ClientConn.CanonicalTarget() to return the canonical target string. (#​7006)
  • xds: implement LRS named metrics support (gRFC A64) (#​7027)
  • grpc: introduce grpc.NewClient to allow users to create new clients in idle mode and with "dns" as the default resolver (#​7010)

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 an http.Handler with the Go stdlib HTTP server (#​6989)
  • resolver/dns: add SetResolvingTimeout to allow configuring the DNS resolver's global timeout (#​6917)
  • Set the security level of Windows named pipes to NoSecurity (#​6956)

v1.62.2: Release 1.62.2

Compare Source

Dependencies

v1.62.1: Release 1.62.1

Compare Source

Bug Fixes

  • xds: fix a bug that results in no matching virtual host found RPC errors due to a difference between the target and LDS resource names (#​6997)
  • server: fixed stats handler data InPayload.Length for unary RPC calls (#​6766)
  • grpc: the experimental RecvBufferPool DialOption and ServerOption are now active during unary RPCs with compression (#​6766)
  • grpc: trim whitespaces in accept-encoding header before determining compressors

v1.62.0: Release 1.62.0

Compare Source

New Features

  • grpc: Add StaticMethod CallOption as a signal to stats handler that a method is safe to use as an instrument key (#​6986)

Behavior Changes

  • grpc: Return canonical target string from ClientConn.Target() and resolver.Address.String() (#​6923)

Bug Fixes

  • server: wait to close connection until incoming socket is drained (with timeout) to prevent data loss on client-side (#​6977)

Performance Improvements

  • *: Allow building without x/net/trace by using grpcnotrace to enable dead code elimination (#​6954)
  • rand: improve performance and simplify implementation of grpcrand by adopting math/rand's top-level functions for go version 1.21.0 and newer. (#​6925)

Dependencies

  • *: Use google.golang.org/protobuf/proto instead of github.com/golang/protobuf. (#​6919)
!NOTE]
The above change in proto library usage introduces a minor behavior change within those libraries.  The old `github.com/golang/protobuf` library would error if given a `nil` message to `Marshal`, while the new `google.golang.org/protobuf` library will successfully output zero bytes in this case.  This means server method handlers that did `return nil, nil` will now return an empty message and no error, while it used to return an error.  This also affects the client side, where clients sending `nil` messages used to fail without sending the RPC, and now they will send an empty message.

v1.61.2: Release 1.61.2

Compare Source

Dependencies

v1.61.1: Release 1.61.1

Compare Source

Bug Fixes

  • server: wait to close connection until incoming socket is drained (with timeout) to prevent data loss on client-side (#​6977)

v1.61.0: Release 1.61.0

Compare Source

New Features

  • resolver: provide method, AuthorityOverrider, to allow resolver.Builders to override the default authority for a ClientConn. (EXPERIMENTAL) (#​6752)
  • xds: add support for mTLS Credentials in xDS bootstrap (gRFC A65) (#​6757)
  • server: add grpc.WaitForHandlers ServerOption to cause Server.Stop to block until method handlers return. (EXPERIMENTAL) (#​6922)

Performance Improvements

Bug Fixes

  • client: correctly enable TCP keepalives with OS defaults on windows (#​6863)
  • server: change some stream operations to return UNAVAILABLE instead of UNKNOWN when underlying connection is broken (#​6891)
  • server: fix GracefulStop to block until all method handlers return (v1.60 regression). (#​6922)
  • server: fix two bugs that could lead to panics at shutdown when using NumStreamWorkers (EXPERIMENTAL). (#​6856)
  • reflection: do not send invalid descriptors to clients for files that cannot be fully resolved (#​6771)
  • xds: don't fail channel/server startup when xds creds is specified, but bootstrap is missing certificate providers (#​6848)
  • xds: Atomically read and write xDS security configuration client side (#​6796)
  • xds/server: fix RDS handling for non-inline route configs (#​6915)

v1.60.1

Compare Source

Bug Fixes

  • server: fix two bugs that could lead to panics at shutdown when using NumStreamWorkers (experimental feature).

v1.60.0: Release 1.60.0

Compare Source

Security

  • credentials/tls: if not set, set TLS MinVersion to 1.2 and CipherSuites according to supported suites not forbidden by RFC7540.
    • This is a behavior change to bring us into better alignment with RFC 7540.

API Changes

  • resolver: remove deprecated and experimental ClientConn.NewServiceConfig (#​6784)
  • client: remove deprecated grpc.WithServiceConfig DialOption (#​6800)

Bug Fixes

  • client: fix race that could cause a deadlock while entering idle mode and receiving a name resolver update (#​6804)
  • client: always enable TCP keepalives with OS defaults (#​6834)
  • credentials/alts: fix a bug preventing ALTS from connecting to the metadata server if the default scheme is overridden (#​6686)

Behavior Changes

  • server: Do not return from Stop() or GracefulStop() until all resources are released (#​6489)

Documentation

  • codes: clarify that only codes defined by this package are valid and that users should not cast other values to codes.Code (#​6701)

v1.59.0: Release 1.59.0

Compare Source

Behavior Changes

  • balancer: grpc will switch to case-sensitive balancer names soon; log a warning if a capital letter is encountered in an LB policy name (#​6647)
  • server: allow applications to send arbitrary data in the grpc-status-details-bin trailer (#​6662)
  • client: validate grpc-status-details-bin trailer and pass through the trailer to the application directly (#​6662)

New Features

  • tap (experimental): Add Header metadata to tap handler (#​6652)
  • grpc: channel idleness enabled by default with an idle_timeout of 30m (#​6585)

Documentation

  • examples: add an example of flow control behavior (#​6648)

Bug Fixes

  • xds: fix hash policy header to skip "-bin" headers and read content-type header as expected (#​6609)

v1.58.3: Release 1.58.3

Compare Source

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.

v1.58.2: Release 1.58.2

Compare Source

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.

v1.58.1: Release 1.58.1

Compare Source

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

v1.58.0: Release 1.58.0

Compare Source

API Changes

See #​6472 for details about these changes.

  • balancer: add StateListener to NewSubConnOptions for SubConn state updates and deprecate Balancer.UpdateSubConnState (#​6481)
    • UpdateSubConnState will be deleted in the future.
  • balancer: add SubConn.Shutdown and deprecate Balancer.RemoveSubConn (#​6493)
    • RemoveSubConn will 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 Endpoints to State and deprecate Addresses (#​6471)
    • Addresses will 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=true to 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_FAILURE when actually moving to IDLE (#​6497)
  • balancergroup: do not cache closed sub-balancers by default; affects rls, weightedtarget and clustermanager LB 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]SharedWriteBuffer to improve performance by reducing allocations when sending RPC messages. (Disabled by default.) (#​6309)

v1.57.2: Release 1.57.2

Compare Source

Bug Fixes

  • server: fix a bug introduced in v1.57.1 that causes connections to eventually stop processing any RPCs.

v1.57.1: Release 1.57.1

Compare Source

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.

v1.57.0: Release 1.57.0

Compare Source

API Changes

  • resolver: remove deprecated Target.Scheme and Target.Authority. Use URL.Scheme and URL.Host instead, respectively (#​6363)

Behavior Changes

  • client: percent-encode the default authority for the channel (#​6428)
  • xds: require EDS service name to be set in a CDS cluster with an 'xdstp' resource name (gRFC A47) (#​6438)

New Features

  • reflection: support the v1 reflection service and update Register to register both v1alpha and v1 (#​6329)
  • xds: add support for string matcher in RBAC header matching (#​6419)
  • alts: add support for GRPC_ALTS_MAX_CONCURRENT_HANDSHAKES env var (#​6267)
  • balancer/weightedroundrobin: de-experimentalize name of LB policy (#​6477)

Bug Fixes

  • status: status.FromError now returns an error with codes.Unknown when the error implements the GRPCStatus() method, and calling GRPCStatus() returns nil (#​6374)
  • server: fix bug preventing TCP user timeout from being set on the connection when TLS is used (#​6321)
  • client: eliminate connection churn during an address update that differs only in balancer attributes (#​6439)
  • clusterresolver: handle EDS nacks, resource-not-found errors, and DNS Resolver errors correctly (#​6436, #​6461)
  • xds/ringhash: cache connectivity state of subchannels inside picker to avoid rare races (#​6351)

v1.56.3: Release 1.56.3

Compare Source

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.

v1.56.2: Release 1.56.2

Compare Source

  • status: To fix a panic, status.FromError now returns an error with codes.Unknown when the error implements the GRPCStatus() method, and calling GRPCStatus() returns nil. (#​6374)

v1.56.1: Release 1.56.1

Compare Source

  • client: handle empty address lists correctly in addrConn.updateAddrs

v1.56.0: Release 1.56.0

Compare Source

New Features

  • client: support channel idleness using WithIdleTimeout dial option (#​6263)
    • This feature is currently disabled by default, but will be enabled with a 30 minute default in the future.
  • client: when using pickfirst, keep channel state in TRANSIENT_FAILURE until it becomes READY (gRFC A62) (#​6306)
  • xds: Add support for Custom LB Policies (gRFC A52) (#​6224)
  • xds: support pick_first Custom LB policy (gRFC A62) (#​6314) (#​6317)
  • client: add support for pickfirst address shuffling (gRFC A62) (#​6311)
  • xds: Add support for String Matcher Header Matcher in RDS (#​6313)
  • xds/outlierdetection: Add Channelz Logger to Outlier Detection LB (#​6145)
  • xds: enable RLS in xDS by default (#​6343)
  • orca: add support for application_utilization field and missing range checks on several metrics setters
  • balancer/weightedroundrobin: add new LB policy for balancing between backends based on their load reports (gRFC A58) (#​6241)
  • authz: add conversion of json to RBAC Audit Logging config (#​6192)
  • authz: add support for stdout logger (#​6230 and #​6298)
  • authz: support customizable audit functionality for authorization policy (#​6192 #​6230 #​6298 #​6158 #​6304 and #​6225)

Bug Fixes

  • orca: fix a race at startup of out-of-band metric subscriptions that would cause the report interval to request 0 (#​6245)
  • xds/xdsresource: Fix Outlier Detection Config Handling and correctly set xDS Defaults (#​6361)
  • xds/outlierdetection: Fix Outlier Detection Config Handling by setting defaults in ParseConfig() (#​6361)

API Changes

  • orca: allow a ServerMetricsProvider to be passed to the ORCA service and ServerOption (#​6223)

v1.55.1: Release 1.55.1

Compare Source

  • status: To fix a panic, status.FromError now returns an error with codes.Unknown when the error implements the GRPCStatus() method, and calling GRPCStatus() returns nil. (#​6374)

v1.55.0: Release 1.55.0

Compare Source

Behavior Changes

New Features

  • xds/xdsclient: support ignore_resource_deletion server feature as per gRFC A53 (#​6035)
  • security/advancedtls: add min/max TLS version selection options (#​6007)

Bug Fixes

  • xds: stop routing RPCs to deleted clusters (#​6125)
  • client: fix race between stream creation and GOAWAY receipt, which could lead to spurious UNAVAILABLE stream errors (#​6142)

Performance Improvements

v1.54.1: Release 1.54.1

Compare Source

Bug Fixes

  • credentials/alts: revert a change that causes a crash in the handshaker

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [google.golang.org/grpc](https://github.com/grpc/grpc-go) | require | minor | `v1.54.0` -> `v1.68.0` | --- ### Release Notes <details> <summary>grpc/grpc-go (google.golang.org/grpc)</summary> ### [`v1.68.0`](https://github.com/grpc/grpc-go/releases/tag/v1.68.0): Release 1.68.0 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.67.1...v1.68.0) ### Known Issues - The recently added `grpc.NewClient` function is incompatible with forward proxies, because it resolves the target hostname on the client instead of passing the hostname to the proxy. This bug has been present since the introduction of `NewClient`. A fix is expected to be a part of grpc-go v1.69. ([#&#8203;7556](https://github.com/grpc/grpc-go/issues/7556)) *** ### Behavior Changes - stats/opentelemetry/csm: Get mesh_id local label from "CSM_MESH_ID" environment variable, rather than parsing from bootstrap file ([#&#8203;7740](https://github.com/grpc/grpc-go/issues/7740)) - orca (experimental): if using an ORCA listener, it must now be registered only on a READY SubConn, and the listener will automatically be stopped when the connection is lost. ([#&#8203;7663](https://github.com/grpc/grpc-go/issues/7663)) - client: `ClientConn.Close()` now closes transports simultaneously and waits for transports to be closed before returning. ([#&#8203;7666](https://github.com/grpc/grpc-go/issues/7666)) - credentials: TLS credentials created via `NewTLS` that use `tls.Config.GetConfigForClient` will now have CipherSuites, supported TLS versions and ALPN configured automatically. These were previously only set for configs not using the `GetConfigForClient` option. ([#&#8203;7709](https://github.com/grpc/grpc-go/issues/7709)) ### Bug Fixes - transport: prevent deadlock in client transport shutdown when writing the GOAWAY frame hangs. ([#&#8203;7662](https://github.com/grpc/grpc-go/issues/7662)) - mem: reuse buffers more accurately by using slice capacity instead of length ([#&#8203;7702](https://github.com/grpc/grpc-go/issues/7702)) - Special Thanks: [@&#8203;PapaCharlie](https://github.com/PapaCharlie) - status: Fix regression caused by [#&#8203;6919](https://github.com/grpc/grpc-go/issues/6919) in status.Details() causing it to return a wrapped type when getting proto messages generated with protoc-gen-go < v1. ([#&#8203;7724](https://github.com/grpc/grpc-go/issues/7724)) ### Dependencies - Bump minimum supported Go version to `go1.22.7`. ([#&#8203;7624](https://github.com/grpc/grpc-go/issues/7624)) ### [`v1.67.1`](https://github.com/grpc/grpc-go/releases/tag/v1.67.1): Release 1.67.1 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.67.0...v1.67.1) ### Bug Fixes - transport: Fix a bug causing stream failures due to miscalculation of the flow control window in both clients and servers. ([#&#8203;7667](https://github.com/grpc/grpc-go/issues/7667)) - xds/server: Fix xDS Server memory leak. ([#&#8203;7681](https://github.com/grpc/grpc-go/issues/7681)) ### [`v1.67.0`](https://github.com/grpc/grpc-go/releases/tag/v1.67.0): Release 1.67.0 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.66.3...v1.67.0) ### Bug Fixes - ringhash: when used with multiple EDS priorities, fix bug that could prevent a higher priority from recovering from transient failure. ([#&#8203;7364](https://github.com/grpc/grpc-go/issues/7364)) - Special Thanks: [@&#8203;atollena](https://github.com/atollena) ### Behavior Changes - In accordance with [RFC 7540](https://tools.ietf.org/html/rfc7540#section-3.3), clients and servers will now reject TLS connections that don't support ALPN. This can be disabled by setting the environment variable `GRPC_ENFORCE_ALPN_ENABLED` to `false` (case insensitive). Please file a bug if you encounter any issues with this behavior. The environment variable to revert this behavior will be removed in an upcoming release. ([#&#8203;7535](https://github.com/grpc/grpc-go/issues/7535)) ### [`v1.66.3`](https://github.com/grpc/grpc-go/releases/tag/v1.66.3): Release 1.66.3 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.66.2...v1.66.3) ### Bug Fixes - transport: Fix a bug causing stream failures due to miscalculation of the flow control window in both clients and servers. ([#&#8203;7667](https://github.com/grpc/grpc-go/issues/7667)) - xds/server: Fix xDS Server memory leak. ([#&#8203;7681](https://github.com/grpc/grpc-go/issues/7681)) ### [`v1.66.2`](https://github.com/grpc/grpc-go/releases/tag/v1.66.2): Release 1.66.2 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.66.1...v1.66.2) ### Dependencies - Remove unintentional dependency on the `testing` package ([#&#8203;7579](https://github.com/grpc/grpc-go/issues/7579)) - Remove unintentional dependency on the `flate` package ([#&#8203;7595](https://github.com/grpc/grpc-go/issues/7595)) - Special Thanks: [@&#8203;ash2k](https://github.com/ash2k) ### Bug Fixes - client: fix a bug that prevented memory reuse after handling unary RPCs ([#&#8203;7571](https://github.com/grpc/grpc-go/issues/7571)) - Special Thanks: [@&#8203;coxley](https://github.com/coxley) ### [`v1.66.1`](https://github.com/grpc/grpc-go/compare/v1.66.0...v1.66.1) [Compare Source](https://github.com/grpc/grpc-go/compare/v1.66.0...v1.66.1) ### [`v1.66.0`](https://github.com/grpc/grpc-go/releases/tag/v1.66.0): Release 1.66.0 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.65.1...v1.66.0) ### New Features - metadata: stabilize `ValueFromIncomingContext` ([#&#8203;7368](https://github.com/grpc/grpc-go/issues/7368)) - Special Thanks: [@&#8203;KarthikReddyPuli](https://github.com/KarthikReddyPuli) - client: stabilize the `WaitForStateChange` and `GetState` methods, which were previously experimental. ([#&#8203;7425](https://github.com/grpc/grpc-go/issues/7425)) - xds: Implement ADS flow control mechanism ([#&#8203;7458](https://github.com/grpc/grpc-go/issues/7458)) - See https://github.com/grpc/grpc/issues/34099 for context. - balancer/rls: Add metrics for data cache and picker internals ([#&#8203;7484](https://github.com/grpc/grpc-go/issues/7484), [#&#8203;7495](https://github.com/grpc/grpc-go/issues/7495)) - xds: LRS load reports now include the `total_issued_requests` field. ([#&#8203;7544](https://github.com/grpc/grpc-go/issues/7544)) ### Bug Fixes - grpc: Clients now return status code INTERNAL instead of UNIMPLEMENTED when the server uses an unsupported compressor. This is consistent with the [gRPC compression spec](https://github.com/grpc/grpc/blob/master/doc/compression.md#compression-method-asymmetry-between-peers). ([#&#8203;7461](https://github.com/grpc/grpc-go/issues/7461)) - Special Thanks: [@&#8203;Gayathri625](https://github.com/Gayathri625) - transport: Fix a bug which could result in writes busy looping when the underlying `conn.Write` returns errors ([#&#8203;7394](https://github.com/grpc/grpc-go/issues/7394)) - Special Thanks: [@&#8203;veshij](https://github.com/veshij) - client: fix race that could lead to orphaned connections and associated resources. ([#&#8203;7390](https://github.com/grpc/grpc-go/issues/7390)) - xds: use locality from the connected address for load reporting with pick_first ([#&#8203;7378](https://github.com/grpc/grpc-go/issues/7378)) - without this fix, if a priority contains multiple localities with pick_first, load was reported for the wrong locality - client: prevent hanging during ClientConn.Close() when the network is unreachable ([#&#8203;7540](https://github.com/grpc/grpc-go/issues/7540)) ### Performance Improvements - transport: double buffering is avoided when using an http connect proxy and the target server waits for client to send the first message. ([#&#8203;7424](https://github.com/grpc/grpc-go/issues/7424)) - codec: Implement a new `Codec` which uses buffer recycling for encoded message ([#&#8203;7356](https://github.com/grpc/grpc-go/issues/7356)) - introduce a `mem` package to facilitate buffer reuse ([#&#8203;7432](https://github.com/grpc/grpc-go/issues/7432)) - Special Thanks: [@&#8203;PapaCharlie](https://github.com/PapaCharlie) ### [`v1.65.1`](https://github.com/grpc/grpc-go/releases/tag/v1.65.1): Release 1.65.1 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.65.0...v1.65.1) ### Bug Fixes - xds/server: Fix xDS Server memory leak. (https://github.com/grpc/grpc-go/pull/7664) ### [`v1.65.0`](https://github.com/grpc/grpc-go/releases/tag/v1.65.0): Release 1.65.0 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.64.1...v1.65.0) ### Dependencies - Change support policy to cover only the latest TWO releases of Go, matching the policy for Go itself. See [#&#8203;7249](https://github.com/grpc/grpc-go/issues/7249) for more information. ([#&#8203;7250](https://github.com/grpc/grpc-go/issues/7250)) - Update x/net/http2 to address [CVE-2023-45288](https://nvd.nist.gov/vuln/detail/CVE-2023-45288) ([#&#8203;7282](https://github.com/grpc/grpc-go/issues/7282)) ### Behavior Changes - credentials/tls: clients and servers will now reject connections that don't support ALPN when environment variable `GRPC_ENFORCE_ALPN_ENABLED` is set to "true" (case insensitive). ([#&#8203;7184](https://github.com/grpc/grpc-go/issues/7184)) - NOTE: this behavior will become the default in a future release. - metadata: remove String method from MD to make printing more consistent ([#&#8203;7373](https://github.com/grpc/grpc-go/issues/7373)) ### New Features - grpc: add `WithMaxCallAttempts` to configure gRPC's retry behavior per-channel. ([#&#8203;7229](https://github.com/grpc/grpc-go/issues/7229)) - Special Thanks: [@&#8203;imoore76](https://github.com/imoore76) ### Bug Fixes - ringhash: properly apply endpoint weights instead of ignoring them ([#&#8203;7156](https://github.com/grpc/grpc-go/issues/7156)) - xds: fix a bug that could cause xds-enabled servers to stop accepting new connections after handshaking errors ([#&#8203;7128](https://github.com/grpc/grpc-go/issues/7128)) - Special Thanks: [@&#8203;bozaro](https://github.com/bozaro) ### [`v1.64.1`](https://github.com/grpc/grpc-go/releases/tag/v1.64.1): Release 1.64.1 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.64.0...v1.64.1) ### Dependencies - Update x/net/http2 to address [CVE-2023-45288](https://nvd.nist.gov/vuln/detail/CVE-2023-45288) ([#&#8203;7352](https://github.com/grpc/grpc-go/issues/7352)) - metadata: remove String method from MD to make printing consistent ([#&#8203;7374](https://github.com/grpc/grpc-go/issues/7374)) ### [`v1.64.0`](https://github.com/grpc/grpc-go/releases/tag/v1.64.0): Release 1.64.0 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.63.3...v1.64.0) ### API Changes - stats: Deprecate `InPayload.Data` and `OutPayload.Data`; they were experimental and will be deleted in the next release ([#&#8203;7121](https://github.com/grpc/grpc-go/issues/7121)) ### Behavior Changes - codec: Remove handling of environment variable `GRPC_GO_ADVERTISE_COMPRESSORS` to suppress setting supported compressors in `grpc-accept-encoding` header. Compressors will always be advertised, as they have been by default for some time ([#&#8203;7203](https://github.com/grpc/grpc-go/issues/7203)) ### New Features - resolver/dns: Add `SetMinResolutionInterval` to set the minimum interval at which DNS re-resolutions may occur ([#&#8203;6962](https://github.com/grpc/grpc-go/issues/6962)) - Special Thanks: [@&#8203;HomayoonAlimohammadi](https://github.com/HomayoonAlimohammadi) - peer/peer: Implement the `fmt.Stringer` interface for pretty printing `Peer`, and - metadata/metadata: Implement the `fmt.Stringer` interface for pretty printing `MD` ([#&#8203;7137](https://github.com/grpc/grpc-go/issues/7137)) - Special Thanks: [@&#8203;AnomalRoil](https://github.com/AnomalRoil) ### Performance Improvements - client: Improve RPC performance by reducing work while holding a lock ([#&#8203;7132](https://github.com/grpc/grpc-go/issues/7132)) ### Bug Fixes - transport/server: Display the proper timeout value when keepalive pings are not ack'd in time ([#&#8203;7038](https://github.com/grpc/grpc-go/issues/7038)) - Special Thanks: [@&#8203;BatmanAoD](https://github.com/BatmanAoD) - channelz: Fix bug that was causing the subchannel's target to be unset ([#&#8203;7189](https://github.com/grpc/grpc-go/issues/7189)) - stats: Fix bug where peer was not set in context when calling stats handler for `OutPayload`, `InPayload`, and `End` ([#&#8203;7096](https://github.com/grpc/grpc-go/issues/7096)) ### Dependencies - deps: Remove dependency on deprecated `github.com/golang/protobuf` module ([#&#8203;7122](https://github.com/grpc/grpc-go/issues/7122)) ### Documentation - grpc: Deprecate `WithBlock`, `WithReturnConnectionError`, `FailOnNonTempDialError` which are ignored by `NewClient` ([#&#8203;7097](https://github.com/grpc/grpc-go/issues/7097)) - Special Thanks: [@&#8203;pellared](https://github.com/pellared) - grpc: Deprecate `Dial` and `DialContext`. These will continue to be supported throughout 1.x, but are deprecated to direct users to `NewClient` (See [#&#8203;7090](https://github.com/grpc/grpc-go/issues/7090) for more information) - examples: Add custom lb example ([#&#8203;6691](https://github.com/grpc/grpc-go/issues/6691)) ### [`v1.63.3`](https://github.com/grpc/grpc-go/releases/tag/v1.63.3): Release 1.63.3 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.63.2...v1.63.3) ### Dependencies - Update x/net/http2 to address [CVE-2023-45288](https://nvd.nist.gov/vuln/detail/CVE-2023-45288) ([#&#8203;7352](https://github.com/grpc/grpc-go/issues/7352)) ### [`v1.63.2`](https://github.com/grpc/grpc-go/releases/tag/v1.63.2): Release 1.63.2 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.63.1...v1.63.2) ### Bugs - Fix the user agent string ### [`v1.63.1`](https://github.com/grpc/grpc-go/releases/tag/v1.63.1): Release 1.63.1 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.63.0...v1.63.1) ### Bugs - grpc: fixed subchannel log messages to properly reference the parent channel ([#&#8203;7101](https://github.com/grpc/grpc-go/issues/7101)) - Special thanks: [@&#8203;daniel-weisse](https://github.com/daniel-weisse) ### API Changes - grpc: remove Deprecated tag from Dial and DialContext; these will be deprecated in v1.64 instead ([#&#8203;7103](https://github.com/grpc/grpc-go/issues/7103)) ### [`v1.63.0`](https://github.com/grpc/grpc-go/releases/tag/v1.63.0): Release 1.63.0 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.62.2...v1.63.0) ### Behavior Changes - grpc: Return canonical target string from `resolver.Address.String()` (experimental) ([#&#8203;6923](https://github.com/grpc/grpc-go/issues/6923)) - client & server: when using write buffer pooling, use input value for buffer size instead of size\*2 ([#&#8203;6983](https://github.com/grpc/grpc-go/issues/6983)) - Special Thanks: [@&#8203;raghav-stripe](https://github.com/raghav-stripe) ### New Features - grpc: add `ClientConn.CanonicalTarget()` to return the canonical target string. ([#&#8203;7006](https://github.com/grpc/grpc-go/issues/7006)) - xds: implement LRS named metrics support ([gRFC A64](https://github.com/grpc/proposal/blob/master/A64-lrs-custom-metrics.md)) ([#&#8203;7027](https://github.com/grpc/grpc-go/issues/7027)) - Special Thanks: [@&#8203;danielzhaotongliu](https://github.com/danielzhaotongliu) - grpc: introduce `grpc.NewClient` to allow users to create new clients in idle mode and with "dns" as the default resolver ([#&#8203;7010](https://github.com/grpc/grpc-go/issues/7010)) - Special Thanks: [@&#8203;bruuuuuuuce](https://github.com/bruuuuuuuce) ### API Changes - grpc: stabilize experimental method `ClientConn.Target()` ([#&#8203;7006](https://github.com/grpc/grpc-go/issues/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 ([#&#8203;7026](https://github.com/grpc/grpc-go/issues/7026)) - server: Fix some errors returned by a server when using a `grpc.Server` as an `http.Handler` with the Go stdlib HTTP server ([#&#8203;6989](https://github.com/grpc/grpc-go/issues/6989)) - resolver/dns: add `SetResolvingTimeout` to allow configuring the DNS resolver's global timeout ([#&#8203;6917](https://github.com/grpc/grpc-go/issues/6917)) - Special Thanks: [@&#8203;and1truong](https://github.com/and1truong) - Set the security level of Windows named pipes to NoSecurity ([#&#8203;6956](https://github.com/grpc/grpc-go/issues/6956)) - Special Thanks: [@&#8203;irsl](https://github.com/irsl) ### [`v1.62.2`](https://github.com/grpc/grpc-go/releases/tag/v1.62.2): Release 1.62.2 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.62.1...v1.62.2) ### Dependencies - Update http2 library to address vulnerability [CVE-2023-45288](https://www.kb.cert.org/vuls/id/421644) ### [`v1.62.1`](https://github.com/grpc/grpc-go/releases/tag/v1.62.1): Release 1.62.1 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.62.0...v1.62.1) ### Bug Fixes - xds: fix a bug that results in `no matching virtual host found` RPC errors due to a difference between the target and LDS resource names ([#&#8203;6997](https://github.com/grpc/grpc-go/issues/6997)) - server: fixed stats handler data `InPayload.Length` for unary RPC calls ([#&#8203;6766](https://github.com/grpc/grpc-go/issues/6766)) - Special Thanks: [@&#8203;hueypark](https://github.com/hueypark) - grpc: the experimental `RecvBufferPool` `DialOption` and `ServerOption` are now active during unary RPCs with compression ([#&#8203;6766](https://github.com/grpc/grpc-go/issues/6766)) - Special Thanks: [@&#8203;hueypark](https://github.com/hueypark) - grpc: trim whitespaces in `accept-encoding` header before determining compressors - Special Thanks: [@&#8203;sercand](https://github.com/sercand) ### [`v1.62.0`](https://github.com/grpc/grpc-go/releases/tag/v1.62.0): Release 1.62.0 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.61.2...v1.62.0) ### New Features - grpc: Add StaticMethod CallOption as a signal to stats handler that a method is safe to use as an instrument key ([#&#8203;6986](https://github.com/grpc/grpc-go/issues/6986)) ### Behavior Changes - grpc: Return canonical target string from ClientConn.Target() and resolver.Address.String() ([#&#8203;6923](https://github.com/grpc/grpc-go/issues/6923)) ### Bug Fixes - server: wait to close connection until incoming socket is drained (with timeout) to prevent data loss on client-side ([#&#8203;6977](https://github.com/grpc/grpc-go/issues/6977)) - Special Thanks: [@&#8203;s-matyukevich](https://github.com/s-matyukevich) for discovering the root cause ### Performance Improvements - \*: Allow building without `x/net/trace` by using `grpcnotrace` to enable dead code elimination ([#&#8203;6954](https://github.com/grpc/grpc-go/issues/6954)) - Special Thanks: [@&#8203;hugelgupf](https://github.com/hugelgupf) - rand: improve performance and simplify implementation of `grpcrand` by adopting `math/rand`'s top-level functions for go version 1.21.0 and newer. ([#&#8203;6925](https://github.com/grpc/grpc-go/issues/6925)) - Special Thanks: [@&#8203;kmirzavaziri](https://github.com/kmirzavaziri) ### Dependencies - \*: Use google.golang.org/protobuf/proto instead of github.com/golang/protobuf. ([#&#8203;6919](https://github.com/grpc/grpc-go/issues/6919)) - Special Thanks: [@&#8203;Clement-Jean](https://github.com/Clement-Jean) > \[!NOTE] > The above change in proto library usage introduces a minor behavior change within those libraries. The old `github.com/golang/protobuf` library would error if given a `nil` message to `Marshal`, while the new `google.golang.org/protobuf` library will successfully output zero bytes in this case. This means server method handlers that did `return nil, nil` will now return an empty message and no error, while it used to return an error. This also affects the client side, where clients sending `nil` messages used to fail without sending the RPC, and now they will send an empty message. ### [`v1.61.2`](https://github.com/grpc/grpc-go/releases/tag/v1.61.2): Release 1.61.2 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.61.1...v1.61.2) ### Dependencies - Update http2 library to address vulnerability [CVE-2023-45288](https://www.kb.cert.org/vuls/id/421644) ### [`v1.61.1`](https://github.com/grpc/grpc-go/releases/tag/v1.61.1): Release 1.61.1 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.61.0...v1.61.1) ### Bug Fixes - server: wait to close connection until incoming socket is drained (with timeout) to prevent data loss on client-side ([#&#8203;6977](https://github.com/grpc/grpc-go/issues/6977)) - Special Thanks: [@&#8203;s-matyukevich](https://github.com/s-matyukevich) for discovering the root cause ### [`v1.61.0`](https://github.com/grpc/grpc-go/releases/tag/v1.61.0): Release 1.61.0 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.60.1...v1.61.0) ### New Features - resolver: provide method, `AuthorityOverrider`, to allow resolver.Builders to override the default authority for a `ClientConn`. (EXPERIMENTAL) ([#&#8203;6752](https://github.com/grpc/grpc-go/issues/6752)) - Special Thanks: [@&#8203;Aditya-Sood](https://github.com/Aditya-Sood) - xds: add support for mTLS Credentials in xDS bootstrap ([gRFC A65](github.com/grpc/proposal/blob/8c31bfedded5f0a51c4933e9e9a8246122f9c41a/A65-xds-mtls-creds-in-bootstrap.md)) ([#&#8203;6757](https://github.com/grpc/grpc-go/issues/6757)) - Special Thanks: [@&#8203;atollena](https://github.com/atollena) - server: add `grpc.WaitForHandlers` `ServerOption` to cause `Server.Stop` to block until method handlers return. (EXPERIMENTAL) ([#&#8203;6922](https://github.com/grpc/grpc-go/issues/6922)) ### Performance Improvements - grpc: skip compression of empty messages as an optimization ([#&#8203;6842](https://github.com/grpc/grpc-go/issues/6842)) - Special Thanks: [@&#8203;jroper](https://github.com/jroper) - orca: use atomic pointer to improve performance in server metrics recorder ([#&#8203;6799](https://github.com/grpc/grpc-go/issues/6799)) - Special Thanks: [@&#8203;danielzhaotongliu](https://github.com/danielzhaotongliu) ### Bug Fixes - client: correctly enable TCP keepalives with OS defaults on windows ([#&#8203;6863](https://github.com/grpc/grpc-go/issues/6863)) - Special Thanks: [@&#8203;mmatczuk](https://github.com/mmatczuk) - server: change some stream operations to return `UNAVAILABLE` instead of `UNKNOWN` when underlying connection is broken ([#&#8203;6891](https://github.com/grpc/grpc-go/issues/6891)) - Special Thanks: [@&#8203;mustafasen81](https://github.com/mustafasen81) - server: fix `GracefulStop` to block until all method handlers return (v1.60 regression). ([#&#8203;6922](https://github.com/grpc/grpc-go/issues/6922)) - server: fix two bugs that could lead to panics at shutdown when using [`NumStreamWorkers`](https://pkg.go.dev/google.golang.org/grpc#NumStreamWorkers) (EXPERIMENTAL). ([#&#8203;6856](https://github.com/grpc/grpc-go/issues/6856)) - reflection: do not send invalid descriptors to clients for files that cannot be fully resolved ([#&#8203;6771](https://github.com/grpc/grpc-go/issues/6771)) - Special Thanks: [@&#8203;jhump](https://github.com/jhump) - xds: don't fail channel/server startup when xds creds is specified, but bootstrap is missing certificate providers ([#&#8203;6848](https://github.com/grpc/grpc-go/issues/6848)) - xds: Atomically read and write xDS security configuration client side ([#&#8203;6796](https://github.com/grpc/grpc-go/issues/6796)) - xds/server: fix RDS handling for non-inline route configs ([#&#8203;6915](https://github.com/grpc/grpc-go/issues/6915)) ### [`v1.60.1`](https://github.com/grpc/grpc-go/releases/tag/v1.60.1) [Compare Source](https://github.com/grpc/grpc-go/compare/v1.60.0...v1.60.1) ### Bug Fixes - server: fix two bugs that could lead to panics at shutdown when using [NumStreamWorkers](https://pkg.go.dev/google.golang.org/grpc#NumStreamWorkers) (experimental feature). ### [`v1.60.0`](https://github.com/grpc/grpc-go/releases/tag/v1.60.0): Release 1.60.0 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.59.0...v1.60.0) ### Security - credentials/tls: if not set, set TLS MinVersion to 1.2 and CipherSuites according to supported suites not forbidden by RFC7540. - This is a behavior change to bring us into better alignment with RFC 7540. ### API Changes - resolver: remove deprecated and experimental `ClientConn.NewServiceConfig` ([#&#8203;6784](https://github.com/grpc/grpc-go/issues/6784)) - client: remove deprecated `grpc.WithServiceConfig` `DialOption` ([#&#8203;6800](https://github.com/grpc/grpc-go/issues/6800)) ### Bug Fixes - client: fix race that could cause a deadlock while entering idle mode and receiving a name resolver update ([#&#8203;6804](https://github.com/grpc/grpc-go/issues/6804)) - client: always enable TCP keepalives with OS defaults ([#&#8203;6834](https://github.com/grpc/grpc-go/issues/6834)) - credentials/alts: fix a bug preventing ALTS from connecting to the metadata server if the default scheme is overridden ([#&#8203;6686](https://github.com/grpc/grpc-go/issues/6686)) - Special Thanks: [@&#8203;mjamaloney](https://github.com/mjamaloney) ### Behavior Changes - server: Do not return from Stop() or GracefulStop() until all resources are released ([#&#8203;6489](https://github.com/grpc/grpc-go/issues/6489)) - Special Thanks: [@&#8203;fho](https://github.com/fho) ### Documentation - codes: clarify that only codes defined by this package are valid and that users should not cast other values to `codes.Code` ([#&#8203;6701](https://github.com/grpc/grpc-go/issues/6701)) ### [`v1.59.0`](https://github.com/grpc/grpc-go/releases/tag/v1.59.0): Release 1.59.0 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.58.3...v1.59.0) ### Behavior Changes - balancer: grpc will switch to case-sensitive balancer names soon; log a warning if a capital letter is encountered in an LB policy name ([#&#8203;6647](https://github.com/grpc/grpc-go/issues/6647)) - server: allow applications to send arbitrary data in the `grpc-status-details-bin` trailer ([#&#8203;6662](https://github.com/grpc/grpc-go/issues/6662)) - client: validate `grpc-status-details-bin` trailer and pass through the trailer to the application directly ([#&#8203;6662](https://github.com/grpc/grpc-go/issues/6662)) ### New Features - tap (experimental): Add Header metadata to tap handler ([#&#8203;6652](https://github.com/grpc/grpc-go/issues/6652)) - Special Thanks: [@&#8203;pstibrany](https://github.com/pstibrany) - grpc: channel idleness enabled by default with an `idle_timeout` of `30m` ([#&#8203;6585](https://github.com/grpc/grpc-go/issues/6585)) ### Documentation - examples: add an example of flow control behavior ([#&#8203;6648](https://github.com/grpc/grpc-go/issues/6648)) ### Bug Fixes - xds: fix hash policy header to skip "-bin" headers and read content-type header as expected ([#&#8203;6609](https://github.com/grpc/grpc-go/issues/6609)) ### [`v1.58.3`](https://github.com/grpc/grpc-go/releases/tag/v1.58.3): Release 1.58.3 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.58.2...v1.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. ### [`v1.58.2`](https://github.com/grpc/grpc-go/releases/tag/v1.58.2): Release 1.58.2 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.58.1...v1.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. ### [`v1.58.1`](https://github.com/grpc/grpc-go/releases/tag/v1.58.1): Release 1.58.1 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.58.0...v1.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 ### [`v1.58.0`](https://github.com/grpc/grpc-go/releases/tag/v1.58.0): Release 1.58.0 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.57.2...v1.58.0) ### API Changes See [#&#8203;6472](https://github.com/grpc/grpc-go/issues/6472) for details about these changes. - balancer: add `StateListener` to `NewSubConnOptions` for `SubConn` state updates and deprecate `Balancer.UpdateSubConnState` ([#&#8203;6481](https://github.com/grpc/grpc-go/issues/6481)) - `UpdateSubConnState` will be deleted in the future. - balancer: add `SubConn.Shutdown` and deprecate `Balancer.RemoveSubConn` ([#&#8203;6493](https://github.com/grpc/grpc-go/issues/6493)) - `RemoveSubConn` will be deleted in the future. - resolver: remove deprecated `AddressType` ([#&#8203;6451](https://github.com/grpc/grpc-go/issues/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 `Endpoints` to `State` and deprecate `Addresses` ([#&#8203;6471](https://github.com/grpc/grpc-go/issues/6471)) - `Addresses` will 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 ([#&#8203;6510](https://github.com/grpc/grpc-go/issues/6510), [#&#8203;6517](https://github.com/grpc/grpc-go/issues/6517)) - Set `GRPC_EXPERIMENTAL_ENABLE_LEAST_REQUEST=true` to enable - stats: Add an RPC event for blocking caused by the LB policy's picker ([#&#8203;6422](https://github.com/grpc/grpc-go/issues/6422)) ### Bug Fixes - clusterresolver: fix deadlock when dns resolver responds inline with update or error at build time ([#&#8203;6563](https://github.com/grpc/grpc-go/issues/6563)) - grpc: fix a bug where the channel could erroneously report `TRANSIENT_FAILURE` when actually moving to `IDLE` ([#&#8203;6497](https://github.com/grpc/grpc-go/issues/6497)) - balancergroup: do not cache closed sub-balancers by default; affects `rls`, `weightedtarget` and `clustermanager` LB policies ([#&#8203;6523](https://github.com/grpc/grpc-go/issues/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 ([#&#8203;6557](https://github.com/grpc/grpc-go/issues/6557)) ### Performance Improvements - client & server: Add experimental `[With]SharedWriteBuffer` to improve performance by reducing allocations when sending RPC messages. (Disabled by default.) ([#&#8203;6309](https://github.com/grpc/grpc-go/issues/6309)) - Special Thanks: [@&#8203;s-matyukevich](https://github.com/s-matyukevich) ### [`v1.57.2`](https://github.com/grpc/grpc-go/releases/tag/v1.57.2): Release 1.57.2 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.57.1...v1.57.2) ### Bug Fixes - server: fix a bug introduced in v1.57.1 that causes connections to eventually stop processing any RPCs. ### [`v1.57.1`](https://github.com/grpc/grpc-go/releases/tag/v1.57.1): Release 1.57.1 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.57.0...v1.57.1) ### 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. ### [`v1.57.0`](https://github.com/grpc/grpc-go/releases/tag/v1.57.0): Release 1.57.0 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.56.3...v1.57.0) ### API Changes - resolver: remove deprecated `Target.Scheme` and `Target.Authority`. Use `URL.Scheme` and `URL.Host` instead, respectively ([#&#8203;6363](https://github.com/grpc/grpc-go/issues/6363)) ### Behavior Changes - client: percent-encode the default authority for the channel ([#&#8203;6428](https://github.com/grpc/grpc-go/issues/6428)) - xds: require EDS service name to be set in a CDS cluster with an 'xdstp' resource name (gRFC A47) ([#&#8203;6438](https://github.com/grpc/grpc-go/issues/6438)) ### New Features - reflection: support the v1 reflection service and update `Register` to register both v1alpha and v1 ([#&#8203;6329](https://github.com/grpc/grpc-go/issues/6329)) - xds: add support for string matcher in RBAC header matching ([#&#8203;6419](https://github.com/grpc/grpc-go/issues/6419)) - alts: add support for `GRPC_ALTS_MAX_CONCURRENT_HANDSHAKES` env var ([#&#8203;6267](https://github.com/grpc/grpc-go/issues/6267)) - balancer/weightedroundrobin: de-experimentalize name of LB policy ([#&#8203;6477](https://github.com/grpc/grpc-go/issues/6477)) ### Bug Fixes - status: `status.FromError` now returns an error with `codes.Unknown` when the error implements the `GRPCStatus()` method, and calling `GRPCStatus()` returns `nil` ([#&#8203;6374](https://github.com/grpc/grpc-go/issues/6374)) - Special Thanks: [@&#8203;atollena](https://github.com/atollena) - server: fix bug preventing TCP user timeout from being set on the connection when TLS is used ([#&#8203;6321](https://github.com/grpc/grpc-go/issues/6321)) - Special Thanks: [@&#8203;tobotg](https://github.com/tobotg) - client: eliminate connection churn during an address update that differs only in balancer attributes ([#&#8203;6439](https://github.com/grpc/grpc-go/issues/6439)) - clusterresolver: handle EDS nacks, resource-not-found errors, and DNS Resolver errors correctly ([#&#8203;6436](https://github.com/grpc/grpc-go/issues/6436), [#&#8203;6461](https://github.com/grpc/grpc-go/issues/6461)) - xds/ringhash: cache connectivity state of subchannels inside picker to avoid rare races ([#&#8203;6351](https://github.com/grpc/grpc-go/issues/6351)) ### [`v1.56.3`](https://github.com/grpc/grpc-go/releases/tag/v1.56.3): Release 1.56.3 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.56.2...v1.56.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. ### [`v1.56.2`](https://github.com/grpc/grpc-go/releases/tag/v1.56.2): Release 1.56.2 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.56.1...v1.56.2) - status: To fix a panic, `status.FromError` now returns an error with `codes.Unknown` when the error implements the `GRPCStatus()` method, and calling `GRPCStatus()` returns `nil`. ([#&#8203;6374](https://github.com/grpc/grpc-go/issues/6374)) ### [`v1.56.1`](https://github.com/grpc/grpc-go/releases/tag/v1.56.1): Release 1.56.1 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.56.0...v1.56.1) - client: handle empty address lists correctly in addrConn.updateAddrs ### [`v1.56.0`](https://github.com/grpc/grpc-go/releases/tag/v1.56.0): Release 1.56.0 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.55.1...v1.56.0) ### New Features - client: support channel idleness using `WithIdleTimeout` dial option ([#&#8203;6263](https://github.com/grpc/grpc-go/issues/6263)) - This feature is currently disabled by default, but will be enabled with a 30 minute default in the future. - client: when using pickfirst, keep channel state in TRANSIENT_FAILURE until it becomes READY ([gRFC A62](https://github.com/grpc/proposal/blob/master/A62-pick-first.md)) ([#&#8203;6306](https://github.com/grpc/grpc-go/issues/6306)) - xds: Add support for Custom LB Policies ([gRFC A52](https://github.com/grpc/proposal/blob/master/A52-xds-custom-lb-policies.md)) ([#&#8203;6224](https://github.com/grpc/grpc-go/issues/6224)) - xds: support pick_first Custom LB policy ([gRFC A62](https://github.com/grpc/proposal/blob/master/A62-pick-first.md)) ([#&#8203;6314](https://github.com/grpc/grpc-go/issues/6314)) ([#&#8203;6317](https://github.com/grpc/grpc-go/issues/6317)) - client: add support for pickfirst address shuffling ([gRFC A62](https://github.com/grpc/proposal/blob/master/A62-pick-first.md)) ([#&#8203;6311](https://github.com/grpc/grpc-go/issues/6311)) - xds: Add support for String Matcher Header Matcher in RDS ([#&#8203;6313](https://github.com/grpc/grpc-go/issues/6313)) - xds/outlierdetection: Add Channelz Logger to Outlier Detection LB ([#&#8203;6145](https://github.com/grpc/grpc-go/issues/6145)) - Special Thanks: [@&#8203;s-matyukevich](https://github.com/s-matyukevich) - xds: enable RLS in xDS by default ([#&#8203;6343](https://github.com/grpc/grpc-go/issues/6343)) - orca: add support for application_utilization field and missing range checks on several metrics setters - balancer/weightedroundrobin: add new LB policy for balancing between backends based on their load reports ([gRFC A58](https://github.com/grpc/proposal/blob/master/A58-client-side-weighted-round-robin-lb-policy.md)) ([#&#8203;6241](https://github.com/grpc/grpc-go/issues/6241)) - authz: add conversion of json to RBAC Audit Logging config ([#&#8203;6192](https://github.com/grpc/grpc-go/issues/6192)) - authz: add support for stdout logger ([#&#8203;6230](https://github.com/grpc/grpc-go/issues/6230) and [#&#8203;6298](https://github.com/grpc/grpc-go/issues/6298)) - authz: support customizable audit functionality for authorization policy ([#&#8203;6192](https://github.com/grpc/grpc-go/issues/6192) [#&#8203;6230](https://github.com/grpc/grpc-go/issues/6230) [#&#8203;6298](https://github.com/grpc/grpc-go/issues/6298) [#&#8203;6158](https://github.com/grpc/grpc-go/issues/6158) [#&#8203;6304](https://github.com/grpc/grpc-go/issues/6304) and [#&#8203;6225](https://github.com/grpc/grpc-go/issues/6225)) ### Bug Fixes - orca: fix a race at startup of out-of-band metric subscriptions that would cause the report interval to request 0 ([#&#8203;6245](https://github.com/grpc/grpc-go/issues/6245)) - xds/xdsresource: Fix Outlier Detection Config Handling and correctly set xDS Defaults ([#&#8203;6361](https://github.com/grpc/grpc-go/issues/6361)) - xds/outlierdetection: Fix Outlier Detection Config Handling by setting defaults in ParseConfig() ([#&#8203;6361](https://github.com/grpc/grpc-go/issues/6361)) ### API Changes - orca: allow a ServerMetricsProvider to be passed to the ORCA service and ServerOption ([#&#8203;6223](https://github.com/grpc/grpc-go/issues/6223)) ### [`v1.55.1`](https://github.com/grpc/grpc-go/releases/tag/v1.55.1): Release 1.55.1 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.55.0...v1.55.1) - status: To fix a panic, `status.FromError` now returns an error with `codes.Unknown` when the error implements the `GRPCStatus()` method, and calling `GRPCStatus()` returns `nil`. ([#&#8203;6374](https://github.com/grpc/grpc-go/issues/6374)) ### [`v1.55.0`](https://github.com/grpc/grpc-go/releases/tag/v1.55.0): Release 1.55.0 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.54.1...v1.55.0) ### Behavior Changes - xds: enable federation support by default ([#&#8203;6151](https://github.com/grpc/grpc-go/issues/6151)) - status: `status.Code` and `status.FromError` handle wrapped errors ([#&#8203;6031](https://github.com/grpc/grpc-go/issues/6031) and [#&#8203;6150](https://github.com/grpc/grpc-go/issues/6150)) - Special Thanks: [@&#8203;psyhatter](https://github.com/psyhatter) ### New Features - xds/xdsclient: support `ignore_resource_deletion` server feature as per gRFC [A53](https://github.com/grpc/proposal/blob/master/A53-xds-ignore-resource-deletion.md) ([#&#8203;6035](https://github.com/grpc/grpc-go/issues/6035)) - security/advancedtls: add min/max TLS version selection options ([#&#8203;6007](https://github.com/grpc/grpc-go/issues/6007)) - Special Thanks: [@&#8203;joeljeske](https://github.com/joeljeske) ### Bug Fixes - xds: stop routing RPCs to deleted clusters ([#&#8203;6125](https://github.com/grpc/grpc-go/issues/6125)) - client: fix race between stream creation and GOAWAY receipt, which could lead to spurious UNAVAILABLE stream errors ([#&#8203;6142](https://github.com/grpc/grpc-go/issues/6142)) ### Performance Improvements - server: improve stream handler goroutine worker allocation when [`NumStreamWorkers`](https://pkg.go.dev/google.golang.org/grpc#NumStreamWorkers) is used ([#&#8203;6004](https://github.com/grpc/grpc-go/issues/6004)) - Special Thanks: [@&#8203;SaveTheRbtz](https://github.com/SaveTheRbtz) ### [`v1.54.1`](https://github.com/grpc/grpc-go/releases/tag/v1.54.1): Release 1.54.1 [Compare Source](https://github.com/grpc/grpc-go/compare/v1.54.0...v1.54.1) ### Bug Fixes - credentials/alts: revert a change that causes a crash in the handshaker </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xNDIuNiIsInVwZGF0ZWRJblZlciI6IjM4LjE0Mi42IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==-->
renovate added 1 commit 2024-11-20 03:08:00 +00:00
fix(deps): update module google.golang.org/grpc to v1.68.0
Some checks failed
ZeroDownTime/fuse-device-plugin/pipeline/pr-main There was a failure building this commit
38341b70f3
Author
Member

ℹ Artifact update notice

File name: src/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 6 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.20 -> 1.23.3
golang.org/x/net v0.13.0 -> v0.29.0
github.com/golang/protobuf v1.5.3 -> v1.5.4
golang.org/x/sys v0.10.0 -> v0.25.0
golang.org/x/text v0.11.0 -> v0.18.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19 -> v0.0.0-20240903143218-8af14fe29dc1
google.golang.org/protobuf v1.30.0 -> v1.34.2
### ℹ Artifact update notice ##### File name: src/go.mod In order to perform the update(s) described in the table above, Renovate ran the `go get` command, which resulted in the following additional change(s): - 6 additional dependencies were updated - The `go` directive was updated for compatibility reasons Details: | **Package** | **Change** | | :------------------------------------------ | :--------------------------------------------------------------------------- | | `go` | `1.20` -> `1.23.3` | | `golang.org/x/net` | `v0.13.0` -> `v0.29.0` | | `github.com/golang/protobuf` | `v1.5.3` -> `v1.5.4` | | `golang.org/x/sys` | `v0.10.0` -> `v0.25.0` | | `golang.org/x/text` | `v0.11.0` -> `v0.18.0` | | `google.golang.org/genproto/googleapis/rpc` | `v0.0.0-20230525234030-28d5490b6b19` -> `v0.0.0-20240903143218-8af14fe29dc1` | | `google.golang.org/protobuf` | `v1.30.0` -> `v1.34.2` |
Some checks failed
ZeroDownTime/fuse-device-plugin/pipeline/pr-main There was a failure building this commit
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/google.golang.org-grpc-1.x:renovate/google.golang.org-grpc-1.x
git checkout renovate/google.golang.org-grpc-1.x
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ZeroDownTime/fuse-device-plugin#4
No description provided.