From ebae70c514a0c2e29c42e796ba1f3cb1040c7f68 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Thu, 15 Jan 2026 22:20:52 +0800 Subject: [PATCH] chore: bump version to 4.12.1 --- astrbot/cli/__init__.py | 2 +- astrbot/core/config/default.py | 2 +- changelogs/v4.12.1.md | 23 +++++++++++++++++++++++ pyproject.toml | 2 +- 4 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 changelogs/v4.12.1.md diff --git a/astrbot/cli/__init__.py b/astrbot/cli/__init__.py index ade1e2b4c..33111828c 100644 --- a/astrbot/cli/__init__.py +++ b/astrbot/cli/__init__.py @@ -1 +1 @@ -__version__ = "4.12.0" +__version__ = "4.12.1" diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index b8544ad93..510b162a7 100644 --- a/astrbot/core/config/default.py +++ b/astrbot/core/config/default.py @@ -5,7 +5,7 @@ from typing import Any, TypedDict from astrbot.core.utils.astrbot_path import get_astrbot_data_path -VERSION = "4.12.0" +VERSION = "4.12.1" DB_PATH = os.path.join(get_astrbot_data_path(), "data_v4.db") WEBHOOK_SUPPORTED_PLATFORMS = [ diff --git a/changelogs/v4.12.1.md b/changelogs/v4.12.1.md new file mode 100644 index 000000000..8bf5925a1 --- /dev/null +++ b/changelogs/v4.12.1.md @@ -0,0 +1,23 @@ +## What's Changed + +hotfix of v4.12.0 + +fix: 修复会话隔离功能失效的问题。 + +### 新增 + +- AstrBot 代理沙箱环境(改进的代码解释器) ([#4449](https://github.com/AstrBotDevs/AstrBot/issues/4449)),详见[文档](https://docs.astrbot.app/use/astrbot-agent-sandbox.html) +- ChatUI 支持项目管理 ([#4477](https://github.com/AstrBotDevs/AstrBot/issues/4477)) +- 自定义规则支持批量处理。 + +### 修复 + +- 发送 OpenAI 风格的 image_url 导致 Anthropic 返回 400 无效标签错误 ([#4444](https://github.com/AstrBotDevs/AstrBot/issues/4444)) +- ChatUI 标题显示问题 ([#4486](https://github.com/AstrBotDevs/AstrBot/issues/4486)) +- 确保 ChatUI 消息流顺序正确 ([#4487](https://github.com/AstrBotDevs/AstrBot/issues/4487)) +- 从 Telegram 和 Discord 平台命令注册中排除已禁用的命令 ([#4485](https://github.com/AstrBotDevs/AstrBot/issues/4485)) + +### 优化 + +- 优化工具调用相关的提示词 +- 标准化 Context 类文档格式 ([#4436](https://github.com/AstrBotDevs/AstrBot/issues/4436)) diff --git a/pyproject.toml b/pyproject.toml index c41393668..1fa8e056c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "AstrBot" -version = "4.12.0" +version = "4.12.1" description = "Easy-to-use multi-platform LLM chatbot and development framework" readme = "README.md" requires-python = ">=3.10"