From 776c9ebfdd1a86f11e1a1e9bfc316d4f03a8f30b Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Sat, 17 Jan 2026 18:07:54 +0800 Subject: [PATCH] chore: bump version to 4.12.2 --- astrbot/cli/__init__.py | 2 +- astrbot/core/config/default.py | 2 +- changelogs/v4.12.2.md | 6 ++++++ pyproject.toml | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 changelogs/v4.12.2.md diff --git a/astrbot/cli/__init__.py b/astrbot/cli/__init__.py index 33111828c..b92125204 100644 --- a/astrbot/cli/__init__.py +++ b/astrbot/cli/__init__.py @@ -1 +1 @@ -__version__ = "4.12.1" +__version__ = "4.12.2" diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index 510b162a7..cfd177243 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.1" +VERSION = "4.12.2" DB_PATH = os.path.join(get_astrbot_data_path(), "data_v4.db") WEBHOOK_SUPPORTED_PLATFORMS = [ diff --git a/changelogs/v4.12.2.md b/changelogs/v4.12.2.md new file mode 100644 index 000000000..c65215461 --- /dev/null +++ b/changelogs/v4.12.2.md @@ -0,0 +1,6 @@ +## What's Changed + +hotfix of v4.12.0 + +fix: 修复会话隔离功能失效的问题。 +fix: 只跳过 AstrBot 预设的位于开头的 System Message,防止一些非预期行为。 diff --git a/pyproject.toml b/pyproject.toml index 1fa8e056c..172ddf5b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "AstrBot" -version = "4.12.1" +version = "4.12.2" description = "Easy-to-use multi-platform LLM chatbot and development framework" readme = "README.md" requires-python = ">=3.10"