Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add openapiv2_opt support for passing values to go templates via cli #3764

Conversation

500poundbear
Copy link
Contributor

@500poundbear 500poundbear commented Nov 27, 2023

References to other Issues or PRs

Fixes #3388

Have you read the Contributing Guidelines?

Yes

Brief description of what is fixed or changed

As proposed by @jgiles in #3388, this MR adds support for a new OpenAPI option that allows for Go template values to be interpolated.

For example, by specifying the following option: --openapiv2_opt go_template_args=my_key=my_value, my_value can then be passed to the Go templates generating the swagger comments. In this case, the go template can refer to the specific key here with {{ arg "my_key" }}.

Multiple go_template_args arguments can be specified.

Other comments

Summary by CodeRabbit

  • New Features

    • Introduced the ability to use custom values in Go templates for generating proto file comments, enhancing documentation customization based on different environments.
    • Added a new flag goTemplateArgs to provide custom values that can override keys in Go templates, improving template flexibility.
  • Documentation

    • Updated documentation with instructions on enabling use_go_templates and specifying custom values using go_template_args.
    • Added examples demonstrating the use of custom values within proto file comments.
  • Bug Fixes

    • Implemented validation to ensure goTemplateArgs is used only when use_go_templates is enabled, preventing potential configuration errors.

Copy link

coderabbitai bot commented Nov 27, 2023

Walkthrough

The changes introduce the ability to pass custom key-value pairs via the command line and use them in Go templates within proto file comments. This feature enables dynamic content generation in OpenAPI documentation, such as varying external URLs based on the deployment environment.

Changes

File Path Change Summary
docs/docs/mapping/customizing_openapi_output.md Added documentation for using custom values in Go templates for proto file comments.
internal/descriptor/registry.go Added goTemplateArgs field and methods to handle key-value pairs for Go templates.
protoc-gen-openapiv2/defs.bzl Modified to handle go_template_args parameter and updated rule definition.
protoc-gen-openapiv2/internal/genopenapi/template.go Added arg function to goTemplateComments for dynamic value retrieval.
protoc-gen-openapiv2/internal/genopenapi/template_test.go Updated test functions to include goTemplateArgs parameter and logic.
protoc-gen-openapiv2/main.go Added goTemplateArgs flag and validation logic for its use with use_go_templates.

Assessment against linked issues

