github cloudwego/kitex v0.1.1

latest releases: v0.11.3-genericstreaming, v0.11.3-genericstream, v0.11.3...
2 years ago

This version has a problem with gRPC request, it is suggested to use the higher version.

Feature

[ #206 ] feat(generic): support combined services
[ #215 ] feat(generic): export SetSeqID and add GetSeqID for binary generic call of server side
[ #254 ] feat(generic): support close generic client to avoid memory leak
[ #222 ] chore(log): use key=value style in log messages
[ #230 ] chore(log):use klog as global log in some logs
[ #243 ] feat(log): use the global default logger across kitex
[ #250 ] feat(log): print detail loginfo by ctx
[ #264 ] feat(log): pass service info to go func which is used to output for troubleshooting
[ #231 ] feat(option): add NewThriftCodecDisableFastMode to disable FastWrite/Read
[ #258 ] feat(option): add server option - WithReusePort
[ #239 ] feat(option): default rpc timeout = 0
[ #234 ] feat(proxy): Proxy add ContextHandler interface to support passing initialization context to mwBuilder
[ #234 ] feat(proxy): Register Dump in lbcache to diagnosis
[ #240 ] feat(proxy): pass RPCConfig to proxy.Config

Improvement:

[ #187 ] perf: reduce heap allocation
[ #256 ] perf: optimize mux performance
[ #267 ] perf: recycle grpc codec buffer by close linkbuffer
[ #232 ] feat: distinguish ErrRPCFinish in cost info of backup request
[ #261 ] feat: move mux.ShardQueue to netpoll, rename sharedMap to shardMap

Bugfix:

[ #229 ] fix: enable server error handle middleware
[ #252 ] fix: adjust Balancer initialization in lbcache
[ #246 ] fix: init TraceCtl when it is nil (only affect unit test)
[ #233 ] fix: set default rpctimeout and disable timeout logic if rpctimeout == 0
[ #253 ] fix: defaultlogger wrong calldepth
[ #237 ] fix: rename BackwardProxy to ReverseProxy
[ #255 ] fix: avoid nil panic in grpc keepalive
[ #257 ] fix: fix hidden dangers about grpc
[ #234 ] fix: fix mistake dump info when instances change

Tool

[ #216 ] feat: add container length encoding guard in fast api
[ #260 ] fix: fix exception missing in void method

Docs:

[ #236 ]docs: fix link in readme_zh
[ #245 ]docs: remove docs; mantain cloudwego.io only

Netpoll API Change:

[ #241 ] adapt netpoll.Writer.Append API

Dependency Change:

  • update netpoll to v0.1.2

Don't miss a new kitex release

NewReleases is sending notifications on new releases.