-
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
Sort tags by explicit Swagger annotation first #3587
Sort tags by explicit Swagger annotation first #3587
Conversation
WalkthroughThe changes focus on enhancing the handling of service tags in the OpenAPI specification. The code that appends service tags to the Swagger object is replaced with a Changes
TipsChat with CodeRabbit Bot (
|
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.
Review Status
Actionable comments generated: 1
Files selected for processing (2)
- protoc-gen-openapiv2/internal/genopenapi/template.go (3 hunks)
- protoc-gen-openapiv2/internal/genopenapi/template_test.go (1 hunks)
Files skipped from review due to trivial changes (1)
- protoc-gen-openapiv2/internal/genopenapi/template_test.go
Additional comments (Suppressed): 2
protoc-gen-openapiv2/internal/genopenapi/template.go (2)
1746-1751: The removal of the
s.Tags = append(s.Tags, renderServiceTags(p.Services, p.reg)...)
line in this hunk is a significant change. Ensure that all calls to this function throughout the codebase have been updated to match the new implementation.2016-2018: This is a good improvement as it merges existing tags with rendered service tags, updating the description, external docs, and extensions if they are not present in the existing tags. This allows for more control over the order and properties of tags, especially when the Swagger file is merged from multiple proto files.
c8111e2
to
24e3116
Compare
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.
Review Status
Actionable comments generated: 2
Files ignored due to filter (4)
- examples/internal/clients/abe/api/swagger.yaml
- examples/internal/clients/unannotatedecho/api/swagger.yaml
- examples/internal/proto/examplepb/a_bit_of_everything.swagger.json
- examples/internal/proto/examplepb/unannotated_echo_service.swagger.json
Files selected for processing (2)
- protoc-gen-openapiv2/internal/genopenapi/template.go (3 hunks)
- protoc-gen-openapiv2/internal/genopenapi/template_test.go (1 hunks)
Additional comments (Suppressed): 2
protoc-gen-openapiv2/internal/genopenapi/template_test.go (1)
- 10108-10299: The
TestMergeTags
function is well structured and covers different scenarios for merging tags. It's good to see that you're using table-driven tests which make it easy to add new test cases. However, consider adding more edge cases such as when both existingTags and newTags are empty or when they have duplicate entries.protoc-gen-openapiv2/internal/genopenapi/template.go (1)
- 2016-2018: Ensure that the
mergeTags
function is correctly implemented and tested. Also, verify that all calls to this function throughout the codebase have been updated to match the new usage.
24e3116
to
4e534b3
Compare
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.
Review Status
Actionable comments generated: 3
Files ignored due to filter (4)
- examples/internal/clients/abe/api/swagger.yaml
- examples/internal/clients/unannotatedecho/api/swagger.yaml
- examples/internal/proto/examplepb/a_bit_of_everything.swagger.json
- examples/internal/proto/examplepb/unannotated_echo_service.swagger.json
Files selected for processing (2)
- protoc-gen-openapiv2/internal/genopenapi/template.go (3 hunks)
- protoc-gen-openapiv2/internal/genopenapi/template_test.go (2 hunks)
Additional comments (Suppressed): 3
protoc-gen-openapiv2/internal/genopenapi/template_test.go (1)
- 10105-10296: The new test cases for the
mergeTags
function are comprehensive and cover various scenarios including merging descriptions, external docs, and extensions. This is good practice as it ensures the function behaves as expected under different conditions.protoc-gen-openapiv2/internal/genopenapi/template.go (2)
1746-1751: The removal of the service tag appending logic from this section and its replacement with a call to
mergeTags
in lines 2016-2018 is a good change. It ensures that existing tags are not blindly overwritten, but rather updated if necessary, preserving any existing data.2013-2022: This change correctly introduces the call to
mergeTags
only when service tags are not disabled. This preserves the original behavior of the code while adding the new functionality of merging tags instead of simply appending them.
I believe it what most people would expect, since the order of tags extracted from methods is harder to control, especially if swagger file is merged from multiple proto files.
4e534b3
to
310f852
Compare
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.
Review Status
Actionable comments generated: 1
Files ignored due to filter (4)
- examples/internal/clients/abe/api/swagger.yaml
- examples/internal/clients/unannotatedecho/api/swagger.yaml
- examples/internal/proto/examplepb/a_bit_of_everything.swagger.json
- examples/internal/proto/examplepb/unannotated_echo_service.swagger.json
Files selected for processing (2)
- protoc-gen-openapiv2/internal/genopenapi/template.go (3 hunks)
- protoc-gen-openapiv2/internal/genopenapi/template_test.go (2 hunks)
Additional comments (Suppressed): 4
protoc-gen-openapiv2/internal/genopenapi/template_test.go (2)
10101-10107: The
MustMarshal
function uses panic to handle errors. While this is acceptable in a testing context, it's generally better to avoid panics in your code whenever possible. Panics are often indicative of programmer error and can make debugging more difficult due to the abrupt termination of the program. However, given that this is a test utility function and theMustFoo
pattern is common in Go for initialization functions where failure should halt execution, this usage is acceptable.10109-10300: The new test cases for the
mergeTags
function are comprehensive and cover various scenarios including simple merge, merging descriptions, external docs, and extensions. This will help ensure that themergeTags
function behaves as expected under different conditions.protoc-gen-openapiv2/internal/genopenapi/template.go (2)
1746-1751: The removal of the
s.Tags = append(s.Tags, renderServiceTags(p.Services, p.reg))...
line is consistent with the changes made in lines 2016-2018 where the tags are now merged instead of simply appended. This change should provide more flexibility in handling service tags as described in the PR summary.2016-2018: This new code replaces the previous appending of service tags with a merge operation. Ensure that the
mergeTags
function behaves as expected and doesn't introduce any unintended side effects.
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.
This seems a harmless enough change to me. What was the old behavior? I agree this seems to be what users would expect.
Thanks for your contribution! |
The old behavior was that the order of tags was not controllable if you had multiple files. Unless you disable the service tags and then specify a tag for each method by hand. |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---|---|---| | [github.com/grpc-ecosystem/grpc-gateway/v2](https://togithub.com/grpc-ecosystem/grpc-gateway) | require | patch | `v2.18.0` -> `v2.18.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgrpc-ecosystem%2fgrpc-gateway%2fv2/v2.18.1?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.18.1?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.0/v2.18.1?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.0/v2.18.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | | | lockFileMaintenance | 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/) | | [jekyll-feed](https://togithub.com/jekyll/jekyll-feed) | | minor | `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/) | --- ### Release Notes <details> <summary>grpc-ecosystem/grpc-gateway (github.com/grpc-ecosystem/grpc-gateway/v2)</summary> ### [`v2.18.1`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.18.1) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.18.0...v2.18.1) #### What's Changed - Sort tags by explicit Swagger annotation first by [@​same-id](https://togithub.com/same-id) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3587](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3587) - Use go templates on tag descriptions too by [@​same-id](https://togithub.com/same-id) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3595](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3595) - LICENSE.txt got 404 replace to LICENSE by [@​yuta-hidaka](https://togithub.com/yuta-hidaka) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3627](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3627) - Fix docs build by pinning remote_theme value by [@​adambabik](https://togithub.com/adambabik) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3664](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3664) - Upgrade to 1.19 at least by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3668](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3668) - Remove glog dependency by [@​ash2k](https://togithub.com/ash2k) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3652](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3652) #### New Contributors - [@​yuta-hidaka](https://togithub.com/yuta-hidaka) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3627](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3627) - [@​ash2k](https://togithub.com/ash2k) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3652](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3652) **Full Changelog**: grpc-ecosystem/grpc-gateway@v2.18.0...v2.18.1 </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:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
[![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/alecthomas/chroma/v2](https://togithub.com/alecthomas/chroma) | require | minor | `v2.10.0` -> `v2.11.1` | | [github.com/aws/aws-sdk-go](https://togithub.com/aws/aws-sdk-go) | require | patch | `v1.47.3` -> `v1.47.9` | | [github.com/bufbuild/buf](https://togithub.com/bufbuild/buf) | require | minor | `v1.27.2` -> `v1.28.0` | | [github.com/bufbuild/protovalidate-go](https://togithub.com/bufbuild/protovalidate-go) | require | minor | `v0.3.1` -> `v0.4.0` | | [github.com/cerbos/cerbos/api/genpb](https://togithub.com/cerbos/cerbos) | require | digest | `761a3dc` -> `fd30cac` | | [github.com/cerbos/cloud-api](https://togithub.com/cerbos/cloud-api) | require | patch | `v0.1.8` -> `v0.1.9` | | [github.com/fatih/color](https://togithub.com/fatih/color) | require | minor | `v1.15.0` -> `v1.16.0` | | [github.com/fergusstrange/embedded-postgres](https://togithub.com/fergusstrange/embedded-postgres) | require | minor | `v1.24.0` -> `v1.25.0` | | [github.com/google/cel-go](https://togithub.com/google/cel-go) | require | patch | `v0.18.1` -> `v0.18.2` | | [github.com/goreleaser/goreleaser](https://togithub.com/goreleaser/goreleaser) | require | minor | `v1.21.2` -> `v1.22.1` | | [github.com/grpc-ecosystem/grpc-gateway/v2](https://togithub.com/grpc-ecosystem/grpc-gateway) | require | patch | `v2.18.0` -> `v2.18.1` | | [github.com/rivo/tview](https://togithub.com/rivo/tview) | require | digest | `1b91b81` -> `05d0194` | | [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://togithub.com/open-telemetry/opentelemetry-go-contrib) | require | minor | `v0.45.0` -> `v0.46.0` | | [go.opentelemetry.io/contrib/propagators/autoprop](https://togithub.com/open-telemetry/opentelemetry-go-contrib) | require | minor | `v0.45.0` -> `v0.46.0` | | [go.opentelemetry.io/contrib/propagators/b3](https://togithub.com/open-telemetry/opentelemetry-go-contrib) | require | minor | `v1.20.0` -> `v1.21.0` | | [go.opentelemetry.io/otel/bridge/opencensus](https://togithub.com/open-telemetry/opentelemetry-go) | require | minor | `v0.42.0` -> `v0.43.0` | | [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://togithub.com/open-telemetry/opentelemetry-go) | require | minor | `v1.19.0` -> `v1.20.0` | | golang.org/x/crypto | require | minor | `v0.14.0` -> `v0.15.0` | | golang.org/x/net | require | minor | `v0.17.0` -> `v0.18.0` | | golang.org/x/tools | require | minor | `v0.14.0` -> `v0.15.0` | | [google.golang.org/genproto/googleapis/api](https://togithub.com/googleapis/go-genproto) | require | digest | `d783a09` -> `bbf56f3` | | [helm.sh/helm/v3](https://togithub.com/helm/helm) | require | patch | `v3.13.1` -> `v3.13.2` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>alecthomas/chroma (github.com/alecthomas/chroma/v2)</summary> ### [`v2.11.1`](https://togithub.com/alecthomas/chroma/releases/tag/v2.11.1) [Compare Source](https://togithub.com/alecthomas/chroma/compare/v2.11.0...v2.11.1) #### Changelog - [`96a12e3`](https://togithub.com/alecthomas/chroma/commit/96a12e3) fix: bad path normalisation ### [`v2.11.0`](https://togithub.com/alecthomas/chroma/releases/tag/v2.11.0) [Compare Source](https://togithub.com/alecthomas/chroma/compare/v2.10.1...v2.11.0) #### Changelog - [`09953ff`](https://togithub.com/alecthomas/chroma/commit/09953ff) fix: attempt to load lexer files before using Get() ### [`v2.10.1`](https://togithub.com/alecthomas/chroma/releases/tag/v2.10.1) [Compare Source](https://togithub.com/alecthomas/chroma/compare/v2.10.0...v2.10.1) #### Changelog - [`fe96ea4`](https://togithub.com/alecthomas/chroma/commit/fe96ea4) Add test for ucode ([#​881](https://togithub.com/alecthomas/chroma/issues/881)) - [`8f938d0`](https://togithub.com/alecthomas/chroma/commit/8f938d0) Create lexer for ucode ([#​879](https://togithub.com/alecthomas/chroma/issues/879)) - [`038fab5`](https://togithub.com/alecthomas/chroma/commit/038fab5) Add shebang ([#​864](https://togithub.com/alecthomas/chroma/issues/864)) - [`48d6be6`](https://togithub.com/alecthomas/chroma/commit/48d6be6) Update prql.xml ([#​878](https://togithub.com/alecthomas/chroma/issues/878)) </details> <details> <summary>aws/aws-sdk-go (github.com/aws/aws-sdk-go)</summary> ### [`v1.47.9`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1479-2023-11-10) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.47.8...v1.47.9) \=== ##### Service Client Updates - `service/controltower`: Updates service API and documentation - `service/cur`: Updates service API and documentation - This release adds support for tagging and customers can now tag report definitions. Additionally, ReportStatus is now added to report definition to show when the last delivered time stamp and if it succeeded or not. - `service/ec2`: Updates service API and documentation - EC2 adds API updates to enable ENA Express at instance launch time. - `service/entitlement.marketplace`: Updates service API, documentation, and paginators - `service/fms`: Updates service documentation - `service/mediaconvert`: Updates service API and documentation - This release includes the ability to specify any input source as the primary input for corresponding follow modes, and allows users to specify fit and fill behaviors without resizing content. - `service/rds`: Updates service API, documentation, waiters, paginators, and examples - Updates Amazon RDS documentation for zero-ETL integrations. ##### SDK Enhancements - `aws/signer/v4`: Add bucket owner header to presigned list. - Add x-amz-expected-bucket-owner header to the list of headers that need to be presigned. ### [`v1.47.8`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1478-2023-11-09) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.47.7...v1.47.8) \=== ##### Service Client Updates - `service/cloudformation`: Updates service API and documentation - Added new ConcurrencyMode feature for AWS CloudFormation StackSets for faster deployments to target accounts. - `service/cloudtrail`: Updates service API and documentation - The Insights in Lake feature lets customers enable CloudTrail Insights on a source CloudTrail Lake event data store and create a destination event data store to collect Insights events based on unusual management event activity in the source event data store. - `service/comprehend`: Updates service API and documentation - `service/connect`: Updates service API and documentation - `service/ec2`: Updates service API and documentation - AWS EBS now supports Block Public Access for EBS Snapshots. This release introduces the EnableSnapshotBlockPublicAccess, DisableSnapshotBlockPublicAccess and GetSnapshotBlockPublicAccessState APIs to manage account-level public access settings for EBS Snapshots in an AWS Region. - `service/eks`: Updates service API and documentation - `service/lambda`: Updates service API - Add Custom runtime on Amazon Linux 2023 (provided.al2023) support to AWS Lambda. - `service/logs`: Updates service API, documentation, and paginators - Update to support new APIs for delivery of logs from AWS services. - `service/omics`: Updates service API and documentation ### [`v1.47.7`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1477-2023-11-09) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.47.6...v1.47.7) \=== ##### Service Client Updates - `service/sqs`: Updates service API and documentation - This release enables customers to call SQS using AWS JSON-1.0 protocol and bug fix. ### [`v1.47.6`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1476-2023-11-08) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.47.5...v1.47.6) \=== ##### Service Client Updates - `service/connect`: Updates service API - `service/connectcases`: Updates service API and documentation - `service/datasync`: Updates service API - `service/guardduty`: Updates service API and documentation - Added API support for new GuardDuty EKS Audit Log finding types. - `service/lambda`: Updates service API and documentation - Add Node 20 (nodejs20.x) support to AWS Lambda. - `service/models.lex.v2`: Updates service API and documentation - `service/omics`: Updates service API and documentation - `service/rds`: Updates service API, documentation, waiters, paginators, and examples - This Amazon RDS release adds support for patching the OS of an RDS Custom for Oracle DB instance. You can now upgrade the database or operating system using the modify-db-instance command. - `service/redshift-serverless`: Updates service API and documentation - `service/resiliencehub`: Updates service API and documentation - `service/sqs`: Updates service API, documentation, and paginators - This release enables customers to call SQS using AWS JSON-1.0 protocol. ### [`v1.47.5`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1475-2023-11-07) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.47.4...v1.47.5) \=== ##### Service Client Updates - `service/dataexchange`: Updates service API and documentation - `service/dlm`: Updates service API and documentation - `service/rds`: Updates service API, documentation, waiters, paginators, and examples - This Amazon RDS release adds support for the multi-tenant configuration. In this configuration, an RDS DB instance can contain multiple tenant databases. In RDS for Oracle, a tenant database is a pluggable database (PDB). ### [`v1.47.4`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1474-2023-11-06) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.47.3...v1.47.4) \=== ##### Service Client Updates - `service/ce`: Updates service API and documentation - `service/codebuild`: Updates service API and documentation - AWS CodeBuild now supports AWS Lambda compute. - `service/connect`: Updates service API and documentation - `service/docdb`: Updates service API and documentation - Update the input of CreateDBInstance and ModifyDBInstance to support setting CA Certificates. Update the output of DescribeDBInstance and DescribeDBEngineVersions to show current and supported CA certificates. - `service/iam`: Adds new service - Add partitional endpoint for iso-e. - `service/mwaa`: Updates service API and documentation - `service/polly`: Updates service API - Amazon Polly adds new US English voices - Danielle and Gregory. Danielle and Gregory are available as Neural voices only. - `service/route53`: Adds new service - Add partitional endpoints for iso-e and iso-f. </details> <details> <summary>bufbuild/buf (github.com/bufbuild/buf)</summary> ### [`v1.28.0`](https://togithub.com/bufbuild/buf/blob/HEAD/CHANGELOG.md#v1280---2023-11-10) [Compare Source](https://togithub.com/bufbuild/buf/compare/v1.27.2...v1.28.0) - Add lint rules for [protovalidate](https://togithub.com/bufbuild/protovalidate). `buf lint` will now verify that your protovalidate rules are valid. A single rule `PROTOVALIDATE` has been added to the `DEFAULT` group - given that protovalidate is net new, this does not represent a breaking change. - Update `buf beta price` with the latest pricing information. - Display a warning when reading a `buf.lock` with dependencies with b1 or b3 digests. b1 and b3 digests will be deprecated in a future version. Run `buf mod update` to update dependency digests. </details> <details> <summary>bufbuild/protovalidate-go (github.com/bufbuild/protovalidate-go)</summary> ### [`v0.4.0`](https://togithub.com/bufbuild/protovalidate-go/releases/tag/v0.4.0) [Compare Source](https://togithub.com/bufbuild/protovalidate-go/compare/v0.3.4...v0.4.0) #### What's Changed - Fix bug where cel expression cannot compile for fields of type google.protobuf.Any by [@​oliversun9](https://togithub.com/oliversun9) in [https://github.com/bufbuild/protovalidate-go/pull/65](https://togithub.com/bufbuild/protovalidate-go/pull/65) - Link to connect/validate-go by [@​emcfarlane](https://togithub.com/emcfarlane) in [https://github.com/bufbuild/protovalidate-go/pull/66](https://togithub.com/bufbuild/protovalidate-go/pull/66) - Run CI on Go 1.19 by [@​akshayjshah](https://togithub.com/akshayjshah) in [https://github.com/bufbuild/protovalidate-go/pull/72](https://togithub.com/bufbuild/protovalidate-go/pull/72) - Use make lint in CI instead of golangci-lint action by [@​oliversun9](https://togithub.com/oliversun9) in [https://github.com/bufbuild/protovalidate-go/pull/70](https://togithub.com/bufbuild/protovalidate-go/pull/70) - Add isIpPrefix by [@​higebu](https://togithub.com/higebu) in [https://github.com/bufbuild/protovalidate-go/pull/53](https://togithub.com/bufbuild/protovalidate-go/pull/53) #### New Contributors - [@​higebu](https://togithub.com/higebu) made their first contribution in [https://github.com/bufbuild/protovalidate-go/pull/53](https://togithub.com/bufbuild/protovalidate-go/pull/53) **Full Changelog**: https://github.com/bufbuild/protovalidate-go/compare/v0.3.4...v0.4.0 ### [`v0.3.4`](https://togithub.com/bufbuild/protovalidate-go/releases/tag/v0.3.4) [Compare Source](https://togithub.com/bufbuild/protovalidate-go/compare/v0.3.3...v0.3.4) #### What's Changed - Make DefaultResolver public by [@​oliversun9](https://togithub.com/oliversun9) in [https://github.com/bufbuild/protovalidate-go/pull/59](https://togithub.com/bufbuild/protovalidate-go/pull/59) - Update minimum required Go version from 1.18 to 1.19 by [@​nicksnyder](https://togithub.com/nicksnyder) in [https://github.com/bufbuild/protovalidate-go/pull/62](https://togithub.com/bufbuild/protovalidate-go/pull/62) - Fix ignore path for resolver.go by [@​nicksnyder](https://togithub.com/nicksnyder) in [https://github.com/bufbuild/protovalidate-go/pull/63](https://togithub.com/bufbuild/protovalidate-go/pull/63) #### New Contributors - [@​nicksnyder](https://togithub.com/nicksnyder) made their first contribution in [https://github.com/bufbuild/protovalidate-go/pull/62](https://togithub.com/bufbuild/protovalidate-go/pull/62) **Full Changelog**: https://github.com/bufbuild/protovalidate-go/compare/v0.3.3...v0.3.4 ### [`v0.3.3`](https://togithub.com/bufbuild/protovalidate-go/releases/tag/v0.3.3) [Compare Source](https://togithub.com/bufbuild/protovalidate-go/compare/v0.3.2...v0.3.3) #### What's Changed - Update benchmarks by [@​rodaine](https://togithub.com/rodaine) in [https://github.com/bufbuild/protovalidate-go/pull/50](https://togithub.com/bufbuild/protovalidate-go/pull/50) - Bug: transitive field CEL expressions fail to resolve types during type checking by [@​rodaine](https://togithub.com/rodaine) in [https://github.com/bufbuild/protovalidate-go/pull/51](https://togithub.com/bufbuild/protovalidate-go/pull/51) - Fix loading field message when dependency is more than one step by [@​oliversun9](https://togithub.com/oliversun9) in [https://github.com/bufbuild/protovalidate-go/pull/54](https://togithub.com/bufbuild/protovalidate-go/pull/54) - Bump github.com/google/cel-go from 0.18.0 to 0.18.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/bufbuild/protovalidate-go/pull/55](https://togithub.com/bufbuild/protovalidate-go/pull/55) - Make constraint resolution more flexible to different concrete extension types by [@​rodaine](https://togithub.com/rodaine) in [https://github.com/bufbuild/protovalidate-go/pull/57](https://togithub.com/bufbuild/protovalidate-go/pull/57) - Move package `celext` out of internal by [@​oliversun9](https://togithub.com/oliversun9) in [https://github.com/bufbuild/protovalidate-go/pull/56](https://togithub.com/bufbuild/protovalidate-go/pull/56) #### New Contributors - [@​oliversun9](https://togithub.com/oliversun9) made their first contribution in [https://github.com/bufbuild/protovalidate-go/pull/54](https://togithub.com/bufbuild/protovalidate-go/pull/54) **Full Changelog**: https://github.com/bufbuild/protovalidate-go/compare/v0.3.2...v0.3.3 ### [`v0.3.2`](https://togithub.com/bufbuild/protovalidate-go/releases/tag/v0.3.2) [Compare Source](https://togithub.com/bufbuild/protovalidate-go/compare/v0.3.1...v0.3.2) #### What's Changed - Build validator copy cache on write by [@​emcfarlane](https://togithub.com/emcfarlane) in [https://github.com/bufbuild/protovalidate-go/pull/31](https://togithub.com/bufbuild/protovalidate-go/pull/31) - Bump github.com/google/cel-go from 0.17.4 to 0.17.6 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/bufbuild/protovalidate-go/pull/39](https://togithub.com/bufbuild/protovalidate-go/pull/39) - Bump github.com/google/cel-go from 0.17.6 to 0.18.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/bufbuild/protovalidate-go/pull/42](https://togithub.com/bufbuild/protovalidate-go/pull/42) - Bump buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go from 1.31.0-20230824200731-b9b8148056b9.1 to 1.31.0-20230830185350-7a34d6557349.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/bufbuild/protovalidate-go/pull/41](https://togithub.com/bufbuild/protovalidate-go/pull/41) - Bypass deprecation lint warning by [@​akshayjshah](https://togithub.com/akshayjshah) in [https://github.com/bufbuild/protovalidate-go/pull/45](https://togithub.com/bufbuild/protovalidate-go/pull/45) - Bump actions/checkout from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/bufbuild/protovalidate-go/pull/46](https://togithub.com/bufbuild/protovalidate-go/pull/46) - Cleanup: replace deprecated OptCheckStringFormat by [@​rodaine](https://togithub.com/rodaine) in [https://github.com/bufbuild/protovalidate-go/pull/48](https://togithub.com/bufbuild/protovalidate-go/pull/48) - Conformance: support for multiple uniques by [@​rodaine](https://togithub.com/rodaine) in [https://github.com/bufbuild/protovalidate-go/pull/49](https://togithub.com/bufbuild/protovalidate-go/pull/49) #### New Contributors - [@​emcfarlane](https://togithub.com/emcfarlane) made their first contribution in [https://github.com/bufbuild/protovalidate-go/pull/31](https://togithub.com/bufbuild/protovalidate-go/pull/31) - [@​akshayjshah](https://togithub.com/akshayjshah) made their first contribution in [https://github.com/bufbuild/protovalidate-go/pull/45](https://togithub.com/bufbuild/protovalidate-go/pull/45) **Full Changelog**: https://github.com/bufbuild/protovalidate-go/compare/v0.3.1...v0.3.2 </details> <details> <summary>cerbos/cloud-api (github.com/cerbos/cloud-api)</summary> ### [`v0.1.9`](https://togithub.com/cerbos/cloud-api/compare/v0.1.8...v0.1.9) [Compare Source](https://togithub.com/cerbos/cloud-api/compare/v0.1.8...v0.1.9) </details> <details> <summary>fatih/color (github.com/fatih/color)</summary> ### [`v1.16.0`](https://togithub.com/fatih/color/releases/tag/v1.16.0) [Compare Source](https://togithub.com/fatih/color/compare/v1.15.0...v1.16.0) #### What's Changed - Update dependabot.yml by [@​ilyabrin](https://togithub.com/ilyabrin) in [https://github.com/fatih/color/pull/200](https://togithub.com/fatih/color/pull/200) - color: add newline after wrapping text by [@​fatih](https://togithub.com/fatih) in [https://github.com/fatih/color/pull/192](https://togithub.com/fatih/color/pull/192) - \[Test] Nil check added by [@​hyunsooda](https://togithub.com/hyunsooda) in [https://github.com/fatih/color/pull/203](https://togithub.com/fatih/color/pull/203) - fixes [#​206](https://togithub.com/fatih/color/issues/206) (using underline with a different fg color breaks) by [@​gregpoirson](https://togithub.com/gregpoirson) in [https://github.com/fatih/color/pull/210](https://togithub.com/fatih/color/pull/210) ##### Dependency updates - Bump dominikh/staticcheck-action from 1.2.0 to 1.3.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fatih/color/pull/201](https://togithub.com/fatih/color/pull/201) - Bump github.com/mattn/go-isatty from 0.0.17 to 0.0.18 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fatih/color/pull/193](https://togithub.com/fatih/color/pull/193) - Bump golang.org/x/sys from 0.6.0 to 0.8.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fatih/color/pull/195](https://togithub.com/fatih/color/pull/195) - Bump github.com/mattn/go-isatty from 0.0.18 to 0.0.19 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fatih/color/pull/196](https://togithub.com/fatih/color/pull/196) - Bump golang.org/x/sys from 0.8.0 to 0.10.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fatih/color/pull/199](https://togithub.com/fatih/color/pull/199) - Bump github.com/mattn/go-isatty from 0.0.19 to 0.0.20 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fatih/color/pull/212](https://togithub.com/fatih/color/pull/212) - Bump golang.org/x/sys from 0.10.0 to 0.13.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fatih/color/pull/209](https://togithub.com/fatih/color/pull/209) - Bump actions/setup-go from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fatih/color/pull/202](https://togithub.com/fatih/color/pull/202) - Bump actions/checkout from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fatih/color/pull/208](https://togithub.com/fatih/color/pull/208) - Bump golang.org/x/sys from 0.13.0 to 0.14.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fatih/color/pull/213](https://togithub.com/fatih/color/pull/213) #### New Contributors - [@​ilyabrin](https://togithub.com/ilyabrin) made their first contribution in [https://github.com/fatih/color/pull/200](https://togithub.com/fatih/color/pull/200) - [@​hyunsooda](https://togithub.com/hyunsooda) made their first contribution in [https://github.com/fatih/color/pull/203](https://togithub.com/fatih/color/pull/203) - [@​gregpoirson](https://togithub.com/gregpoirson) made their first contribution in [https://github.com/fatih/color/pull/210](https://togithub.com/fatih/color/pull/210) **Full Changelog**: https://github.com/fatih/color/compare/v1.15.0...v1.16.0 </details> <details> <summary>fergusstrange/embedded-postgres (github.com/fergusstrange/embedded-postgres)</summary> ### [`v1.25.0`](https://togithub.com/fergusstrange/embedded-postgres/releases/tag/v1.25.0) [Compare Source](https://togithub.com/fergusstrange/embedded-postgres/compare/v1.24.0...v1.25.0) #### What's Changed - Fixed decompression issue when downloaded using chunked encoding by [@​djcass44](https://togithub.com/djcass44) in [https://github.com/fergusstrange/embedded-postgres/pull/124](https://togithub.com/fergusstrange/embedded-postgres/pull/124) - Allow creating databases with dashes in the name by [@​mboulton-fathom](https://togithub.com/mboulton-fathom) in [https://github.com/fergusstrange/embedded-postgres/pull/125](https://togithub.com/fergusstrange/embedded-postgres/pull/125) - Bump gopkg.in/yaml.v3 from 3.0.0-20200313102051-9f266ea9e77c to 3.0.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fergusstrange/embedded-postgres/pull/122](https://togithub.com/fergusstrange/embedded-postgres/pull/122) #### New Contributors - [@​djcass44](https://togithub.com/djcass44) made their first contribution in [https://github.com/fergusstrange/embedded-postgres/pull/124](https://togithub.com/fergusstrange/embedded-postgres/pull/124) - [@​mboulton-fathom](https://togithub.com/mboulton-fathom) made their first contribution in [https://github.com/fergusstrange/embedded-postgres/pull/125](https://togithub.com/fergusstrange/embedded-postgres/pull/125) - [@​dependabot](https://togithub.com/dependabot) made their first contribution in [https://github.com/fergusstrange/embedded-postgres/pull/122](https://togithub.com/fergusstrange/embedded-postgres/pull/122) **Full Changelog**: https://github.com/fergusstrange/embedded-postgres/compare/v1.24.0...v1.25.0 </details> <details> <summary>google/cel-go (github.com/google/cel-go)</summary> ### [`v0.18.2`](https://togithub.com/google/cel-go/releases/tag/v0.18.2) [Compare Source](https://togithub.com/google/cel-go/compare/v0.18.1...v0.18.2) #### What's Changed - Add support for ext.Bindings() to REPL \[[#​843](https://togithub.com/google/cel-go/issues/843)] - Add basic examples to the appengine repl \[[#​848](https://togithub.com/google/cel-go/issues/848)] - Sets cost estimation and tracking options \[[#​850](https://togithub.com/google/cel-go/issues/850)] - Fix expression inlining when working with macros \[[#​853](https://togithub.com/google/cel-go/issues/853)] - ANTLR v4.13 update \[[#​857](https://togithub.com/google/cel-go/issues/857)] **Full Changelog**: https://github.com/google/cel-go/compare/v0.18.1...v0.18.2 </details> <details> <summary>goreleaser/goreleaser (github.com/goreleaser/goreleaser)</summary> ### [`v1.22.1`](https://togithub.com/goreleaser/goreleaser/releases/tag/v1.22.1) [Compare Source](https://togithub.com/goreleaser/goreleaser/compare/v1.22.0...v1.22.1) #### Changelog ##### Bug fixes - [`e33d053`](https://togithub.com/goreleaser/goreleaser/commit/e33d0536129abeee90f46fbde5950403ba37cee1): fix: --single-target when no match ([@​caarlos0](https://togithub.com/caarlos0)) - [`c0b2be3`](https://togithub.com/goreleaser/goreleaser/commit/c0b2be344fca8c66fda35391ca76d9c3ca9753c8): fix: handle configs with no explicit targets on --single-target ([@​caarlos0](https://togithub.com/caarlos0)) ##### Build process updates - [`4f17fba`](https://togithub.com/goreleaser/goreleaser/commit/4f17fba173ec6d8feb93b15607fc692dd2b64533): build: fix setup-task rate limit ([@​caarlos0](https://togithub.com/caarlos0)) - [`be9ad4d`](https://togithub.com/goreleaser/goreleaser/commit/be9ad4d47dd09c218c8fd32b321a99ff7eb5956d): build: update workflow ([@​caarlos0](https://togithub.com/caarlos0)) **Full Changelog**: https://github.com/goreleaser/goreleaser/compare/v1.22.0...v1.22.1 #### 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> ### [`v1.22.0`](https://togithub.com/goreleaser/goreleaser/releases/tag/v1.22.0) [Compare Source](https://togithub.com/goreleaser/goreleaser/compare/v1.21.2...v1.22.0) #### Changelog ##### New Features - [`1a5d3ff`](https://togithub.com/goreleaser/goreleaser/commit/1a5d3ffa026ed53c31e03e838702acac4e7a8efb): feat(nix): mark all Nix packages with the right source provenance ([@​RaitoBezarius](https://togithub.com/RaitoBezarius)) - [`954121f`](https://togithub.com/goreleaser/goreleaser/commit/954121ffb1f89353691d8f7187aa1155ba0c6b0d): feat: --skip-nix ([@​caarlos0](https://togithub.com/caarlos0)) - [`53071b6`](https://togithub.com/goreleaser/goreleaser/commit/53071b66423e57a2186de30a4ee3e3b72212c4d5): feat: --skip=aur ([@​caarlos0](https://togithub.com/caarlos0)) - [`0fbc447`](https://togithub.com/goreleaser/goreleaser/commit/0fbc447fe1a1fb9decfffed0227ddf478ed6bf34): feat: --skip=homebrew ([@​caarlos0](https://togithub.com/caarlos0)) - [`8ce4399`](https://togithub.com/goreleaser/goreleaser/commit/8ce439972aaf38468a9614fe9ddb2315de75a74d): feat: --skip=scoop ([@​caarlos0](https://togithub.com/caarlos0)) - [`1a8702f`](https://togithub.com/goreleaser/goreleaser/commit/1a8702f1404adb0e981353f28696b21f424744c7): feat: --skip=snapcraft ([@​caarlos0](https://togithub.com/caarlos0)) - [`c6cb980`](https://togithub.com/goreleaser/goreleaser/commit/c6cb980c4f57e2a447ec9f1c8da9c7bdfd7226ba): feat: --skip=winget ([@​caarlos0](https://togithub.com/caarlos0)) - [`2223c93`](https://togithub.com/goreleaser/goreleaser/commit/2223c93b8c1f247a1ca59a91cf50855c093e00ac): feat: check if go.mod has replace directives ([#​4398](https://togithub.com/goreleaser/goreleaser/issues/4398)) ([@​caarlos0](https://togithub.com/caarlos0)) - [`896366f`](https://togithub.com/goreleaser/goreleaser/commit/896366f3dc4872c81d33ad16c68e726b9b6165c6): feat: version in the yaml file ([@​caarlos0](https://togithub.com/caarlos0)) ##### Bug fixes - [`63f2f0a`](https://togithub.com/goreleaser/goreleaser/commit/63f2f0a18dbc9d84d6cf3f01b88f2a58355e8e79): fix(docker): improve error msg ([@​caarlos0](https://togithub.com/caarlos0)) - [`45839c1`](https://togithub.com/goreleaser/goreleaser/commit/45839c13c373ffbd890ec58206579753c8a44381): fix(jsonschema): version is not required on v1.x ([@​caarlos0](https://togithub.com/caarlos0)) - [`b8cc16d`](https://togithub.com/goreleaser/goreleaser/commit/b8cc16d4ace33661cd25e38c79e0433fcb0bc749): fix: .Amd64 in build hooks ([@​caarlos0](https://togithub.com/caarlos0)) - [`95c990b`](https://togithub.com/goreleaser/goreleaser/commit/95c990b166b047838f14a844c44aae545dadc998): fix: build --single-target ([#​4370](https://togithub.com/goreleaser/goreleaser/issues/4370)) ([@​caarlos0](https://togithub.com/caarlos0)) - [`3cfefcc`](https://togithub.com/goreleaser/goreleaser/commit/3cfefcc4cefa5b4beb40e02d6835c1313d97be6a): fix: decouple project_name guessing from the release pipe ([#​4335](https://togithub.com/goreleaser/goreleaser/issues/4335)) ([@​caarlos0](https://togithub.com/caarlos0)) - [`91c8db3`](https://togithub.com/goreleaser/goreleaser/commit/91c8db3973ff296e9004b4ce7e59c148c0303743): fix: github getbranch maxredirects ([@​caarlos0](https://togithub.com/caarlos0)) - [`de1c52b`](https://togithub.com/goreleaser/goreleaser/commit/de1c52b4667756045917d718f4923815b3ab592a): fix: improve run script ([@​caarlos0](https://togithub.com/caarlos0)) - [`74a9317`](https://togithub.com/goreleaser/goreleaser/commit/74a9317c83685100ee5496f6aa552366a0f63eee): fix: properly handle multi-module projects with a go.work file ([@​caarlos0](https://togithub.com/caarlos0)) - [`bc9f77b`](https://togithub.com/goreleaser/goreleaser/commit/bc9f77b0e5a86097119b2ac4aa15913da8f769b7): fix: schema enum options for dockers.use ([@​caarlos0](https://togithub.com/caarlos0)) - [`cf008d3`](https://togithub.com/goreleaser/goreleaser/commit/cf008d3ed719547c7f2d5eb2d83d05647e7b56e3): fix: sort checksum lines by filename (@​) ##### Dependency updates - [`35b0d4c`](https://togithub.com/goreleaser/goreleaser/commit/35b0d4c0b505df3f5399a1e055854ed92132277b): feat(deps): bump github.com/caarlos0/log from 0.4.2 to 0.4.3 ([#​4366](https://togithub.com/goreleaser/goreleaser/issues/4366)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`8d121c8`](https://togithub.com/goreleaser/goreleaser/commit/8d121c868125854e8224e6af39b715207009fe7c): feat(deps): bump github.com/caarlos0/log from 0.4.3 to 0.4.4 ([#​4372](https://togithub.com/goreleaser/goreleaser/issues/4372)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`766a3f2`](https://togithub.com/goreleaser/goreleaser/commit/766a3f2d909bbae058b5e01024dee9f383c8a28f): feat(deps): bump github.com/charmbracelet/lipgloss from 0.8.0 to 0.9.0 ([#​4364](https://togithub.com/goreleaser/goreleaser/issues/4364)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`c72b730`](https://togithub.com/goreleaser/goreleaser/commit/c72b730258ee8acc7a51141a04a280b459b48d2e): feat(deps): bump github.com/charmbracelet/lipgloss from 0.9.0 to 0.9.1 ([#​4367](https://togithub.com/goreleaser/goreleaser/issues/4367)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`687db06`](https://togithub.com/goreleaser/goreleaser/commit/687db06e12531849d07afedb9dbbcc04af1a653a): feat(deps): bump github.com/disgoorg/disgo from 0.16.9 to 0.16.11 ([#​4337](https://togithub.com/goreleaser/goreleaser/issues/4337)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`3009ac1`](https://togithub.com/goreleaser/goreleaser/commit/3009ac1989536281799d436906e19e32bf779214): feat(deps): bump github.com/docker/docker ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`a00c3db`](https://togithub.com/goreleaser/goreleaser/commit/a00c3db12351952eaded898bc2a792146264e947): feat(deps): bump github.com/google/ko from 0.14.1 to 0.15.0 ([#​4373](https://togithub.com/goreleaser/goreleaser/issues/4373)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`b1271d2`](https://togithub.com/goreleaser/goreleaser/commit/b1271d2559e05711e31c6d39c9cbf9eb3e808d5a): feat(deps): bump github.com/google/uuid from 1.3.1 to 1.4.0 ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`8cb018b`](https://togithub.com/goreleaser/goreleaser/commit/8cb018bc42332a295cc9f5be783d0eedca9fb3b3): feat(deps): bump github.com/goreleaser/nfpm/v2 from 2.33.1 to 2.34.0 ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`0ccd8f4`](https://togithub.com/goreleaser/goreleaser/commit/0ccd8f46abab20a201b619e1f8e39242f091f59d): feat(deps): bump github.com/invopop/jsonschema from 0.11.0 to 0.12.0 ([#​4348](https://togithub.com/goreleaser/goreleaser/issues/4348)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`614e562`](https://togithub.com/goreleaser/goreleaser/commit/614e562b7551a47eaa4920033f3bc395dcfa3989): feat(deps): bump github.com/invopop/jsonschema from 0.9.0 to 0.11.0 ([#​4343](https://togithub.com/goreleaser/goreleaser/issues/4343)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`f20320b`](https://togithub.com/goreleaser/goreleaser/commit/f20320b9e6c784400749f3aab2ef60c7bd6a7d2a): feat(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.0 ([#​4410](https://togithub.com/goreleaser/goreleaser/issues/4410)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`2fb93f3`](https://togithub.com/goreleaser/goreleaser/commit/2fb93f346e53ac249a823270b60fa8a2f21004e6): feat(deps): bump github.com/xanzy/go-gitlab from 0.91.1 to 0.92.3 ([#​4338](https://togithub.com/goreleaser/goreleaser/issues/4338)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`25a8aae`](https://togithub.com/goreleaser/goreleaser/commit/25a8aae4a67c681e1ad563a3400c2ca4464ccb30): feat(deps): bump github.com/xanzy/go-gitlab from 0.92.3 to 0.93.0 ([#​4349](https://togithub.com/goreleaser/goreleaser/issues/4349)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`3034bfe`](https://togithub.com/goreleaser/goreleaser/commit/3034bfe7fb7fa65b34a77fc2976e7b7d47f34afc): feat(deps): bump github.com/xanzy/go-gitlab from 0.93.0 to 0.93.1 ([#​4358](https://togithub.com/goreleaser/goreleaser/issues/4358)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`b233c68`](https://togithub.com/goreleaser/goreleaser/commit/b233c6834927e1eecd07dfad32f0b329b02c64b1): feat(deps): bump github.com/xanzy/go-gitlab from 0.93.1 to 0.93.2 ([#​4381](https://togithub.com/goreleaser/goreleaser/issues/4381)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`bf998dc`](https://togithub.com/goreleaser/goreleaser/commit/bf998dcdcf5721e41fd5f06ba50fc186f515392b): feat(deps): bump golang from 1.21.1-alpine to 1.21.2-alpine ([#​4351](https://togithub.com/goreleaser/goreleaser/issues/4351)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`d5c896b`](https://togithub.com/goreleaser/goreleaser/commit/d5c896bc7a1d74aef5a76db138a890587b2eaf30): feat(deps): bump golang from 1.21.2-alpine to 1.21.3-alpine ([#​4363](https://togithub.com/goreleaser/goreleaser/issues/4363)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`daf892c`](https://togithub.com/goreleaser/goreleaser/commit/daf892cf94bd46ce2fb7faf981f5b4ec6c1d43d8): feat(deps): bump golang from `2b74246` to `1c9cc94` ([#​4347](https://togithub.com/goreleaser/goreleaser/issues/4347)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`69a1fb3`](https://togithub.com/goreleaser/goreleaser/commit/69a1fb3ad4093b43ffa9521eecba430b5a7d6f79): feat(deps): bump golang from `926f7f7` to `96a8a70` ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`b34d0c6`](https://togithub.com/goreleaser/goreleaser/commit/b34d0c6229b4a86c98266d0690b806025cb93afb): feat(deps): bump golang from `96634e5` to `ec31b7f` ([#​4330](https://togithub.com/goreleaser/goreleaser/issues/4330)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`c15ebb8`](https://togithub.com/goreleaser/goreleaser/commit/c15ebb8703bd76ca0a5b28da819fd354f0b01674): feat(deps): bump golang.org/x/net from 0.16.0 to 0.17.0 ([#​4365](https://togithub.com/goreleaser/goreleaser/issues/4365)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`8203f91`](https://togithub.com/goreleaser/goreleaser/commit/8203f919b0f025de4acea7e7aca02cc16ad2efe2): feat(deps): bump golang.org/x/oauth2 from 0.12.0 to 0.13.0 ([#​4352](https://togithub.com/goreleaser/goreleaser/issues/4352)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`f9cc204`](https://togithub.com/goreleaser/goreleaser/commit/f9cc204afcbcd1752ac676c3ecd47c0aa720b16a): feat(deps): bump golang.org/x/sync from 0.3.0 to 0.4.0 ([#​4353](https://togithub.com/goreleaser/goreleaser/issues/4353)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`3a552a9`](https://togithub.com/goreleaser/goreleaser/commit/3a552a9df50718a4ec685101827d3107b25bae18): feat(deps): bump golang.org/x/sync from 0.4.0 to 0.5.0 ([#​4408](https://togithub.com/goreleaser/goreleaser/issues/4408)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`a9b3d49`](https://togithub.com/goreleaser/goreleaser/commit/a9b3d49e59146325bca220b042b35a5fae08f32c): feat(deps): bump golang.org/x/text from 0.13.0 to 0.14.0 ([#​4409](https://togithub.com/goreleaser/goreleaser/issues/4409)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`53189c1`](https://togithub.com/goreleaser/goreleaser/commit/53189c1e00992030e60cb88f6fd3de120a537b4d): feat(deps): bump golang.org/x/tools from 0.13.0 to 0.14.0 ([#​4359](https://togithub.com/goreleaser/goreleaser/issues/4359)) ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`5071b5e`](https://togithub.com/goreleaser/goreleaser/commit/5071b5ed396caf2d56b2f8743b0db0907506bb88): feat(deps): bump google.golang.org/grpc from 1.58.2 to 1.58.3 ([@​dependabot](https://togithub.com/dependabot)\[bot]) - [`c43a50c`](https://togithub.com/goreleaser/goreleaser/commit/c43a50cbcbc7063a3113c534a560c33deab49d03): feat(deps): update charmbracelet/keygen ([@​caarlos0](https://togithub.com/caarlos0)) - [`1a243df`](https://togithub.com/goreleaser/goreleaser/commit/1a243dfc0dd0e434b8e55d65a83fdc26b52bb15c): feat(deps): update go-github to v56 ([@​caarlos0](https://togithub.com/caarlos0)) ##### Build process updates - [`178ce2a`](https://togithub.com/goreleaser/goreleaser/commit/178ce2af58a34c49522d979d230b92a48ab4fc8f): build: only update docs, schema, after a release ([@​caarlos0](https://togithub.com/caarlos0)) ##### Other work - [`1e06244`](https://togithub.com/goreleaser/goreleaser/commit/1e06244363a8a25dc7c78400a3718b138d8b580c): Add updatecli.io to USERS.md ([@​lemeurherve](https://togithub.com/lemeurherve)) - [`a932dd8`](https://togithub.com/goreleaser/goreleaser/commit/a932dd85de1378a2d0a9f2971d54e6806298ac53): SLSA Provenance generation blog post ([#​4361](https://togithub.com/goreleaser/goreleaser/issues/4361)) ([@​developer-guy](https://togithub.com/developer-guy)) - [`1bd8190`](https://togithub.com/goreleaser/goreleaser/commit/1bd8190b9ece4a798b101bfb880d991afbe66cad): adjusted the string to search for in the error message ([@​tcurdt](https://togithub.com/tcurdt)) - [`3a3cf61`](https://togithub.com/goreleaser/goreleaser/commit/3a3cf610f894afbfe018a330d9ee3bbf1ab1e7ff): docs: conventional file name on armv6 ([@​caarlos0](https://togithub.com/caarlos0)) - [`b7218b0`](https://togithub.com/goreleaser/goreleaser/commit/b7218b0ab03477fa51d4d4a72ccbbb80150dca27): docs: fix broken link ([@​caarlos0](https://togithub.com/caarlos0)) - [`bc4523d`](https://togithub.com/goreleaser/goreleaser/commit/bc4523d4fe6330006b4d32661dea0b3c33d3e412): docs: fix discord link ([@​caarlos0](https://togithub.com/caarlos0)) - [`d2d910f`](https://togithub.com/goreleaser/goreleaser/commit/d2d910f54f580dea0ec88853ce778aef282f1e11): docs: fix typos ([#​4406](https://togithub.com/goreleaser/goreleaser/issues/4406)) ([@​ernstwi](https://togithub.com/ernstwi)) - [`fa835cc`](https://togithub.com/goreleaser/goreleaser/commit/fa835ccda87b1ecde34c047f72cd2551b7b51467): docs: fix typos, formatting ([@​caarlos0](https://togithub.com/caarlos0)) - [`d7775f5`](https://togithub.com/goreleaser/goreleaser/commit/d7775f5b05d310f173cbe4e1fafac7e164346bd1): docs: organizing docs a bit better ([#​4328](https://togithub.com/goreleaser/goreleaser/issues/4328)) ([@​caarlos0](https://togithub.com/caarlos0)) - [`85e1458`](https://togithub.com/goreleaser/goreleaser/commit/85e1458d6cd9b5038d7a62abd7e38ab5fe38a3a2): docs: release cadence post ([#​4329](https://togithub.com/goreleaser/goreleaser/issues/4329)) ([@​caarlos0](https://togithub.com/caarlos0)) - [`6b65ea5`](https://togithub.com/goreleaser/goreleaser/commit/6b65ea5ca18f9ee2de48f2ecc914a617741d6b14): docs: update ([@​caarlos0](https://togithub.com/caarlos0)) - [`49f3973`](https://togithub.com/goreleaser/goreleaser/commit/49f39736ef60305a565f13563e51314860c9b004): more explicit error message for docker buildx context error ([@​tcurdt](https://togithub.com/tcurdt)) - [`37e3fde`](https://togithub.com/goreleaser/goreleaser/commit/37e3fdee5524f81d35bc70370c90bbecc11c7f14): refactor(tmpl): avoid unnecessary byte/string conversion ([#​4356](https://togithub.com/goreleaser/goreleaser/issues/4356)) ([@​Juneezee](https://togithub.com/Juneezee)) - [`f3d2864`](https://togithub.com/goreleaser/goreleaser/commit/f3d2864db3961fc975f9b67fe375c7b1ffe4471d): refactor: improve releases/scm.go a bit ([#​4334](https://togithub.com/goreleaser/goreleaser/issues/4334)) ([@​caarlos0](https://togithub.com/caarlos0)) - [`7efeeb3`](https://togithub.com/goreleaser/goreleaser/commit/7efeeb37c11040d94bf8f87d4976cb4cdefaed47): refactor: improve ssh key gen on tests ([@​caarlos0](https://togithub.com/caarlos0)) - [`6b00bb9`](https://togithub.com/goreleaser/goreleaser/commit/6b00bb9664447e94ec5a4c30996420bd6fdc60da): refactor: use ordered.First ([#​4362](https://togithub.com/goreleaser/goreleaser/issues/4362)) ([@​caarlos0](https://togithub.com/caarlos0)) - [`cb656a3`](https://togithub.com/goreleaser/goreleaser/commit/cb656a35ec59290dcce4dc7ad3fc7f5f03246646): spelling fix ([@​tcurdt](https://togithub.com/tcurdt)) - [`aba7409`](https://togithub.com/goreleaser/goreleaser/commit/aba74099bcce4cb92c0ba53f08f47e7a1835d485): style: invert if statement ([@​caarlos0](https://togithub.com/caarlos0)) - [`bd149ac`](https://togithub.com/goreleaser/goreleaser/commit/bd149aca5d082666bf0158ab18b759a31c81d881): switched to double quotes ([@​tcurdt](https://togithub.com/tcurdt)) **Full Changelog**: https://github.com/goreleaser/goreleaser/compare/v1.21.2...v1.22.0 #### 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.18.1`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.18.1) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.18.0...v2.18.1) #### What's Changed - Sort tags by explicit Swagger annotation first by [@​same-id](https://togithub.com/same-id) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3587](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3587) - Use go templates on tag descriptions too by [@​same-id](https://togithub.com/same-id) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3595](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3595) - LICENSE.txt got 404 replace to LICENSE by [@​yuta-hidaka](https://togithub.com/yuta-hidaka) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3627](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3627) - Fix docs build by pinning remote_theme value by [@​adambabik](https://togithub.com/adambabik) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3664](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3664) - Upgrade to 1.19 at least by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3668](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3668) - Remove glog dependency by [@​ash2k](https://togithub.com/ash2k) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3652](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3652) #### New Contributors - [@​yuta-hidaka](https://togithub.com/yuta-hidaka) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3627](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3627) - [@​ash2k](https://togithub.com/ash2k) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3652](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3652) **Full Changelog**: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.18.0...v2.18.1 </details> <details> <summary>open-telemetry/opentelemetry-go-contrib (go.opentelemetry.io/contrib/propagators/b3)</summary> ### [`v1.21.0`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/releases/tag/v1.21.0): /v0.46.0/v0.15.0/v0.1.0 [Compare Source](https://togithub.com/open-telemetry/opentelemetry-go-contrib/compare/v1.20.0...v1.21.0) ##### Added - Add the new `go.opentelemetry.io/contrib/instrgen` package to provide auto-generated source code instrumentation. ([#​3068](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/3068), [#​3108](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/3108)) - Add `"go.opentelemetry.io/contrib/samplers/jaegerremote".WithSamplingStrategyFetcher` which sets custom fetcher implementation. ([#​4045](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/4045)) - Add `"go.opentelemetry.io/contrib/config"` package that includes configuration models generated via go-jsonschema. ([#​4376](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/4376)) - Add `NewSDK` function to `"go.opentelemetry.io/contrib/config"`. The initial implementation only returns noop providers. ([#​4414](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/4414)) - Add metrics support (No-op, OTLP and Prometheus) to `go.opentelemetry.io/contrib/exporters/autoexport`. ([#​4229](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/4229), [#​4479](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/4479)) - Add support for `console` span exporter and metrics exporter in `go.opentelemetry.io/contrib/exporters/autoexport`. ([#​4486](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/4486)) - Set unit and description on all instruments in `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp`. ([#​4500](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/4500)) - Add metric support for `grpc.StatsHandler` in `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc`. ([#​4356](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/4356)) - Expose the name of the scopes in all instrumentation libraries as `ScopeName`. ([#​4448](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/4448)) ##### Changed - Dropped compatibility testing for \[Go 1.19]. The project no longer guarantees support for this version of Go. ([#​4352](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/4352)) - Upgrade dependencies of OpenTelemetry Go to use the new [`v1.20.0`/`v0.43.0` release](https://togithub.com/open-telemetry/opentelemetry-go/releases/tag/v1.20.0). ([#​4546](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/4546)) - In `go.opentelemetry.io/contrib/exporters/autoexport`, `Option` was renamed to `SpanOption`. The old name is deprecated but continues to be supported as an alias. ([#​4229](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/4229)) ##### Deprecated - The interceptors (`UnaryClientInterceptor`, `StreamClientInterceptor`, `UnaryServerInterceptor`, `StreamServerInterceptor`, `WithInterceptorFilter`) are deprecated. Use stats handlers (`NewClientHandler`, `NewServerHandler`) instead. ([#​4534](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/4534)) ##### Fixed - The `go.opentelemetry.io/contrib/samplers/jaegerremote` sampler does not panic when the default HTTP round-tripper (`http.DefaultTransport`) is not `*http.Transport`. ([#​4045](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/4045)) - The `UnaryServerInterceptor` in `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc` now sets gRPC status code correctly for the `rpc.server.duration` metric. ([#​4481](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/4481)) - The `NewClientHandler`, `NewServerHandler` in `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc` now honor `otelgrpc.WithMessageEvents` options. ([#​4536](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/4536)) </details> <details> <summary>open-telemetry/opentelemetry-go (go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc)</summary> ### [`v1.20.0`](https://togithub.com/open-telemetry/opentelemetry-go/releases/tag/v1.20.0): /v0.43.0 [Compare Source](https://togithub.com/open-telemetry/opentelemetry-go/compare/v1.19.0...v1.20.0) This release brings a breaking change for custom trace API implementations. Some interfaces (`TracerProvider`, `Tracer`, `Span`) now embed the `go.opentelemetry.io/otel/trace/embedded` types. Implementors need to update their implementations based on what they want the default behavior to be. See the "API Implementations" section of the [trace API] package documentation for more about how to accomplish this. ##### Added - Add `go.opentelemetry.io/otel/bridge/opencensus.InstallTraceBridge`, which installs the OpenCensus trace bridge, and replaces `opencensus.NewTracer`. ([#​4567](https://togithub.com/open-telemetry/opentelemetry-go/issues/4567)) - Add scope version to trace and metric bridges in `go.opentelemetry.io/otel/bridge/opencensus`. ([#​4584](https://togithub.com/open-telemetry/opentelemetry-go/issues/4584)) - Add the `go.opentelemetry.io/otel/trace/embedded` package to be embedded in the exported trace API interfaces. ([#​4620](https://togithub.com/open-telemetry/opentelemetry-go/issues/4620)) - Add the `go.opentelemetry.io/otel/trace/noop` package as a default no-op implementation of the trace API. ([#​4620](https://togithub.com/open-telemetry/opentelemetry-go/issues/4620)) - Add context propagation in `go.opentelemetry.io/otel/example/dice`. ([#​4644](https://togithub.com/open-telemetry/opentelemetry-go/issues/4644)) - Add view configuration to `go.opentelemetry.io/otel/example/prometheus`. ([#​4649](https://togithub.com/open-telemetry/opentelemetry-go/issues/4649)) - Add `go.opentelemetry.io/otel/metric.WithExplicitBucketBoundaries`, which allows defining default explicit bucket boundaries when creating histogram instruments. ([#​4603](https://togithub.com/open-telemetry/opentelemetry-go/issues/4603)) - Add `Version` function in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc`. ([#​4660](https://togithub.com/open-telemetry/opentelemetry-go/issues/4660)) - Add `Version` function in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp`. ([#​4660](https://togithub.com/open-telemetry/opentelemetry-go/issues/4660)) - Add Summary, SummaryDataPoint, and QuantileValue to `go.opentelemetry.io/sdk/metric/metricdata`. ([#​4622](https://togithub.com/open-telemetry/opentelemetry-go/issues/4622)) - `go.opentelemetry.io/otel/bridge/opencensus.NewMetricProducer` now supports exemplars from OpenCensus. ([#​4585](https://togithub.com/open-telemetry/opentelemetry-go/issues/4585)) - Add support for `WithExplicitBucketBoundaries` in `go.opentelemetry.io/otel/sdk/metric`. ([#​4605](https://togithub.com/open-telemetry/opentelemetry-go/issues/4605)) - Add support for Summary metrics in `go.opentelemetry.io/otel/bridge/opencensus`. ([#​4668](https://togithub.com/open-telemetry/opentelemetry-go/issues/4668)) ##### Deprecated - Deprecate `go.opentelemetry.io/otel/bridge/opencensus.NewTracer` in favor of `opencensus.InstallTraceBridge`. ([#​4567](https://togithub.com/open-telemetry/opentelemetry-go/issues/4567)) - Deprecate `go.opentelemetry.io/otel/example/fib` package is in favor of `go.opentelemetry.io/otel/example/dice`. ([#​4618](https://togithub.com/open-telemetry/opentelemetry-go/issues/4618)) - Deprecate `go.opentelemetry.io/otel/trace.NewNoopTracerProvider`. Use the added `NewTracerProvider` function in `go.opentelemetry.io/otel/trace/noop` instead. ([#​4620](https://togithub.com/open-telemetry/opentelemetry-go/issues/4620)) - Deprecate `go.opentelemetry.io/otel/example/view` package in favor of `go.opentelemetry.io/otel/example/prometheus`. ([#​4649](https://togithub.com/open-telemetry/opentelemetry-go/issues/4649)) - Deprecate `go.opentelemetry.io/otel/exporters/otlp/otlpmetric`. ([#​4693](https://togithub.com/open-telemetry/opentelemetry-go/issues/4693)) ##### Changed - `go.opentelemetry.io/otel/bridge/opencensus.NewMetricProducer` returns a `*MetricProducer` struct instead of the metric.Producer interface. ([#​4583](https://togithub.com/open-telemetry/opentelemetry-go/issues/4583)) - The `TracerProvider` in `go.opentelemetry.io/otel/trace` now embeds the `go.opentelemetry.io/otel/trace/embedded.TracerProvider` type. This extends the `TracerProvider` interface and is is a breaking change for any existing implementation. Implementors need to update their implementations based on what they want the default behavior of the interface to be. See the "API Implementations" section of the `go.opentelemetry.io/otel/trace` package documentation for more information about how to accomplish this. ([#​4620](https://togithub.com/open-telemetry/opentelemetry-go/issues/4620)) - The `Tracer` in `go.opentelemetry.io/otel/trace` now embeds the `go.opentelemetry.io/otel/trace/embedded.Tracer` type. This extends the `Tracer` interface and is is a breaking change for any existing implementation. Implementors need to update their implementations based on what they want the default behavior of the interface to be. See the "API Implementations" section of the `go.opentelemetry.io/otel/trace` package documentation for more informationabout how to accomplish this. ([#​4620](https://togithub.com/open-telemetry/opentelemetry-go/issues/4620)) - The `Span` in `go.opentelemetry.io/otel/trace` now embeds the `go.opentelemetry.io/otel/trace/embedded.Span` type. This extends the `Span` interface and is is a breaking change for any existing implementation. Implementors need to update their implementations based on what they want the default behavior of the interface to be. See the "API Implementations" section of the `go.opentelemetry.io/otel/trace` package documentation for more information about how to accomplish this. ([#​4620](https://togithub.com/open-telemetry/opentelemetry-go/issues/4620)) - `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc` does no longer depend on `go.opentelemetry.io/otel/exporters/otlp/otlpmetric`. ([#​4660](https://togithub.com/open-telemetry/opentelemetry-go/issues/4660)) - `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp` does no longer depend on `go.opentelemetry.io/otel/exporters/otlp/otlpmetric`. ([#​4660](https://togithub.com/open-telemetry/opentelemetry-go/issues/4660)) - Retry for `502 Bad Gateway` and `504 Gateway Timeout` HTTP statuses in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp`. ([#​4670](https://togithub.com/open-telemetry/opentelemetry-go/issues/4670)) - Retry </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:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> --------- Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Oğuzhan Durgun <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Oğuzhan Durgun <[email protected]>
I believe it what most people would expect, since the order of tags extracted from methods is harder to control, especially if swagger file is merged from multiple proto files.
In addition, allow merging properties.
References to other Issues or PRs
Have you read the Contributing Guidelines?
Brief description of what is fixed or changed
Other comments
Summary by CodeRabbit
mergeTags
function intemplate.go
to merge existing tags with rendered service tags, enhancing flexibility in handling service tags.TestMergeTags
intemplate_test.go
to validate the correct merging of tag objects under various scenarios.MustMarshal
intemplate_test.go
for marshalling objects into JSON format, improving test data manipulation.applyTemplate
function intemplate.go
to use the newmergeTags
function, ensuring consistent and efficient tag merging.