From df368bd9055d1b663ce6279d2259592094bbff70 Mon Sep 17 00:00:00 2001 From: Li2CO3 Date: Mon, 23 Sep 2024 13:55:21 +0800 Subject: [PATCH] doc: optmize release log for kitex v0.11.0 (#1150) --- content/en/blog/releases/Kitex/release-v0_11_0.md | 7 +++++-- content/zh/blog/releases/Kitex/release-v0_11_0.md | 6 ++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/content/en/blog/releases/Kitex/release-v0_11_0.md b/content/en/blog/releases/Kitex/release-v0_11_0.md index c718908359..dab25c2bed 100644 --- a/content/en/blog/releases/Kitex/release-v0_11_0.md +++ b/content/en/blog/releases/Kitex/release-v0_11_0.md @@ -11,12 +11,15 @@ description: > ## **Introduction to Key Changes** ### New Feature -1. **Mixed Retry**: Supports enabling both "Failure Retry" and "Backup Request" strategies simultaneously, which can reduce tail requests while increasing the success rate of retries, for more detail: [Retry](https://www.cloudwego.io/en/docs/kitex/tutorials/service-governance/retry/) -2. **Custom Payload Validation**: To avoid inconsistencies in data transmission caused by hardware failures or data tampering, Kitex provides validation functionality for payload messages and supports custom extensions. For usage: [Payload Validator](https://www.cloudwego.io/docs/kitex/tutorials/advanced-feature/payload_validator/). +1. **Mixed Retry**: Supports enabling both "Failure Retry" and "Backup Request" strategies simultaneously, which can reduce tail requests while increasing the success rate of retries, for more detail: [Retry](/docs/kitex/tutorials/service-governance/retry/) +2. **Custom Payload Validation**: To avoid inconsistencies in data transmission caused by hardware failures or data tampering, Kitex provides validation functionality for payload messages and supports custom extensions. For usage: [Payload Validator](/docs/kitex/tutorials/advanced-feature/payload_validator/). ### Feature optimization 1. **Frugal ARM Optimization**: Frugal v0.2.0 now supports a new implement by reflection 2. **Kitex Tool Improvement**: Kitex Tool provide a new param `-rapid` to integrates Thriftgo and there's a slightly improved speed. +3. **Generating Multiple Handlers for Multiple Services**:Since this version, Kitex tool provide each service with independent handler file and register them into server,for more details: [Generating Multiple Handlers for Multiple Services](/docs/kitex/tutorials/advanced-feature/multi_service/multi_handler/) +4. **Generic Streaming for JSON [on trial]**:JSON generic streaming has now support streaming (client only),currently we're doing some optimization, you can have a try by following this doc: [Generic Streaming](/docs/kitex/tutorials/advanced-feature/generic-call/generic_streaming/) + ### Others 1. Support Go 1.18~1.23. Minimum support for Golang 1.18,if your golang version is lower than 1.18, you'll see `note: module requires Go 1.18` when you compile. diff --git a/content/zh/blog/releases/Kitex/release-v0_11_0.md b/content/zh/blog/releases/Kitex/release-v0_11_0.md index 9e07b7df57..ce1cfb89ee 100644 --- a/content/zh/blog/releases/Kitex/release-v0_11_0.md +++ b/content/zh/blog/releases/Kitex/release-v0_11_0.md @@ -11,12 +11,14 @@ description: > ## **重要变更介绍** ### 新特性 -1. **重试:新增混合重试功能**:支持同时开启「失败重试」+「Backup Request」两种策略,能够在降低长尾请求的同时提高请求的重试成功率,详见 [请求重试](https://www.cloudwego.io/zh/docs/kitex/tutorials/service-governance/retry/) -2. **自定义 Payload 校验**:为避免硬件故障或数据篡改导致收发的数据不一致,Kitex 提供了对 Payload 报文的校验功能,并支持自定义扩展,使用方式参见: [payload 校验](https://www.cloudwego.io/zh/docs/kitex/tutorials/advanced-feature/payload_validator/) +1. **重试:新增混合重试功能**:支持同时开启「失败重试」+「Backup Request」两种策略,能够在降低长尾请求的同时提高请求的重试成功率,详见 [请求重试](/zh/docs/kitex/tutorials/service-governance/retry/) +2. **自定义 Payload 校验**:为避免硬件故障或数据篡改导致收发的数据不一致,Kitex 提供了对 Payload 报文的校验功能,并支持自定义扩展,使用方式参见: [payload 校验](/zh/docs/kitex/tutorials/advanced-feature/payload_validator/) ### 功能优化 1. **Frugal ARM 性能优化**:Frugal 支持了基于反射的高性能编解码,升级到 Frugal v0.2.0 即可 2. **Kitex Tool 代码生成提速**:提供了 `-rapid` 参数,可以无需安装 Thriftgo ,且速度略有提高。下个版本之后将作为默认行为。 +3. **多 Service 多 Handler 生成**:从该版本开始,Kitex Tool 支持为每个 service 生成 handler 并统一注册到 server,详见 [多 Service 多 Handler 生成](/zh/docs/kitex/tutorials/advanced-feature/multi_service/multi_handler/) +4. **Streaming JSON 泛化[试用阶段]**:JSON 泛化调用支持了 streaming 流式接口(仅限 client),目前正在持续优化中,并未正式发布,有兴趣可以试用,详见 [Generic Streaming](/zh/docs/kitex/tutorials/advanced-feature/generic-call/generic_streaming/) ### 其他 1. 支持版本 Go 1.18~1.23,最低支持变为 Go 1.18,如果你的 Go 版本过低,编译时会有提示:`note: module requires Go 1.18`