chore(all): update module github.com/grpc-ecosystem/go-grpc-middleware to v2 - abandoned - #756
Merged
Merged
Conversation
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Contributor
|
This change was previously merged then reverted because these packages are not the same thing: github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 The code needs to be updated to use the v2 libs. |
Autoclosing SkippedThis PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error. |
1. Dependency Upgrade (go.mod):
* Replaced github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 with github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.3.3.
2. Middleware API Migration (meshnet.go):
* Switched import to "github.com/grpc-ecosystem/go-grpc-middleware/v2/interceptors/logging".
* Added an meshnet.go:166-188 adapter to map logrus logging to the v2 logging.Logger / logging.LoggerFunc interface.
* Replaced glogrus.ReplaceGrpcLogger with standard meshnet.go:190-196 using grpclog.SetLoggerV2.
* Updated meshnet.go:198-210 to use standard grpc.ChainUnaryInterceptor and grpc.ChainStreamInterceptor with logging.UnaryServerInterceptor / logging.
StreamServerInterceptor.
3. Unit Testing (meshnet_test.go):
* Added unit test coverage for meshnet_test.go:11-18, meshnet_test.go:20-77, and meshnet_test.go:79-82.
Contributor
|
/gcbrun |
kraney
approved these changes
Sep 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.4.0→v2.3.3Release Notes
grpc-ecosystem/go-grpc-middleware (github.com/grpc-ecosystem/go-grpc-middleware)
v2.3.3Compare Source
What's Changed
handledmetrics with context labels by @t-bowcock in #810New Contributors
Full Changelog: grpc-ecosystem/go-grpc-middleware@v2.3.2...v2.3.3
v2.3.2Compare Source
What's Changed
New Contributors
Full Changelog: grpc-ecosystem/go-grpc-middleware@v2.3.1...v2.3.2
v2.3.1Compare Source
What's Changed
New Contributors
Full Changelog: grpc-ecosystem/go-grpc-middleware@v2.3.0...v2.3.1
v2.3.0Compare Source
What's Changed
New Contributors
Full Changelog: grpc-ecosystem/go-grpc-middleware@v2.2.0...v2.3.0
v2.2.0Compare Source
What's Changed
New Contributors
Full Changelog: grpc-ecosystem/go-grpc-middleware@v2.1.0...v2.2.0
v2.1.0Compare Source
What's Changed
InitializeMetricssignature to allow use withxds.GRPCServerby @bozaro in #689New Contributors
Full Changelog: grpc-ecosystem/go-grpc-middleware@v2.0.1...v2.1.0
v2.0.1Compare Source
What's Changed
New Contributors
Full Changelog: grpc-ecosystem/go-grpc-middleware@v2.0.0...v2.0.1
v2.0.0Compare Source
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
logging.InjectFieldsusage description by @aimuz in #541New Contributors
Full Changelog: grpc-ecosystem/go-grpc-middleware@v1.4.0...v2.0.0
Configuration
📅 Schedule: (UTC)
* * * * 1-5)🚦 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.
This PR was generated by Mend Renovate. View the repository job log.