From af70151ff82fbd035f8a93d912699400e15ea5e4 Mon Sep 17 00:00:00 2001
From: Soulter <905617992@qq.com>
Date: Mon, 8 Jun 2026 01:23:06 +0800
Subject: [PATCH] chore: bump version to 4.25.5
---
astrbot/core/config/default.py | 2 +-
changelogs/v4.25.5.md | 30 ++++++++++++++++++++++++++++++
pyproject.toml | 2 +-
3 files changed, 32 insertions(+), 2 deletions(-)
create mode 100644 changelogs/v4.25.5.md
diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py
index 20ecb07e3..b60c7f230 100644
--- a/astrbot/core/config/default.py
+++ b/astrbot/core/config/default.py
@@ -5,7 +5,7 @@ import os
from astrbot.core.computer.booters.cua_defaults import CUA_DEFAULT_CONFIG
from astrbot.core.utils.astrbot_path import get_astrbot_data_path
-VERSION = "4.25.4"
+VERSION = "4.25.5"
DB_PATH = os.path.join(get_astrbot_data_path(), "data_v4.db")
PERSONAL_WECHAT_CONFIG_METADATA = {
"weixin_oc_base_url": {
diff --git a/changelogs/v4.25.5.md b/changelogs/v4.25.5.md
new file mode 100644
index 000000000..4fb624d6c
--- /dev/null
+++ b/changelogs/v4.25.5.md
@@ -0,0 +1,30 @@
+- [更新日志(简体中文)](#chinese)
+- [Changelog(English)](#english)
+
+
+
+## What's Changed
+
+### 修复
+
+- 收紧消息工具对本地文件路径的处理边界,减少非预期路径被用于消息附件的情况。([#8660](https://github.com/AstrBotDevs/AstrBot/pull/8660))
+- 修复 Star Context 类型定义,恢复相关 SDK 类型提示与运行兼容性。([#8659](https://github.com/AstrBotDevs/AstrBot/pull/8659))
+- 修复 QQ 官方 Webhook 模式无法正常重启的问题。
+
+### 优化
+
+- 改进 Anthropic 在内容过滤响应中缺失 `usage` 字段时的处理,避免相关请求结果解析异常。([#8647](https://github.com/AstrBotDevs/AstrBot/pull/8647))
+
+
+
+## What's Changed (EN)
+
+### Bug Fixes
+
+- Tightened local file path handling in the message tool to avoid unintended attachment path usage. ([#8660](https://github.com/AstrBotDevs/AstrBot/pull/8660))
+- Fixed Star Context typing to restore related SDK type hints and runtime compatibility. ([#8659](https://github.com/AstrBotDevs/AstrBot/pull/8659))
+- Fixed QQ Official Webhook mode not restarting correctly.
+
+### Improvements
+
+- Improved Anthropic response parsing when content-filtered responses omit the `usage` field. ([#8647](https://github.com/AstrBotDevs/AstrBot/pull/8647))
diff --git a/pyproject.toml b/pyproject.toml
index 46b532d2f..6326aeaa2 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "AstrBot"
-version = "4.25.4"
+version = "4.25.5"
description = "Easy-to-use multi-platform LLM chatbot and development framework"
readme = "README.md"
license = { text = "AGPL-3.0-or-later" }