Skip to content

Commit 0308043

Browse files
authored
docs: release zh doc for Kitex v0.8.0 (cloudwego#874)
1 parent 659b333 commit 0308043

File tree

1 file changed

+71
-0
lines changed

1 file changed

+71
-0
lines changed
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
title: "Kitex Release v0.8.0"
3+
linkTitle: "Release v0.8.0"
4+
projects: ["Kitex"]
5+
date: 2023-11-30
6+
description: >
7+
---
8+
## **重要变更介绍**
9+
10+
### 功能
11+
**1. gRPC 协议支持多 Service**
12+
13+
Kitex gRPC 支持多 Service 的能力,详见 [Multiple Services](/docs/kitex/tutorials/advanced-feature/multi_service/).
14+
15+
**2. Acquire Kitex RPCInfo**
16+
17+
提供 kitexutil 方法以方便从 RPCInfo 获取 rpc 信息, 详见 [Acquire RPC information](/docs/kitex/tutorials/basic-feature/acquire_rpcinfo/).
18+
19+
### 优化
20+
**1. Map 泛化调用**
21+
22+
Map 泛化支持通过 SetBinaryWithByteSlice 设置对 binary 字段返回 []byte。
23+
24+
**2. RPCInfo 异步使用**
25+
26+
允许关闭 RPCInfo 复用,简化异步使用方式,详见 [Acquire RPC information](/docs/kitex/tutorials/basic-feature/acquire_rpcinfo/#12-asynchronous-usage).
27+
28+
29+
### 其它
30+
31+
升级 Frugal [v0.1.12](https://github.com/cloudwego/frugal/releases/tag/v0.1.12), 修复同时使用 frugal 和 sonic 时极小概率出现的并发问题。
32+
强烈建议同时升级 frugal 和 sonic 到较新的版本。
33+
```shell
34+
go get github.com/cloudwego/frugal@latest
35+
go get github.com/bytedance/sonic@latest
36+
```
37+
## **详细变更**
38+
39+
### Feature:
40+
[[#1051](https://github.com/cloudwego/kitex/pull/1051)] feat(grpc): support gRPC multi-service on a server
41+
[[#1189](https://github.com/cloudwego/kitex/pull/1189)] feat(rpcinfo): add kitexutil methods for the convenience to fetch rpc information from RPCInfo
42+
[[#1176](https://github.com/cloudwego/kitex/pull/1176)] feat(tool): add an environment variable to make it easier to debug kitex tool
43+
[[#1173](https://github.com/cloudwego/kitex/pull/1173)] feat(rpcinfo): allow disable rpcinfo reuse for async reference
44+
[[#1172](https://github.com/cloudwego/kitex/pull/1172)] feat(retry): client.WithSpecifiedResultRetry should have higher priority
45+
[[#1150](https://github.com/cloudwego/kitex/pull/1150)] feat(proxy): add an interface to customize proxy middleware to replace the default implementation
46+
[[#1159](https://github.com/cloudwego/kitex/pull/1159)] feat(generic): support returning []byte for binary fields in map generic
47+
[[#1153](https://github.com/cloudwego/kitex/pull/1153)] feat(retry): add Extra for retry.FailurePolicy for better extension
48+
### Optimize:
49+
[[#1187](https://github.com/cloudwego/kitex/pull/1187)] optimize(tool): add an option to keep resp for kitex tool
50+
[[#1183](https://github.com/cloudwego/kitex/pull/1183)] optimize(meshheader): retrieve rip from meshheader and write it to TransInfo
51+
[[#1178](https://github.com/cloudwego/kitex/pull/1178)] optimize(bizErr): recurse to obtain BizErr to avoid additional Error encapsulation in the middle, resulting in unwrap results that are not BizErr
52+
### Fix:
53+
[[#1126](https://github.com/cloudwego/kitex/pull/1126)] fix(generic): the issue of structs cache of generic call has dirty data under multiple services scene
54+
[[#1168](https://github.com/cloudwego/kitex/pull/1168)] fix(tool): remove the pointer to java.Object in generated file for [CodecDubbo](https://github.com/kitex-contrib/codec-dubbo)
55+
[[#1169](https://github.com/cloudwego/kitex/pull/1169)] fix(tool): empty struct generate wrong struct
56+
[[#1166](https://github.com/cloudwego/kitex/pull/1166)] fix(generic): issue of deep copy function generation when map key type is binary
57+
[[#1155](https://github.com/cloudwego/kitex/pull/1155)] fix(tool): add import package 'context' for gRPC client.go
58+
59+
### Tests:
60+
[[#1177](https://github.com/cloudwego/kitex/pull/1177)] test: avoid port conflict
61+
62+
### Chore:
63+
[[#1190](https://github.com/cloudwego/kitex/pull/1190)] chore: update thriftgo version to v0.3.3
64+
[[#1186](https://github.com/cloudwego/kitex/pull/1186)] chore: update readme with examples and new blogs
65+
[[#1185](https://github.com/cloudwego/kitex/pull/1185)] chore: add ci for windows
66+
[[#1182](https://github.com/cloudwego/kitex/pull/1182)] chore: update dynamicgo to v0.1.6
67+
[[#1152](https://github.com/cloudwego/kitex/pull/1152)] chore: update dynamicgo and sonic version
68+
[[#1164](https://github.com/cloudwego/kitex/pull/1164)] chore: update frugal to v0.1.12 and allow disable frugal by build tag
69+
[[#1161](https://github.com/cloudwego/kitex/pull/1161)] chore: update frugal to v0.1.10
70+
[[#1157](https://github.com/cloudwego/kitex/pull/1157)] chore: update frugal to v0.1.9
71+
[[#1151](https://github.com/cloudwego/kitex/pull/1151)] chore(test): upgrade mockey to latest to compatible with Go1.21

0 commit comments

Comments
 (0)