Skip to content

Commit

Permalink
fix(deps): Update module google.golang.org/grpc to v1.62.0 (#455)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [google.golang.org/grpc](https://togithub.com/grpc/grpc-go) | indirect | minor | `v1.60.1` -> `v1.62.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>grpc/grpc-go (google.golang.org/grpc)</summary>

### [`v1.62.0`](https://togithub.com/grpc/grpc-go/releases/tag/v1.62.0): Release 1.62.0

[Compare Source](https://togithub.com/grpc/grpc-go/compare/v1.61.1...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://togithub.com/grpc/grpc-go/issues/6986))

### Behavior Changes

-   grpc: Return canonical target string from ClientConn.Target() and resolver.Address.String() ([#&#8203;6923](https://togithub.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://togithub.com/grpc/grpc-go/issues/6977))
    -   Special Thanks: [@&#8203;s-matyukevich](https://togithub.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://togithub.com/grpc/grpc-go/issues/6954))
    -   Special Thanks: [@&#8203;hugelgupf](https://togithub.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://togithub.com/grpc/grpc-go/issues/6925))
    -   Special Thanks: [@&#8203;kmirzavaziri](https://togithub.com/kmirzavaziri)

### Dependencies

-   \*: Use google.golang.org/protobuf/proto instead of github.com/golang/protobuf. ([#&#8203;6919](https://togithub.com/grpc/grpc-go/issues/6919))
    -   Special Thanks: [@&#8203;Clement-Jean](https://togithub.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.1`](https://togithub.com/grpc/grpc-go/releases/tag/v1.61.1): Release 1.61.1

[Compare Source](https://togithub.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://togithub.com/grpc/grpc-go/issues/6977))
    -   Special Thanks: [@&#8203;s-matyukevich](https://togithub.com/s-matyukevich) for discovering the root cause

### [`v1.61.0`](https://togithub.com/grpc/grpc-go/releases/tag/v1.61.0): Release 1.61.0

[Compare Source](https://togithub.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://togithub.com/grpc/grpc-go/issues/6752))
    -   Special Thanks: [@&#8203;Aditya-Sood](https://togithub.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://togithub.com/grpc/grpc-go/issues/6757))
    -   Special Thanks: [@&#8203;atollena](https://togithub.com/atollena)
-   server: add `grpc.WaitForHandlers` `ServerOption` to cause `Server.Stop` to block until method handlers return. (EXPERIMENTAL)  ([#&#8203;6922](https://togithub.com/grpc/grpc-go/issues/6922))

### Performance Improvements

-   grpc: skip compression of empty messages as an optimization ([#&#8203;6842](https://togithub.com/grpc/grpc-go/issues/6842))
    -   Special Thanks: [@&#8203;jroper](https://togithub.com/jroper)
-   orca: use atomic pointer to improve performance in server metrics recorder ([#&#8203;6799](https://togithub.com/grpc/grpc-go/issues/6799))
    -   Special Thanks: [@&#8203;danielzhaotongliu](https://togithub.com/danielzhaotongliu)

### Bug Fixes

-   client: correctly enable TCP keepalives with OS defaults on windows ([#&#8203;6863](https://togithub.com/grpc/grpc-go/issues/6863))
    -   Special Thanks: [@&#8203;mmatczuk](https://togithub.com/mmatczuk)
-   server: change some stream operations to return `UNAVAILABLE` instead of `UNKNOWN` when underlying connection is broken ([#&#8203;6891](https://togithub.com/grpc/grpc-go/issues/6891))
    -   Special Thanks: [@&#8203;mustafasen81](https://togithub.com/mustafasen81)
-   server: fix `GracefulStop` to block until all method handlers return (v1.60 regression). ([#&#8203;6922](https://togithub.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://togithub.com/grpc/grpc-go/issues/6856))
-   reflection: do not send invalid descriptors to clients for files that cannot be fully resolved ([#&#8203;6771](https://togithub.com/grpc/grpc-go/issues/6771))
    -   Special Thanks: [@&#8203;jhump](https://togithub.com/jhump)
-   xds: don't fail channel/server startup when xds creds is specified, but bootstrap is missing certificate providers ([#&#8203;6848](https://togithub.com/grpc/grpc-go/issues/6848))
-   xds: Atomically read and write xDS security configuration client side ([#&#8203;6796](https://togithub.com/grpc/grpc-go/issues/6796))
-   xds/server: fix RDS handling for non-inline route configs ([#&#8203;6915](https://togithub.com/grpc/grpc-go/issues/6915))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 3am on Saturday" (UTC), 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://togithub.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjIuMyIsInVwZGF0ZWRJblZlciI6IjM3LjIyMi4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
  • Loading branch information
cq-bot authored Mar 2, 2024
1 parent 0c1fb43 commit d77769f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ require (
github.com/golang/snappy v0.0.4 // indirect
github.com/gomarkdown/markdown v0.0.0-20231222211730-1d6d20845b47 // indirect
github.com/google/flatbuffers v23.5.26+incompatible // indirect
github.com/google/uuid v1.5.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/gorilla/css v1.0.1 // indirect
github.com/iris-contrib/schema v0.0.6 // indirect
github.com/josharian/intern v1.0.0 // indirect
Expand Down Expand Up @@ -101,7 +101,7 @@ require (
golang.org/x/tools v0.18.0 // indirect
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240228224816-df926f6c8641 // indirect
google.golang.org/grpc v1.60.1 // indirect
google.golang.org/grpc v1.62.0 // indirect
google.golang.org/protobuf v1.32.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeN
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/uuid v1.5.0 h1:1p67kYwdtXjb0gL0BPiP1Av9wiZPo5A8z2cWkTZ+eyU=
github.com/google/uuid v1.5.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/gorilla/css v1.0.1 h1:ntNaBIghp6JmvWnxbZKANoLyuXTPZ4cAMlo6RyhlbO8=
github.com/gorilla/css v1.0.1/go.mod h1:BvnYkspnSzMmwRK+b8/xgNPLiIuNZr6vbZBTPQ2A3b0=
github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY=
Expand Down Expand Up @@ -310,8 +310,8 @@ gonum.org/v1/gonum v0.12.0 h1:xKuo6hzt+gMav00meVPUlXwSdoEJP46BR+wdxQEFK2o=
gonum.org/v1/gonum v0.12.0/go.mod h1:73TDxJfAAHeA8Mk9mf8NlIppyhQNo5GLTcYeqgo2lvY=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240228224816-df926f6c8641 h1:DKU1r6Tj5s1vlU/moGhuGz7E3xRfwjdAfDzbsaQJtEY=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240228224816-df926f6c8641/go.mod h1:UCOku4NytXMJuLQE5VuqA5lX3PcHCBo8pxNyvkf4xBs=
google.golang.org/grpc v1.60.1 h1:26+wFr+cNqSGFcOXcabYC0lUVJVRa2Sb2ortSK7VrEU=
google.golang.org/grpc v1.60.1/go.mod h1:OlCHIeLYqSSsLi6i49B5QGdzaMZK9+M7LXN2FKz4eGM=
google.golang.org/grpc v1.62.0 h1:HQKZ/fa1bXkX1oFOvSjmZEUL8wLSaZTjCcLAlmZRtdk=
google.golang.org/grpc v1.62.0/go.mod h1:IWTG0VlJLCh1SkC58F7np9ka9mx/WNkjl4PGJaiq+QE=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I=
Expand Down

0 comments on commit d77769f

Please sign in to comment.