github go-kratos/kratos v2.7.3

latest releases: v2.8.2, v2.8.1, v2.8.0...
7 months ago

New Features

  • feat(transport/http): add unwrap method for returning underlying response writer. #3253 (#3265)
  • feat: use writer directly in stdLogger. (#3121)
  • feat(log): Prevent log.Helper sprintf from running early #3209 (#3221)
  • feat(middleware): adding sentry as errortracker (#3122)
  • feat: add server option for NotFoundHandler and MethodNotAllowedHandler (#3131)
  • feat: improve node alg (#3015)

Bug Fixes

  • fix(encoding/form): Timestamp use local time and fix test wrong mock time zone (#3257)
  • fix(encoding/form): optimize EncodeField and add test cases (#3234)
  • fix: When grpc ends idle mode, it needs to continue to obtain the latest instance of the service (#3162)
  • fix: etcd registry lifecycle (#3180)
  • fix: logging middleware caller issue #3133 (#3134)
  • fix polaris registry bug: nodes is empty at startup (#3160)
  • fix: remove duplicate test codes. (#3187)
  • fix: use .MapKey to get key's FieldDescriptor (#3196)
  • fix(transport/http): no need to call EncodeURL twice (#3218)
  • fix(protoc-gen-go-http): return nil if err == nil。 (#3188)
  • fix: zap log print out multiple msg (#3171)
  • fix: test failed on other timezone.(#3181) (#3183)
  • fix: clear err after app stop err handling (#3146)
  • fix: fix consul heartbeat 404 error (#3147)
  • fix(encoding/form): time with the location set to local time (#2885)

Others

  • nacos stop cannot cancel subscription (#3173)
  • build(deps): bump golang.org/x/sync in /contrib/registry/zookeeper (#3150)
  • build(deps): bump github.com/prometheus/common (#3154)
  • build(deps): bump golang.org/x/net in /contrib/opensergo (#3155)
  • build(deps): bump actions/cache from 3 to 4 (#3158)
  • build(deps): bump golangci/golangci-lint-action from 3 to 4 (#3197)
  • build(lint): upgrade golangci/golangci-lint-action (#3235)
  • build(go): Add go version v1.22.x (#3236)
  • build(deps): bump github.com/go-resty/resty/v2 (#3151)

New Contributors

Full Changelog: v2.7.2...v2.7.3

Don't miss a new kratos release

NewReleases is sending notifications on new releases.