-
Notifications
You must be signed in to change notification settings - Fork 692
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
protovalidate: add option to ignore certain message types #684
protovalidate: add option to ignore certain message types #684
Conversation
0c403b2
to
a6417d2
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.
Could you add an example_test.go file that shows how to use this new option? Thanks!
@johanbrandhorst adjusted the existing interceptors/protovalidate/example_unary_test.go as I didn't see any usages of it, figured it is only for demonstrational purposes also, supported the option in a stream handler for consistency |
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.
LGTM!
Thanks for your contribution! |
@johanbrandhorst thanks |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | Type | Update | |---|---|---|---|---|---|---|---| | [github.com/alecthomas/chroma/v2](https://togithub.com/alecthomas/chroma) | `v2.12.0` -> `v2.13.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2falecthomas%2fchroma%2fv2/v2.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2falecthomas%2fchroma%2fv2/v2.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2falecthomas%2fchroma%2fv2/v2.12.0/v2.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2falecthomas%2fchroma%2fv2/v2.12.0/v2.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [github.com/aws/aws-sdk-go](https://togithub.com/aws/aws-sdk-go) | `v1.50.35` -> `v1.51.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2faws%2faws-sdk-go/v1.51.1?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.51.1?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.50.35/v1.51.1?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.50.35/v1.51.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [github.com/cerbos/protoc-gen-go-hashpb](https://togithub.com/cerbos/protoc-gen-go-hashpb) | `v0.2.0` -> `v0.3.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fcerbos%2fprotoc-gen-go-hashpb/v0.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fcerbos%2fprotoc-gen-go-hashpb/v0.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fcerbos%2fprotoc-gen-go-hashpb/v0.2.0/v0.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fcerbos%2fprotoc-gen-go-hashpb/v0.2.0/v0.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [github.com/grpc-ecosystem/go-grpc-middleware/v2](https://togithub.com/grpc-ecosystem/go-grpc-middleware) | `v2.0.1` -> `v2.1.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgrpc-ecosystem%2fgo-grpc-middleware%2fv2/v2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgrpc-ecosystem%2fgo-grpc-middleware%2fv2/v2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgrpc-ecosystem%2fgo-grpc-middleware%2fv2/v2.0.1/v2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgrpc-ecosystem%2fgo-grpc-middleware%2fv2/v2.0.1/v2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [github.com/vektra/mockery/v2](https://togithub.com/vektra/mockery) | `v2.42.0` -> `v2.42.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fvektra%2fmockery%2fv2/v2.42.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fvektra%2fmockery%2fv2/v2.42.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fvektra%2fmockery%2fv2/v2.42.0/v2.42.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fvektra%2fmockery%2fv2/v2.42.0/v2.42.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | patch | | [gocloud.dev](https://togithub.com/google/go-cloud) | `v0.36.0` -> `v0.37.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/gocloud.dev/v0.37.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/gocloud.dev/v0.37.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/gocloud.dev/v0.36.0/v0.37.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/gocloud.dev/v0.36.0/v0.37.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | golang.org/x/exp | `814bf88` -> `c7f7c64` | | | | | require | digest | | gonum.org/v1/gonum | `v0.14.0` -> `v0.15.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/gonum.org%2fv1%2fgonum/v0.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/gonum.org%2fv1%2fgonum/v0.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/gonum.org%2fv1%2fgonum/v0.14.0/v0.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/gonum.org%2fv1%2fgonum/v0.14.0/v0.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [google.golang.org/genproto/googleapis/api](https://togithub.com/googleapis/go-genproto) | `29370a3` -> `6e1732d` | | | | | require | digest | | [helm.sh/helm/v3](https://togithub.com/helm/helm) | `v3.14.2` -> `v3.14.3` | [![age](https://developer.mend.io/api/mc/badges/age/go/helm.sh%2fhelm%2fv3/v3.14.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/helm.sh%2fhelm%2fv3/v3.14.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/helm.sh%2fhelm%2fv3/v3.14.2/v3.14.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/helm.sh%2fhelm%2fv3/v3.14.2/v3.14.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | patch | | [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) | `v1.29.3` -> `v1.29.5` | [![age](https://developer.mend.io/api/mc/badges/age/go/modernc.org%2fsqlite/v1.29.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/modernc.org%2fsqlite/v1.29.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/modernc.org%2fsqlite/v1.29.3/v1.29.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/modernc.org%2fsqlite/v1.29.3/v1.29.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | patch | --- ### Release Notes <details> <summary>alecthomas/chroma (github.com/alecthomas/chroma/v2)</summary> ### [`v2.13.0`](https://togithub.com/alecthomas/chroma/releases/tag/v2.13.0) [Compare Source](https://togithub.com/alecthomas/chroma/compare/v2.12.0...v2.13.0) ##### Changelog - [`bd47355`](https://togithub.com/alecthomas/chroma/commit/bd47355) fix: include compress state in style cache key - [`1235bbf`](https://togithub.com/alecthomas/chroma/commit/1235bbf) chore(deps): update all non-major dependencies ([#​944](https://togithub.com/alecthomas/chroma/issues/944)) - [`4e60c81`](https://togithub.com/alecthomas/chroma/commit/4e60c81) C#: Allow for empty comments ([#​943](https://togithub.com/alecthomas/chroma/issues/943)) - [`fe5dde8`](https://togithub.com/alecthomas/chroma/commit/fe5dde8) Add Lexer for NDISASM ([#​933](https://togithub.com/alecthomas/chroma/issues/933)) - [`6dd9f26`](https://togithub.com/alecthomas/chroma/commit/6dd9f26) feat: introduce a LRU compiled style cache for the HTML formatter ([#​938](https://togithub.com/alecthomas/chroma/issues/938)) - [`898d467`](https://togithub.com/alecthomas/chroma/commit/898d467) lexers/cue: support definitions and dollars in field names ([#​935](https://togithub.com/alecthomas/chroma/issues/935)) - [`0f92de4`](https://togithub.com/alecthomas/chroma/commit/0f92de4) chore(deps): update all non-major dependencies ([#​934](https://togithub.com/alecthomas/chroma/issues/934)) - [`381050b`](https://togithub.com/alecthomas/chroma/commit/381050b) Major updates to Caddyfile lexer ([#​932](https://togithub.com/alecthomas/chroma/issues/932)) - [`e9292e6`](https://togithub.com/alecthomas/chroma/commit/e9292e6) chore(deps): update dependency goreleaser to v1.24.0 ([#​925](https://togithub.com/alecthomas/chroma/issues/925)) - [`ddbae13`](https://togithub.com/alecthomas/chroma/commit/ddbae13) chore: upgrade Go - [`7ce2caf`](https://togithub.com/alecthomas/chroma/commit/7ce2caf) Fix lexers check when built with newer Go ([#​928](https://togithub.com/alecthomas/chroma/issues/928)) - [`506e36f`](https://togithub.com/alecthomas/chroma/commit/506e36f) fix(lexers/go): "~" is a valid token ([#​926](https://togithub.com/alecthomas/chroma/issues/926)) - [`f4788c0`](https://togithub.com/alecthomas/chroma/commit/f4788c0) docs: add import to README - [`39115eb`](https://togithub.com/alecthomas/chroma/commit/39115eb) chore(deps): update dependency esbuild to v0.20.0 ([#​921](https://togithub.com/alecthomas/chroma/issues/921)) - [`4c6fdb1`](https://togithub.com/alecthomas/chroma/commit/4c6fdb1) Add .avsc to JSON lexer ([#​920](https://togithub.com/alecthomas/chroma/issues/920)) - [`ee60f7e`](https://togithub.com/alecthomas/chroma/commit/ee60f7e) Add missing token types for Rego + add Rego to README ([#​919](https://togithub.com/alecthomas/chroma/issues/919)) - [`ae36e63`](https://togithub.com/alecthomas/chroma/commit/ae36e63) Add support for Rego syntax ([#​918](https://togithub.com/alecthomas/chroma/issues/918)) - [`d7a7dd3`](https://togithub.com/alecthomas/chroma/commit/d7a7dd3) chore(deps): update module github.com/alecthomas/assert/v2 to v2.5.0 ([#​917](https://togithub.com/alecthomas/chroma/issues/917)) - [`c31293c`](https://togithub.com/alecthomas/chroma/commit/c31293c) chore(deps): update dependency go to v1.21.6 ([#​915](https://togithub.com/alecthomas/chroma/issues/915)) - [`ebc34cf`](https://togithub.com/alecthomas/chroma/commit/ebc34cf) fix file extension typo, remove redundent parens ([#​914](https://togithub.com/alecthomas/chroma/issues/914)) - [`641b06f`](https://togithub.com/alecthomas/chroma/commit/641b06f) Fix type operators not being recognised in Haskell ([#​913](https://togithub.com/alecthomas/chroma/issues/913)) - [`3ef9475`](https://togithub.com/alecthomas/chroma/commit/3ef9475) chore(deps): update dependency watchexec to v1.25.1 ([#​912](https://togithub.com/alecthomas/chroma/issues/912)) - [`23368be`](https://togithub.com/alecthomas/chroma/commit/23368be) styles(catpuccin/gh-dark): LineHighlight grp ([#​911](https://togithub.com/alecthomas/chroma/issues/911)) - [`a8704a8`](https://togithub.com/alecthomas/chroma/commit/a8704a8) Add lexer for RPMSpec ([#​907](https://togithub.com/alecthomas/chroma/issues/907)) - [`eb47752`](https://togithub.com/alecthomas/chroma/commit/eb47752) Add lexer for Promela ([#​906](https://togithub.com/alecthomas/chroma/issues/906)) - [`3f395c9`](https://togithub.com/alecthomas/chroma/commit/3f395c9) chore(deps): update all non-major dependencies ([#​905](https://togithub.com/alecthomas/chroma/issues/905)) - [`2018c2f`](https://togithub.com/alecthomas/chroma/commit/2018c2f) chore(deps): update all non-major dependencies ([#​904](https://togithub.com/alecthomas/chroma/issues/904)) - [`016768b`](https://togithub.com/alecthomas/chroma/commit/016768b) Add desktop entry lexer ([#​903](https://togithub.com/alecthomas/chroma/issues/903)) - [`f130045`](https://togithub.com/alecthomas/chroma/commit/f130045) chore(deps): update dependency watchexec to v1.24.1 ([#​901](https://togithub.com/alecthomas/chroma/issues/901)) - [`9670d34`](https://togithub.com/alecthomas/chroma/commit/9670d34) chore(deps): update actions/checkout action to v4 ([#​899](https://togithub.com/alecthomas/chroma/issues/899)) - [`ad03817`](https://togithub.com/alecthomas/chroma/commit/ad03817) chore(deps): update all non-major dependencies ([#​898](https://togithub.com/alecthomas/chroma/issues/898)) - [`76039a5`](https://togithub.com/alecthomas/chroma/commit/76039a5) chore(deps): update all non-major dependencies ([#​897](https://togithub.com/alecthomas/chroma/issues/897)) - [`678b799`](https://togithub.com/alecthomas/chroma/commit/678b799) Add a lexer for the Materialize SQL dialect ([#​896](https://togithub.com/alecthomas/chroma/issues/896)) </details> <details> <summary>aws/aws-sdk-go (github.com/aws/aws-sdk-go)</summary> ### [`v1.51.1`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1511-2024-03-15) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.51.0...v1.51.1) \=== ##### Service Client Updates - `service/backup`: Updates service API and documentation - `service/codebuild`: Updates service API and documentation - AWS CodeBuild now supports overflow behavior on Reserved Capacity. - `service/connect`: Updates service API and documentation - `service/ec2`: Updates service API and documentation - Add media accelerator and neuron device information on the describe instance types API. - `service/kinesisanalyticsv2`: Updates service API and documentation - `service/s3`: Updates service documentation and examples - Documentation updates for Amazon S3. - `service/sagemaker`: Updates service API and documentation - Adds m6i, m6id, m7i, c6i, c6id, c7i, r6i r6id, r7i, p5 instance type support to Sagemaker Notebook Instances and miscellaneous wording fixes for previous Sagemaker documentation. - `service/workspaces-thin-client`: Updates service API and documentation ### [`v1.51.0`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1510-2024-03-14) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.50.38...v1.51.0) \=== ##### Service Client Updates - `service/amplify`: Updates service documentation - `service/ec2-instance-connect`: Updates service API and documentation - `service/elasticloadbalancingv2`: Updates service documentation - `service/fis`: Updates service API and documentation - `service/rds`: Updates service API, documentation, waiters, paginators, and examples - Updates Amazon RDS documentation for EBCDIC collation for RDS for Db2. - `service/secretsmanager`: Updates service documentation - Doc only update for Secrets Manager - `service/timestream-influxdb`: Adds new service ##### SDK Features - `service/iotroborunner`: Remove Iotroborunner - This change removes the iotroborunner service, since it is deprecated. ### [`v1.50.38`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v15038-2024-03-13) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.50.37...v1.50.38) \=== ##### Service Client Updates - `service/ivs-realtime`: Updates service API and documentation - `service/kinesisanalyticsv2`: Updates service API and documentation - `service/s3`: Updates service examples - This release makes the default option for S3 on Outposts request signing to use the SigV4A algorithm when using AWS Common Runtime (CRT). ### [`v1.50.37`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v15037-2024-03-12) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.50.36...v1.50.37) \=== ##### Service Client Updates - `service/cloudformation`: Updates service documentation - CloudFormation documentation update for March, 2024 - `service/connect`: Updates service API and documentation - `service/ec2`: Updates service documentation - Documentation updates for Amazon EC2. - `service/kafka`: Updates service API and documentation - `service/ssm`: Updates service documentation - March 2024 doc-only updates for Systems Manager. ### [`v1.50.36`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v15036-2024-03-11) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.50.35...v1.50.36) \=== ##### Service Client Updates - `service/codestar-connections`: Updates service API and documentation - `service/elasticache`: Updates service documentation - Revisions to API text that are now to be carried over to SDK text, changing usages of "SFO" in code examples to "us-west-1", and some other typos. - `service/mediapackagev2`: Updates service API and documentation </details> <details> <summary>cerbos/protoc-gen-go-hashpb (github.com/cerbos/protoc-gen-go-hashpb)</summary> ### [`v0.3.1`](https://togithub.com/cerbos/protoc-gen-go-hashpb/releases/tag/v0.3.1) [Compare Source](https://togithub.com/cerbos/protoc-gen-go-hashpb/compare/v0.3.0...v0.3.1) #### Changelog - [`e9d9202`](https://togithub.com/cerbos/protoc-gen-go-hashpb/commit/e9d9202) chore: Remove Buf plugin generation ([#​22](https://togithub.com/cerbos/protoc-gen-go-hashpb/issues/22)) ### [`v0.3.0`](https://togithub.com/cerbos/protoc-gen-go-hashpb/compare/v0.2.0...v0.3.0) [Compare Source](https://togithub.com/cerbos/protoc-gen-go-hashpb/compare/v0.2.0...v0.3.0) </details> <details> <summary>grpc-ecosystem/go-grpc-middleware (github.com/grpc-ecosystem/go-grpc-middleware/v2)</summary> ### [`v2.1.0`](https://togithub.com/grpc-ecosystem/go-grpc-middleware/releases/tag/v2.1.0) [Compare Source](https://togithub.com/grpc-ecosystem/go-grpc-middleware/compare/v2.0.1...v2.1.0) #### What's Changed - Support for subsystem in grpc prometheus counter and histogram metrics by [@​rohsaini](https://togithub.com/rohsaini) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/643](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/643) - doc: update client interceptors chaining example with grpc functions by [@​dethi](https://togithub.com/dethi) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/669](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/669) - adds fields from durationFieldFunc to request/response log entries by [@​vroldanbet](https://togithub.com/vroldanbet) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/670](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/670) - add doc for disabling log opts by [@​coleenquadros](https://togithub.com/coleenquadros) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/680](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/680) - Middleware for determining the real ip of the client by [@​MadsRC](https://togithub.com/MadsRC) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/682](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/682) - protovalidate: add option to ignore certain message types by [@​igor-tsiglyar](https://togithub.com/igor-tsiglyar) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/684](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/684) - Update README.md by [@​zeroboo](https://togithub.com/zeroboo) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/688](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/688) - Fix `InitializeMetrics` signature to allow use with `xds.GRPCServer` by [@​bozaro](https://togithub.com/bozaro) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/689](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/689) - Support retriable func condition by [@​tamayika](https://togithub.com/tamayika) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/687](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/687) - Extend realip parsing of GRPC peer address to handle IPv6 by [@​surik](https://togithub.com/surik) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/692](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/692) - Fix logging Example : log only first field by [@​arckadious](https://togithub.com/arckadious) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/694](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/694) - Extent realip interceptors with ip selection based on proxy count and list by [@​surik](https://togithub.com/surik) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/695](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/695) - Fix for vulnerability CVE-2023-44487 by [@​vkaushik](https://togithub.com/vkaushik) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/696](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/696) #### New Contributors - [@​rohsaini](https://togithub.com/rohsaini) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/643](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/643) - [@​dethi](https://togithub.com/dethi) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/669](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/669) - [@​vroldanbet](https://togithub.com/vroldanbet) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/670](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/670) - [@​MadsRC](https://togithub.com/MadsRC) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/682](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/682) - [@​igor-tsiglyar](https://togithub.com/igor-tsiglyar) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/684](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/684) - [@​zeroboo](https://togithub.com/zeroboo) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/688](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/688) - [@​bozaro](https://togithub.com/bozaro) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/689](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/689) - [@​tamayika](https://togithub.com/tamayika) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/687](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/687) - [@​surik](https://togithub.com/surik) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/692](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/692) - [@​arckadious](https://togithub.com/arckadious) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/694](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/694) - [@​vkaushik](https://togithub.com/vkaushik) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/696](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/696) **Full Changelog**: grpc-ecosystem/go-grpc-middleware@v2.0.1...v2.1.0 </details> <details> <summary>vektra/mockery (github.com/vektra/mockery/v2)</summary> ### [`v2.42.1`](https://togithub.com/vektra/mockery/releases/tag/v2.42.1) [Compare Source](https://togithub.com/vektra/mockery/compare/v2.42.0...v2.42.1) #### Changelog - [`9dd9b1e`](https://togithub.com/vektra/mockery/commit/9dd9b1e) Merge pull request [#​767](https://togithub.com/vektra/mockery/issues/767) from stevenh/fix/windows-recursive - [`426dc32`](https://togithub.com/vektra/mockery/commit/426dc32) fix: recursive config failure on windows </details> <details> <summary>google/go-cloud (gocloud.dev)</summary> ### [`v0.37.0`](https://togithub.com/google/go-cloud/releases/tag/v0.37.0) [Compare Source](https://togithub.com/google/go-cloud/compare/v0.36.0...v0.37.0) - **blob** - *s3blob*: Support S3 server side encryption headers for Write and Copy. - *gcsblob*: Ensure driver sets `Content-Type` auto-detection properly. - **pubsub** - *azpubsub*: Ensure 401s are not retryable. - *azpubsub*: Allow configuring max_recv_batch_size in via URL. - *mongodocstore*: Fix error when calling the update function with no 'set' operations. - - **docstore** - *all*: Add `Offset` method, useful for pagination </details> <details> <summary>helm/helm (helm.sh/helm/v3)</summary> ### [`v3.14.3`](https://togithub.com/helm/helm/releases/tag/v3.14.3): Helm v3.14.3 [Compare Source](https://togithub.com/helm/helm/compare/v3.14.2...v3.14.3) Helm v3.14.3 is a patch release. Users are encouraged to upgrade for the best experience. Users are encouraged to upgrade for the best experience. The community keeps growing, and we'd love to see you there! - Join the discussion in [Kubernetes Slack](https://kubernetes.slack.com): - for questions and just to hang out - for discussing PRs, code, and bugs - Hang out at the Public Developer Call: Thursday, 9:30 Pacific via [Zoom](https://zoom.us/j/696660622) - Test, debug, and contribute charts: [ArtifactHub/packages](https://artifacthub.io/packages/search?kind=0) #### Installation and Upgrading Download Helm v3.14.3. The common platform binaries are here: - [MacOS amd64](https://get.helm.sh/helm-v3.14.3-darwin-amd64.tar.gz) ([checksum](https://get.helm.sh/helm-v3.14.3-darwin-amd64.tar.gz.sha256sum) / 4d5d01a94c7d6b07e71690dc1988bf3229680284c87f4242d28c6f1cc99653be) - [MacOS arm64](https://get.helm.sh/helm-v3.14.3-darwin-arm64.tar.gz) ([checksum](https://get.helm.sh/helm-v3.14.3-darwin-arm64.tar.gz.sha256sum) / dff794152b62b7c1a9ff615d510f8657bcd7a3727c668e0d9d4955f70d5f7573) - [Linux amd64](https://get.helm.sh/helm-v3.14.3-linux-amd64.tar.gz) ([checksum](https://get.helm.sh/helm-v3.14.3-linux-amd64.tar.gz.sha256sum) / 3c90f24e180f8c207b8a18e5ec82cb0fa49858a7a0a86e4ed52a98398681e00b) - [Linux arm](https://get.helm.sh/helm-v3.14.3-linux-arm.tar.gz) ([checksum](https://get.helm.sh/helm-v3.14.3-linux-arm.tar.gz.sha256sum) / d4ff88f02d6731ec5dbde86a67bf391e673d0d9e87901727fbf62372aff106ec) - [Linux arm64](https://get.helm.sh/helm-v3.14.3-linux-arm64.tar.gz) ([checksum](https://get.helm.sh/helm-v3.14.3-linux-arm64.tar.gz.sha256sum) / 85e1573e76fa60af14ba7e9ec75db2129b6884203be866893fa0b3f7e41ccd5e) - [Linux i386](https://get.helm.sh/helm-v3.14.3-linux-386.tar.gz) ([checksum](https://get.helm.sh/helm-v3.14.3-linux-386.tar.gz.sha256sum) / af89e5df5cd21efe4dcaa478b19aaf17d22820716f93c1f098b00f1b7cfe1905) - [Linux ppc64le](https://get.helm.sh/helm-v3.14.3-linux-ppc64le.tar.gz) ([checksum](https://get.helm.sh/helm-v3.14.3-linux-ppc64le.tar.gz.sha256sum) / aab121ca470e2a502cda849a9b3e92eeb9a32e213b0f0a79a95a04e375d26ce7) - [Linux s390x](https://get.helm.sh/helm-v3.14.3-linux-s390x.tar.gz) ([checksum](https://get.helm.sh/helm-v3.14.3-linux-s390x.tar.gz.sha256sum) / d64fa8aced3244b549377741dc4e2db8109e5270c0723c11b547a9da5f99ad43) - [Linux riscv64](https://get.helm.sh/helm-v3.14.3-linux-riscv64.tar.gz) ([checksum](https://get.helm.sh/helm-v3.14.3-linux-riscv64.tar.gz.sha256sum) / f9f4e68bf43632f5df29e6c9fa760813d7e3537ed91d838cfdc2f103f8442b33) - [Windows amd64](https://get.helm.sh/helm-v3.14.3-windows-amd64.zip) ([checksum](https://get.helm.sh/helm-v3.14.3-windows-amd64.zip.sha256sum) / 369c6db1c114ef2a00793e9a587db6d7b2c72a23e37fd905c8deb78e9a8f7af6) This release was signed with ` 672C 657B E06B 4B30 969C 4A57 4614 49C2 5E36 B98E ` and can be found at [@​mattfarina](https://togithub.com/mattfarina) [keybase account](https://keybase.io/mattfarina). Please use the attached signatures for verifying this release using `gpg`. The [Quickstart Guide](https://helm.sh/docs/intro/quickstart/) will get you going from there. For **upgrade instructions** or detailed installation notes, check the [install guide](https://helm.sh/docs/intro/install/). You can also use a [script to install](https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3) on any system with `bash`. #### What's Next - 3.14.4 will contain only bug fixes and be released on April 10, 2024. - 3.15.0 is the next feature release and will be on May 08, 2024. #### Changelog - Add a note about --dry-run displaying secrets [`f03cc04`](https://togithub.com/helm/helm/commit/f03cc04caaa8f6d7c3e67cf918929150cf6f3f12) (Matt Farina) - add error messages [`1a7330f`](https://togithub.com/helm/helm/commit/1a7330fe3802beeb3f897a1c701d8a4b9c1316c5) (George Jenkins) - Fix: Ignore alias validation error for index load [`d6acc00`](https://togithub.com/helm/helm/commit/d6acc0027dca47dec40ccdd66febd0c8bcf4813f) (George Jenkins) - chore(deps): bump github.com/containerd/containerd from 1.7.11 to 1.7.12 [`b2738fb`](https://togithub.com/helm/helm/commit/b2738fb782d149ffa4748cb0ee78d674986d04b0) (dependabot\[bot]) - chore(deps): bump github.com/DATA-DOG/go-sqlmock from 1.5.0 to 1.5.2 [`5b0847e`](https://togithub.com/helm/helm/commit/5b0847e0e763e98bcbf8a12e8f9c5f7c11d123a1) (dependabot\[bot]) - Update architecture detection method [`7e18c39`](https://togithub.com/helm/helm/commit/7e18c39f0753c73e4660f3796f01f5b33f2552b5) (weidongkl) </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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- 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>
…re/v2 to v2.1.0 (#43) [![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/go-grpc-middleware/v2](https://togithub.com/grpc-ecosystem/go-grpc-middleware) | `v2.0.1` -> `v2.1.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgrpc-ecosystem%2fgo-grpc-middleware%2fv2/v2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgrpc-ecosystem%2fgo-grpc-middleware%2fv2/v2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgrpc-ecosystem%2fgo-grpc-middleware%2fv2/v2.0.1/v2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgrpc-ecosystem%2fgo-grpc-middleware%2fv2/v2.0.1/v2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>grpc-ecosystem/go-grpc-middleware (github.com/grpc-ecosystem/go-grpc-middleware/v2)</summary> ### [`v2.1.0`](https://togithub.com/grpc-ecosystem/go-grpc-middleware/releases/tag/v2.1.0) [Compare Source](https://togithub.com/grpc-ecosystem/go-grpc-middleware/compare/v2.0.1...v2.1.0) #### What's Changed - Support for subsystem in grpc prometheus counter and histogram metrics by [@​rohsaini](https://togithub.com/rohsaini) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/643](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/643) - doc: update client interceptors chaining example with grpc functions by [@​dethi](https://togithub.com/dethi) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/669](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/669) - adds fields from durationFieldFunc to request/response log entries by [@​vroldanbet](https://togithub.com/vroldanbet) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/670](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/670) - add doc for disabling log opts by [@​coleenquadros](https://togithub.com/coleenquadros) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/680](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/680) - Middleware for determining the real ip of the client by [@​MadsRC](https://togithub.com/MadsRC) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/682](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/682) - protovalidate: add option to ignore certain message types by [@​igor-tsiglyar](https://togithub.com/igor-tsiglyar) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/684](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/684) - Update README.md by [@​zeroboo](https://togithub.com/zeroboo) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/688](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/688) - Fix `InitializeMetrics` signature to allow use with `xds.GRPCServer` by [@​bozaro](https://togithub.com/bozaro) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/689](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/689) - Support retriable func condition by [@​tamayika](https://togithub.com/tamayika) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/687](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/687) - Extend realip parsing of GRPC peer address to handle IPv6 by [@​surik](https://togithub.com/surik) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/692](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/692) - Fix logging Example : log only first field by [@​arckadious](https://togithub.com/arckadious) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/694](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/694) - Extent realip interceptors with ip selection based on proxy count and list by [@​surik](https://togithub.com/surik) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/695](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/695) - Fix for vulnerability CVE-2023-44487 by [@​vkaushik](https://togithub.com/vkaushik) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/696](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/696) #### New Contributors - [@​rohsaini](https://togithub.com/rohsaini) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/643](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/643) - [@​dethi](https://togithub.com/dethi) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/669](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/669) - [@​vroldanbet](https://togithub.com/vroldanbet) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/670](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/670) - [@​MadsRC](https://togithub.com/MadsRC) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/682](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/682) - [@​igor-tsiglyar](https://togithub.com/igor-tsiglyar) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/684](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/684) - [@​zeroboo](https://togithub.com/zeroboo) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/688](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/688) - [@​bozaro](https://togithub.com/bozaro) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/689](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/689) - [@​tamayika](https://togithub.com/tamayika) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/687](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/687) - [@​surik](https://togithub.com/surik) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/692](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/692) - [@​arckadious](https://togithub.com/arckadious) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/694](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/694) - [@​vkaushik](https://togithub.com/vkaushik) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/696](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/696) **Full Changelog**: grpc-ecosystem/go-grpc-middleware@v2.0.1...v2.1.0 </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. 🔕 **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/cerbos/cerbos-sdk-go). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…/v2 to v2.1.0 (#1589) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/grpc-ecosystem/go-grpc-middleware/v2](https://togithub.com/grpc-ecosystem/go-grpc-middleware) | require | minor | `v2.0.1` -> `v2.1.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>grpc-ecosystem/go-grpc-middleware (github.com/grpc-ecosystem/go-grpc-middleware/v2)</summary> ### [`v2.1.0`](https://togithub.com/grpc-ecosystem/go-grpc-middleware/releases/tag/v2.1.0) [Compare Source](https://togithub.com/grpc-ecosystem/go-grpc-middleware/compare/v2.0.1...v2.1.0) #### What's Changed - Support for subsystem in grpc prometheus counter and histogram metrics by [@​rohsaini](https://togithub.com/rohsaini) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/643](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/643) - doc: update client interceptors chaining example with grpc functions by [@​dethi](https://togithub.com/dethi) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/669](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/669) - adds fields from durationFieldFunc to request/response log entries by [@​vroldanbet](https://togithub.com/vroldanbet) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/670](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/670) - add doc for disabling log opts by [@​coleenquadros](https://togithub.com/coleenquadros) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/680](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/680) - Middleware for determining the real ip of the client by [@​MadsRC](https://togithub.com/MadsRC) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/682](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/682) - protovalidate: add option to ignore certain message types by [@​igor-tsiglyar](https://togithub.com/igor-tsiglyar) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/684](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/684) - Update README.md by [@​zeroboo](https://togithub.com/zeroboo) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/688](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/688) - Fix `InitializeMetrics` signature to allow use with `xds.GRPCServer` by [@​bozaro](https://togithub.com/bozaro) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/689](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/689) - Support retriable func condition by [@​tamayika](https://togithub.com/tamayika) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/687](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/687) - Extend realip parsing of GRPC peer address to handle IPv6 by [@​surik](https://togithub.com/surik) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/692](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/692) - Fix logging Example : log only first field by [@​arckadious](https://togithub.com/arckadious) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/694](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/694) - Extent realip interceptors with ip selection based on proxy count and list by [@​surik](https://togithub.com/surik) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/695](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/695) - Fix for vulnerability CVE-2023-44487 by [@​vkaushik](https://togithub.com/vkaushik) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/696](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/696) #### New Contributors - [@​rohsaini](https://togithub.com/rohsaini) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/643](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/643) - [@​dethi](https://togithub.com/dethi) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/669](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/669) - [@​vroldanbet](https://togithub.com/vroldanbet) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/670](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/670) - [@​MadsRC](https://togithub.com/MadsRC) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/682](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/682) - [@​igor-tsiglyar](https://togithub.com/igor-tsiglyar) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/684](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/684) - [@​zeroboo](https://togithub.com/zeroboo) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/688](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/688) - [@​bozaro](https://togithub.com/bozaro) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/689](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/689) - [@​tamayika](https://togithub.com/tamayika) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/687](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/687) - [@​surik](https://togithub.com/surik) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/692](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/692) - [@​arckadious](https://togithub.com/arckadious) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/694](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/694) - [@​vkaushik](https://togithub.com/vkaushik) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/696](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/696) **Full Changelog**: grpc-ecosystem/go-grpc-middleware@v2.0.1...v2.1.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjI3OC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWVyZ2UiXX0=-->
[![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/go-grpc-middleware](https://togithub.com/grpc-ecosystem/go-grpc-middleware) | `v1.4.0` -> `v2.1.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgrpc-ecosystem%2fgo-grpc-middleware/v2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgrpc-ecosystem%2fgo-grpc-middleware/v2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgrpc-ecosystem%2fgo-grpc-middleware/v1.4.0/v2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgrpc-ecosystem%2fgo-grpc-middleware/v1.4.0/v2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>grpc-ecosystem/go-grpc-middleware (github.com/grpc-ecosystem/go-grpc-middleware)</summary> ### [`v2.1.0`](https://togithub.com/grpc-ecosystem/go-grpc-middleware/releases/tag/v2.1.0) [Compare Source](https://togithub.com/grpc-ecosystem/go-grpc-middleware/compare/v2.0.1...v2.1.0) #### What's Changed - Support for subsystem in grpc prometheus counter and histogram metrics by [@​rohsaini](https://togithub.com/rohsaini) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/643](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/643) - doc: update client interceptors chaining example with grpc functions by [@​dethi](https://togithub.com/dethi) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/669](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/669) - adds fields from durationFieldFunc to request/response log entries by [@​vroldanbet](https://togithub.com/vroldanbet) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/670](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/670) - add doc for disabling log opts by [@​coleenquadros](https://togithub.com/coleenquadros) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/680](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/680) - Middleware for determining the real ip of the client by [@​MadsRC](https://togithub.com/MadsRC) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/682](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/682) - protovalidate: add option to ignore certain message types by [@​igor-tsiglyar](https://togithub.com/igor-tsiglyar) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/684](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/684) - Update README.md by [@​zeroboo](https://togithub.com/zeroboo) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/688](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/688) - Fix `InitializeMetrics` signature to allow use with `xds.GRPCServer` by [@​bozaro](https://togithub.com/bozaro) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/689](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/689) - Support retriable func condition by [@​tamayika](https://togithub.com/tamayika) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/687](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/687) - Extend realip parsing of GRPC peer address to handle IPv6 by [@​surik](https://togithub.com/surik) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/692](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/692) - Fix logging Example : log only first field by [@​arckadious](https://togithub.com/arckadious) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/694](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/694) - Extent realip interceptors with ip selection based on proxy count and list by [@​surik](https://togithub.com/surik) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/695](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/695) - Fix for vulnerability CVE-2023-44487 by [@​vkaushik](https://togithub.com/vkaushik) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/696](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/696) #### New Contributors - [@​rohsaini](https://togithub.com/rohsaini) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/643](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/643) - [@​dethi](https://togithub.com/dethi) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/669](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/669) - [@​vroldanbet](https://togithub.com/vroldanbet) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/670](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/670) - [@​MadsRC](https://togithub.com/MadsRC) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/682](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/682) - [@​igor-tsiglyar](https://togithub.com/igor-tsiglyar) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/684](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/684) - [@​zeroboo](https://togithub.com/zeroboo) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/688](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/688) - [@​bozaro](https://togithub.com/bozaro) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/689](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/689) - [@​tamayika](https://togithub.com/tamayika) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/687](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/687) - [@​surik](https://togithub.com/surik) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/692](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/692) - [@​arckadious](https://togithub.com/arckadious) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/694](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/694) - [@​vkaushik](https://togithub.com/vkaushik) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/696](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/696) **Full Changelog**: grpc-ecosystem/go-grpc-middleware@v2.0.1...v2.1.0 ### [`v2.0.1`](https://togithub.com/grpc-ecosystem/go-grpc-middleware/releases/tag/v2.0.1) [Compare Source](https://togithub.com/grpc-ecosystem/go-grpc-middleware/compare/v2.0.0...v2.0.1) #### What's Changed - Fix outdated 'make proto' command by [@​takp](https://togithub.com/takp) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/623](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/623) - Fix linting errors by [@​takp](https://togithub.com/takp) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/624](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/624) - Logging: Add missing variadic operator for fields by [@​olivierlemasle](https://togithub.com/olivierlemasle) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/629](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/629) - feat: Support extracting fields from CallMeta by [@​fsaintjacques](https://togithub.com/fsaintjacques) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/628](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/628) - Fix "make test" and "make lint" by [@​olivierlemasle](https://togithub.com/olivierlemasle) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/627](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/627) - Do not set timeout for stream initialization by [@​DavyJohnes](https://togithub.com/DavyJohnes) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/645](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/645) - Add logging option to disable fields in log entry by [@​coleenquadros](https://togithub.com/coleenquadros) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/631](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/631) - Update logging adapter docs by [@​aboryslawski](https://togithub.com/aboryslawski) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/647](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/647) #### New Contributors - [@​takp](https://togithub.com/takp) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/623](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/623) - [@​olivierlemasle](https://togithub.com/olivierlemasle) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/629](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/629) - [@​fsaintjacques](https://togithub.com/fsaintjacques) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/628](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/628) - [@​DavyJohnes](https://togithub.com/DavyJohnes) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/645](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/645) - [@​coleenquadros](https://togithub.com/coleenquadros) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/631](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/631) - [@​aboryslawski](https://togithub.com/aboryslawski) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/647](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/647) **Full Changelog**: grpc-ecosystem/go-grpc-middleware@v2.0.0...v2.0.1 ### [`v2.0.0`](https://togithub.com/grpc-ecosystem/go-grpc-middleware/releases/tag/v2.0.0) [Compare Source](https://togithub.com/grpc-ecosystem/go-grpc-middleware/compare/v1.4.0...v2.0.0) This is the first stable release of the new v2 release branch 🎉 Many of the interceptors have been rewritten from scratch and the project has been upgraded to use the Go Protobuf v2 API. See the project README for details and migration guide. Thanks to all contributors who made this possible! 💪🏽 #### What's Changed - Initial change for v2. by [@​bwplotka](https://togithub.com/bwplotka) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/276](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/276) - Updated README with note that it's under development. by [@​bwplotka](https://togithub.com/bwplotka) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/278](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/278) - Fix typo in field extractor (splices -> slices) ([#​287](https://togithub.com/grpc-ecosystem/go-grpc-middleware/issues/287)) by [@​bvwells](https://togithub.com/bvwells) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/289](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/289) - Moved imports to v2; Moved to Go 1.14.2 by [@​bwplotka](https://togithub.com/bwplotka) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/290](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/290) - Formatted code; Added goimports to Makefile, Renamed pb_testproto to testpb. by [@​bwplotka](https://togithub.com/bwplotka) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/291](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/291) - Fixed providers go modules, examples and consistency. by [@​bwplotka](https://togithub.com/bwplotka) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/292](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/292) - added example for AuthFuncOverride v2 branch by [@​tegk](https://togithub.com/tegk) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/294](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/294) - Added some description of the Makefile in the contributing.md by [@​yashrsharma44](https://togithub.com/yashrsharma44) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/298](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/298) - v2: Add support for the zerolog logging provider by [@​irridia](https://togithub.com/irridia) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/299](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/299) - proto: fix gogoproto import by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/302](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/302) - Retry dial and connection errors for grpc stream. by [@​kartlee](https://togithub.com/kartlee) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/308](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/308) - Moved to GH actions; Added lint; Added issue/PR templates. by [@​bwplotka](https://togithub.com/bwplotka) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/296](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/296) - inline localhost certificate into go file by [@​bmon](https://togithub.com/bmon) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/318](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/318) - Update streaming interceptor example by [@​G07cha](https://togithub.com/G07cha) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/322](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/322) - Do not stop retrying based on earlier good message from the stream by [@​kartlee](https://togithub.com/kartlee) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/323](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/323) - test certs - cherry-pick PR325 on v2 by [@​dmitris](https://togithub.com/dmitris) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/331](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/331) - add all make target, reword instructions by [@​dmitris](https://togithub.com/dmitris) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/335](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/335) - remove 1.12.x from build config for consistency with master by [@​dmitris](https://togithub.com/dmitris) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/337](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/337) - \[v2] Fix the special case for jaeger format traceid extraction by [@​nvx](https://togithub.com/nvx) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/340](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/340) - \[v2] Fix ctxtags TagBasedRequestFieldExtractor extracting from fields in a oneof by [@​nvx](https://togithub.com/nvx) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/339](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/339) - Request Logging by [@​yashrsharma44](https://togithub.com/yashrsharma44) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/311](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/311) - Bug fix for data race by [@​yashrsharma44](https://togithub.com/yashrsharma44) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/354](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/354) - make ratelimit interface context aware by [@​xinxiao](https://togithub.com/xinxiao) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/367](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/367) - Add error param to the decider method of logging middleware by [@​yashrsharma44](https://togithub.com/yashrsharma44) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/372](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/372) - \[v2] Add skip interceptor by [@​XSAM](https://togithub.com/XSAM) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/364](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/364) - Chain middleware by [@​drewwells](https://togithub.com/drewwells) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/385](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/385) - Update travis ci badget to Github actions badge. by [@​drewwells](https://togithub.com/drewwells) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/384](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/384) - Upgraded proto related deps: grpc and protobuf; removed gogo from core. by [@​bwplotka](https://togithub.com/bwplotka) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/321](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/321) - improve v2 rate-limiter by [@​MalloZup](https://togithub.com/MalloZup) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/380](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/380) - Moved to buf; Added buf lint; Fixed ping service to match standards; … by [@​bwplotka](https://togithub.com/bwplotka) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/383](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/383) - Add timer interface for OpenMetrics(Prometheus) Provider by [@​yashrsharma44](https://togithub.com/yashrsharma44) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/387](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/387) - \[Rate-limit provider]: Add token bucket implementation of rate-limiter by [@​MalloZup](https://togithub.com/MalloZup) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/386](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/386) - Add OpenMetrics(Prometheus) in the provider module by [@​yashrsharma44](https://togithub.com/yashrsharma44) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/379](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/379) - v2: Client unary interceptor timeout on v2 branch by [@​instabledesign](https://togithub.com/instabledesign) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/330](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/330) - add onRetryCallback callback function by [@​shamil](https://togithub.com/shamil) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/405](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/405) - v2: validator support for protoc-gen-validate 0.6.0 by [@​danielhochman](https://togithub.com/danielhochman) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/418](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/418) - v2: Refactor metrics interceptor and fix tests by [@​ash2k](https://togithub.com/ash2k) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/413](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/413) - Support customization of timestamp format (v2 branch) by [@​stanhu](https://togithub.com/stanhu) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/399](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/399) - Fixed misleading comments in the interceptor file by [@​iamrajiv](https://togithub.com/iamrajiv) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/424](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/424) - v2: Switch from github.com/go-kit/kit to github.com/go-kit/log interfaces by [@​liggitt](https://togithub.com/liggitt) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/427](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/427) - v2: Add support for the phuslog logging provider by [@​ogimenezb](https://togithub.com/ogimenezb) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/425](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/425) - v2:providers/zap: fix caller annotation by [@​jkawamoto](https://togithub.com/jkawamoto) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/432](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/432) - Added Dependabot by [@​iamrajiv](https://togithub.com/iamrajiv) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/376](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/376) - Added a Copyright check in the Makefile by [@​yashrsharma44](https://togithub.com/yashrsharma44) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/420](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/420) - Cleanup v2 with some updates by [@​yashrsharma44](https://togithub.com/yashrsharma44) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/419](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/419) - openmetrics: forward server context by [@​amenzhinsky](https://togithub.com/amenzhinsky) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/434](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/434) - recovery: change the default behavior by [@​amenzhinsky](https://togithub.com/amenzhinsky) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/439](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/439) - Add all-validator support by [@​leventeliu](https://togithub.com/leventeliu) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/443](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/443) - Remove backoffutils and added the files to retry package by [@​yashrsharma44](https://togithub.com/yashrsharma44) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/390](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/390) - v2:interceptors/logging: allow to separate request response payload logging by [@​michaljemala](https://togithub.com/michaljemala) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/442](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/442) - Removed tags; Simplified interceptor code; Added logging fields editability. by [@​bwplotka](https://togithub.com/bwplotka) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/394](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/394) - InterceptorTestSuite client connection optimize by [@​HUSTtoKTH](https://togithub.com/HUSTtoKTH) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/455](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/455) - Remove opentracing from go.mod by [@​jpkrohling](https://togithub.com/jpkrohling) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/477](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/477) - Replace two old Go versions with two new ones by [@​jpkrohling](https://togithub.com/jpkrohling) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/478](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/478) - Move util/metautils to root-level package metadata, fixes [#​392](https://togithub.com/grpc-ecosystem/go-grpc-middleware/issues/392) by [@​rahulkhairwar](https://togithub.com/rahulkhairwar) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/474](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/474) - Remove data race from zerolog provider by [@​ecordell](https://togithub.com/ecordell) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/487](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/487) - Update provider/kit by [@​metalmatze](https://togithub.com/metalmatze) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/490](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/490) - Refactor tracing interceptor by [@​XSAM](https://togithub.com/XSAM) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/450](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/450) - Add opentracing provider by [@​XSAM](https://togithub.com/XSAM) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/492](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/492) - update phuslog to fix typo by [@​ogimenezb](https://togithub.com/ogimenezb) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/499](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/499) - Added logr as logging Library provider by [@​mcdoker18](https://togithub.com/mcdoker18) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/510](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/510) - ✨ new feat: selector middleware by [@​aimuz](https://togithub.com/aimuz) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/511](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/511) - Add 1.18.x and 1.19.x unit tests by [@​aimuz](https://togithub.com/aimuz) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/513](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/513) - change the doc.go to the latest format by [@​aimuz](https://togithub.com/aimuz) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/512](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/512) - fix provider examples by [@​forsaken628](https://togithub.com/forsaken628) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/529](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/529) - docs: add `logging.InjectFields` usage description by [@​aimuz](https://togithub.com/aimuz) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/541](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/541) - Bump golang.org/x/net from 0.0.0-20201021035429-f5854403a974 to 0.7.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/537](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/537) - v2: All for v2: Exemplars, Cleanup, Docs, Lint, Proto upgrades and more by [@​bwplotka](https://togithub.com/bwplotka) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/543](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/543) - \[interceptors/validator] feat: add error logging in validator by [@​rohanraj7316](https://togithub.com/rohanraj7316) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/544](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/544) - fix auto-generated docs by [@​peczenyj](https://togithub.com/peczenyj) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/548](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/548) - fix vulnerability GO-2022-0603 by [@​peczenyj](https://togithub.com/peczenyj) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/549](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/549) - add support to trace on grpc_logrus.DefaultMessageProducer by [@​peczenyj](https://togithub.com/peczenyj) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/547](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/547) - Simplified logging middleware; Fields are now "any" type; Moved logging providers to examples only. by [@​bwplotka](https://togithub.com/bwplotka) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/552](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/552) - Removed deciders; Cleaned up validators. by [@​bwplotka](https://togithub.com/bwplotka) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/554](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/554) - Adjustments to README and consistency of callback options. by [@​bwplotka](https://togithub.com/bwplotka) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/555](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/555) - Merge v2 into main (with -X theirs) by [@​bwplotka](https://togithub.com/bwplotka) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/556](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/556) - Bump golang.org/x/net from 0.5.0 to 0.7.0 in /providers/prometheus by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/561](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/561) - Fix overwritten logger in zerolog example by [@​longshine](https://togithub.com/longshine) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/574](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/574) - Changed for for mapping fields, different var for logger in zap example by [@​MichalFikejs](https://togithub.com/MichalFikejs) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/581](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/581) - cleanup: no cap definition required by [@​aimuz](https://togithub.com/aimuz) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/582](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/582) - providers/prometheus: Add WithHistogramOpts for native histograms by [@​metalmatze](https://togithub.com/metalmatze) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/584](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/584) - fix: Refactor logger initialization in example_test.go by [@​aimuz](https://togithub.com/aimuz) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/580](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/580) - Minor code cleanups by [@​ash2k](https://togithub.com/ash2k) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/586](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/586) - fix prometheus interceptors not converting context errors to gRPC codes by [@​vtermanis](https://togithub.com/vtermanis) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/571](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/571) - Update README.md by [@​bwplotka](https://togithub.com/bwplotka) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/600](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/600) - Update PULL_REQUEST_TEMPLATE.md by [@​bwplotka](https://togithub.com/bwplotka) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/601](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/601) - Add Client rate limit interceptors 520 by [@​rahulkhairwar](https://togithub.com/rahulkhairwar) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/599](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/599) - Use default go errors package instead of github.com/pkg/errors by [@​rifkyazizf](https://togithub.com/rifkyazizf) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/608](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/608) - fix bug : should drain channel of timer after stop by [@​ikenchina](https://togithub.com/ikenchina) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/612](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/612) - feat: add interceptor for bufbuild/protovalidate by [@​gvencadze](https://togithub.com/gvencadze) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/614](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/614) - Enhancement: Introduce Option Interface for Future Interceptor Customization by [@​elliotmjackson](https://togithub.com/elliotmjackson) in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/615](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/615) #### New Contributors - [@​irridia](https://togithub.com/irridia) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/299](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/299) - [@​xinxiao](https://togithub.com/xinxiao) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/367](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/367) - [@​XSAM](https://togithub.com/XSAM) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/364](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/364) - [@​MalloZup](https://togithub.com/MalloZup) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/380](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/380) - [@​instabledesign](https://togithub.com/instabledesign) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/330](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/330) - [@​shamil](https://togithub.com/shamil) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/405](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/405) - [@​ash2k](https://togithub.com/ash2k) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/413](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/413) - [@​ogimenezb](https://togithub.com/ogimenezb) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/425](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/425) - [@​amenzhinsky](https://togithub.com/amenzhinsky) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/434](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/434) - [@​leventeliu](https://togithub.com/leventeliu) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/443](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/443) - [@​michaljemala](https://togithub.com/michaljemala) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/442](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/442) - [@​HUSTtoKTH](https://togithub.com/HUSTtoKTH) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/455](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/455) - [@​jpkrohling](https://togithub.com/jpkrohling) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/477](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/477) - [@​rahulkhairwar](https://togithub.com/rahulkhairwar) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/474](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/474) - [@​ecordell](https://togithub.com/ecordell) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/487](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/487) - [@​metalmatze](https://togithub.com/metalmatze) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/490](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/490) - [@​mcdoker18](https://togithub.com/mcdoker18) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/510](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/510) - [@​aimuz](https://togithub.com/aimuz) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/511](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/511) - [@​forsaken628](https://togithub.com/forsaken628) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/529](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/529) - [@​dependabot](https://togithub.com/dependabot) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/537](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/537) - [@​rohanraj7316](https://togithub.com/rohanraj7316) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/544](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/544) - [@​peczenyj](https://togithub.com/peczenyj) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/548](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/548) - [@​longshine](https://togithub.com/longshine) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/574](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/574) - [@​MichalFikejs](https://togithub.com/MichalFikejs) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/581](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/581) - [@​vtermanis](https://togithub.com/vtermanis) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/571](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/571) - [@​rifkyazizf](https://togithub.com/rifkyazizf) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/608](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/608) - [@​ikenchina](https://togithub.com/ikenchina) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/612](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/612) - [@​gvencadze](https://togithub.com/gvencadze) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/614](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/614) - [@​elliotmjackson](https://togithub.com/elliotmjackson) made their first contribution in [https://github.com/grpc-ecosystem/go-grpc-middleware/pull/615](https://togithub.com/grpc-ecosystem/go-grpc-middleware/pull/615) **Full Changelog**: grpc-ecosystem/go-grpc-middleware@v1.4.0...v2.0.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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/jaegertracing/jaeger). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJjaGFuZ2Vsb2c6ZGVwZW5kZW5jaWVzIl19--> --------- Signed-off-by: Mend Renovate <bot@renovateapp.com> Signed-off-by: Yuri Shkuro <github@ysh.us> Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com> Co-authored-by: Yuri Shkuro <github@ysh.us>
Changes
Add an option to ignore certain types of messages that are not ready to be validated at the middleware level and require some further processing and manual
protovalidate.Validate()
call.Verification
Unit test to verify that bad message can be ignored because of the option implemented.