mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-16 01:40:15 +08:00
chore: bump version to 4.25.6
This commit is contained in:
@@ -1 +1 @@
|
||||
__version__ = "4.25.6-rc.3"
|
||||
__version__ = "4.25.6"
|
||||
|
||||
@@ -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": {
|
||||
|
||||
34
changelogs/v4.25.6.md
Normal file
34
changelogs/v4.25.6.md
Normal file
@@ -0,0 +1,34 @@
|
||||
- [更新日志(简体中文)](#chinese)
|
||||
- [Changelog(English)](#english)
|
||||
|
||||
<a id="chinese"></a>
|
||||
|
||||
## What's Changed
|
||||
|
||||
### 修复
|
||||
|
||||
- 将 WebUI 项目升级改为后台任务执行,避免关闭或刷新前端页面导致升级请求被取消。
|
||||
- 调整升级流程为先下载并校验 WebUI 与 Core 两个更新包,再统一应用,降低下载失败导致文件半更新的风险。
|
||||
- Core 更新包优先从 AstrBot Registry 下载,失败时回退到 GitHub zipball。
|
||||
- WebUI 在升级重启期间会轮询启动时间,并在重启完成后使用 cache-buster 进行全量刷新,减少旧前端缓存残留。
|
||||
|
||||
### 构建
|
||||
|
||||
- 调整 Hatch artifact 配置,确保 sdist 与 wheel 都包含打包后的 Dashboard 资源。
|
||||
- Release workflow 增加 Core 更新包构建与 Registry 上传。
|
||||
|
||||
<a id="english"></a>
|
||||
|
||||
## 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.
|
||||
@@ -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" }
|
||||
|
||||
Reference in New Issue
Block a user