Skip to content

Commit

Permalink
fix(deps): Update module github.com/grpc-ecosystem/go-grpc-middleware…
Browse files Browse the repository at this point in the history
…/v2 to v2.2.0 (#2033)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/grpc-ecosystem/go-grpc-middleware/v2](https://togithub.com/grpc-ecosystem/go-grpc-middleware) | require | minor | `v2.1.0` -> `v2.2.0` |

---

### Release Notes

<details>
<summary>grpc-ecosystem/go-grpc-middleware (github.com/grpc-ecosystem/go-grpc-middleware/v2)</summary>

### [`v2.2.0`](https://togithub.com/grpc-ecosystem/go-grpc-middleware/releases/tag/v2.2.0)

[Compare Source](https://togithub.com/grpc-ecosystem/go-grpc-middleware/compare/v2.1.0...v2.2.0)

#### What's Changed

-   Call retry callback on retry by [@&#8203;fredr](https://togithub.com/fredr) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/700](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/700)
-   interceptors: Update logging interceptor Reporter to re-extract fields from context before logging by [@&#8203;chancez](https://togithub.com/chancez) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/702](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/702)
-   logging: Document correct WithFieldsFromContext/WithFieldsFromContextAndCallMeta usage by [@&#8203;chancez](https://togithub.com/chancez) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/703](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/703)
-   Include error details in protovalidate responses by [@&#8203;akshayjshah](https://togithub.com/akshayjshah) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/714](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/714)
-   protovalidate: avoid pointer comparisons by [@&#8203;akshayjshah](https://togithub.com/akshayjshah) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/715](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/715)
-   Support for namespace in grpc prometheus counter and histogram metrics by [@&#8203;hyungi](https://togithub.com/hyungi) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/718](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/718)
-   Protovalidate interceptor cleanup, Go version bump by [@&#8203;ash2k](https://togithub.com/ash2k) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/721](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/721)
-   Use ValueFromIncomingContext() to reduce allocations and copying by [@&#8203;ash2k](https://togithub.com/ash2k) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/723](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/723)
-   Update examples to the latest otelgrpc API by [@&#8203;nmittler](https://togithub.com/nmittler) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/729](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/729)
-   Fix grpc middleware interceptor not PostCall-ing when a streaming RPC with non-streaming server finishes successfully. by [@&#8203;alexandrupitis1](https://togithub.com/alexandrupitis1) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/725](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/725)
-   x-retry-attempt to StreamClientInterceptor by [@&#8203;Boklazhenko](https://togithub.com/Boklazhenko) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/733](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/733)
-   logging: add WithErrorFields by [@&#8203;kindermoumoute](https://togithub.com/kindermoumoute) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/734](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/734)
-   example: use slog instead of go-kit by [@&#8203;kindermoumoute](https://togithub.com/kindermoumoute) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/735](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/735)

#### New Contributors

-   [@&#8203;fredr](https://togithub.com/fredr) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/700](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/700)
-   [@&#8203;marefr](https://togithub.com/marefr) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/706](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/706)
-   [@&#8203;akshayjshah](https://togithub.com/akshayjshah) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/714](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/714)
-   [@&#8203;hyungi](https://togithub.com/hyungi) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/718](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/718)
-   [@&#8203;nmittler](https://togithub.com/nmittler) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/729](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/729)
-   [@&#8203;alexandrupitis1](https://togithub.com/alexandrupitis1) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/725](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/725)
-   [@&#8203;Boklazhenko](https://togithub.com/Boklazhenko) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/733](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/733)
-   [@&#8203;kindermoumoute](https://togithub.com/kindermoumoute) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/734](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/734)

**Full Changelog**: grpc-ecosystem/go-grpc-middleware@v2.1.0...v2.2.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (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:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWVyZ2UiXX0=-->
  • Loading branch information
cq-bot authored Dec 23, 2024
1 parent 7f6fb0a commit 58d29b3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/simple_plugin/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ require (
github.com/goccy/go-json v0.10.3 // indirect
github.com/google/flatbuffers v24.3.25+incompatible // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.1.0 // indirect
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.2.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.23.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
Expand Down
4 changes: 2 additions & 2 deletions examples/simple_plugin/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
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/grpc-ecosystem/go-grpc-middleware/v2 v2.1.0 h1:pRhl55Yx1eC7BZ1N+BBWwnKaMyD8uC+34TLdndZMAKk=
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.1.0/go.mod h1:XKMd7iuf/RGPSMJ/U4HP0zS2Z9Fh8Ps9a+6X26m/tmI=
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.2.0 h1:kQ0NI7W1B3HwiN5gAYtY+XFItDPbLBwYRxAqbFTyDes=
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.2.0/go.mod h1:zrT2dxOAjNFPRGjTUe2Xmb4q4YdUwVvQFV6xiCSf+z0=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.23.0 h1:ad0vkEBuk23VJzZR9nkLVG0YAoN9coASF1GusYX6AlU=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.23.0/go.mod h1:igFoXX2ELCW06bol23DWPB5BEWfZISOzSP5K2sbLea0=
github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ=
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require (
github.com/golang/mock v1.6.0
github.com/google/go-cmp v0.6.0
github.com/google/uuid v1.6.0
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.1.0
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.2.0
github.com/hashicorp/go-retryablehttp v0.7.7
github.com/invopop/jsonschema v0.12.0
github.com/rs/zerolog v1.33.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
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/grpc-ecosystem/go-grpc-middleware/v2 v2.1.0 h1:pRhl55Yx1eC7BZ1N+BBWwnKaMyD8uC+34TLdndZMAKk=
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.1.0/go.mod h1:XKMd7iuf/RGPSMJ/U4HP0zS2Z9Fh8Ps9a+6X26m/tmI=
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.2.0 h1:kQ0NI7W1B3HwiN5gAYtY+XFItDPbLBwYRxAqbFTyDes=
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.2.0/go.mod h1:zrT2dxOAjNFPRGjTUe2Xmb4q4YdUwVvQFV6xiCSf+z0=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.23.0 h1:ad0vkEBuk23VJzZR9nkLVG0YAoN9coASF1GusYX6AlU=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.23.0/go.mod h1:igFoXX2ELCW06bol23DWPB5BEWfZISOzSP5K2sbLea0=
github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ=
Expand Down

0 comments on commit 58d29b3

Please sign in to comment.