github cloudwego/kitex v0.16.2

8 hours ago

What's Changed

Feat

  • feat(generic): support specifying IDL Service Name per call for Binary Generic by @DMwangnima in #1928
  • feat(server): add in-process LocalCaller for unary calls by @xiaost in #1930

Fix

  • fix(ttstream): add server-side information in ttstream errBizHandlerReturnCancel exception by @DMwangnima in #1921
  • fix: remove streaming rpcstats Reset by @DMwangnima in #1922
  • chore: change tests workflow on go 1.21-1.26 by @GuangmingLuo in #1923
  • fix(generic): panic when generic writing different elem types of container by @DMwangnima in #1926
  • fix(streaming): server-side old Stream wrapped in server MW should not be discarded by @DMwangnima in #1929
  • fix(timeout): close ticker in rpctimeout pool to prevent resource leak by @DMwangnima in #1931
  • fix(codec): frugalAvailable for void func result structs by @xiaost in #1938
  • fix(gRPC): connection pool leak when connection is closed and there are no more subsequent calls by @DMwangnima in #1945
  • fix(ttstream): ttstream should not recycle connection when Recv timeout with DisableCancelRemote=true by @DMwangnima in #1952

Perf/Optimize

  • perf: rpcinfo inline fields by @xiaost in #1935
  • optimize(discovery): reduce object allocation in discovery event queue and support changing default capacity of queue by @DMwangnima in #1939
  • perf(server): use inline RPCInfo fields in LocalCaller by @xiaost in #1940
  • optimize(gRPC): support pooling HTTP2 framer write buffer to reduce idle connection memory by @DMwangnima in #1944
  • perf(gRPC): reduce object allocations on the gRPC client side for unified cancel scenarios by @DMwangnima in #1950

Refactor

  • refactor: use maphash instead of xxhash3 by @xiaost in #1924

Chore

Docs

Full Changelog: v0.16.1...v0.16.2

Don't miss a new kitex release

NewReleases is sending notifications on new releases.