Skip to content

Commit 81c7b0f

Browse files
committed
chore: bump version to 4.22.0
1 parent 1879e59 commit 81c7b0f

File tree

4 files changed

+40
-3
lines changed

4 files changed

+40
-3
lines changed

astrbot/cli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "4.21.0"
1+
__version__ = "4.22.0"

astrbot/core/config/default.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from astrbot.core.utils.astrbot_path import get_astrbot_data_path
77

8-
VERSION = "4.21.0"
8+
VERSION = "4.22.0"
99
DB_PATH = os.path.join(get_astrbot_data_path(), "data_v4.db")
1010
PERSONAL_WECHAT_CONFIG_METADATA = {
1111
"weixin_oc_base_url": {

changelogs/v4.22.0.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
## What's Changed
2+
3+
### 新增
4+
5+
- 新增**微信个人号**接入能力(微信官方提供)。([#6777](https://github.com/AstrBotDevs/AstrBot/pull/6777)
6+
- 新增图片压缩能力,支持图片尺寸、JPEG 质量限制。([#6794](https://github.com/AstrBotDevs/AstrBot/pull/6794)
7+
- 新增 WebUI 已安装插件置顶与拖拽重排能力。([#6776](https://github.com/AstrBotDevs/AstrBot/pull/6776)
8+
9+
### 优化
10+
11+
- 知识库为空时自动跳过检索,避免无效搜索调用。([#6750](https://github.com/AstrBotDevs/AstrBot/pull/6750)
12+
- 修复 `frontmatter` 转义换行符保留行为并更新相关测试与 CI 工作流(含文档与配置同步)。([#6783](https://github.com/AstrBotDevs/AstrBot/pull/6783)
13+
14+
### 修复
15+
16+
- Telegram 适配器改为导入 `Forbidden`,替代已弃用的 `Unauthorized`(兼容性修正)。([#6769](https://github.com/AstrBotDevs/AstrBot/pull/6769)
17+
- 处理 OpenAI Provider 中 `token usage metrics``None` 时的异常场景。([#6788](https://github.com/AstrBotDevs/AstrBot/pull/6788)
18+
- 保留全部 `CallToolResult``content` 项,避免工具调用上下文内容丢失。([#6149](https://github.com/AstrBotDevs/AstrBot/pull/6149)
19+
20+
## What's Changed (EN)
21+
22+
### New Features
23+
24+
- Added WeChat personal account support, including QR-code driven setup, message flow refactor, and media handling improvements.([#6777](https://github.com/AstrBotDevs/AstrBot/pull/6777)
25+
- Added pinning and drag-sorting for installed WebUI plugins.([#6776](https://github.com/AstrBotDevs/AstrBot/pull/6776)
26+
- Added image compression with max-size handling and temporary-file lifecycle management for improved image efficiency.([#6794](https://github.com/AstrBotDevs/AstrBot/pull/6794)
27+
28+
### Improvements
29+
30+
- Skipped search execution when the entire knowledge base is empty.([#6750](https://github.com/AstrBotDevs/AstrBot/pull/6750)
31+
- Preserved escaped newlines in `frontmatter`, with related test and CI workflow updates.([#6783](https://github.com/AstrBotDevs/AstrBot/pull/6783)
32+
33+
### Bug Fixes
34+
35+
- Replaced deprecated Telegram adapter import of `Unauthorized` with `Forbidden`.([#6769](https://github.com/AstrBotDevs/AstrBot/pull/6769)
36+
- Handled `None` values in OpenAI provider `token usage metrics`.([#6788](https://github.com/AstrBotDevs/AstrBot/pull/6788)
37+
- Kept all `CallToolResult.content` items to prevent losing tool-call context.([#6149](https://github.com/AstrBotDevs/AstrBot/pull/6149)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "AstrBot"
3-
version = "4.21.0"
3+
version = "4.22.0"
44
description = "Easy-to-use multi-platform LLM chatbot and development framework"
55
readme = "README.md"
66
requires-python = ">=3.12"

0 commit comments

Comments
 (0)