From e7e0f84edfc19d0c3f32fea10bc7b3845c90eccf Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Fri, 20 Feb 2026 18:40:45 +0800 Subject: [PATCH] chore: bump vertion to 4.17.6 --- astrbot/cli/__init__.py | 2 +- astrbot/core/config/default.py | 2 +- changelogs/v4.17.6.md | 47 ++++++++++++++++++++++++++++++++++ pyproject.toml | 2 +- 4 files changed, 50 insertions(+), 3 deletions(-) create mode 100644 changelogs/v4.17.6.md diff --git a/astrbot/cli/__init__.py b/astrbot/cli/__init__.py index a839e11eb..2ef650d2c 100644 --- a/astrbot/cli/__init__.py +++ b/astrbot/cli/__init__.py @@ -1 +1 @@ -__version__ = "4.17.5" +__version__ = "4.17.6" diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index b50bcd8de..96772241c 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.17.5" +VERSION = "4.17.6" DB_PATH = os.path.join(get_astrbot_data_path(), "data_v4.db") WEBHOOK_SUPPORTED_PLATFORMS = [ diff --git a/changelogs/v4.17.6.md b/changelogs/v4.17.6.md new file mode 100644 index 000000000..1efbc6f77 --- /dev/null +++ b/changelogs/v4.17.6.md @@ -0,0 +1,47 @@ +## What's Changed + +### 新增 +- 新增 Python / Shell 执行工具的管理员权限校验,提升高风险操作安全性 ([#5214](https://github.com/AstrBotDevs/AstrBot/issues/5214))。 +- 新增插件 `astrbot-version` 与平台版本要求校验支持,增强插件兼容性管理能力 ([#5235](https://github.com/AstrBotDevs/AstrBot/issues/5235))。 +- 账号密码修改流程新增“确认新密码”校验,减少误输导致的配置问题 ([#5247](https://github.com/AstrBotDevs/AstrBot/issues/5247))。 + +### 修复 +- 改进微信公众号被动回复处理机制,引入缓冲与分片回复并优化超时行为,提升回复稳定性 ([#5224](https://github.com/AstrBotDevs/AstrBot/issues/5224))。 +- 修复仅发送 JSON 消息段时可能触发空消息回复报错的问题 ([#5208](https://github.com/AstrBotDevs/AstrBot/issues/5208))。 +- 修复会话重置/新建/删除时未终止活动事件导致的陈旧响应问题 ([#5225](https://github.com/AstrBotDevs/AstrBot/issues/5225))。 +- 修复 provider 在 `dict` 格式 `content` 场景下可能残留 JSON 内容的问题 ([#5250](https://github.com/AstrBotDevs/AstrBot/issues/5250))。 +- 修复 MCP 工具未完整暴露给主 Agent 的问题 ([#5252](https://github.com/AstrBotDevs/AstrBot/issues/5252))。 +- 修复工具 schema 属性中的 `additionalProperties` 配置问题 ([#5253](https://github.com/AstrBotDevs/AstrBot/issues/5253))。 +- 优化账号编辑校验错误提示,简化并统一用户名/密码为空场景返回信息。 + +### 优化 +- 优化 PersonaForm 布局与工具选择展示,并完善工具停用状态的本地化显示。 + +### 其他 +- 移除 Electron Desktop 流水线并迁移到 Tauri 仓库 ([#5226](https://github.com/AstrBotDevs/AstrBot/issues/5226))。 +- 更新相关仓库链接与功能请求模板文案,统一中英文表达。 +- 移除过时文档文件 `heihe.md`。 + +## What's Changed (EN) + +### New Features +- Added admin permission checks for Python/Shell execution tools to improve safety for high-risk operations ([#5214](https://github.com/AstrBotDevs/AstrBot/issues/5214)). +- Added support for `astrbot-version` and platform requirement checks for plugins to improve compatibility management ([#5235](https://github.com/AstrBotDevs/AstrBot/issues/5235)). +- Added password confirmation when changing account passwords to reduce misconfiguration caused by typos ([#5247](https://github.com/AstrBotDevs/AstrBot/issues/5247)). + +### Fixes +- Improved passive reply handling for WeChat Official Accounts with buffering/chunking and timeout behavior optimizations for better stability ([#5224](https://github.com/AstrBotDevs/AstrBot/issues/5224)). +- Fixed an empty-message reply error when only JSON message segments were sent ([#5208](https://github.com/AstrBotDevs/AstrBot/issues/5208)). +- Fixed stale responses by terminating active events on reset/new/delete operations ([#5225](https://github.com/AstrBotDevs/AstrBot/issues/5225)). +- Fixed residual JSON content issues in provider handling when `content` was in `dict` format ([#5250](https://github.com/AstrBotDevs/AstrBot/issues/5250)). +- Fixed incomplete exposure of MCP tools to the main agent ([#5252](https://github.com/AstrBotDevs/AstrBot/issues/5252)). +- Fixed `additionalProperties` handling in tool schema properties ([#5253](https://github.com/AstrBotDevs/AstrBot/issues/5253)). +- Simplified and unified account-edit validation error responses for empty username/password scenarios. + +### Improvements +- Enhanced PersonaForm layout and tool selection display, and improved localized labels for inactive tools. + +### Others +- Removed the Electron desktop pipeline and switched to the Tauri repository ([#5226](https://github.com/AstrBotDevs/AstrBot/issues/5226)). +- Updated related repository links and refined feature request template wording in both Chinese and English. +- Removed outdated documentation file `heihe.md`. diff --git a/pyproject.toml b/pyproject.toml index 412fa0c70..1dca2c652 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "AstrBot" -version = "4.17.5" +version = "4.17.6" description = "Easy-to-use multi-platform LLM chatbot and development framework" readme = "README.md" requires-python = ">=3.12"