From acbe83a2e2183deae295875cfb53a3e2abd33093 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Thu, 15 Jan 2026 19:47:17 +0800 Subject: [PATCH] chore: bump version to 4.12.0 --- astrbot/cli/__init__.py | 2 +- astrbot/core/config/default.py | 2 +- changelogs/v4.12.0.md | 18 ++++++++++++++++++ pyproject.toml | 2 +- 4 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 changelogs/v4.12.0.md diff --git a/astrbot/cli/__init__.py b/astrbot/cli/__init__.py index 0f60e612e..ade1e2b4c 100644 --- a/astrbot/cli/__init__.py +++ b/astrbot/cli/__init__.py @@ -1 +1 @@ -__version__ = "4.11.4" +__version__ = "4.12.0" diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index 1f2d067f8..b8544ad93 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.11.4" +VERSION = "4.12.0" DB_PATH = os.path.join(get_astrbot_data_path(), "data_v4.db") WEBHOOK_SUPPORTED_PLATFORMS = [ diff --git a/changelogs/v4.12.0.md b/changelogs/v4.12.0.md new file mode 100644 index 000000000..a56ede661 --- /dev/null +++ b/changelogs/v4.12.0.md @@ -0,0 +1,18 @@ +## What's Changed + +### 新增 + +- 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 923deab15..c41393668 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "AstrBot" -version = "4.11.4" +version = "4.12.0" description = "Easy-to-use multi-platform LLM chatbot and development framework" readme = "README.md" requires-python = ">=3.10"