chore: bump version to 1.4.0 and add CHANGELOG

This commit is contained in:
sakuradairong
2026-05-17 19:31:36 +08:00
parent 825b166615
commit f41815f46e
3 changed files with 37 additions and 2 deletions

35
CHANGELOG.md Normal file
View File

@@ -0,0 +1,35 @@
# CHANGELOG
## 1.4.0 (2026-05-17)
### 新增
- 注册 `pubg_query` LLM function-calling 工具agent 模式下可直接调用官方 API 查询战绩,避免 Web 抓取
- 新增 `_pubg_lookup_tool` 方法供 LLM 工具调用
- 新增诊断日志插件加载状态、命令调用跟踪、API 请求进度
### 修复
- **命令注册 bug**:合并三个堆叠的 `@filter.command()` 装饰器为单指令 + alias修复 handler 因 AND 语义无法激活的问题
- **`asyncio.gather` 容错**`return_exceptions=True`,单场对局查询失败不再导致全部崩溃
- **请求超时**:移除 session 级 15s 共享超时,改为每请求独立 10s 超时
- **CJK 字体显示**
- 扫描本地 `fonts/` 目录加载自定义字体
- 新增 NotoSerifCJK、fc-match 指定字体族、fc-list 穷举等多级回退
- 加载字体时指定 `encoding="unic"`
- **仓库引用**:从失效的 `RainySY` 更新为 `sakuradairong`
### 变更
- 支持 `stadia` 平台
- 长玩家名在图片渲染时自动截断
## 1.3.0 (2026-05-17)
- 重构 PUBG 插件,添加玩家信息类,优化 API 请求和渲染逻辑
- 新增命令 "查ID" 和 "查询"
## 1.2.0 (2026-05-17)
- 添加图像渲染功能和文字回退
## 1.1.0
- 初始版本