github go-kratos/kratos v2.8.1

17 hours ago

New Features

  • feat(middleware/metrics): make DefaultSecondsHistogram simply (#3385)
  • feat: adding stream interceptor for logging middleware (#3359)
  • feat(contrib/log/zap): If disable this level of logging entirely, avoid additional overhead (#3357)
  • feat(resolver/discovery): expose create watcher timeout error (#3392)

Bug Fixes

  • fix: fix errors reported by Lint CI. (#3435)
  • fix: add timeout configuration in grpc dial function (#3365)
  • fix: when entering idle mode, the old resolve-related resources have not been completely processed, and an exception occurs when exiting idle mode immediately. (#3402)
  • fix(registry/polaris): fix concurrent map iteration and map write #3361 (#3386)
  • fix: fixed typo (#3395)
  • fix: filter redundant endpoints invalid (#3373)

Chores

  • chore: upgrade golangci-lint version to v1.60.3 and fix lint (#3414)
  • chore: remove non-existent test methods (#2770)
  • chore: replace the DisableDebugLog method, which is marked as Deprecated, with the PrintDebugLog method in the discovery test (#3364)

Others

  • faet: add buf config for protoc-gen-go-errors (#3403)
  • perf: optimize the http.ContentType method (#3363)
  • build(deps): bump github/codeql-action from 2 to 3 (#3119)
  • build(deps): bump google.golang.org/protobuf in /cmd/protoc-gen-go-http (#3237)
  • build(deps): bump golang.org/x/net in /contrib/errortracker/sentry (#3288)
  • build(deps): bump golang.org/x/net in /contrib/registry/etcd (#3289)
  • build(deps): bump golang.org/x/net in /contrib/config/kubernetes (#3291)
  • build(deps): bump golang.org/x/net in /contrib/registry/kubernetes (#3290)
  • build(deps): bump golang.org/x/net in /contrib/log/aliyun (#3292)
  • build(deps): bump golang.org/x/net in /contrib/registry/polaris (#3294)
  • build(deps): bump actions/setup-go from 5.0.1 to 5.0.2 (#3362)

New Contributors

Full Changelog: v2.8.0...v2.8.1

Don't miss a new kratos release

NewReleases is sending notifications on new releases.