github cloudwego/kitex v0.6.0

latest releases: v0.11.3, v0.11.2, v0.11.1...
15 months ago

Feature:

  • [#923] feat(grpc): grpc client set header and trailer to context by default and provide api to get header from ctx
  • [#891] feat: support to service-inline rpc client and server, which can transfer the rpc call as func call. The feature needs to be used with the generation tool
  • [#946] feat: default server handler support executing Read function by trans pipeline
  • [#936] feat(config): add config items for retry/cb/rcptimeout/limiter
  • [#924] [#939] feat(code_gen): support generating deepcopy apis
  • [#926] feat: support thrift reflection info registry
  • [#897] feat: support loop_service in custom template

Optimize:

  • [#961] optimize(tool): optimize kitex tool tpl with -use param
  • [#966] optimize(ttheader): add type check for headerFlags of TTheader
  • [#919] optimize: replace go func with GoFunc to avoid panic
  • [#960] optimize: make stats package public to reuse it in expanded repo
  • [#955] optimize: remove redundant onRead error log in gonet transerver
  • [#954] optimize: dont return error when transHandler not implement graceful shutdown
  • [#941] optimize(callopt): optimize the debug info of callopt to reduce the possibility of slice grow

Fix:

  • [#963] fix(generic): generic-map writeInt8 fails on byte
  • [#901] fix(mux): mux connection asynccallback dont create new goroutine and server wait all crrst packets recevied by client
  • [#921] fix(loadbalance): fix consisthash byte[] length
  • [#922] fix(mux): fix the problem that output unreasonable error when exit if enable mux and use Kitex Protobuf
  • [#927] fix(connpool): long connection pool reports reuse success using reporter

Refactor:

  • [#958] refactor(errorHandler): refactor the definition of error handler to get more information to handle error
  • [#943] refactor(client): refactor client.Call to improve readability
  • [#560] refactor: refactor server detection trans handler to support custom registration

Tests:

  • [#900] test(generic): add thrift reflection (using dynamicgo) generic call example

Chore:

  • [#976] chore: upgrade netpoll to v0.4.0 and thriftgo to v0.2.11
  • [#956] chore: update configmanager version to v0.2.0
  • [#948] chore: format with goimports -local github.com/cloudwego/kitex

Thanks a lot to those community contributors who submit some pull requests for this version:
@my-vegetable-has-exploded

Don't miss a new kitex release

NewReleases is sending notifications on new releases.