What's Changed
hotfix of 4.17.0
- 修复:当开启了 “启用文件日志” 后,无法启动 AstrBot,报错
ValueError: Invalid unit value while parsing duration: 'files'。这是由于日志轮转设置中保留配置错误导致的,已通过根据备份数量正确设置保留参数进行修复。 - fix: When "Enable file logging" is turned on, AstrBot fails to start with error
ValueError: Invalid unit value while parsing duration: 'files'. This is due to an incorrect retention configuration in the log rotation setup, which has been fixed by properly setting the retention parameter based on backup count.
新增
- 新增 LINE 平台适配器与相关配置支持 (#5085)
- 新增备用回退聊天模型列表,当主模型报错时自动切换到备用模型 (#5109)
- 新增插件加载失败后的热重载支持,便于插件修复后快速恢复 (#5043)
- WebUI 新增 SSL 配置选项并同步更新相关日志行为 (#5117)
修复
- 修复 Dockerfile 中依赖导出流程,增加
uv lock步骤并移除不必要的--frozen参数,提升构建稳定性 (#5091, #5089) - 修复首次启动公告
FIRST_NOTICE.md的本地化路径解析问题,补充兼容路径处理 (#5083, #5082)
优化
- 日志系统由
colorlog切换为loguru,增强日志输出与展示能力 (#5115)
What's Changed (EN)
New Features
- Added LINE platform adapter support with related configuration options (#5085)
- Added fallback chat model chain support in tool loop runner, with corresponding config and improved provider selection display (#5109)
- Added hot reload support after plugin load failure for faster recovery during plugin development and maintenance (#5043)
- Added SSL configuration options for WebUI and updated related logging behavior (#5117)
Fixes
- Fixed Dockerfile dependency export flow by adding a
uv lockstep and removing unnecessary--frozenflag to improve build stability (#5091, #5089) - Fixed locale path resolution for
FIRST_NOTICE.mdand added compatible fallback handling (#5083, #5082)
Improvements
- Replaced
colorlogwithloguruto improve logging capabilities and console display (#5115)