Releases: grpc-ecosystem/go-grpc-middleware
Releases · 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: v2.3.2...v2.3.3
providers/prometheus/v1.1.0
What's Changed
- chore: fix some typos by @dockercui in #755
- add WithLabelsFromContext prometheus interceptor option by @benjibuiltit in #758
New Contributors
- @dockercui made their first contribution in #755
- @benjibuiltit made their first contribution in #758
Full Changelog: providers/prometheus/v1.0.1...providers/prometheus/v1.1.0
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: 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: 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: 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: v2.1.0...v2.2.0
providers/prometheus/v1.0.1
What's Changed
New Contributors
Full Changelog: providers/prometheus/v1.0.0...providers/prometheus/v1.0.1
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: v2.0.1...v2.1.0
providers/prometheus/v1.0.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: v2.0.0...v2.0.1