v2.7.3
版本发布时间: 2024-03-22 23:57:46
go-kratos/kratos最新发布版本:v2.8.0(2024-07-22 20:02:06)
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
- @dongowu made their first contribution in https://github.com/go-kratos/kratos/pull/3085
- @ChengDaqi2023 made their first contribution in https://github.com/go-kratos/kratos/pull/2985
- @lawlielt made their first contribution in https://github.com/go-kratos/kratos/pull/3147
- @liubing0427 made their first contribution in https://github.com/go-kratos/kratos/pull/3131
- @kvii made their first contribution in https://github.com/go-kratos/kratos/pull/3183
- @fzdwx made their first contribution in https://github.com/go-kratos/kratos/pull/3171
- @oyk666 made their first contribution in https://github.com/go-kratos/kratos/pull/3196
- @flc1125 made their first contribution in https://github.com/go-kratos/kratos/pull/3236
- @sendya made their first contribution in https://github.com/go-kratos/kratos/pull/3221
- @Disdjj made their first contribution in https://github.com/go-kratos/kratos/pull/3180
- @chenliang made their first contribution in https://github.com/go-kratos/kratos/pull/3173
- @harbourlga made their first contribution in https://github.com/go-kratos/kratos/pull/3162
Full Changelog: https://github.com/go-kratos/kratos/compare/v2.7.2...v2.7.3