github cloudwego/kitex v0.15.3

7 hours ago

Highlights

This release includes important bug fixes for TTStream, mixed retry, and rpcinfo handling, along with new features for dynamicgo options and code generation improvements.

Feature

  • Support passing dynamicgo's parsing options via WithDynamicGoOptions for ThriftIDLProvider (#1878)
  • Code generation: Execute custom templates on each service when loop_service is set to true, even without combined service mode (#1893)

Fix

  • Fix kitex tool: Move git clone/checkout before protobuf processing to ensure dependencies are available (#1900)
  • Fix TTStream: Inject K_METHOD into server-side context to provide method name for downstream RPC calls (#1852)
  • Fix TTStream: Send Header Frame when exiting handler directly via CloseSend without sending messages (#1887)
  • Fix mixed retry: Avoid waiting for backoff when the first call is successful (#1879)
  • Fix rpcinfo: Prevent type conversion panic when calling FreezeRPCInfo consecutively (#1888)

Optimization

  • Improve connection failure auto-retry log by adding destination service name for troubleshooting (#1880)
  • Avoid grpc cleanupStream closure capturing Stream objects, reducing memory retention (#1886)

Documentation

  • Fix grammar and clarity issues in README.md (#1896)

Dependency

  • Upgraded github.com/cloudwego/localsession from v0.1.2 to v0.2.1
  • Upgraded github.com/cloudwego/dynamicgo from v0.7.0 to v0.7.1
  • Upgraded github.com/bytedance/sonic from v1.14.1 to v1.14.2

Full Changelog: v0.15.2...v0.15.3

Don't miss a new kitex release

NewReleases is sending notifications on new releases.