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 module google.golang.org/grpc to v1.68.0 #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 8, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
google.golang.org/grpc v1.57.0 -> v1.68.0 age adoption passing confidence

Release Notes

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

v1.68.0: Release 1.68.0

Compare Source

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.

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

  • grpc: un-deprecate Dial and DialContext and cherry-pick

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

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.


Configuration

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Sep 8, 2023

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks

@renovate renovate bot changed the title Update module google.golang.org/grpc to v1.58.0 Update module google.golang.org/grpc to v1.58.1 Sep 15, 2023
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch from 48d5310 to 9aec334 Compare September 15, 2023 02:53
@renovate renovate bot changed the title Update module google.golang.org/grpc to v1.58.1 Update module google.golang.org/grpc to v1.58.2 Sep 22, 2023
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch from 9aec334 to 84fa22c Compare September 22, 2023 03:01
@renovate renovate bot changed the title Update module google.golang.org/grpc to v1.58.2 Update module google.golang.org/grpc to v1.58.3 Oct 11, 2023
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch from 84fa22c to 3f6c505 Compare October 11, 2023 02:48
@renovate renovate bot changed the title Update module google.golang.org/grpc to v1.58.3 Update module google.golang.org/grpc to v1.59.0 Oct 18, 2023
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch from 3f6c505 to 86340d7 Compare October 18, 2023 05:50
@renovate renovate bot changed the title Update module google.golang.org/grpc to v1.59.0 Update module google.golang.org/grpc to v1.60.0 Dec 12, 2023
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch from 86340d7 to 88ed493 Compare December 12, 2023 02:17
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch from 88ed493 to 2025b82 Compare December 19, 2023 02:47
@renovate renovate bot changed the title Update module google.golang.org/grpc to v1.60.0 Update module google.golang.org/grpc to v1.60.1 Dec 19, 2023
@renovate renovate bot changed the title Update module google.golang.org/grpc to v1.60.1 Update module google.golang.org/grpc to v1.61.0 Jan 24, 2024
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch from 2025b82 to 36754d7 Compare January 24, 2024 02:51
@renovate renovate bot changed the title Update module google.golang.org/grpc to v1.61.0 Update module google.golang.org/grpc to v1.61.1 Feb 14, 2024
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch from 36754d7 to 42c0e57 Compare February 14, 2024 05:02
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch 2 times, most recently from e3aa0ac to cf4404f Compare February 22, 2024 08:23
@renovate renovate bot changed the title Update module google.golang.org/grpc to v1.61.1 Update module google.golang.org/grpc to v1.62.0 Feb 22, 2024
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch from cf4404f to 7fdd975 Compare March 7, 2024 23:52
@renovate renovate bot changed the title Update module google.golang.org/grpc to v1.62.0 Update module google.golang.org/grpc to v1.62.1 Mar 7, 2024
@renovate renovate bot changed the title Update module google.golang.org/grpc to v1.62.1 Update module google.golang.org/grpc to v1.63.0 Apr 5, 2024
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch 2 times, most recently from f7b469f to 5613caa Compare April 8, 2024 23:42
@renovate renovate bot changed the title Update module google.golang.org/grpc to v1.63.0 Update module google.golang.org/grpc to v1.63.2 Apr 8, 2024
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch from 5613caa to 648ab47 Compare April 23, 2024 20:56
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch from 648ab47 to c27f585 Compare May 9, 2024 20:44
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch from c27f585 to 168d0d0 Compare May 22, 2024 20:52
@renovate renovate bot changed the title Update module google.golang.org/grpc to v1.63.2 Update module google.golang.org/grpc to v1.64.0 May 22, 2024
Copy link
Contributor Author

renovate bot commented Jun 7, 2024

ℹ Artifact update notice

File name: 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.21 -> 1.23.3
github.com/golang/protobuf v1.5.3 -> v1.5.4
golang.org/x/net v0.14.0 -> v0.29.0
golang.org/x/sys v0.11.0 -> v0.25.0
golang.org/x/text v0.12.0 -> v0.18.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d -> v0.0.0-20240903143218-8af14fe29dc1
google.golang.org/protobuf v1.31.0 -> v1.34.2

@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch from 168d0d0 to 4a4e7a6 Compare June 7, 2024 04:32
@renovate renovate bot changed the title Update module google.golang.org/grpc to v1.64.0 Update module google.golang.org/grpc to v1.65.0 Jul 3, 2024
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch 2 times, most recently from 3ea6312 to f2b3307 Compare July 4, 2024 05:23
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch 2 times, most recently from c189955 to 05aa048 Compare August 15, 2024 02:38
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch from 05aa048 to 76b5a85 Compare August 29, 2024 23:29
@renovate renovate bot changed the title Update module google.golang.org/grpc to v1.65.0 Update module google.golang.org/grpc to v1.66.0 Aug 29, 2024
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch 2 times, most recently from 970ab6f to 25dab75 Compare September 11, 2024 17:50
@renovate renovate bot changed the title Update module google.golang.org/grpc to v1.66.0 Update module google.golang.org/grpc to v1.66.1 Sep 11, 2024
@renovate renovate bot changed the title Update module google.golang.org/grpc to v1.66.1 Update module google.golang.org/grpc to v1.66.2 Sep 12, 2024
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch from 25dab75 to 8e1440b Compare September 12, 2024 08:56
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch from 8e1440b to dde5299 Compare September 21, 2024 02:52
@renovate renovate bot changed the title Update module google.golang.org/grpc to v1.66.2 Update module google.golang.org/grpc to v1.67.0 Sep 21, 2024
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch from dde5299 to 3fb2412 Compare October 2, 2024 05:26
@renovate renovate bot changed the title Update module google.golang.org/grpc to v1.67.0 Update module google.golang.org/grpc to v1.67.1 Oct 2, 2024
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch from 3fb2412 to fe447ca Compare October 3, 2024 02:15
@renovate renovate bot force-pushed the renovate/google.golang.org-grpc-1.x branch from fe447ca to a475479 Compare November 8, 2024 11:55
@renovate renovate bot changed the title Update module google.golang.org/grpc to v1.67.1 Update module google.golang.org/grpc to v1.68.0 Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants