chore: bump version to 4.22.1

This commit is contained in:
Soulter
2026-03-26 00:03:23 +08:00
parent c55f2546e2
commit b2718b07b6
4 changed files with 52 additions and 3 deletions

View File

@@ -1 +1 @@
__version__ = "4.22.0"
__version__ = "4.22.1"

View File

@@ -5,7 +5,7 @@ from typing import Any, TypedDict
from astrbot.core.utils.astrbot_path import get_astrbot_data_path
VERSION = "4.22.0"
VERSION = "4.22.1"
DB_PATH = os.path.join(get_astrbot_data_path(), "data_v4.db")
PERSONAL_WECHAT_CONFIG_METADATA = {
"weixin_oc_base_url": {

49
changelogs/v4.22.1.md Normal file
View File

@@ -0,0 +1,49 @@
## What's Changed
### 新增
- 增强 Skills 安装流程,不再限制上传的压缩包顶级必须是一个目录。并支持中文技能名称显示。([#6952](https://github.com/AstrBotDevs/AstrBot/pull/6952)
- OpenAI Embedding 模型配置支持自动补齐 `/v1` 基础路径。([#6863](https://github.com/AstrBotDevs/AstrBot/pull/6863)
-`/api/file` 新增 GET 端点并支持多种请求方式。([#6874](https://github.com/AstrBotDevs/AstrBot/pull/6874)
- WebUI 设置页新增日志与缓存清理能力。([#6822](https://github.com/AstrBotDevs/AstrBot/pull/6822)
- Lark 平台新增可折叠 Thinking 面板能力与消息处理优化。([#6831](https://github.com/AstrBotDevs/AstrBot/pull/6831)
### 修复
- 修复 QQ 官方机器人中,在 Cron Job 或者主动发送消息时的 `msg_id` 相关负载处理问题。([#6604](https://github.com/AstrBotDevs/AstrBot/pull/6604)
- 修复 个人微信 在轮询超时后停止轮询的问题。([#6915](https://github.com/AstrBotDevs/AstrBot/pull/6915)
- 修复 硅基流动 提供商无法正确使用工具调用能力的问题。([#6829](https://github.com/AstrBotDevs/AstrBot/pull/6829)
- 修复部分提供商工具调用流式增量返回缺少 index 导致的异常。([#6661](https://github.com/AstrBotDevs/AstrBot/pull/6661)
- 修复 WebUI 中 `ObjectEditor``updateKey` 错误索引导致的“键已存在”误判。([#6825](https://github.com/AstrBotDevs/AstrBot/pull/6825)
- 修复 UI 图标集合及测试一致性导致的展示异常。([#6894](https://github.com/AstrBotDevs/AstrBot/pull/6894)、[#6892](https://github.com/AstrBotDevs/AstrBot/pull/6892)
- 修复 T2I 配置间未同步生效模板的问题。([#6824](https://github.com/AstrBotDevs/AstrBot/pull/6824)
- 修复 MIMO TTS 样式参数以对齐官方文档约定。([#6814](https://github.com/AstrBotDevs/AstrBot/pull/6814)
## What's Changed (EN)
### New Features
- Enhanced skill installation to support multiple top-level folders, duplicate handling, and Chinese skill names.[#6952](https://github.com/AstrBotDevs/AstrBot/pull/6952)
- Automatically append `/v1` to `embedding_api_base` for OpenAI embedding compatibility.[#6863](https://github.com/AstrBotDevs/AstrBot/pull/6863)
- Added plugin author display and pinned plugin card support in WebUI.[#6875](https://github.com/AstrBotDevs/AstrBot/pull/6875)
- Added GET endpoint for `/api/file` and support for multiple HTTP methods.[#6874](https://github.com/AstrBotDevs/AstrBot/pull/6874)
- Added log and cache cleanup in Dashboard settings.[#6822](https://github.com/AstrBotDevs/AstrBot/pull/6822)
- Added collapsible reasoning panel and message handling improvements for Lark.[#6831](https://github.com/AstrBotDevs/AstrBot/pull/6831)
### Improvements
- Validate `config_path` before existence checks to avoid false negatives.[#6722](https://github.com/AstrBotDevs/AstrBot/pull/6722)
- Improved Provider batch reset behavior and "follow" configuration handling in WebUI.[#6825](https://github.com/AstrBotDevs/AstrBot/pull/6825)
- Updated OpenAI-related guidance in i18n docs for clearer compatibility hints.[adc252a3](https://github.com/AstrBotDevs/AstrBot/commit/adc252a3a2f9f6a4b3fcf6f7d5f4c7d5b9d9a1))
### Bug Fixes
- Fixed missing index field in streaming `tool_call` deltas.[#6661](https://github.com/AstrBotDevs/AstrBot/pull/6661)
- Fixed `msg_id` payload handling for QQ API.[#6604](https://github.com/AstrBotDevs/AstrBot/pull/6604)
- Kept Weixin OC polling active after inbound timeout.[#6915](https://github.com/AstrBotDevs/AstrBot/pull/6915)
- Fixed `updateKey` index bug in WebUI `ObjectEditor` that caused false “key exists” errors.[#6825](https://github.com/AstrBotDevs/AstrBot/pull/6825)
- Fixed icon regressions in UI and related icon scan tests.[#6894](https://github.com/AstrBotDevs/AstrBot/pull/6894)、[#6892](https://github.com/AstrBotDevs/AstrBot/pull/6892)
- Fixed SiliconFlow provider tools compatibility issue.[#6829](https://github.com/AstrBotDevs/AstrBot/pull/6829)
- Synchronized active T2I template across all configs.[#6824](https://github.com/AstrBotDevs/AstrBot/pull/6824)
- Aligned MIMO TTS payload style with official docs.[#6814](https://github.com/AstrBotDevs/AstrBot/pull/6814)
- Removed privacy-sensitive data left in tests.[#6803](https://github.com/AstrBotDevs/AstrBot/pull/6803)

View File

@@ -1,6 +1,6 @@
[project]
name = "AstrBot"
version = "4.22.0"
version = "4.22.1"
description = "Easy-to-use multi-platform LLM chatbot and development framework"
readme = "README.md"
requires-python = ">=3.12"