Skip to content

Commit 816ee31

Browse files
committed
🚀 release: bump version to 0.13.2
- Fixed critical WebSocket event deserialization error in message_read_v1 - Added echo server functionality to websocket_client example - Updated data structures to match Feishu API response format
1 parent c1ff6cb commit 816ee31

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.13.2] - 2025-09-06
11+
12+
### Fixed - 🐛 WebSocket 消息已读事件修复
13+
14+
#### 修复消息已读事件数据结构不匹配问题
15+
- **✅ message_read_v1 事件结构修正** - 修复关键的 WebSocket 事件反序列化错误
16+
- 修正 `P2ImMessageMessageReadV1Data` 数据结构定义与飞书 API 实际格式不符
17+
-`sender``message` 字段替换为正确的 `reader``message_id_list` 字段
18+
- 新增 `EventReader` 结构体,包含 `read_time`, `reader_id`, `tenant_key` 字段
19+
- 彻底解决了 "missing field 'sender'" 反序列化错误
20+
21+
#### WebSocket Echo Server 示例完善
22+
- **🤖 完整 Echo Server 实现** - 将 `websocket_client.rs` 转换为功能完整的 Echo 服务器
23+
- 实现消息接收和自动回显功能,回复格式为 "Echo: [原消息内容]"
24+
- 支持消息已读事件监听和显示
25+
- 增强错误处理和详细的调试日志输出
26+
- 自动设置 debug 日志级别以便问题诊断
27+
- **📊 改进事件信息显示** - 优化控制台输出格式
28+
- 消息接收事件:显示消息ID、发送者、内容等详细信息
29+
- 消息已读事件:显示阅读者、阅读时间、已读消息列表等信息
30+
- 添加使用提示和功能说明
31+
1032
## [0.13.1] - 2025-08-12
1133

1234
### Fixed - 🐛 WebSocket 关键修复

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "open-lark"
3-
version = "0.13.1"
3+
version = "0.13.2"
44
edition = "2021"
55
authors = ["ZoOL <zhooul@gmail.com>"]
66
readme = "README.md"

0 commit comments

Comments
 (0)