From d21f21884483e99087184ef93dbfc979ca1af423 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Sun, 21 Jun 2026 17:36:35 +0800 Subject: [PATCH] chore: bump version to 4.25.6 --- astrbot/cli/__init__.py | 2 +- astrbot/core/config/default.py | 2 +- changelogs/v4.25.6.md | 34 ++++++++++++++++++++++++++++++++++ pyproject.toml | 2 +- 4 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 changelogs/v4.25.6.md diff --git a/astrbot/cli/__init__.py b/astrbot/cli/__init__.py index 0ec061cff..374da5127 100644 --- a/astrbot/cli/__init__.py +++ b/astrbot/cli/__init__.py @@ -1 +1 @@ -__version__ = "4.25.6-rc.3" +__version__ = "4.25.6" diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index 893954c15..8d5aa0e14 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.6-rc.3" +VERSION = "4.25.6" 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.6.md b/changelogs/v4.25.6.md new file mode 100644 index 000000000..d573fe868 --- /dev/null +++ b/changelogs/v4.25.6.md @@ -0,0 +1,34 @@ +- [更新日志(简体中文)](#chinese) +- [Changelog(English)](#english) + + + +## What's Changed + +### 修复 + +- 将 WebUI 项目升级改为后台任务执行,避免关闭或刷新前端页面导致升级请求被取消。 +- 调整升级流程为先下载并校验 WebUI 与 Core 两个更新包,再统一应用,降低下载失败导致文件半更新的风险。 +- Core 更新包优先从 AstrBot Registry 下载,失败时回退到 GitHub zipball。 +- WebUI 在升级重启期间会轮询启动时间,并在重启完成后使用 cache-buster 进行全量刷新,减少旧前端缓存残留。 + +### 构建 + +- 调整 Hatch artifact 配置,确保 sdist 与 wheel 都包含打包后的 Dashboard 资源。 +- Release workflow 增加 Core 更新包构建与 Registry 上传。 + + + +## What's Changed (EN) + +### Bug Fixes + +- Changed WebUI project updates to run as backend tasks, preventing updates from being cancelled when the frontend is closed or refreshed. +- Made the update flow download and verify both WebUI and Core packages before applying files, reducing partial-update risk after download failures. +- Prefer AstrBot Registry for Core update packages, with GitHub zipball fallback. +- During update restarts, WebUI now polls backend start time and performs a cache-busted full refresh after restart completion to avoid stale frontend assets. + +### Build + +- Updated Hatch artifact configuration so both sdist and wheel include bundled Dashboard assets. +- Added Core package build and Registry upload steps to the release workflow. diff --git a/pyproject.toml b/pyproject.toml index e35ec6b10..7e95ded9d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "AstrBot" -version = "4.25.6-rc.3" +version = "4.25.6" description = "Easy-to-use multi-platform LLM chatbot and development framework" readme = "README.md" license = { text = "AGPL-3.0-or-later" }