fix(deps): update module github.com/grpc-ecosystem/go-grpc-middleware to v2
This MR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| github.com/grpc-ecosystem/go-grpc-middleware | v1.4.0 → v2.3.3 |
View the Renovate pipeline for this MR
Release Notes
grpc-ecosystem/go-grpc-middleware (github.com/grpc-ecosystem/go-grpc-middleware)
v2.3.3
What's Changed
- add WithLabelsFromContext prometheus interceptor option by @benjibuiltit in #758
- fix: correct comment typo in StreamServerInterceptor function by @haru-256 in #760
- Minor refactor to remove duplication by @nwnt in #761
- chore: migrate golangci-lint to v2.3.0 by @mmorel-35 in #765
- chore: enable misspell linter with golangci-lint by @mmorel-35 in #768
- chore: enable errorlint by @mmorel-35 in #774
- chore: update buf to v1.55.1 by @mmorel-35 in #767
- chore: update dependabot configuration for gomod and github-actions by @mmorel-35 in #775
- chore: enable testifylint linter by @mmorel-35 in #769
- chore: enable several rules from go-critic by @mmorel-35 in #766
- chore: enable several rules from govet by @mmorel-35 in #773
- chore: enable contextcheck and fatcontext linters by @mmorel-35 in #770
- chore: enable usestdlibvars linter by @mmorel-35 in #772
- chore: enable promlinter linter by @mmorel-35 in #771
- chore: enable usetesting linter by @mmorel-35 in #784
- build(deps): bump google.golang.org/grpc from 1.67.1 to 1.74.2 by @mmorel-35 in #785
- chore: enable hugeParam rule from go-critic by @mmorel-35 in #786
- chore: use actions/setup-go native cache by @mmorel-35 in #787
- fix(#794): Wrapping codes.OK should not cause panic by @floppyzedolfin in #795
- feat(prometheus): add ContextLabels to ClientMetrics by @ArtARTs36 in #798
- fix(ci): tidy module before linting by @manute in #808
- [Prometheus] Fix pre-registration of
handledmetrics with context labels by @t-bowcock in #810 - avoid unnecessary logging field creation when payload logging is disabled by @dbeneker in #809
New Contributors
- @benjibuiltit made their first contribution in #758
- @haru-256 made their first contribution in #760
- @nwnt made their first contribution in #761
- @mmorel-35 made their first contribution in #765
- @floppyzedolfin made their first contribution in #795
- @ArtARTs36 made their first contribution in #798
- @manute made their first contribution in #808
- @t-bowcock made their first contribution in #810
- @dbeneker made their first contribution in #809
Full Changelog: https://github.com/grpc-ecosystem/go-grpc-middleware/compare/v2.3.2...v2.3.3
v2.3.2
What's Changed
- chore: fix some typos by @dockercui in #755
- update module for protovalidate by @calmh in #757
New Contributors
- @dockercui made their first contribution in #755
- @calmh made their first contribution in #757
Full Changelog: https://github.com/grpc-ecosystem/go-grpc-middleware/compare/v2.3.1...v2.3.2
v2.3.1
What's Changed
- Return uint64 from exponentBase2 function by @fesiqueira in #753
- add build tag to disable tracing by @rashmi-tondare in #754
New Contributors
- @fesiqueira made their first contribution in #753
- @rashmi-tondare made their first contribution in #754
Full Changelog: https://github.com/grpc-ecosystem/go-grpc-middleware/compare/v2.3.0...v2.3.1
v2.3.0
What's Changed
- logging: add AddFields by @kindermoumoute in #739
- logging: store the propagated context in the reporter by @kindermoumoute in #740
- Add skip_healthchecks logging example by @bkane-msft in #742
- grpc_retry backoff overflow by @JacobSMoller in #747
- defer cancel() leaks memory by @JacobSMoller in #748
- protovalidate: support new protovalidate-go Validator interface by @zchee in #746
New Contributors
- @bkane-msft made their first contribution in #742
- @JacobSMoller made their first contribution in #747
- @zchee made their first contribution in #746
Full Changelog: https://github.com/grpc-ecosystem/go-grpc-middleware/compare/v2.2.0...v2.3.0
v2.2.0
What's Changed
- Call retry callback on retry by @fredr in #700
- interceptors: Update logging interceptor Reporter to re-extract fields from context before logging by @chancez in #702
- logging: Document correct WithFieldsFromContext/WithFieldsFromContextAndCallMeta usage by @chancez in #703
- Include error details in protovalidate responses by @akshayjshah in #714
- protovalidate: avoid pointer comparisons by @akshayjshah in #715
- Support for namespace in grpc prometheus counter and histogram metrics by @hyungi in #718
- Protovalidate interceptor cleanup, Go version bump by @ash2k in #721
- Use ValueFromIncomingContext() to reduce allocations and copying by @ash2k in #723
- Update examples to the latest otelgrpc API by @nmittler in #729
- Fix grpc middleware interceptor not PostCall-ing when a streaming RPC with non-streaming server finishes successfully. by @alexandrupitis1 in #725
- x-retry-attempt to StreamClientInterceptor by @Boklazhenko in #733
- logging: add WithErrorFields by @kindermoumoute in #734
- example: use slog instead of go-kit by @kindermoumoute in #735
New Contributors
- @fredr made their first contribution in #700
- @marefr made their first contribution in #706
- @akshayjshah made their first contribution in #714
- @hyungi made their first contribution in #718
- @nmittler made their first contribution in #729
- @alexandrupitis1 made their first contribution in #725
- @Boklazhenko made their first contribution in #733
- @kindermoumoute made their first contribution in #734
Full Changelog: https://github.com/grpc-ecosystem/go-grpc-middleware/compare/v2.1.0...v2.2.0
v2.1.0
What's Changed
- Support for subsystem in grpc prometheus counter and histogram metrics by @rohsaini in #643
- doc: update client interceptors chaining example with grpc functions by @dethi in #669
- adds fields from durationFieldFunc to request/response log entries by @vroldanbet in #670
- add doc for disabling log opts by @coleenquadros in #680
- Middleware for determining the real ip of the client by @MadsRC in #682
- protovalidate: add option to ignore certain message types by @igor-tsiglyar in #684
- Update README.md by @zeroboo in #688
- Fix
InitializeMetricssignature to allow use withxds.GRPCServerby @bozaro in #689 - Support retriable func condition by @tamayika in #687
- Extend realip parsing of GRPC peer address to handle IPv6 by @surik in #692
- Fix logging Example : log only first field by @arckadious in #694
- Extent realip interceptors with ip selection based on proxy count and list by @surik in #695
- Fix for vulnerability CVE-2023-44487 by @vkaushik in #696
New Contributors
- @rohsaini made their first contribution in #643
- @dethi made their first contribution in #669
- @vroldanbet made their first contribution in #670
- @MadsRC made their first contribution in #682
- @igor-tsiglyar made their first contribution in #684
- @zeroboo made their first contribution in #688
- @bozaro made their first contribution in #689
- @tamayika made their first contribution in #687
- @surik made their first contribution in #692
- @arckadious made their first contribution in #694
- @vkaushik made their first contribution in #696
Full Changelog: https://github.com/grpc-ecosystem/go-grpc-middleware/compare/v2.0.1...v2.1.0
v2.0.1
What's Changed
- Fix outdated 'make proto' command by @takp in #623
- Fix linting errors by @takp in #624
- Logging: Add missing variadic operator for fields by @olivierlemasle in #629
- feat: Support extracting fields from CallMeta by @fsaintjacques in #628
- Fix "make test" and "make lint" by @olivierlemasle in #627
- Do not set timeout for stream initialization by @DavyJohnes in #645
- Add logging option to disable fields in log entry by @coleenquadros in #631
- Update logging adapter docs by @aboryslawski in #647
New Contributors
- @takp made their first contribution in #623
- @olivierlemasle made their first contribution in #629
- @fsaintjacques made their first contribution in #628
- @DavyJohnes made their first contribution in #645
- @coleenquadros made their first contribution in #631
- @aboryslawski made their first contribution in #647
Full Changelog: https://github.com/grpc-ecosystem/go-grpc-middleware/compare/v2.0.0...v2.0.1
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 in #276
- Updated README with note that it's under development. by @bwplotka in #278
- Fix typo in field extractor (splices -> slices) (#287) by @bvwells in #289
- Moved imports to v2; Moved to Go 1.14.2 by @bwplotka in #290
- Formatted code; Added goimports to Makefile, Renamed pb_testproto to testpb. by @bwplotka in #291
- Fixed providers go modules, examples and consistency. by @bwplotka in #292
- added example for AuthFuncOverride v2 branch by @tegk in #294
- Added some description of the Makefile in the contributing.md by @yashrsharma44 in #298
- v2: Add support for the zerolog logging provider by @irridia in #299
- proto: fix gogoproto import by @johanbrandhorst in #302
- Retry dial and connection errors for grpc stream. by @kartlee in #308
- Moved to GH actions; Added lint; Added issue/MR templates. by @bwplotka in #296
- inline localhost certificate into go file by @bmon in #318
- Update streaming interceptor example by @G07cha in #322
- Do not stop retrying based on earlier good message from the stream by @kartlee in #323
- test certs - cherry-pick PR325 on v2 by @dmitris in #331
- add all make target, reword instructions by @dmitris in #335
- remove 1.12.x from build config for consistency with master by @dmitris in #337
- [v2] Fix the special case for jaeger format traceid extraction by @nvx in #340
- [v2] Fix ctxtags TagBasedRequestFieldExtractor extracting from fields in a oneof by @nvx in #339
- Request Logging by @yashrsharma44 in #311
- Bug fix for data race by @yashrsharma44 in #354
- make ratelimit interface context aware by @xinxiao in #367
- Add error param to the decider method of logging middleware by @yashrsharma44 in #372
- [v2] Add skip interceptor by @XSAM in #364
- Chain middleware by @drewwells in #385
- Update travis ci badget to Github actions badge. by @drewwells in #384
- Upgraded proto related deps: grpc and protobuf; removed gogo from core. by @bwplotka in #321
- improve v2 rate-limiter by @MalloZup in #380
- Moved to buf; Added buf lint; Fixed ping service to match standards; … by @bwplotka in #383
- Add timer interface for OpenMetrics(Prometheus) Provider by @yashrsharma44 in #387
- [Rate-limit provider]: Add token bucket implementation of rate-limiter by @MalloZup in #386
- Add OpenMetrics(Prometheus) in the provider module by @yashrsharma44 in #379
- v2: Client unary interceptor timeout on v2 branch by @instabledesign in #330
- add onRetryCallback callback function by @shamil in #405
- v2: validator support for protoc-gen-validate 0.6.0 by @danielhochman in #418
- v2: Refactor metrics interceptor and fix tests by @ash2k in #413
- Support customization of timestamp format (v2 branch) by @stanhu in #399
- Fixed misleading comments in the interceptor file by @iamrajiv in #424
- v2: Switch from github.com/go-kit/kit to github.com/go-kit/log interfaces by @liggitt in #427
- v2: Add support for the phuslog logging provider by @ogimenezb in #425
- v2:providers/zap: fix caller annotation by @jkawamoto in #432
- Added Dependabot by @iamrajiv in #376
- Added a Copyright check in the Makefile by @yashrsharma44 in #420
- Cleanup v2 with some updates by @yashrsharma44 in #419
- openmetrics: forward server context by @amenzhinsky in #434
- recovery: change the default behavior by @amenzhinsky in #439
- Add all-validator support by @leventeliu in #443
- Remove backoffutils and added the files to retry package by @yashrsharma44 in #390
- v2:interceptors/logging: allow to separate request response payload logging by @michaljemala in #442
- Removed tags; Simplified interceptor code; Added logging fields editability. by @bwplotka in #394
- InterceptorTestSuite client connection optimize by @HUSTtoKTH in #455
- Remove opentracing from go.mod by @jpkrohling in #477
- Replace two old Go versions with two new ones by @jpkrohling in #478
- Move util/metautils to root-level package metadata, fixes #392 by @rahulkhairwar in #474
- Remove data race from zerolog provider by @ecordell in #487
- Update provider/kit by @metalmatze in #490
- Refactor tracing interceptor by @XSAM in #450
- Add opentracing provider by @XSAM in #492
- update phuslog to fix typo by @ogimenezb in #499
- Added logr as logging Library provider by @mcdoker18 in #510
✨ new feat: selector middleware by @aimuz in #511- Add 1.18.x and 1.19.x unit tests by @aimuz in #513
- change the doc.go to the latest format by @aimuz in #512
- fix provider examples by @forsaken628 in #529
- docs: add
logging.InjectFieldsusage description by @aimuz in #541 - Bump golang.org/x/net from 0.0.0-20201021035429-f5854403a974 to 0.7.0 by @dependabot in #537
- v2: All for v2: Exemplars, Cleanup, Docs, Lint, Proto upgrades and more by @bwplotka in #543
- [interceptors/validator] feat: add error logging in validator by @rohanraj7316 in #544
- fix auto-generated docs by @peczenyj in #548
- fix vulnerability GO-2022-0603 by @peczenyj in #549
- add support to trace on grpc_logrus.DefaultMessageProducer by @peczenyj in #547
- Simplified logging middleware; Fields are now "any" type; Moved logging providers to examples only. by @bwplotka in #552
- Removed deciders; Cleaned up validators. by @bwplotka in #554
- Adjustments to README and consistency of callback options. by @bwplotka in #555
- Merge v2 into main (with -X theirs) by @bwplotka in #556
- Bump golang.org/x/net from 0.5.0 to 0.7.0 in /providers/prometheus by @dependabot in #561
- Fix overwritten logger in zerolog example by @longshine in #574
- Changed for for mapping fields, different var for logger in zap example by @MichalFikejs in #581
- cleanup: no cap definition required by @aimuz in #582
- providers/prometheus: Add WithHistogramOpts for native histograms by @metalmatze in #584
- fix: Refactor logger initialization in example_test.go by @aimuz in #580
- Minor code cleanups by @ash2k in #586
- fix prometheus interceptors not converting context errors to gRPC codes by @vtermanis in #571
- Update README.md by @bwplotka in #600
- Update PULL_REQUEST_TEMPLATE.md by @bwplotka in #601
- Add Client rate limit interceptors 520 by @rahulkhairwar in #599
- Use default go errors package instead of github.com/pkg/errors by @rifkyazizf in #608
- fix bug : should drain channel of timer after stop by @ikenchina in #612
- feat: add interceptor for bufbuild/protovalidate by @gvencadze in #614
- Enhancement: Introduce Option Interface for Future Interceptor Customization by @elliotmjackson in #615
New Contributors
- @irridia made their first contribution in #299
- @xinxiao made their first contribution in #367
- @XSAM made their first contribution in #364
- @MalloZup made their first contribution in #380
- @instabledesign made their first contribution in #330
- @shamil made their first contribution in #405
- @ash2k made their first contribution in #413
- @ogimenezb made their first contribution in #425
- @amenzhinsky made their first contribution in #434
- @leventeliu made their first contribution in #443
- @michaljemala made their first contribution in #442
- @HUSTtoKTH made their first contribution in #455
- @jpkrohling made their first contribution in #477
- @rahulkhairwar made their first contribution in #474
- @ecordell made their first contribution in #487
- @metalmatze made their first contribution in #490
- @mcdoker18 made their first contribution in #510
- @aimuz made their first contribution in #511
- @forsaken628 made their first contribution in #529
- @dependabot made their first contribution in #537
- @rohanraj7316 made their first contribution in #544
- @peczenyj made their first contribution in #548
- @longshine made their first contribution in #574
- @MichalFikejs made their first contribution in #581
- @vtermanis made their first contribution in #571
- @rifkyazizf made their first contribution in #608
- @ikenchina made their first contribution in #612
- @gvencadze made their first contribution in #614
- @elliotmjackson made their first contribution in #615
Full Changelog: https://github.com/grpc-ecosystem/go-grpc-middleware/compare/v1.4.0...v2.0.0
Configuration
- If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.