fix(deps): update module github.com/grpc-ecosystem/go-grpc-middleware to v2
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
github.com/grpc-ecosystem/go-grpc-middleware | require | major |
v1.4.0 -> v2.2.0
|
Release Notes
grpc-ecosystem/go-grpc-middleware (github.com/grpc-ecosystem/go-grpc-middleware)
v2.2.0
What's Changed
- Call retry callback on retry by @fredr in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/700
- interceptors: Update logging interceptor Reporter to re-extract fields from context before logging by @chancez in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/702
- logging: Document correct WithFieldsFromContext/WithFieldsFromContextAndCallMeta usage by @chancez in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/703
- Include error details in protovalidate responses by @akshayjshah in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/714
- protovalidate: avoid pointer comparisons by @akshayjshah in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/715
- Support for namespace in grpc prometheus counter and histogram metrics by @hyungi in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/718
- Protovalidate interceptor cleanup, Go version bump by @ash2k in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/721
- Use ValueFromIncomingContext() to reduce allocations and copying by @ash2k in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/723
- Update examples to the latest otelgrpc API by @nmittler in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/729
- Fix grpc middleware interceptor not PostCall-ing when a streaming RPC with non-streaming server finishes successfully. by @alexandrupitis1 in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/725
- x-retry-attempt to StreamClientInterceptor by @Boklazhenko in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/733
- logging: add WithErrorFields by @kindermoumoute in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/734
- example: use slog instead of go-kit by @kindermoumoute in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/735
New Contributors
- @fredr made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/700
- @marefr made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/706
- @akshayjshah made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/714
- @hyungi made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/718
- @nmittler made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/729
- @alexandrupitis1 made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/725
- @Boklazhenko made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/733
- @kindermoumoute made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/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 https://github.com/grpc-ecosystem/go-grpc-middleware/pull/643
- doc: update client interceptors chaining example with grpc functions by @dethi in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/669
- adds fields from durationFieldFunc to request/response log entries by @vroldanbet in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/670
- add doc for disabling log opts by @coleenquadros in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/680
- Middleware for determining the real ip of the client by @MadsRC in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/682
- protovalidate: add option to ignore certain message types by @igor-tsiglyar in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/684
- Update README.md by @zeroboo in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/688
- Fix
InitializeMetrics
signature to allow use withxds.GRPCServer
by @bozaro in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/689 - Support retriable func condition by @tamayika in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/687
- Extend realip parsing of GRPC peer address to handle IPv6 by @surik in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/692
- Fix logging Example : log only first field by @arckadious in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/694
- Extent realip interceptors with ip selection based on proxy count and list by @surik in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/695
- Fix for vulnerability CVE-2023-44487 by @vkaushik in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/696
New Contributors
- @rohsaini made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/643
- @dethi made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/669
- @vroldanbet made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/670
- @MadsRC made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/682
- @igor-tsiglyar made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/684
- @zeroboo made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/688
- @bozaro made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/689
- @tamayika made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/687
- @surik made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/692
- @arckadious made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/694
- @vkaushik made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/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 https://github.com/grpc-ecosystem/go-grpc-middleware/pull/623
- Fix linting errors by @takp in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/624
- Logging: Add missing variadic operator for fields by @olivierlemasle in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/629
- feat: Support extracting fields from CallMeta by @fsaintjacques in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/628
- Fix "make test" and "make lint" by @olivierlemasle in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/627
- Do not set timeout for stream initialization by @DavyJohnes in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/645
- Add logging option to disable fields in log entry by @coleenquadros in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/631
- Update logging adapter docs by @aboryslawski in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/647
New Contributors
- @takp made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/623
- @olivierlemasle made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/629
- @fsaintjacques made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/628
- @DavyJohnes made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/645
- @coleenquadros made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/631
- @aboryslawski made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/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 https://github.com/grpc-ecosystem/go-grpc-middleware/pull/276
- Updated README with note that it's under development. by @bwplotka in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/278
- Fix typo in field extractor (splices -> slices) (#287) by @bvwells in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/289
- Moved imports to v2; Moved to Go 1.14.2 by @bwplotka in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/290
- Formatted code; Added goimports to Makefile, Renamed pb_testproto to testpb. by @bwplotka in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/291
- Fixed providers go modules, examples and consistency. by @bwplotka in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/292
- added example for AuthFuncOverride v2 branch by @tegk in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/294
- Added some description of the Makefile in the contributing.md by @yashrsharma44 in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/298
- v2: Add support for the zerolog logging provider by @irridia in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/299
- proto: fix gogoproto import by @johanbrandhorst in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/302
- Retry dial and connection errors for grpc stream. by @kartlee in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/308
- Moved to GH actions; Added lint; Added issue/MR templates. by @bwplotka in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/296
- inline localhost certificate into go file by @bmon in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/318
- Update streaming interceptor example by @G07cha in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/322
- Do not stop retrying based on earlier good message from the stream by @kartlee in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/323
- test certs - cherry-pick PR325 on v2 by @dmitris in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/331
- add all make target, reword instructions by @dmitris in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/335
- remove 1.12.x from build config for consistency with master by @dmitris in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/337
- [v2] Fix the special case for jaeger format traceid extraction by @nvx in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/340
- [v2] Fix ctxtags TagBasedRequestFieldExtractor extracting from fields in a oneof by @nvx in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/339
- Request Logging by @yashrsharma44 in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/311
- Bug fix for data race by @yashrsharma44 in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/354
- make ratelimit interface context aware by @xinxiao in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/367
- Add error param to the decider method of logging middleware by @yashrsharma44 in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/372
- [v2] Add skip interceptor by @XSAM in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/364
- Chain middleware by @drewwells in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/385
- Update travis ci badget to Github actions badge. by @drewwells in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/384
- Upgraded proto related deps: grpc and protobuf; removed gogo from core. by @bwplotka in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/321
- improve v2 rate-limiter by @MalloZup in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/380
- Moved to buf; Added buf lint; Fixed ping service to match standards; … by @bwplotka in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/383
- Add timer interface for OpenMetrics(Prometheus) Provider by @yashrsharma44 in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/387
- [Rate-limit provider]: Add token bucket implementation of rate-limiter by @MalloZup in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/386
- Add OpenMetrics(Prometheus) in the provider module by @yashrsharma44 in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/379
- v2: Client unary interceptor timeout on v2 branch by @instabledesign in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/330
- add onRetryCallback callback function by @shamil in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/405
- v2: validator support for protoc-gen-validate 0.6.0 by @danielhochman in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/418
- v2: Refactor metrics interceptor and fix tests by @ash2k in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/413
- Support customization of timestamp format (v2 branch) by @stanhu in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/399
- Fixed misleading comments in the interceptor file by @iamrajiv in https://github.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 in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/427
- v2: Add support for the phuslog logging provider by @ogimenezb in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/425
- v2:providers/zap: fix caller annotation by @jkawamoto in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/432
- Added Dependabot by @iamrajiv in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/376
- Added a Copyright check in the Makefile by @yashrsharma44 in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/420
- Cleanup v2 with some updates by @yashrsharma44 in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/419
- openmetrics: forward server context by @amenzhinsky in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/434
- recovery: change the default behavior by @amenzhinsky in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/439
- Add all-validator support by @leventeliu in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/443
- Remove backoffutils and added the files to retry package by @yashrsharma44 in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/390
- v2:interceptors/logging: allow to separate request response payload logging by @michaljemala in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/442
- Removed tags; Simplified interceptor code; Added logging fields editability. by @bwplotka in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/394
- InterceptorTestSuite client connection optimize by @HUSTtoKTH in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/455
- Remove opentracing from go.mod by @jpkrohling in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/477
- Replace two old Go versions with two new ones by @jpkrohling in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/478
- Move util/metautils to root-level package metadata, fixes #392 by @rahulkhairwar in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/474
- Remove data race from zerolog provider by @ecordell in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/487
- Update provider/kit by @metalmatze in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/490
- Refactor tracing interceptor by @XSAM in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/450
- Add opentracing provider by @XSAM in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/492
- update phuslog to fix typo by @ogimenezb in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/499
- Added logr as logging Library provider by @mcdoker18 in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/510
-
✨ new feat: selector middleware by @aimuz in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/511 - Add 1.18.x and 1.19.x unit tests by @aimuz in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/513
- change the doc.go to the latest format by @aimuz in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/512
- fix provider examples by @forsaken628 in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/529
- docs: add
logging.InjectFields
usage description by @aimuz in https://github.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 in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/537
- v2: All for v2: Exemplars, Cleanup, Docs, Lint, Proto upgrades and more by @bwplotka in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/543
- [interceptors/validator] feat: add error logging in validator by @rohanraj7316 in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/544
- fix auto-generated docs by @peczenyj in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/548
- fix vulnerability GO-2022-0603 by @peczenyj in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/549
- add support to trace on grpc_logrus.DefaultMessageProducer by @peczenyj in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/547
- Simplified logging middleware; Fields are now "any" type; Moved logging providers to examples only. by @bwplotka in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/552
- Removed deciders; Cleaned up validators. by @bwplotka in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/554
- Adjustments to README and consistency of callback options. by @bwplotka in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/555
- Merge v2 into main (with -X theirs) by @bwplotka in https://github.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 in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/561
- Fix overwritten logger in zerolog example by @longshine in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/574
- Changed for for mapping fields, different var for logger in zap example by @MichalFikejs in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/581
- cleanup: no cap definition required by @aimuz in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/582
- providers/prometheus: Add WithHistogramOpts for native histograms by @metalmatze in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/584
- fix: Refactor logger initialization in example_test.go by @aimuz in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/580
- Minor code cleanups by @ash2k in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/586
- fix prometheus interceptors not converting context errors to gRPC codes by @vtermanis in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/571
- Update README.md by @bwplotka in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/600
- Update PULL_REQUEST_TEMPLATE.md by @bwplotka in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/601
- Add Client rate limit interceptors 520 by @rahulkhairwar in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/599
- Use default go errors package instead of github.com/pkg/errors by @rifkyazizf in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/608
- fix bug : should drain channel of timer after stop by @ikenchina in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/612
- feat: add interceptor for bufbuild/protovalidate by @gvencadze in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/614
- Enhancement: Introduce Option Interface for Future Interceptor Customization by @elliotmjackson in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/615
New Contributors
- @irridia made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/299
- @xinxiao made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/367
- @XSAM made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/364
- @MalloZup made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/380
- @instabledesign made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/330
- @shamil made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/405
- @ash2k made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/413
- @ogimenezb made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/425
- @amenzhinsky made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/434
- @leventeliu made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/443
- @michaljemala made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/442
- @HUSTtoKTH made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/455
- @jpkrohling made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/477
- @rahulkhairwar made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/474
- @ecordell made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/487
- @metalmatze made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/490
- @mcdoker18 made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/510
- @aimuz made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/511
- @forsaken628 made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/529
- @dependabot made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/537
- @rohanraj7316 made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/544
- @peczenyj made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/548
- @longshine made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/574
- @MichalFikejs made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/581
- @vtermanis made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/571
- @rifkyazizf made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/608
- @ikenchina made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/612
- @gvencadze made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/614
- @elliotmjackson made their first contribution in https://github.com/grpc-ecosystem/go-grpc-middleware/pull/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.