Objective Addressed Explanation
Support passing key-value pairs on the command line and using them in comment Go templates (#3388).

Poem

In the code where templates nest,
A rabbit hopped, fulfilling a quest.
With keys and values paired just right,
It crafted docs that shone so bright. 🌟🐇✨


Tips

Chat with CodeRabbit Bot (@coderabbitai)

  • If you reply to a review comment from CodeRabbit, the bot will automatically respond.
  • To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment
  • Note: Review comments are made on code diffs or files, not on the PR overview.
  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Note: For conversation with the bot, please use the review comments on code diffs or files.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 7

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 46e828a and df18aef.
Files selected for processing (6)
  • docs/docs/mapping/customizing_openapi_output.md (1 hunks)
  • internal/descriptor/registry.go (2 hunks)
  • protoc-gen-openapiv2/defs.bzl (4 hunks)
  • protoc-gen-openapiv2/internal/genopenapi/template.go (1 hunks)
  • protoc-gen-openapiv2/internal/genopenapi/template_test.go (10 hunks)
  • protoc-gen-openapiv2/main.go (2 hunks)
Additional comments: 4
docs/docs/mapping/customizing_openapi_output.md (1)
  • 234-291: The new section on using custom values in Go templates is clear and provides valuable information on how to enhance proto file comments with dynamic content.
internal/descriptor/registry.go (1)
  • 603-604: The update to the SetIgnoreComments method correctly sets the ignoreComments field.
protoc-gen-openapiv2/defs.bzl (1)
  • 320-323: The go_template_args attribute is correctly defined as a string_list to accept multiple key-value pairs for Go template interpolation.
protoc-gen-openapiv2/main.go (1)
  • 136-147: The new functionality for goTemplateArgs and related error handling is correctly implemented and follows the existing code structure and style. The registry is being set up with the new and existing flags consistently.

docs/docs/mapping/customizing_openapi_output.md Outdated Show resolved Hide resolved
protoc-gen-openapiv2/main.go Show resolved Hide resolved
protoc-gen-openapiv2/defs.bzl Outdated Show resolved Hide resolved
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between df18aef and a0fb324.
Files selected for processing (1)
  • docs/docs/mapping/customizing_openapi_output.md (1 hunks)
Additional comments: 1
docs/docs/mapping/customizing_openapi_output.md (1)
  • 234-289: The new section on using custom values in Go templates is clear and provides useful examples for users to follow. The bash script and proto file examples demonstrate how to pass custom values to the templates effectively.

Copy link
Collaborator

@johanbrandhorst johanbrandhorst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an excellent PR, just a few doc suggestions, thanks!

docs/docs/mapping/customizing_openapi_output.md Outdated Show resolved Hide resolved
protoc-gen-openapiv2/defs.bzl Outdated Show resolved Hide resolved
protoc-gen-openapiv2/main.go Outdated Show resolved Hide resolved
@500poundbear 500poundbear force-pushed the 3338-key-value-pairs-in-go-templates branch from 8149a06 to 4d7b9dc Compare November 29, 2023 22:38
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 7

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 85a43db and 4d7b9dc.
Files selected for processing (6)
  • docs/docs/mapping/customizing_openapi_output.md (1 hunks)
  • internal/descriptor/registry.go (2 hunks)
  • protoc-gen-openapiv2/defs.bzl (4 hunks)
  • protoc-gen-openapiv2/internal/genopenapi/template.go (1 hunks)
  • protoc-gen-openapiv2/internal/genopenapi/template_test.go (10 hunks)
  • protoc-gen-openapiv2/main.go (2 hunks)
Additional comments: 14
docs/docs/mapping/customizing_openapi_output.md (3)
  • 234-246: The documentation clearly explains how to use custom values with Go templates, which is consistent with the summary and pull request details. The instructions are clear and provide the necessary steps to enable the feature and pass custom values.

  • 257-265: The example script correctly demonstrates how to use the use_go_templates flag along with custom template values. It is a practical example that users can follow to understand how to apply the feature in their own scripts.

  • 270-286: The example proto file provided in the documentation correctly showcases how to use custom values within the proto file comments. It includes the {{arg "environment_label"}} and {{arg "environment"}} placeholders, which will be replaced with the corresponding values passed in the script.

protoc-gen-openapiv2/internal/genopenapi/template.go (1)
  • 2486-2495: The implementation of the arg function within the goTemplateComments function is correct and follows the intended functionality of retrieving template arguments. The error message provided when an argument is not found is clear and should be helpful to users.
protoc-gen-openapiv2/internal/genopenapi/template_test.go (9)
  • 5844-5844: The addition of goTemplateArgs to the struct is consistent with the summary stating that a new field was added to test cases.

  • 5972-5983: The test case correctly demonstrates the use of goTemplateArgs in conjunction with useGoTemplate.

  • 6007-6009: The logic to handle goTemplateArgs when useGoTemplate is true is correctly implemented.

  • 6041-6041: The addition of goTemplateArgs to the struct is consistent with the summary stating that a new field was added to test cases.

  • 6103-6134: The test case correctly demonstrates the use of goTemplateArgs in conjunction with useGoTemplate.

  • 6222-6222: The logic to handle goTemplateArgs when useGoTemplate is true is correctly implemented.

  • 6281-6281: The TestTagsWithGoTemplate function correctly sets goTemplateArgs as described in the summary.

  • 6328-6331: The use of goTemplateArgs within the service tag description correctly demonstrates the intended functionality.

  • 6353-6356: The expected output in the TestTagsWithGoTemplate function correctly reflects the use of goTemplateArgs.

protoc-gen-openapiv2/main.go (1)
  • 136-147: The setup of the registry with the new and existing flags is correctly implemented.

protoc-gen-openapiv2/main.go Show resolved Hide resolved
internal/descriptor/registry.go Show resolved Hide resolved
protoc-gen-openapiv2/defs.bzl Show resolved Hide resolved
protoc-gen-openapiv2/defs.bzl Outdated Show resolved Hide resolved
protoc-gen-openapiv2/defs.bzl Show resolved Hide resolved
@500poundbear
Copy link
Contributor Author

I have updated with your suggested changes @johanbrandhorst. Thank you for the review

Copy link
Collaborator

@johanbrandhorst johanbrandhorst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@johanbrandhorst johanbrandhorst enabled auto-merge (squash) November 30, 2023 18:43
@johanbrandhorst
Copy link
Collaborator

Looks like there's a minor formatting issue with the bazel changes

auto-merge was automatically disabled November 30, 2023 23:18

Head branch was pushed to by a user without write access

@500poundbear 500poundbear force-pushed the 3338-key-value-pairs-in-go-templates branch from 4d7b9dc to 2398f9b Compare November 30, 2023 23:18
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 4

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 305c0e5 and 2398f9b.
Files selected for processing (6)
  • docs/docs/mapping/customizing_openapi_output.md (1 hunks)
  • internal/descriptor/registry.go (2 hunks)
  • protoc-gen-openapiv2/defs.bzl (4 hunks)
  • protoc-gen-openapiv2/internal/genopenapi/template.go (1 hunks)
  • protoc-gen-openapiv2/internal/genopenapi/template_test.go (10 hunks)
  • protoc-gen-openapiv2/main.go (2 hunks)
Additional comments: 15
docs/docs/mapping/customizing_openapi_output.md (1)
  • 234-288: The documentation for using custom values in Go templates is clear and provides useful examples for users to follow. It is consistent with the summary and pull request description, and it enhances the grpc-gateway's OpenAPI generation capabilities by allowing for more dynamic and environment-specific documentation.
internal/descriptor/registry.go (1)
  • 598-600: The GetGoTemplateArgs method implementation is straightforward and does not introduce any issues.
protoc-gen-openapiv2/defs.bzl (3)
  • 60-66: The addition of go_template_args parameter to the _run_proto_gen_openapi function aligns with the summary and pull request description.

  • 236-242: The addition of go_template_args parameter to the _proto_gen_openapi_impl function aligns with the summary and pull request description.

  • 320-325: The addition of go_template_args attribute to the protoc_gen_openapiv2 rule aligns with the summary and pull request description.

protoc-gen-openapiv2/internal/genopenapi/template_test.go (8)
  • 5844-5844: The addition of goTemplateArgs to the test case struct is consistent with the summary and the pull request description, which indicates that test cases have been updated to support the new functionality.

  • 6007-6009: The logic to set goTemplateArgs in the registry if they are provided in the test case is correct and aligns with the new feature implementation.

  • 5973-5983: The test case correctly demonstrates the use of goTemplateArgs with the useGoTemplate option enabled, and the expected output is consistent with the functionality described in the pull request.

  • 5986-5997: The test case for undefined goTemplateArgs is well-formed and checks for the correct behavior when a template argument is not found, which is in line with the new feature's error handling.

  • 6222-6222: The use of SetGoTemplateArgs in the test setup is appropriate and ensures that the goTemplateArgs are set in the registry before running the test.

  • 6281-6281: The SetGoTemplateArgs method is correctly used in the TestTagsWithGoTemplate function to set up the registry with the necessary template arguments for the test.

  • 6329-6331: The test case correctly asserts the expected description output when using the arg template function with a defined key, which is consistent with the new feature's intended behavior.

  • 6354-6355: The test case for the arg template function with a defined key is correctly asserting the expected output, which is "the my_value" in this case.

protoc-gen-openapiv2/main.go (2)
  • 33-33: The addition of the goTemplateArgs flag is consistent with the summary and pull request description. It allows users to pass custom key-value pairs to Go templates.

  • 139-141: The validation logic to ensure that go_template_args is only used when use_go_templates is enabled is correctly implemented.

protoc-gen-openapiv2/defs.bzl Show resolved Hide resolved
@500poundbear
Copy link
Contributor Author

@johanbrandhorst I've fixed the formatting issue in the bazel formatting. extra spaces

@johanbrandhorst
Copy link
Collaborator

😬. There's a command you can run in CONTRIBUTING.md that should get the formatting right for you.

@500poundbear 500poundbear force-pushed the 3338-key-value-pairs-in-go-templates branch from 2398f9b to 71c6fdc Compare December 3, 2023 23:59
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 4

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between bca0b83 and 71c6fdc.
Files selected for processing (6)
  • docs/docs/mapping/customizing_openapi_output.md (1 hunks)
  • internal/descriptor/registry.go (2 hunks)
  • protoc-gen-openapiv2/defs.bzl (4 hunks)
  • protoc-gen-openapiv2/internal/genopenapi/template.go (1 hunks)
  • protoc-gen-openapiv2/internal/genopenapi/template_test.go (10 hunks)
  • protoc-gen-openapiv2/main.go (2 hunks)
Additional comments: 8
docs/docs/mapping/customizing_openapi_output.md (3)
  • 234-246: The documentation clearly explains how to use the new go_template_args feature with examples. It is important to ensure that the provided examples are tested and work as expected to avoid any confusion for the users.

  • 255-265: The example bash script correctly demonstrates how to use the use_go_templates flag along with the go_template_args option. It's important to ensure that the example is aligned with the actual implementation and that the keys used in the arg function within the Go templates match the keys provided in the command-line options.

  • 270-286: The example proto file demonstrates the use of the arg function within Go templates to interpolate custom values. It is crucial to verify that the arg function is implemented as described and that it correctly retrieves the values from the goTemplateArgs based on the provided name.

internal/descriptor/registry.go (2)
  • 78-86: The addition of the goTemplateArgs field to the Registry struct aligns with the PR objective to support command-line provided key-value pairs within Go templates.

  • 598-600: The GetGoTemplateArgs method correctly provides access to the goTemplateArgs map.

protoc-gen-openapiv2/defs.bzl (2)
  • 111-115: The implementation of go_template_args in the _run_proto_gen_openapi function correctly adds the provided key-value pairs to the args list, aligning with the PR objective and the summary.

  • 111-115: Consider adding a validation check to ensure that go_template_args is only used when use_go_templates is set to true, as per the summary and pull request description.

protoc-gen-openapiv2/main.go (1)
  • 30-36: The addition of the goTemplateArgs flag and the associated validation logic aligns with the PR objective and the summary of changes. The previous comments regarding the user-friendliness of the error message have been noted and should be considered.

internal/descriptor/registry.go Show resolved Hide resolved
protoc-gen-openapiv2/defs.bzl Show resolved Hide resolved
@johanbrandhorst johanbrandhorst merged commit ce09567 into grpc-ecosystem:main Dec 5, 2023
17 checks passed
@johanbrandhorst
Copy link
Collaborator

Thanks for your contribution!

charithe referenced this pull request in cerbos/cerbos Jan 8, 2024
[![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/aws/aws-sdk-go](https://togithub.com/aws/aws-sdk-go) |
`v1.49.13` -> `v1.49.16` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2faws%2faws-sdk-go/v1.49.16?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.49.16?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.49.13/v1.49.16?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.49.13/v1.49.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | patch |
| [github.com/cerbos/cloud-api](https://togithub.com/cerbos/cloud-api) |
`v0.1.13` -> `v0.1.14` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fcerbos%2fcloud-api/v0.1.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fcerbos%2fcloud-api/v0.1.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fcerbos%2fcloud-api/v0.1.13/v0.1.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fcerbos%2fcloud-api/v0.1.13/v0.1.14?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.18.1` -> `v2.19.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgrpc-ecosystem%2fgrpc-gateway%2fv2/v2.19.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.19.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.18.1/v2.19.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.18.1/v2.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | minor |
| [github.com/pterm/pterm](https://togithub.com/pterm/pterm) |
`v0.12.73` -> `v0.12.74` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fpterm%2fpterm/v0.12.74?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fpterm%2fpterm/v0.12.74?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fpterm%2fpterm/v0.12.73/v0.12.74?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fpterm%2fpterm/v0.12.73/v0.12.74?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | patch |
| golang.org/x/exp | `02704c9` -> `be819d1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fexp/?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fexp/?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-20231226003508-02704c960a9b/?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-20231226003508-02704c960a9b/?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | digest |
| golang.org/x/sync | `v0.5.0` -> `v0.6.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fsync/v0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fsync/v0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fsync/v0.5.0/v0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fsync/v0.5.0/v0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | minor |
|
[google.golang.org/genproto/googleapis/api](https://togithub.com/googleapis/go-genproto)
| `995d672` -> `50ed04b` |
[![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fgenproto%2fgoogleapis%2fapi/?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fgenproto%2fgoogleapis%2fapi/?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-20231212172506-995d672761c0/?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-20231212172506-995d672761c0/?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | digest |

---

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

---

### Release Notes

<details>
<summary>aws/aws-sdk-go (github.com/aws/aws-sdk-go)</summary>

###
[`v1.49.16`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v14916-2024-01-05)

[Compare
Source](https://togithub.com/aws/aws-sdk-go/compare/v1.49.15...v1.49.16)

\===

##### Service Client Updates

-   `service/connect`: Updates service API
-   `service/kms`: Updates service documentation
    -   Documentation updates for AWS Key Management Service (KMS).
-   `service/redshift-serverless`: Updates service documentation

##### SDK Bugs

- The logging behavior in `aws/ec2metadata/token_provider.go` was
updated: warnings about falling back to IMDSv1 are now logged only when
LogLevel is set to `LogDebugWithDeprecated`.
- This change prevents unnecessary warnings when LogLevel is set to
suppress messages.

###
[`v1.49.15`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v14915-2024-01-04)

[Compare
Source](https://togithub.com/aws/aws-sdk-go/compare/v1.49.14...v1.49.15)

\===

##### Service Client Updates

-   `service/config`: Updates service API and documentation
-   `service/docdb`: Updates service API and documentation
- Adding PerformanceInsightsEnabled and PerformanceInsightsKMSKeyId
fields to DescribeDBInstances Response.
-   `service/ecs`: Updates service API and documentation
- This release adds support for managed instance draining which
facilitates graceful termination of Amazon ECS instances.
-   `service/es`: Updates service API and documentation
- This release adds support for new or existing Amazon OpenSearch
domains to enable TLS 1.3 or TLS 1.2 with perfect forward secrecy cipher
suites for domain endpoints.
-   `service/lightsail`: Updates service API and documentation
- This release adds support to set up an HTTPS endpoint on an instance.
-   `service/opensearch`: Updates service API and documentation
-   `service/sagemaker`: Updates service API and documentation
- Adding support for provisioned throughput mode for SageMaker Feature
Groups
-   `service/servicecatalog`: Updates service API and documentation
- Added Idempotency token support to Service Catalog
AssociateServiceActionWithProvisioningArtifact,
DisassociateServiceActionFromProvisioningArtifact, DeleteServiceAction
API

###
[`v1.49.14`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v14914-2024-01-03)

[Compare
Source](https://togithub.com/aws/aws-sdk-go/compare/v1.49.13...v1.49.14)

\===

##### Service Client Updates

-   `service/connect`: Updates service API and documentation
-   `service/mediaconvert`: Updates service API and documentation
- This release includes video engine updates including HEVC
improvements, support for ingesting VP9 encoded video in MP4 containers,
and support for user-specified 3D LUTs.

</details>

<details>
<summary>cerbos/cloud-api (github.com/cerbos/cloud-api)</summary>

###
[`v0.1.14`](https://togithub.com/cerbos/cloud-api/compare/v0.1.13...v0.1.14)

[Compare
Source](https://togithub.com/cerbos/cloud-api/compare/v0.1.13...v0.1.14)

</details>

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

###
[`v2.19.0`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.19.0)

[Compare
Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.18.1...v2.19.0)

##### What's Changed

- fix: use req.Body instead of IOReaderFactory when possible by
[@&#8203;leungster](https://togithub.com/leungster) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3727](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3727)
- runtime: Add outgoing trailer matching by
[@&#8203;adriansmares](https://togithub.com/adriansmares) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3725](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3725)
- Add openapiv2\_opt support for passing values to go templates via cli
by [@&#8203;500poundbear](https://togithub.com/500poundbear) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3764](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3764)
- \[Bug
[#&#8203;3829](https://togithub.com/grpc-ecosystem/grpc-gateway/issues/3829)]
\[protoc-gen-openapiv2] consider openapiv2\_tag.name attribute when
generating ope… by [@&#8203;omrikiei](https://togithub.com/omrikiei) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3830](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3830)
- feat: partial message created as named definitions by
[@&#8203;nkcr](https://togithub.com/nkcr) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3743](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3743)
- Fix name tags in methods by
[@&#8203;omrikiei](https://togithub.com/omrikiei) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3843](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3843)
- Revert
[`4c79b45`](https://togithub.com/grpc-ecosystem/grpc-gateway/commit/4c79b45386348459926176911cb6b35f6f53dcdc)
by [@&#8203;johanbrandhorst](https://togithub.com/johanbrandhorst) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3856](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3856)

##### New Contributors

- [@&#8203;leungster](https://togithub.com/leungster) made their first
contribution in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3727](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3727)
- [@&#8203;adriansmares](https://togithub.com/adriansmares) made their
first contribution in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3725](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3725)
- [@&#8203;500poundbear](https://togithub.com/500poundbear) made their
first contribution in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3764](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3764)
- [@&#8203;omrikiei](https://togithub.com/omrikiei) made their first
contribution in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3830](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3830)
- [@&#8203;nkcr](https://togithub.com/nkcr) made their first
contribution in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3743](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3743)

**Full Changelog**:
grpc-ecosystem/grpc-gateway@v2.18.1...v2.19.0

</details>

<details>
<summary>pterm/pterm (github.com/pterm/pterm)</summary>

### [`v0.12.74`](https://togithub.com/pterm/pterm/releases/tag/v0.12.74)

[Compare
Source](https://togithub.com/pterm/pterm/compare/v0.12.73...v0.12.74)

<!-- Release notes generated using configuration in .github/release.yml
at master -->

#### What's Changed

##### Exciting New Features 🎉

- feat: automatically inject more `CallerOffset` in
`pterm.NewSlogHandler` by
[@&#8203;MarvinJWendt](https://togithub.com/MarvinJWendt) in
[https://github.com/pterm/pterm/pull/609](https://togithub.com/pterm/pterm/pull/609)

##### Other Changes

- examples: fixed `interactive_multiselect` examples by
[@&#8203;MarvinJWendt](https://togithub.com/MarvinJWendt) in
[https://github.com/pterm/pterm/pull/606](https://togithub.com/pterm/pterm/pull/606)
- ci(examples): demo is now always at the top by
[@&#8203;MarvinJWendt](https://togithub.com/MarvinJWendt) in
[https://github.com/pterm/pterm/pull/607](https://togithub.com/pterm/pterm/pull/607)

**Full Changelog**:
pterm/pterm@v0.12.73...v0.12.74

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Charith Ellawala <charith@cerbos.dev>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charith Ellawala <charith@cerbos.dev>
mx-psi referenced this pull request in open-telemetry/opentelemetry-collector-contrib Jan 9, 2024
… v2.19.0 (#30353)

[![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.18.1` -> `v2.19.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgrpc-ecosystem%2fgrpc-gateway%2fv2/v2.19.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.19.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.18.1/v2.19.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.18.1/v2.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v2.19.0`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.19.0)

[Compare
Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.18.1...v2.19.0)

#### What's Changed

- fix: use req.Body instead of IOReaderFactory when possible by
[@&#8203;leungster](https://togithub.com/leungster) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3727](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3727)
- runtime: Add outgoing trailer matching by
[@&#8203;adriansmares](https://togithub.com/adriansmares) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3725](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3725)
- Add openapiv2\_opt support for passing values to go templates via cli
by [@&#8203;500poundbear](https://togithub.com/500poundbear) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3764](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3764)
- \[Bug
[#&#8203;3829](https://togithub.com/grpc-ecosystem/grpc-gateway/issues/3829)]
\[protoc-gen-openapiv2] consider openapiv2\_tag.name attribute when
generating ope… by [@&#8203;omrikiei](https://togithub.com/omrikiei) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3830](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3830)
- feat: partial message created as named definitions by
[@&#8203;nkcr](https://togithub.com/nkcr) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3743](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3743)
- Fix name tags in methods by
[@&#8203;omrikiei](https://togithub.com/omrikiei) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3843](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3843)
- Revert
[`4c79b45`](https://togithub.com/grpc-ecosystem/grpc-gateway/commit/4c79b45386348459926176911cb6b35f6f53dcdc)
by [@&#8203;johanbrandhorst](https://togithub.com/johanbrandhorst) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3856](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3856)

#### New Contributors

- [@&#8203;leungster](https://togithub.com/leungster) made their first
contribution in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3727](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3727)
- [@&#8203;adriansmares](https://togithub.com/adriansmares) made their
first contribution in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3725](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3725)
- [@&#8203;500poundbear](https://togithub.com/500poundbear) made their
first contribution in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3764](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3764)
- [@&#8203;omrikiei](https://togithub.com/omrikiei) made their first
contribution in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3830](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3830)
- [@&#8203;nkcr](https://togithub.com/nkcr) made their first
contribution in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3743](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3743)

**Full Changelog**:
grpc-ecosystem/grpc-gateway@v2.18.1...v2.19.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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
michaelkedar referenced this pull request in google/osv.dev Jan 9, 2024
[![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.18.1` -> `v2.19.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgrpc-ecosystem%2fgrpc-gateway%2fv2/v2.19.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.19.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.18.1/v2.19.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.18.1/v2.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | minor |
| [go](https://go.dev/) ([source](https://togithub.com/golang/go)) |
`1.21.5` -> `1.21.6` |
[![age](https://developer.mend.io/api/mc/badges/age/golang-version/go/1.21.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/golang-version/go/1.21.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/golang-version/go/1.21.5/1.21.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/golang-version/go/1.21.5/1.21.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| golang | patch |
|
[google.golang.org/protobuf](https://togithub.com/protocolbuffers/protobuf-go)
| `v1.31.0` -> `v1.32.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fprotobuf/v1.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fprotobuf/v1.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fprotobuf/v1.31.0/v1.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fprotobuf/v1.31.0/v1.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | minor |
| | All locks refreshed |
[![age](https://developer.mend.io/api/mc/badges/age///?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption///?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility////?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence////?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| | 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.19.0`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.19.0)

[Compare
Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.18.1...v2.19.0)

#### What's Changed

- fix: use req.Body instead of IOReaderFactory when possible by
[@&#8203;leungster](https://togithub.com/leungster) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3727](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3727)
- runtime: Add outgoing trailer matching by
[@&#8203;adriansmares](https://togithub.com/adriansmares) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3725](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3725)
- Add openapiv2\_opt support for passing values to go templates via cli
by [@&#8203;500poundbear](https://togithub.com/500poundbear) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3764](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3764)
- \[Bug
[#&#8203;3829](https://togithub.com/grpc-ecosystem/grpc-gateway/issues/3829)]
\[protoc-gen-openapiv2] consider openapiv2\_tag.name attribute when
generating ope… by [@&#8203;omrikiei](https://togithub.com/omrikiei) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3830](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3830)
- feat: partial message created as named definitions by
[@&#8203;nkcr](https://togithub.com/nkcr) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3743](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3743)
- Fix name tags in methods by
[@&#8203;omrikiei](https://togithub.com/omrikiei) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3843](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3843)
- Revert
[`4c79b45`](https://togithub.com/grpc-ecosystem/grpc-gateway/commit/4c79b45386348459926176911cb6b35f6f53dcdc)
by [@&#8203;johanbrandhorst](https://togithub.com/johanbrandhorst) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3856](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3856)

#### New Contributors

- [@&#8203;leungster](https://togithub.com/leungster) made their first
contribution in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3727](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3727)
- [@&#8203;adriansmares](https://togithub.com/adriansmares) made their
first contribution in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3725](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3725)
- [@&#8203;500poundbear](https://togithub.com/500poundbear) made their
first contribution in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3764](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3764)
- [@&#8203;omrikiei](https://togithub.com/omrikiei) made their first
contribution in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3830](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3830)
- [@&#8203;nkcr](https://togithub.com/nkcr) made their first
contribution in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3743](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3743)

**Full Changelog**:
grpc-ecosystem/grpc-gateway@v2.18.1...v2.19.0

</details>

<details>
<summary>golang/go (go)</summary>

###
[`v1.21.6`](https://togithub.com/golang/go/compare/go1.21.5...go1.21.6)

</details>

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

###
[`v1.32.0`](https://togithub.com/protocolbuffers/protobuf-go/releases/tag/v1.32.0)

[Compare
Source](https://togithub.com/protocolbuffers/protobuf-go/compare/v1.31.0...v1.32.0)

**Full Changelog**:
protocolbuffers/protobuf-go@v1.31.0...v1.32.0

This release contains commit
protocolbuffers/protobuf-go@bfcd647,
which fixes a denial of service vulnerability by preventing a stack
overflow through a default maximum recursion limit. See
[https://github.com/golang/protobuf/issues/1583](https://togithub.com/golang/protobuf/issues/1583)
and
[https://github.com/golang/protobuf/issues/1584](https://togithub.com/golang/protobuf/issues/1584)
for details.

</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
([#&#8203;363](https://togithub.com/jekyll/jekyll-feed/issues/363))

##### Development Fixes

- Add Ruby 3.1 to the CI matrix
([#&#8203;365](https://togithub.com/jekyll/jekyll-feed/issues/365))

##### Minor Enhancements

- Allow disabling of jekyll-feed while in development
([#&#8203;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>`
([#&#8203;297](https://togithub.com/jekyll/jekyll-feed/issues/297))

##### Bug Fixes

- Fold private methods into the `:render` method as local variables
([#&#8203;327](https://togithub.com/jekyll/jekyll-feed/issues/327))
- Check `post.categories` instead of `post.category`
([#&#8203;357](https://togithub.com/jekyll/jekyll-feed/issues/357))
- Switched xml_escape for `<![CDATA[]]>` for post content
([#&#8203;332](https://togithub.com/jekyll/jekyll-feed/issues/332))

##### Development Fixes

- Add Ruby 3.0 to CI
([#&#8203;337](https://togithub.com/jekyll/jekyll-feed/issues/337))
- Lock RuboCop to v1.18.x
([#&#8203;348](https://togithub.com/jekyll/jekyll-feed/issues/348))
- Add workflow to release gem via GH Action
([#&#8203;355](https://togithub.com/jekyll/jekyll-feed/issues/355))

##### Documentation

- Use `.atom` extension in documented examples since we write an Atom
feed ([#&#8203;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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
cparkins referenced this pull request in AmadeusITGroup/opentelemetry-collector-contrib Jan 10, 2024
… v2.19.0 (open-telemetry#30353)

[![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.18.1` -> `v2.19.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgrpc-ecosystem%2fgrpc-gateway%2fv2/v2.19.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.19.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.18.1/v2.19.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.18.1/v2.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v2.19.0`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.19.0)

[Compare
Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.18.1...v2.19.0)

#### What's Changed

- fix: use req.Body instead of IOReaderFactory when possible by
[@&open-telemetry#8203;leungster](https://togithub.com/leungster) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3727](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3727)
- runtime: Add outgoing trailer matching by
[@&open-telemetry#8203;adriansmares](https://togithub.com/adriansmares) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3725](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3725)
- Add openapiv2\_opt support for passing values to go templates via cli
by [@&open-telemetry#8203;500poundbear](https://togithub.com/500poundbear) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3764](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3764)
- \[Bug
[#&open-telemetry#8203;3829](https://togithub.com/grpc-ecosystem/grpc-gateway/issues/3829)]
\[protoc-gen-openapiv2] consider openapiv2\_tag.name attribute when
generating ope… by [@&open-telemetry#8203;omrikiei](https://togithub.com/omrikiei) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3830](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3830)
- feat: partial message created as named definitions by
[@&open-telemetry#8203;nkcr](https://togithub.com/nkcr) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3743](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3743)
- Fix name tags in methods by
[@&open-telemetry#8203;omrikiei](https://togithub.com/omrikiei) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3843](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3843)
- Revert
[`4c79b45`](https://togithub.com/grpc-ecosystem/grpc-gateway/commit/4c79b45386348459926176911cb6b35f6f53dcdc)
by [@&open-telemetry#8203;johanbrandhorst](https://togithub.com/johanbrandhorst) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3856](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3856)

#### New Contributors

- [@&open-telemetry#8203;leungster](https://togithub.com/leungster) made their first
contribution in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3727](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3727)
- [@&open-telemetry#8203;adriansmares](https://togithub.com/adriansmares) made their
first contribution in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3725](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3725)
- [@&open-telemetry#8203;500poundbear](https://togithub.com/500poundbear) made their
first contribution in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3764](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3764)
- [@&open-telemetry#8203;omrikiei](https://togithub.com/omrikiei) made their first
contribution in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3830](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3830)
- [@&open-telemetry#8203;nkcr](https://togithub.com/nkcr) made their first
contribution in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/3743](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3743)

**Full Changelog**:
grpc-ecosystem/grpc-gateway@v2.18.1...v2.19.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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support passing key-value pairs on the command line and using them in comment Go templates.
2 participants