Releases: go-kratos/kratos
Releases · go-kratos/kratos
v2.7.0
contrib -> go get xxxxx@7888107c4b4f978a4bbed2382fac762bcadbd13c
Dependencies
- deps: upgrade kratos version to v2.7.0 (#2944)
New Features
- feat(contrib): add zerolog (#2942)
- feat(transport/http): add walk http handler (#2943)
- feat: add bindQuery default (#2915)
- feat(transport): add endpoint option for server (#2904)
Bug Fixes
- fix(kratos cli): kratos cli gives wrong import path when creating app with --nomod parameter (#2938)
- fix:go-http plugin path encoding error (#2917)
Others
- build(deps): bump github.com/apolloconfig/agollo/v4 (#2939)
- build(deps): bump google.golang.org/grpc in /contrib/config/etcd (#2935)
- Update gitee-sync.yml (#2936)
- build(go): upgrade to go 1.19 (#2905)
New Contributors
- @pplmx made their first contribution in #2905
- @J-guanghua made their first contribution in #2917
- @qzwxsaedc made their first contribution in #2938
Full Changelog: v2.6.3...v2.7.0
v2.6.3
contrib -> github.com/go-kratos/kratos/contrib/xxxx 32b1d13
Dependencies
- deps: upgrade kratos version to v2.6.3 (#2903)
New Features
- feat: add omitempty prefix to rule path (#2870)
Bug Fixes
- fix(encoding/form): failed to decode the map type (#2468)
- fix: logging middle don't get trace_id value when logger is filterLogger (#2869)
- fix(cli): fix import path with
--nomod
(#2775) - fix: http parse pb message body panic (#2847)
- fix: fix go import path when add project --nomod (#2837)
Chores
- chore: remove the dependency of grpc_testing module (#2824)
Others
- build(deps): bump github.com/prometheus/common (#2840)
- update polaris-standalone docker image (#2854)
- build(deps): bump actions/setup-go from 4.0.0 to 4.0.1 (#2829)
- build(deps): bump google.golang.org/grpc in /contrib/opensergo (#2823)
New Contributors
- @chuntaojun made their first contribution in #2854
- @haoqixu made their first contribution in #2775
Full Changelog: v2.6.2...v2.6.3
v2.6.2
contrib v2.6.2 -> 56777ee
New Features
- feat: jwt KeyFunc external return (#2809)
- feat: log helper support sprint option (#2616)
- feat: issue translate (#2744)
- feat: support grpc balancer health check (#2736)
Bug Fixes
- fix(tracing): use global provider by default, but allow custom providers (#2803)
- fix(middleware/tracing): golang filename modify (#2727)
- fix:proto nesting causes template generation problems (#2718)
- fix(contrib/registry/servicecomb): wrong stop ticker (#2749)
- fix: package path to filepath (#2672)
- fix: rectification of non-standard lint codes (#2746)
- fix(transport/grpc/resolver/discovery/resolver.go): remove attributes.Attributes.New() (#2742)
- fix: change the working directory of the command (#2560)
Chores
Others
- build(deps): bump google.golang.org/grpc in /contrib/config/etcd (#2767)
- build(deps): bump google.golang.org/grpc in /contrib/opensergo (#2768)
- build(deps): bump github.com/prometheus/client_golang (#2787)
- build(deps): bump github.com/aliyun/aliyun-log-go-sdk (#2807)
- build(deps): bump go.etcd.io/etcd/client/v3 in /contrib/config/etcd (#2788)
- build(deps): bump go.etcd.io/etcd/client/v3 in /contrib/registry/etcd (#2789)
- build(deps): bump github.com/hashicorp/consul/api (#2731)
- build(deps): bump golang.org/x/net in /contrib/opensergo (#2779)
- refactor: metadata supports key corresponding to multiple values (#2772)
- build(deps): bump github.com/hashicorp/consul/api (#2733)
- build(deps): bump google.golang.org/protobuf in /contrib/log/aliyun (#2751)
- refactor(transport): format import and init slice cap (#2741)
- add http.ResponseController type alias (#2713)
- build(deps): bump k8s.io/client-go in /contrib/config/kubernetes (#2756)
- build(deps): bump k8s.io/apimachinery in /contrib/config/kubernetes (#2757)
- build(deps): bump actions/setup-go from 3.5.0 to 4.0.0 (#2737)
New Contributors
- @starmilkxin made their first contribution in #2724
- @ibrahimalbarghouthi made their first contribution in #2772
- @chenquan made their first contribution in #2810
Full Changelog: v2.6.1...v2.6.2
v2.6.1
This is the first version of kratos that uses generics features
Contrib Version
contrib -> 7eca8f8
Dependencies
- deps: upgrade kratos version to v2.6.1 (#2716)
New Features
- feat: support load balance for streaming connection creation (#2669)
- feat: Add latency to the recover handler context (#2653)
- feat: add comment to http server interface method (#2657)
- feat: support polaris ratelimit ability (#2586)
- feat(log): update zap interface (#2620)
Bug Fixes
- fix: fix contrib registry eureka watcher as *watcher (#2693)
- fix: upgrade go.sum (#2715)
- fix: cmd
proto add
nil pointer (#2670) - fix(selector): version NodeFilter append func (#2671)
- fix(contrib): fix eureka server load too high (#2546)
- fix: polaris get service name (#2615)
Chores
- chore: replace deprecated method (#2667)
Others
- build(deps): bump k8s.io/client-go in /contrib/config/kubernetes (#2695)
- build(deps): bump github.com/hashicorp/consul/api (#2688)
- build(deps): bump k8s.io/apimachinery in /contrib/config/kubernetes (#2694)
- build(deps): bump github.com/hashicorp/consul/api (#2685)
- build(deps): bump golang.org/x/sync in /contrib/registry/zookeeper (#2687)
- build(deps): bump golang.org/x/net in /contrib/opensergo (#2699)
- build(deps): bump golang.org/x/net in /contrib/config/polaris (#2706)
- build(deps): bump golang.org/x/net (#2703)
- build(deps): bump golang.org/x/net in /contrib/polaris (#2705)
- build(deps): bump github.com/prometheus/common (#2698)
- build(deps): bump golang.org/x/net in /contrib/registry/servicecomb (#2704)
- build(deps): bump golang.org/x/text in /cmd/protoc-gen-go-errors (#2675)
- build(deps): bump golang.org/x/text in /contrib/opensergo (#2678)
- build(deps): bump golang.org/x/text in /contrib/polaris (#2679)
- build(deps): bump golang.org/x/text from 0.3.7 to 0.3.8 in /cmd/kratos (#2676)
- build(deps): bump github.com/prometheus/common (#2668)
- build(deps): bump google.golang.org/grpc in /contrib/config/etcd (#2662)
New Contributors
- @liyaopinner made their first contribution in #2610
- @jerjjj made their first contribution in #2630
- @xichengliudui made their first contribution in #2648
- @aveyuan made their first contribution in #2620
- @yonwoo9 made their first contribution in #2693
Full Changelog: v2.5.4...v2.6.1
v2.5.4
New Features
- feat: add grpc client stream interceptor opts (#2610)
- feat: add subset alg for instances (#2613)
- feat(transport/http): request body read multiple times (#2542)
- feat: support polaris service governance (#2605)
- feat(registry): consul support re-registry when service does not exist (#2606)
- feat:add buf apis (#2604)
- feat: grpc use the admin api (#2596)
- feat: support for windows make install (#2554)
- feat(middleware): redacter interface for logging (#2564)
- feat: support polaris service governance
Bug Fixes
- fix: project creation
--nomod
(#2611) - fix(contrib/registry/etcd): rewatch when error occur (#2603)
- fix(contrib/log/tencent): tencentcloud-cls-sdk-go 为异步上传,需要显式调用"Start"方法开启才会生效 (#2514)
- fix(consul):return err if ctx is done (#2550)
- fix(registry): add zookeeper exists watcher when the node does not exist (#2555)
- fix(registry): ServiceInstance does not implement an Equal method for grpc Attributes. (#2575)
- fix issue:#2358 Support for creating a project with specifying the name for its place dir (#2573)
Chores
Others
- build(deps): bump github.com/aliyun/aliyun-log-go-sdk (#2598)
- build(deps): bump github.com/hashicorp/consul/api (#2561)
- build(deps): bump github.com/aliyun/aliyun-log-go-sdk (#2577)
- Feat project create with dir name add test (#2576)
- build(deps): bump k8s.io/apimachinery in /contrib/config/kubernetes (#2581)
- build(deps): bump actions/setup-go from 3.3.1 to 3.5.0 (#2585)
- build(deps): bump github.com/polarismesh/polaris-go (#2589)
- build(deps): bump github.com/apolloconfig/agollo/v4 (#2591)
- build(deps): bump github.com/hashicorp/consul/api (#2563)
New Contributors
- @qshuai made their first contribution in #2518
- @perriea made their first contribution in #2541
- @woniu317 made their first contribution in #2536
- @shima-park made their first contribution in #2575
- @jcyamacho made their first contribution in #2564
- @soukengo made their first contribution in #2555
- @game1991 made their first contribution in #2554
- @wuqinqiang made their first contribution in #2550
- @Liusiyuan-git made their first contribution in #2514
- @baeNewJeans made their first contribution in #2603
Full Changelog: v2.5.3...v2.5.4
v2.5.3
contrib -> a7bae93
Dependencies
- deps: upgrade kratos version to v2.5.3 (#2500)
New Features
- feat: add app Before and Afters option (#2403)
Bug Fixes
- fix(selector): set global do not work (#2489)
- fix(filter): filter out keyvals if keyFunc is provided (#2484)
- fix(contrib/log): test case error (#2487)
- fix ewma panic (#2480)
Others
- build(deps): bump github.com/apolloconfig/agollo/v4 (#2421)
- build(deps): bump go.etcd.io/etcd/client/v3 in /contrib/registry/etcd (#2384)
- build(deps): bump google.golang.org/grpc in /contrib/opensergo (#2452)
- build(deps): bump google.golang.org/grpc in /contrib/config/etcd (#2453)
- typo: correct var name (#2496)
- build(deps): bump github.com/hashicorp/consul/api (#2472)
- build(deps): bump github.com/prometheus/client_golang (#2494)
- build(deps): bump github.com/polarismesh/polaris-go (#2493)
- build(deps): bump github.com/aliyun/aliyun-log-go-sdk (#2492)
- build(deps): bump google.golang.org/grpc in /contrib/registry/etcd (#2454)
- test(encoding/form): add unit test and code style modift (#2467)
- style(config): code style tweaks and abstracts some methods (#2465)
- build(deps): bump github.com/hashicorp/consul/api (#2473)
- build(deps): bump github.com/aliyun/aliyun-log-go-sdk (#2483)
- style(contrib/config): code style modify (#2475)
New Contributors
- @migmartri made their first contribution in #2484
- @JellyTony made their first contribution in #2403
Full Changelog: v2.5.2...v2.5.3
v2.5.2
Bug Fixes
- fix(log): toString float32 precision loss and convert uint use
FormatUint
(#2461) - fix net error (#2460)
- fix(metadata): sort services by lexicographical order on ListServices (#2397)
- fix: in for defer close (#2411)
- fix: contrib/registry/eureka/client.go serveice -> serivce (#2440)
Others
- build(deps): bump actions/setup-go from 3.3.0 to 3.3.1 (#2462)
- cleanup: use HTTP package methods replace GET POST DELETE... (#2412)
- test(middleware/auth/jwt): add test TestNewContextAndFromContext (#2447)
- test(middleware/metadata): supplement test and modify code style (#2448)
- docs(config/etcd): fix the missing step of Load (#2450)
- [Feature] add path prefix for http server (#2439)
- cleanup: regex replcae . => . (#2435)
- test(middleware/logging): TestExtractError (#2443)
- cleanup: update scpSyntaxRe regexp (#2444)
- style: kratos interface check (#2441)
New Contributors
Full Changelog: v2.5.1...v2.5.2
v2.5.1
New Features
- feat: golangci add goimports local-prefixes (#2413)
- feat: remote assert libraries (#2372)
- feat(internal/host): prefer ipv4 than ipv6 (#2342)
- feat(cmd): user prePage to check changelog dev (#2340)
Bug Fixes
- fix: fmt import (#2379)
- fix(aliyun log): 'format bool' is missing in 'toString' function (#2406)
- fix: modify interface check way on selector (#2399)
- fix(http/binding): fix http encode url (#2400)
- fix(registry/consul): use health check option to control custom checks (#2391)
- fix(http/binding): fix http encode url (#2392)
- fix: typo and grammatical errors (#2368)
- fix: .gitignore del Repeated .*so (#2367)
- fix: modify interface check way (#2375)
- fix(apollo): config return nil when watch err
- fix(makefile): add "make proto" for proto generating (#2130)
Chores
Others
- cleanup: remove redundancy type conversion and golangci add unconvert (#2409)
- add custom binding (#2428)
- expose request from transport (#2427)
- style: modify declaring empty slices (#2378)
- style(config/value): optimize atomicValue format string (#2401)
- test(log): add toString unit test (#2373)
- cleanup: remove fmt and errors new err (#2377)
- cleanup: remove the repeated import (#2393)
- cleanup: modify deprecated field (#2380)
- typo for log (#2374)
- test: supplement the unit testing of transport/grpc (#2371)
- revise err logic or null pointer exception (#2376)
- test(cmd): add ModulePath test (#2337)
New Contributors
- @demoManito made their first contribution in #2291
- @icylight made their first contribution in #2296
- @SeigeC made their first contribution in #2299
- @Wang-TaoTao made their first contribution in #2323
- @hrygo made their first contribution in #2353
- @guowei-gong made their first contribution in #2349
- @xiaoliwang made their first contribution in #2374
- @swliao425 made their first contribution in #2406
- @gaffeyQiu made their first contribution in #2401
Full Changelog: v2.5.0...v2.5.1
v2.5.0
contrib -> go get github.com/kraots/contrib/xxxx@ba722304772728e1cd286e7d5a89de2ff4ae10ae
Dependencies
- deps: upgreade kratos version to v2.5.0 (#2286)
New Features
- feat: add servicecomb registry (#2114)
- feat(registry): consul get service support remote (#2275)
- feat(log): add tencent cls (#2244)
Bug Fixes
- fix: encoding form decode field mask from well-know (#2285)
- fix typo (#2284)
- fix: delete endpoint service discovery compatibility (#2289)
- fix logger caller depth (#2283)
- fix: wrong order of Logger prefix kvs (#2273)
- fix(log): DefaultCaller doesn't returns "pkg/file:line", it returns "file:line" now. For example, both biz/user.go and data/user.go are printed as user.go in logger. It's not clear. (#2274)
- fix(chore): set nacos-server v2.1.0 and consul v1.12.3 (#2268)
- fix lint error (#2266)
- fix: in case url or form bind param error should return BadRequest (#2256)
- fix(registry): contrib/registry/zookeeper ephemeral nodes handling after restart (#2245)
Others
- doc: grammar problems in the Readme file (#2281)
- bc: apollo unable to get and watch to the properties file (#2269)
- refactor(log) aliyun use the same interface name (#2251)
- refactor: unify selector filter (#2277)
- Global logger (#2265)
- build(deps): bump google.golang.org/protobuf in /contrib/log/aliyun (#2249)
- build(deps): bump github.com/prometheus/common (#2210)
New Contributors
- @Germiniku made their first contribution in #2244
- @hawkingrei made their first contribution in #2268
- @SeniorPlayer made their first contribution in #2274
- @kkf1 made their first contribution in #2114
- @YidaZhou made their first contribution in #2281
Full Changelog: v2.4.1...v2.5.0
v2.4.1
contrib -> go get github.com/kraots/contrib/xxxx@eff368621fb383112bfd8c79b4379036fc245193
New Features
- feat(middleware): add selector matcher (#2239)
- feat: support passing program args with run cmd (#2207)
Bug Fixes
- fix default behavior for gRPC encoding (#2187)
- fix: zookeeper add auto re-register (#2235)
- fix(contrib/config/polaris): Use injected client properly (#2238)
- fix: remove unuseful file when use nomod (#2234)
- fix(contrib): add logrus fatal level (#2222)
Others
- update ignore for go workspace (#2240)
- build(deps): bump k8s.io/client-go in /contrib/config/kubernetes (#2217)
- build(deps): bump k8s.io/client-go in /contrib/registry/kubernetes (#2218)
- build(deps): bump github.com/hashicorp/consul/api (#2211)
- build(deps): bump github.com/hashicorp/consul/api (#2209)
- build(deps): bump k8s.io/api in /contrib/config/kubernetes (#2219)
- build(deps): bump k8s.io/api in /contrib/registry/kubernetes (#2220)
- build(deps): bump github.com/go-zookeeper/zk (#2236)
- proto build client structName not match to server's structName (#2200)
- docs: update README_zh.md (#2208)
- build(deps): bump github.com/prometheus/common (#2188)
- build(deps): bump actions/setup-go from 3.2.0 to 3.2.1 (#2189)
- Feature/improve app test (#2190)
- test: increase endpoint,env, options and reader tests coverage. (#2192)
- test(contrib): update unit test for contrib/registry/polaris (#2196)
- test(log): increase tests coverage (#2197)
New Contributors
- @walrusyu made their first contribution in #2190
- @fengyuwusong made their first contribution in #2208
- @paulip1792 made their first contribution in #2238
- @Nomango made their first contribution in #2207
- @180909 made their first contribution in #2240
Full Changelog: v2.4.0...v2.4.1