-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
chore(examples): add one example to log request body when the status code is non 200 #4108
Conversation
return | ||
} | ||
clonedR := r.Clone(r.Context()) | ||
r.Body = io.NopCloser(bytes.NewReader(body)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this necessary? I don't think the request body should be used after the handler returns.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this necessary? I don't think the request body should be used after the handler returns.
Yes, you are right. This line is removed in the new commit. Sorry for the typo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update. Could you perhaps add a small section to the Operations section of our doc with a link to this middleware? Here is the docs site: https://grpc-ecosystem.github.io/grpc-gateway/docs/operations/ and the source is here: https://github.com/grpc-ecosystem/grpc-gateway/tree/main/docs/docs/operations. Just create a new file :).
The doc has been added. Could you please review this doc? @johanbrandhorst |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor edits to the doc page, but thank you!
docs/docs/operations/logging.md
Outdated
|
||
If you want to log the request body in the `customErrorHandler` middleware, unfortunately the request body has been consumed in the `customErrorHandler` middleware and can't be read again. To log the request body, you can use one middleware to buffer the request body before it's consumed. | ||
|
||
1. `logRequestBody` middleware,which logs the request body when the response status code is not 200. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. `logRequestBody` middleware,which logs the request body when the response status code is not 200. | |
1. Create a `http.Handler` middleware. The `logRequestBody` example middleware logs the request body when the response status code is not 200. |
docs/docs/operations/logging.md
Outdated
|
||
# Logging the request body pattern for a request | ||
|
||
If you want to log the request body in the `customErrorHandler` middleware, unfortunately the request body has been consumed in the `customErrorHandler` middleware and can't be read again. To log the request body, you can use one middleware to buffer the request body before it's consumed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can be more general than this. How about
If you want to log the request body in the `customErrorHandler` middleware, unfortunately the request body has been consumed in the `customErrorHandler` middleware and can't be read again. To log the request body, you can use one middleware to buffer the request body before it's consumed. | |
If you want to log the request body of incoming requests, you will need to buffer the body before it reaches the gateway. To log the request body, you can use a middleware `http.Handler` to buffer the request body before it's consumed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will update the doc
docs/docs/operations/logging.md
Outdated
lw := newLogResponseWriter(w) | ||
body, err := io.ReadAll(r.Body) | ||
if err != nil { | ||
http.Error(w, fmt.Sprintf("grpc server read request body err %+v", err), http.StatusBadRequest) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
http.Error(w, fmt.Sprintf("grpc server read request body err %+v", err), http.StatusBadRequest) | |
http.Error(w, fmt.Sprintf("failed to read body: %v", err), http.StatusBadRequest) |
docs/docs/operations/logging.md
Outdated
} | ||
``` | ||
|
||
2. Wrap the `logRequestBody` middleware with the `http.ServeMux`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2. Wrap the `logRequestBody` middleware with the `http.ServeMux`: | |
2. Wrap the gateway serve mux with the `logRequestBody` handler: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will fix it
docs/docs/operations/logging.md
Outdated
2. Wrap the `logRequestBody` middleware with the `http.ServeMux`: | ||
|
||
```go | ||
mux := http.NewServeMux() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mux := http.NewServeMux() | |
mux := runtime.NewServeMux() | |
// Register generated gateway handlers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the typo
Thank you very much for your detailed review of the document. Could you please review the update comment again? @johanbrandhorst |
Thanks for your contribution! |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | Type | Update | |---|---|---|---|---|---|---|---| | [github.com/grpc-ecosystem/grpc-gateway/v2](https://togithub.com/grpc-ecosystem/grpc-gateway) | `v2.19.1` -> `v2.20.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgrpc-ecosystem%2fgrpc-gateway%2fv2/v2.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgrpc-ecosystem%2fgrpc-gateway%2fv2/v2.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgrpc-ecosystem%2fgrpc-gateway%2fv2/v2.19.1/v2.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgrpc-ecosystem%2fgrpc-gateway%2fv2/v2.19.1/v2.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | | All locks refreshed | | | | | | lockFileMaintenance | | [jekyll-feed](https://togithub.com/jekyll/jekyll-feed) | `0.15.1` -> `0.17.0` | [![age](https://developer.mend.io/api/mc/badges/age/rubygems/jekyll-feed/0.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/rubygems/jekyll-feed/0.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/rubygems/jekyll-feed/0.15.1/0.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/rubygems/jekyll-feed/0.15.1/0.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | minor | --- ### Release Notes <details> <summary>grpc-ecosystem/grpc-gateway (github.com/grpc-ecosystem/grpc-gateway/v2)</summary> ### [`v2.20.0`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.20.0) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.19.1...v2.20.0) #### What's Changed - api_visibility option now transitively hides request/response messages by [@​Place1](https://togithub.com/Place1) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3966](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3966) - Marshal non proto fields with indents by [@​gknw](https://togithub.com/gknw) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4027](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4027) - chore: fix some comments by [@​avoidalone](https://togithub.com/avoidalone) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4092](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4092) - chore(examples): add one example to log request body when the status code is non 200 by [@​richzw](https://togithub.com/richzw) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4108](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4108) - feat(bazel): surface --disable_default_responses in rule def by [@​rajukrishnamurthy](https://togithub.com/rajukrishnamurthy) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4126](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4126) - integration: fix wrapping of response writer causing endless test loop by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4131](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4131) - Omit enum field when value is empty by [@​jeromefroe](https://togithub.com/jeromefroe) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4180](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4180) - docs/mapping/examples.md: update CoreOS example GitHub branch to `master` branch by [@​mohamedawnallah](https://togithub.com/mohamedawnallah) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4198](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4198) - chore: remove repetitive word by [@​mountcount](https://togithub.com/mountcount) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4183](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4183) - Fix Typo in examples.md by [@​umakantv](https://togithub.com/umakantv) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4212](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4212) - Write Content-Length header if doForwardTrailers is not set by [@​joshgarnett](https://togithub.com/joshgarnett) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4259](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4259) - Fixing TestOutgoingTrailerMatcher, which was non-deterministic by [@​joshgarnett](https://togithub.com/joshgarnett) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4265](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4265) - Update README.md by [@​MakDon](https://togithub.com/MakDon) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4322](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4322) - fix(4245): setting appropriate log level for error logs by [@​rajeshkarnena](https://togithub.com/rajeshkarnena) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4327](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4327) - fix: handle `X-Forwarded-*` headers correctly by [@​haines](https://togithub.com/haines) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4334](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4334) #### New Contributors - [@​Place1](https://togithub.com/Place1) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3966](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3966) - [@​avoidalone](https://togithub.com/avoidalone) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4092](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4092) - [@​richzw](https://togithub.com/richzw) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4108](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4108) - [@​rajukrishnamurthy](https://togithub.com/rajukrishnamurthy) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4126](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4126) - [@​jeromefroe](https://togithub.com/jeromefroe) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4180](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4180) - [@​mohamedawnallah](https://togithub.com/mohamedawnallah) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4198](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4198) - [@​mountcount](https://togithub.com/mountcount) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4183](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4183) - [@​umakantv](https://togithub.com/umakantv) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4212](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4212) - [@​joshgarnett](https://togithub.com/joshgarnett) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4259](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4259) - [@​rajeshkarnena](https://togithub.com/rajeshkarnena) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4327](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4327) **Full Changelog**: grpc-ecosystem/grpc-gateway@v2.19.1...v2.20.0 </details> <details> <summary>jekyll/jekyll-feed (jekyll-feed)</summary> ### [`v0.17.0`](https://togithub.com/jekyll/jekyll-feed/blob/HEAD/History.markdown#0170--2022-10-14) [Compare Source](https://togithub.com/jekyll/jekyll-feed/compare/v0.16.0...v0.17.0) ##### Documentation - Update CI status badge ([#​363](https://togithub.com/jekyll/jekyll-feed/issues/363)) ##### Development Fixes - Add Ruby 3.1 to the CI matrix ([#​365](https://togithub.com/jekyll/jekyll-feed/issues/365)) ##### Minor Enhancements - Allow disabling of jekyll-feed while in development ([#​370](https://togithub.com/jekyll/jekyll-feed/issues/370)) ### [`v0.16.0`](https://togithub.com/jekyll/jekyll-feed/blob/HEAD/History.markdown#0160--2022-01-03) [Compare Source](https://togithub.com/jekyll/jekyll-feed/compare/v0.15.1...v0.16.0) ##### Minor Enhancements - Add support for `page.description` in front matter to become entry `<summary>` ([#​297](https://togithub.com/jekyll/jekyll-feed/issues/297)) ##### Bug Fixes - Fold private methods into the `:render` method as local variables ([#​327](https://togithub.com/jekyll/jekyll-feed/issues/327)) - Check `post.categories` instead of `post.category` ([#​357](https://togithub.com/jekyll/jekyll-feed/issues/357)) - Switched xml_escape for `<![CDATA[]]>` for post content ([#​332](https://togithub.com/jekyll/jekyll-feed/issues/332)) ##### Development Fixes - Add Ruby 3.0 to CI ([#​337](https://togithub.com/jekyll/jekyll-feed/issues/337)) - Lock RuboCop to v1.18.x ([#​348](https://togithub.com/jekyll/jekyll-feed/issues/348)) - Add workflow to release gem via GH Action ([#​355](https://togithub.com/jekyll/jekyll-feed/issues/355)) ##### Documentation - Use `.atom` extension in documented examples since we write an Atom feed ([#​359](https://togithub.com/jekyll/jekyll-feed/issues/359)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 6am on wednesday" in timezone Australia/Sydney, 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/google/osv.dev). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
…33162) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/grpc-ecosystem/grpc-gateway/v2](https://togithub.com/grpc-ecosystem/grpc-gateway) | `v2.19.1` -> `v2.20.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgrpc-ecosystem%2fgrpc-gateway%2fv2/v2.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgrpc-ecosystem%2fgrpc-gateway%2fv2/v2.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgrpc-ecosystem%2fgrpc-gateway%2fv2/v2.19.1/v2.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgrpc-ecosystem%2fgrpc-gateway%2fv2/v2.19.1/v2.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>grpc-ecosystem/grpc-gateway (github.com/grpc-ecosystem/grpc-gateway/v2)</summary> ### [`v2.20.0`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.20.0) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.19.1...v2.20.0) #### What's Changed - api_visibility option now transitively hides request/response messages by [@​Place1](https://togithub.com/Place1) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3966](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3966) - Marshal non proto fields with indents by [@​gknw](https://togithub.com/gknw) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4027](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4027) - chore: fix some comments by [@​avoidalone](https://togithub.com/avoidalone) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4092](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4092) - chore(examples): add one example to log request body when the status code is non 200 by [@​richzw](https://togithub.com/richzw) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4108](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4108) - feat(bazel): surface --disable_default_responses in rule def by [@​rajukrishnamurthy](https://togithub.com/rajukrishnamurthy) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4126](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4126) - integration: fix wrapping of response writer causing endless test loop by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4131](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4131) - Omit enum field when value is empty by [@​jeromefroe](https://togithub.com/jeromefroe) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4180](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4180) - docs/mapping/examples.md: update CoreOS example GitHub branch to `master` branch by [@​mohamedawnallah](https://togithub.com/mohamedawnallah) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4198](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4198) - chore: remove repetitive word by [@​mountcount](https://togithub.com/mountcount) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4183](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4183) - Fix Typo in examples.md by [@​umakantv](https://togithub.com/umakantv) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4212](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4212) - Write Content-Length header if doForwardTrailers is not set by [@​joshgarnett](https://togithub.com/joshgarnett) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4259](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4259) - Fixing TestOutgoingTrailerMatcher, which was non-deterministic by [@​joshgarnett](https://togithub.com/joshgarnett) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4265](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4265) - Update README.md by [@​MakDon](https://togithub.com/MakDon) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4322](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4322) - fix(4245): setting appropriate log level for error logs by [@​rajeshkarnena](https://togithub.com/rajeshkarnena) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4327](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4327) - fix: handle `X-Forwarded-*` headers correctly by [@​haines](https://togithub.com/haines) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4334](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4334) #### New Contributors - [@​Place1](https://togithub.com/Place1) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3966](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3966) - [@​avoidalone](https://togithub.com/avoidalone) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4092](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4092) - [@​richzw](https://togithub.com/richzw) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4108](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4108) - [@​rajukrishnamurthy](https://togithub.com/rajukrishnamurthy) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4126](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4126) - [@​jeromefroe](https://togithub.com/jeromefroe) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4180](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4180) - [@​mohamedawnallah](https://togithub.com/mohamedawnallah) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4198](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4198) - [@​mountcount](https://togithub.com/mountcount) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4183](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4183) - [@​umakantv](https://togithub.com/umakantv) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4212](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4212) - [@​joshgarnett](https://togithub.com/joshgarnett) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4259](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4259) - [@​rajeshkarnena](https://togithub.com/rajeshkarnena) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4327](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4327) **Full Changelog**: grpc-ecosystem/grpc-gateway@v2.19.1...v2.20.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on tuesday" (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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyIsInJlbm92YXRlYm90Il19--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: opentelemetrybot <[email protected]>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | Type | Update | |---|---|---|---|---|---|---|---| | [github.com/alecthomas/chroma/v2](https://togithub.com/alecthomas/chroma) | `v2.13.0` -> `v2.14.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2falecthomas%2fchroma%2fv2/v2.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2falecthomas%2fchroma%2fv2/v2.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2falecthomas%2fchroma%2fv2/v2.13.0/v2.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2falecthomas%2fchroma%2fv2/v2.13.0/v2.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [github.com/aws/aws-sdk-go](https://togithub.com/aws/aws-sdk-go) | `v1.53.0` -> `v1.53.10` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2faws%2faws-sdk-go/v1.53.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2faws%2faws-sdk-go/v1.53.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2faws%2faws-sdk-go/v1.53.0/v1.53.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2faws%2faws-sdk-go/v1.53.0/v1.53.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | patch | | [github.com/bufbuild/buf](https://togithub.com/bufbuild/buf) | `v1.31.0` -> `v1.32.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fbufbuild%2fbuf/v1.32.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fbufbuild%2fbuf/v1.32.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fbufbuild%2fbuf/v1.31.0/v1.32.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fbufbuild%2fbuf/v1.31.0/v1.32.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [github.com/fatih/color](https://togithub.com/fatih/color) | `v1.16.0` -> `v1.17.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2ffatih%2fcolor/v1.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2ffatih%2fcolor/v1.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2ffatih%2fcolor/v1.16.0/v1.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2ffatih%2fcolor/v1.16.0/v1.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [github.com/goreleaser/goreleaser](https://togithub.com/goreleaser/goreleaser) | `v1.26.1` -> `v1.26.2` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoreleaser%2fgoreleaser/v1.26.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgoreleaser%2fgoreleaser/v1.26.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgoreleaser%2fgoreleaser/v1.26.1/v1.26.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoreleaser%2fgoreleaser/v1.26.1/v1.26.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | patch | | [github.com/grpc-ecosystem/grpc-gateway/v2](https://togithub.com/grpc-ecosystem/grpc-gateway) | `v2.19.1` -> `v2.20.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgrpc-ecosystem%2fgrpc-gateway%2fv2/v2.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgrpc-ecosystem%2fgrpc-gateway%2fv2/v2.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgrpc-ecosystem%2fgrpc-gateway%2fv2/v2.19.1/v2.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgrpc-ecosystem%2fgrpc-gateway%2fv2/v2.19.1/v2.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [github.com/jackc/pgx/v5](https://togithub.com/jackc/pgx) | `v5.5.5` -> `v5.6.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fjackc%2fpgx%2fv5/v5.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fjackc%2fpgx%2fv5/v5.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fjackc%2fpgx%2fv5/v5.5.5/v5.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fjackc%2fpgx%2fv5/v5.5.5/v5.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [github.com/rivo/tview](https://togithub.com/rivo/tview) | `ed11679` -> `037df49` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2frivo%2ftview/v0.0.0-20240524063012-037df494fb76?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2frivo%2ftview/v0.0.0-20240524063012-037df494fb76?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2frivo%2ftview/v0.0.0-20240505185119-ed116790de0f/v0.0.0-20240524063012-037df494fb76?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2frivo%2ftview/v0.0.0-20240505185119-ed116790de0f/v0.0.0-20240524063012-037df494fb76?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | digest | | [github.com/twmb/franz-go](https://togithub.com/twmb/franz-go) | `v1.16.1` -> `v1.17.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2ftwmb%2ffranz-go/v1.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2ftwmb%2ffranz-go/v1.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2ftwmb%2ffranz-go/v1.16.1/v1.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2ftwmb%2ffranz-go/v1.16.1/v1.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [github.com/twmb/franz-go/pkg/kadm](https://togithub.com/twmb/franz-go) | `v1.11.0` -> `v1.12.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2ftwmb%2ffranz-go%2fpkg%2fkadm/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2ftwmb%2ffranz-go%2fpkg%2fkadm/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2ftwmb%2ffranz-go%2fpkg%2fkadm/v1.11.0/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2ftwmb%2ffranz-go%2fpkg%2fkadm/v1.11.0/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [github.com/vektra/mockery/v2](https://togithub.com/vektra/mockery) | `v2.43.0` -> `v2.43.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fvektra%2fmockery%2fv2/v2.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fvektra%2fmockery%2fv2/v2.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fvektra%2fmockery%2fv2/v2.43.0/v2.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fvektra%2fmockery%2fv2/v2.43.0/v2.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | patch | | [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://togithub.com/open-telemetry/opentelemetry-go-contrib) | `v0.51.0` -> `v0.52.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fgoogle.golang.org%2fgrpc%2fotelgrpc/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fgoogle.golang.org%2fgrpc%2fotelgrpc/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fgoogle.golang.org%2fgrpc%2fotelgrpc/v0.51.0/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fgoogle.golang.org%2fgrpc%2fotelgrpc/v0.51.0/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [go.opentelemetry.io/contrib/instrumentation/host](https://togithub.com/open-telemetry/opentelemetry-go-contrib) | `v0.51.0` -> `v0.52.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fhost/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fhost/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fhost/v0.51.0/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fhost/v0.51.0/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://togithub.com/open-telemetry/opentelemetry-go-contrib) | `v0.51.0` -> `v0.52.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fnet%2fhttp%2fotelhttp/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fnet%2fhttp%2fotelhttp/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fnet%2fhttp%2fotelhttp/v0.51.0/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fnet%2fhttp%2fotelhttp/v0.51.0/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [go.opentelemetry.io/contrib/instrumentation/runtime](https://togithub.com/open-telemetry/opentelemetry-go-contrib) | `v0.51.0` -> `v0.52.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fruntime/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fruntime/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fruntime/v0.51.0/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fruntime/v0.51.0/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [go.opentelemetry.io/contrib/propagators/autoprop](https://togithub.com/open-telemetry/opentelemetry-go-contrib) | `v0.51.0` -> `v0.52.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcontrib%2fpropagators%2fautoprop/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcontrib%2fpropagators%2fautoprop/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcontrib%2fpropagators%2fautoprop/v0.51.0/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcontrib%2fpropagators%2fautoprop/v0.51.0/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [go.opentelemetry.io/contrib/propagators/b3](https://togithub.com/open-telemetry/opentelemetry-go-contrib) | `v1.26.0` -> `v1.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcontrib%2fpropagators%2fb3/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcontrib%2fpropagators%2fb3/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcontrib%2fpropagators%2fb3/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcontrib%2fpropagators%2fb3/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [go.opentelemetry.io/otel](https://togithub.com/open-telemetry/opentelemetry-go) | `v1.26.0` -> `v1.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc](https://togithub.com/open-telemetry/opentelemetry-go) | `v1.26.0` -> `v1.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetricgrpc/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetricgrpc/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetricgrpc/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetricgrpc/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp](https://togithub.com/open-telemetry/opentelemetry-go) | `v1.26.0` -> `v1.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetrichttp/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetrichttp/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetrichttp/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetrichttp/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [go.opentelemetry.io/otel/exporters/otlp/otlptrace](https://togithub.com/open-telemetry/opentelemetry-go) | `v1.26.0` -> `v1.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://togithub.com/open-telemetry/opentelemetry-go) | `v1.26.0` -> `v1.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracegrpc/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracegrpc/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracegrpc/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracegrpc/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp](https://togithub.com/open-telemetry/opentelemetry-go) | `v1.26.0` -> `v1.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracehttp/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracehttp/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracehttp/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracehttp/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [go.opentelemetry.io/otel/exporters/prometheus](https://togithub.com/open-telemetry/opentelemetry-go) | `v0.48.0` -> `v0.49.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fexporters%2fprometheus/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fexporters%2fprometheus/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fexporters%2fprometheus/v0.48.0/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fexporters%2fprometheus/v0.48.0/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [go.opentelemetry.io/otel/metric](https://togithub.com/open-telemetry/opentelemetry-go) | `v1.26.0` -> `v1.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fmetric/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fmetric/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fmetric/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fmetric/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [go.opentelemetry.io/otel/sdk](https://togithub.com/open-telemetry/opentelemetry-go) | `v1.26.0` -> `v1.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fsdk/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fsdk/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fsdk/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fsdk/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [go.opentelemetry.io/otel/sdk/metric](https://togithub.com/open-telemetry/opentelemetry-go) | `v1.26.0` -> `v1.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fsdk%2fmetric/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fsdk%2fmetric/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fsdk%2fmetric/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fsdk%2fmetric/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [go.opentelemetry.io/otel/trace](https://togithub.com/open-telemetry/opentelemetry-go) | `v1.26.0` -> `v1.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2ftrace/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2ftrace/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2ftrace/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2ftrace/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | golang.org/x/exp | `9bf2ced` -> `4c93da0` | [![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fexp/v0.0.0-20240525044651-4c93da0ed11d?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fexp/v0.0.0-20240525044651-4c93da0ed11d?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fexp/v0.0.0-20240506185415-9bf2ced13842/v0.0.0-20240525044651-4c93da0ed11d?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fexp/v0.0.0-20240506185415-9bf2ced13842/v0.0.0-20240525044651-4c93da0ed11d?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | digest | | [google.golang.org/genproto/googleapis/api](https://togithub.com/googleapis/go-genproto) | `0867130` -> `d264139` | [![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fgenproto%2fgoogleapis%2fapi/v0.0.0-20240521202816-d264139d666e?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fgenproto%2fgoogleapis%2fapi/v0.0.0-20240521202816-d264139d666e?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fgenproto%2fgoogleapis%2fapi/v0.0.0-20240513163218-0867130af1f8/v0.0.0-20240521202816-d264139d666e?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fgenproto%2fgoogleapis%2fapi/v0.0.0-20240513163218-0867130af1f8/v0.0.0-20240521202816-d264139d666e?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | digest | | [google.golang.org/genproto/googleapis/api](https://togithub.com/googleapis/go-genproto) | `6275950` -> `d264139` | [![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fgenproto%2fgoogleapis%2fapi/v0.0.0-20240521202816-d264139d666e?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fgenproto%2fgoogleapis%2fapi/v0.0.0-20240521202816-d264139d666e?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fgenproto%2fgoogleapis%2fapi/v0.0.0-20240509183442-62759503f434/v0.0.0-20240521202816-d264139d666e?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fgenproto%2fgoogleapis%2fapi/v0.0.0-20240509183442-62759503f434/v0.0.0-20240521202816-d264139d666e?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | digest | | [google.golang.org/grpc](https://togithub.com/grpc/grpc-go) | `v1.63.2` -> `v1.64.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fgrpc/v1.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fgrpc/v1.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fgrpc/v1.63.2/v1.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fgrpc/v1.63.2/v1.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [helm.sh/helm/v3](https://togithub.com/helm/helm) | `v3.14.4` -> `v3.15.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/helm.sh%2fhelm%2fv3/v3.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/helm.sh%2fhelm%2fv3/v3.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/helm.sh%2fhelm%2fv3/v3.14.4/v3.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/helm.sh%2fhelm%2fv3/v3.14.4/v3.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) | `v1.29.9` -> `v1.29.10` | [![age](https://developer.mend.io/api/mc/badges/age/go/modernc.org%2fsqlite/v1.29.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/modernc.org%2fsqlite/v1.29.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/modernc.org%2fsqlite/v1.29.9/v1.29.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/modernc.org%2fsqlite/v1.29.9/v1.29.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | patch | --- ### Release Notes <details> <summary>alecthomas/chroma (github.com/alecthomas/chroma/v2)</summary> ### [`v2.14.0`](https://togithub.com/alecthomas/chroma/releases/tag/v2.14.0) [Compare Source](https://togithub.com/alecthomas/chroma/compare/v2.13.0...v2.14.0) #### Changelog - [`1e983e7`](https://togithub.com/alecthomas/chroma/commit/1e983e7) lexers/cue: support CUE attributes ([#​961](https://togithub.com/alecthomas/chroma/issues/961)) - [`9347b55`](https://togithub.com/alecthomas/chroma/commit/9347b55) Add Gleam syntax highlighting ([#​959](https://togithub.com/alecthomas/chroma/issues/959)) - [`6b7ffe1`](https://togithub.com/alecthomas/chroma/commit/6b7ffe1) chore(styles): add tokyonight inspired styles ([#​957](https://togithub.com/alecthomas/chroma/issues/957)) - [`736c0ea`](https://togithub.com/alecthomas/chroma/commit/736c0ea) Typescript: Several fixes ([#​952](https://togithub.com/alecthomas/chroma/issues/952)) - [`e5c25d0`](https://togithub.com/alecthomas/chroma/commit/e5c25d0) Org: Keep all newlines ([#​951](https://togithub.com/alecthomas/chroma/issues/951)) - [`d07caa4`](https://togithub.com/alecthomas/chroma/commit/d07caa4) chore(deps): update module github.com/alecthomas/assert/v2 to v2.7.0 ([#​949](https://togithub.com/alecthomas/chroma/issues/949)) - [`5f83664`](https://togithub.com/alecthomas/chroma/commit/5f83664) Vue: Handle more edge cases ([#​950](https://togithub.com/alecthomas/chroma/issues/950)) - [`32c053f`](https://togithub.com/alecthomas/chroma/commit/32c053f) chore(deps): update all non-major dependencies ([#​948](https://togithub.com/alecthomas/chroma/issues/948)) - [`2580aaa`](https://togithub.com/alecthomas/chroma/commit/2580aaa) Add Bazel bzlmod support into Python lexer ([#​947](https://togithub.com/alecthomas/chroma/issues/947)) </details> <details> <summary>aws/aws-sdk-go (github.com/aws/aws-sdk-go)</summary> ### [`v1.53.10`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v15310-2024-05-24) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.53.9...v1.53.10) \=== ##### Service Client Updates - `service/dynamodb`: Updates service API, documentation, waiters, paginators, and examples - Documentation only updates for DynamoDB. - `service/iotfleetwise`: Updates service API and documentation - `service/managedblockchain`: Updates service API and documentation ##### SDK Bugs - Fix misaligned struct member used in atomic operation. - This change fixes panics on 32-bit systems in services that use endpoint discovery. ### [`v1.53.9`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1539-2024-05-23) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.53.8...v1.53.9) \=== ##### Service Client Updates - `service/emr-serverless`: Updates service API and documentation - `service/opsworks`: Updates service API and documentation - Documentation-only update for OpsWorks Stacks. ### [`v1.53.8`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1538-2024-05-22) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.53.7...v1.53.8) \=== ##### Service Client Updates - `service/chatbot`: Updates service API and documentation - `service/cloudformation`: Updates service API and documentation - Added DeletionMode FORCE_DELETE_STACK for deleting a stack that is stuck in DELETE_FAILED state due to resource deletion failure. - `service/kms`: Updates service API and documentation - This release includes feature to import customer's asymmetric (RSA, ECC and SM2) and HMAC keys into KMS in China. - `service/opensearch`: Updates service API and documentation - `service/wafv2`: Updates service API and documentation ##### SDK Bugs - `service/ec2`: Correct empty list serialization behavior. - Empty, non-nil lists should NOT be serialized for this service. ### [`v1.53.7`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1537-2024-05-21) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.53.6...v1.53.7) \=== ##### Service Client Updates - `service/cloudfront`: Updates service API - Model update; no change to SDK functionality. - `service/glue`: Updates service API and documentation - Add Maintenance window to CreateJob and UpdateJob APIs and JobRun response. Add a new Job Run State for EXPIRED. - `service/lightsail`: Updates service API and documentation - This release adds support for Amazon Lightsail instances to switch between dual-stack or IPv4 only and IPv6-only public IP address types. - `service/mailmanager`: Adds new service - `service/pi`: Updates service API and documentation - `service/rds`: Updates service API, documentation, waiters, paginators, and examples - Updates Amazon RDS documentation for Db2 license through AWS Marketplace. - `service/storagegateway`: Updates service API and documentation - Added new SMBSecurityStrategy enum named MandatoryEncryptionNoAes128, new mode enforces encryption and disables AES 128-bit algorithums. ### [`v1.53.6`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1536-2024-05-20) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.53.5...v1.53.6) \=== ##### Service Client Updates - `service/bedrock-agent`: Updates service API and documentation - `service/bedrock-agent-runtime`: Updates service API and documentation - `service/controltower`: Updates service API, documentation, and paginators - `service/osis`: Updates service API and documentation - `service/rds`: Updates service API, documentation, waiters, paginators, and examples - This release adds support for EngineLifecycleSupport on DBInstances, DBClusters, and GlobalClusters. - `service/secretsmanager`: Updates service documentation - add v2 smoke tests and smithy smokeTests trait for SDK testing ### [`v1.53.5`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1535-2024-05-17) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.53.4...v1.53.5) \=== ##### Service Client Updates - `service/application-autoscaling`: Updates service API - `service/codebuild`: Updates service API and documentation - Aws CodeBuild now supports 36 hours build timeout - `service/elasticloadbalancingv2`: Updates service API and documentation - `service/lakeformation`: Updates service API and documentation - `service/transfer`: Updates service API and documentation - Enable use of CloudFormation traits in Smithy model to improve generated CloudFormation schema from the Smithy API model. ### [`v1.53.4`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1534-2024-05-16) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.53.3...v1.53.4) \=== ##### Service Client Updates - `service/acm-pca`: Updates service API and waiters - `service/connect`: Updates service documentation - `service/kafka`: Updates service API and documentation - `service/mwaa`: Updates service API and documentation - `service/quicksight`: Updates service API and documentation - This release adds DescribeKeyRegistration and UpdateKeyRegistration APIs to manage QuickSight Customer Managed Keys (CMK). - `service/sagemaker`: Updates service API and documentation - Introduced WorkerAccessConfiguration to SageMaker Workteam. This allows customers to configure resource access for workers in a workteam. - `service/secretsmanager`: Updates service API and documentation - Documentation updates for AWS Secrets Manager ### [`v1.53.3`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1533-2024-05-15) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.53.2...v1.53.3) \=== ##### Service Client Updates - `service/bedrock-agent-runtime`: Updates service documentation - `service/codebuild`: Updates service API and documentation - CodeBuild Reserved Capacity VPC Support - `service/datasync`: Updates service API - `service/grafana`: Updates service API, documentation, and paginators - `service/medical-imaging`: Updates service API and documentation - `service/securityhub`: Updates service API and documentation ### [`v1.53.2`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1532-2024-05-14) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.53.1...v1.53.2) \=== ##### Service Client Updates - `service/connect`: Updates service API, documentation, and paginators - `service/s3`: Updates service API and examples - Updated a few x-id in the http uri traits ### [`v1.53.1`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1531-2024-05-13) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.53.0...v1.53.1) \=== ##### Service Client Updates - `service/eventbridge`: Updates service API and documentation - `service/vpc-lattice`: Updates service API and documentation </details> <details> <summary>bufbuild/buf (github.com/bufbuild/buf)</summary> ### [`v1.32.1`](https://togithub.com/bufbuild/buf/blob/HEAD/CHANGELOG.md#v1321---2024-05-21) [Compare Source](https://togithub.com/bufbuild/buf/compare/v1.32.0...v1.32.1) - Fix archive and git inputs so that `--path` and `--exclude-path` paths are relative to the `#subdir` rather than the root of the input. This fixes an unintended behavior change that was introduced in `v1.32.0`. - Add `module` input for `protoc-gen-buf-lint` and `protoc-gen-buf-breaking` to allow users to specify the module for `v2` configuration files. ### [`v1.32.0`](https://togithub.com/bufbuild/buf/blob/HEAD/CHANGELOG.md#v1320---2024-05-16) [Compare Source](https://togithub.com/bufbuild/buf/compare/v1.31.0...v1.32.0) - Add version `v2` for `buf.yaml` and `buf.gen.yaml` configuration files. - Add `buf config migrate` to migrate configuration files to the latest version (now `v2`). - Move `buf mod init` to `buf config init`. `buf mod init` is now deprecated. - Move `buf mod ls-lint-rules` to `buf config ls-lint-rules`. `buf mod ls-lint-rules` is now deprecated. - Move `buf mod ls-breaking-rules` to `buf config ls-breaking-rules`. `buf mod ls-breaking-rules` is now deprecated. - Move `buf mod prune` to `buf dep prune`. `buf mod prune` is now deprecated. - Move `buf mod update` to `buf dep update`. `buf mod update` is now deprecated. - Move `buf mod {clear-cache,cc}` to `buf registry cc`. `buf mod {clear-cache,cc}` is now deprecated. - Move `buf beta graph` to stable as `buf dep graph`. - Change the default visibility of `buf push --create-visibility` to `private` when the `--create` flag is set. Users are no longer required to set `--create-visibility` when running `buf push --create`. - Add `buf push --label`, which allows users to set labels when pushing new commits to the BSR. - Add `buf push --source-control-url`, which allows users to associate commits pushed to the BSR with a URL to a source code repository. - Add `buf push --create-default-label`, which allows users to set a default label for a repository when calling `buf push --create`. - Add `buf push --git-metadata`, which automatically sets appropriate `--label`, `--source-control-url`, and `--create-default-label` flags based on the current Git repository. - Add `buf convert --validate` to apply [protovalidate](https://togithub.com/bufbuild/protovalidate) rules to incoming messages specified with `--from`. - Deprecate `buf mod open`. - Delete `buf beta migrate-v1beta1` This is now replaced with `buf config migrate`. - Add `buf registry sdk version` to get the version of a Generated SDK for a module and plugin. - Add `buf beta registry archive` and `buf beta registry unarchive` commands for archiving and unarchiving labels on the BSR. - Add support for Protobuf Editions. This allows `buf` to be used with sources that use edition 2023, instead of proto2 or proto3 syntax. This also updates the `protoc-gen-buf-breaking` and `protoc-gen-buf-lint` Protobuf plugins to support files that use edition 2023. - Update `buf breaking` rules to work with Protobuf Editions. To support Editions, some rules have been deprecated and replaced with Editions-aware rules. All deprecated rules continue to work for existing users. - `FIELD_SAME_CTYPE` has been replaced with `FIELD_SAME_CPP_STRING_TYPE`, which considers both `ctype` field options and new `(pb.cpp).string_type` features when deciding on backwards compatibility. - `FIELD_SAME_LABEL` has been replaced with three rules that all check "cardinality". The new rules can distinguish between maps and other repeated fields and between implicit and explicit field presence. The new rules are: 1. `FIELD_SAME_CARDINALITY` in the `FILE` and `PACKAGE` categories. 2. `FIELD_WIRE_COMPATIBLE_CARDINALITY` in the `WIRE` category. 3. `FIELD_WIRE_JSON_COMPATIBLE_CARDINALITY` in the `WIRE_JSON` category. - `FILE_SAME_JAVA_STRING_CHECK_UTF8` has been replaced with `FIELD_SAME_JAVA_UTF8_VALIDATION`, which considers both the `java_string_check_utf8` file option and `(pb.java).utf8_validation` features when deciding on backwards compatibility. - Add to the existing `FILE_SAME_SYNTAX` rule with a few related rules that can catch the same sort of compatibility issues, but in an Editions source file that changes feature values: 1. `MESSAGE_SAME_JSON_FORMAT` and `ENUM_SAME_JSON_FORMAT` catch changes to the `json_format` feature, which controls whether support for the JSON format is best-effort or properly supported. When supported, the compiler performs more checks relating to field name collisions for the JSON format as well as for FieldMask usage. 2. `FIELD_SAME_UTF8_VALIDATION` catches changes to the `utf8_validation` feature, which controls validation of string values. 3. `ENUM_SAME_TYPE` catches changes to an enum's type, open vs. closed. - Add support for extensions to `buf breaking`. All existing rules for fields are now applied to extensions, except for `FIELD_NO_DELETE` (and its variants). There are also new `EXTENSION_NO_DELETE` and `PACKAGE_EXTENSION_NO_DELETE` rules for catching deletions of an extension. The new rules are not active by default in existing `v1` and `v1beta1` configurations, for backwards-compatibility reasons. Migrate your config to `v2` to use them. - Add support for top-level extensions to `buf lint`. It previously only checked extensions that were defined inside of messages. - Add a new `FIELD_NOT_REQUIRED` lint rule that prevents use of required in proto2 files and of `features.field_presence = LEGACY_REQUIRED` in Editions files. This new rule is not active by default in existing `v1` and `v1beta1` configurations, for backwards-compatibility reasons. Migrate your config to `v2` to use them. </details> <details> <summary>fatih/color (github.com/fatih/color)</summary> ### [`v1.17.0`](https://togithub.com/fatih/color/releases/tag/v1.17.0) [Compare Source](https://togithub.com/fatih/color/compare/v1.16.0...v1.17.0) #### What's Changed - Fix multi-parameter println spacing by [@​klauspost](https://togithub.com/klauspost) in [https://github.com/fatih/color/pull/228](https://togithub.com/fatih/color/pull/228) - ci: update Go and Staticcheck versions by [@​fatih](https://togithub.com/fatih) in [https://github.com/fatih/color/pull/222](https://togithub.com/fatih/color/pull/222) - Bump golang.org/x/sys from 0.14.0 to 0.17.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fatih/color/pull/221](https://togithub.com/fatih/color/pull/221) - Bump actions/setup-go from 4 to 5 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fatih/color/pull/217](https://togithub.com/fatih/color/pull/217) - Bump golang.org/x/sys from 0.17.0 to 0.18.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fatih/color/pull/224](https://togithub.com/fatih/color/pull/224) #### New Contributors - [@​klauspost](https://togithub.com/klauspost) made their first contribution in [https://github.com/fatih/color/pull/228](https://togithub.com/fatih/color/pull/228) **Full Changelog**: https://github.com/fatih/color/compare/v1.16.0...v1.17.0 </details> <details> <summary>goreleaser/goreleaser (github.com/goreleaser/goreleaser)</summary> ### [`v1.26.2`](https://togithub.com/goreleaser/goreleaser/releases/tag/v1.26.2) [Compare Source](https://togithub.com/goreleaser/goreleaser/compare/v1.26.1...v1.26.2) #### Changelog ##### Bug fixes - [`b3d6460`](https://togithub.com/goreleaser/goreleaser/commit/b3d646069937d74c04623a4979c2e429b55a7439): fix(docs): version typo ([#​4878](https://togithub.com/goreleaser/goreleaser/issues/4878)) ([@​nullswan](https://togithub.com/nullswan)) ##### Dependency updates - [`73a22e5`](https://togithub.com/goreleaser/goreleaser/commit/73a22e56dd7577034fa2d3769862f9154532c661): chore(deps): bump actions/checkout from 4.1.5 to 4.1.6 ([#​4876](https://togithub.com/goreleaser/goreleaser/issues/4876)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`1c66ce4`](https://togithub.com/goreleaser/goreleaser/commit/1c66ce40d063ea13b66a4df20fbc1d734a9a232c): chore(deps): bump anchore/sbom-action from 0.15.11 to 0.16.0 ([#​4881](https://togithub.com/goreleaser/goreleaser/issues/4881)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`39d1f44`](https://togithub.com/goreleaser/goreleaser/commit/39d1f446f52bc5764db4c89bcbf5d6ef70b62575): chore(deps): bump cachix/install-nix-action from 26 to 27 ([#​4874](https://togithub.com/goreleaser/goreleaser/issues/4874)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`1d49b22`](https://togithub.com/goreleaser/goreleaser/commit/1d49b225c67d38008d44f3320ba0597e7bc83ce5): chore(deps): bump codecov/codecov-action from 4.4.0 to 4.4.1 ([#​4882](https://togithub.com/goreleaser/goreleaser/issues/4882)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`fae464e`](https://togithub.com/goreleaser/goreleaser/commit/fae464e2783c11958733929f1cd871db34aaf2e3): chore(deps): bump github.com/caarlos0/env/v11 from 11.0.0 to 11.0.1 ([#​4888](https://togithub.com/goreleaser/goreleaser/issues/4888)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`de796eb`](https://togithub.com/goreleaser/goreleaser/commit/de796eb4e5ac03eef993300861803de792799080): chore(deps): bump github.com/google/ko from 0.15.2 to 0.15.4 ([#​4885](https://togithub.com/goreleaser/goreleaser/issues/4885)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`b4d768b`](https://togithub.com/goreleaser/goreleaser/commit/b4d768bf16160766cc04a5a5fcc288fd81de8c72): chore(deps): bump github.com/mattn/go-mastodon from 0.0.6 to 0.0.8 ([#​4872](https://togithub.com/goreleaser/goreleaser/issues/4872)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`a82491a`](https://togithub.com/goreleaser/goreleaser/commit/a82491afe446295c8756a2c5f46950a11d717aa0): chore(deps): bump github.com/slack-go/slack from 0.12.5 to 0.13.0 ([#​4871](https://togithub.com/goreleaser/goreleaser/issues/4871)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`cf2c47a`](https://togithub.com/goreleaser/goreleaser/commit/cf2c47a5895da1b0ce0de3620e8a8953d380b905): chore(deps): bump github/codeql-action from 2.13.4 to 3.25.5 ([#​4880](https://togithub.com/goreleaser/goreleaser/issues/4880)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`79caa9c`](https://togithub.com/goreleaser/goreleaser/commit/79caa9c28a394f1949ef2a82d9aa7252c1758ee9): chore(deps): bump github/codeql-action from 3.25.5 to 3.25.6 ([#​4883](https://togithub.com/goreleaser/goreleaser/issues/4883)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`b534f07`](https://togithub.com/goreleaser/goreleaser/commit/b534f07d5b2191e314862d94fccc8ce93a3461d5): chore(deps): bump golang from `c24516e` to `f1fe698` ([#​4873](https://togithub.com/goreleaser/goreleaser/issues/4873)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`d7c23c1`](https://togithub.com/goreleaser/goreleaser/commit/d7c23c168fa61d738cd6fba03a645071e174bba5): chore(deps): bump golang from `f1fe698` to `b8ded51` ([#​4887](https://togithub.com/goreleaser/goreleaser/issues/4887)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) ##### Documentation updates - [`2023d4b`](https://togithub.com/goreleaser/goreleaser/commit/2023d4bcc6891b28b56a0c7b5b7481c4a0d68023): docs: fix winget default path ([#​4875](https://togithub.com/goreleaser/goreleaser/issues/4875)) ([@​lionello](https://togithub.com/lionello)) ##### Build process updates - [`f4cd8fc`](https://togithub.com/goreleaser/goreleaser/commit/f4cd8fc1561e288ce198c60105c8277fcc24de03): build: fix changelog not showing dependencies updates ([@​caarlos0](https://togithub.com/caarlos0)) ##### Other work - [`919b132`](https://togithub.com/goreleaser/goreleaser/commit/919b132e0de38ac253fe83f7b92560f1d95cda32): chore: auto-update generated files ([@​actions-user](https://togithub.com/actions-user)) **Full Changelog**: https://github.com/goreleaser/goreleaser/compare/v1.26.1...v1.26.2 #### Helping out This release is only possible thanks to **all** the support of some **awesome people**! Want to be one of them? You can [sponsor](https://goreleaser.com/sponsors/), get a [Pro License](https://goreleaser.com/pro) or [contribute with code](https://goreleaser.com/contributing). #### Where to go next? - Find examples and commented usage of all options in our [website](https://goreleaser.com/intro/). - Reach out on [Discord](https://discord.gg/RGEBtg8vQ6) and [Twitter](https://twitter.com/goreleaser)! <a href="https://goreleaser.com"><img src="https://raw.githubusercontent.com/goreleaser/artwork/master/opencollective-header.png" with="100%" alt="GoReleaser logo"></a> </details> <details> <summary>grpc-ecosystem/grpc-gateway (github.com/grpc-ecosystem/grpc-gateway/v2)</summary> ### [`v2.20.0`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.20.0) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.19.1...v2.20.0) #### What's Changed - api_visibility option now transitively hides request/response messages by [@​Place1](https://togithub.com/Place1) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3966](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3966) - Marshal non proto fields with indents by [@​gknw](https://togithub.com/gknw) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4027](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4027) - chore: fix some comments by [@​avoidalone](https://togithub.com/avoidalone) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4092](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4092) - chore(examples): add one example to log request body when the status code is non 200 by [@​richzw](https://togithub.com/richzw) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4108](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4108) - feat(bazel): surface --disable_default_responses in rule def by [@​rajukrishnamurthy](https://togithub.com/rajukrishnamurthy) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4126](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4126) - integration: fix wrapping of response writer causing endless test loop by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4131](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4131) - Omit enum field when value is empty by [@​jeromefroe](https://togithub.com/jeromefroe) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4180](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4180) - docs/mapping/examples.md: update CoreOS example GitHub branch to `master` branch by [@​mohamedawnallah](https://togithub.com/mohamedawnallah) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4198](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4198) - chore: remove repetitive word by [@​mountcount](https://togithub.com/mountcount) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4183](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4183) - Fix Typo in examples.md by [@​umakantv](https://togithub.com/umakantv) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4212](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4212) - Write Content-Length header if doForwardTrailers is not set by [@​joshgarnett](https://togithub.com/joshgarnett) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4259](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4259) - Fixing TestOutgoingTrailerMatcher, which was non-deterministic by [@​joshgarnett](https://togithub.com/joshgarnett) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4265](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4265) - Update README.md by [@​MakDon](https://togithub.com/MakDon) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4322](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4322) - fix(4245): setting appropriate log level for error logs by [@​rajeshkarnena](https://togithub.com/rajeshkarnena) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4327](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4327) - fix: handle `X-Forwarded-*` headers correctly by [@​haines](https://togithub.com/haines) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4334](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4334) #### New Contributors - [@​Place1](https://togithub.com/Place1) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3966](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3966) - [@​avoidalone](https://togithub.com/avoidalone) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4092](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4092) - [@​richzw](https://togithub.com/richzw) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4108](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4108) - [@​rajukrishnamurthy](https://togithub.com/rajukrishnamurthy) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4126](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4126) - [@​jeromefroe](https://togithub.com/jeromefroe) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4180](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4180) - [@​mohamedawnallah](https://togithub.com/mohamedawnallah) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4198](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4198) - [@​mountcount](https://togithub.com/mountcount) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4183](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4183) - [@​umakantv](https://togithub.com/umakantv) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4212](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4212) - [@​joshgarnett](https://togithub.com/joshgarnett) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4259](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4259) - [@​rajeshkarnena](https://togithub.com/rajeshkarnena) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/4327](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/4327) **Full Changelog**: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.19.1...v2.20.0 </details> <details> <summary>jackc/pgx (github.com/jackc/pgx/v5)</summary> ### [`v5.6.0`](https://togithub.com/jackc/pgx/compare/v5.5.5...v5.6.0) [Compare Source](https://togithub.com/jackc/pgx/compare/v5.5.5...v5.6.0) </details> </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/cerbos/cerbos). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImFyZWEvZGVwZW5kZW5jaWVzIiwiYm90cyIsImtpbmQvY2hvcmUiXX0=--> --------- Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Charith Ellawala <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Charith Ellawala <[email protected]>
References to other Issues or PRs
Add one sample to resolve the issue #3780
Have you read the Contributing Guidelines?
Brief description of what is fixed or changed
One outer wrapper to clone the request body, since the body of the request has been consumed in the customErrorHandler.
Other comments