Files
Auto_Bangumi/docs/config/experimental.md
Claude 8ccacb6060 refactor(4.0-P0): 清理死代码与 3.x 兼容层
- 4.0 只支持从 3.3.x 升级:version_check 改为完整 semver 比较,数据低于 3.3
  或残留 2.x data.json 时抛 UnsupportedUpgradeError 中止启动;删除 3.0→3.2
  跨版本迁移、data.json 迁移和 Database.migrate()
- 删除 3.2 兼容的 GET 控制端点与 GET /auth/refresh_token
- 删除旧 JWT 与内存会话实现,密码哈希移到 security/password.py
- 删除 experimental_openai 配置节、通知单 provider 旧字段、3.1 配置字段改名迁移
  与 DEFAULT_SETTINGS;normal 重命名方式迁移为 none
- 删除约 70 处无调用方的函数、方法、模型及未使用的 qB API 封装
- CI 新增 vulture 死代码检查(配置见 pyproject.toml 与 vulture_whitelist.py)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EoBUPFw7Ty1epuPESdELs1
2026-10-08 04:19:53 +00:00

14 lines
520 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 旧版实验性功能
::: warning
4.0 已移除旧版 `experimental_openai` 配置节,请改用 [LLM 解析器](/config/llm)。
:::
3.3 起,AB 每次启动都会把 `experimental_openai` 自动迁移到 `llm` 配置节,并写回配置文件。4.0 只支持从 3.3.x 升级,届时迁移早已完成,所以 4.0 不再读取这个旧配置节,保存配置时也会把它从文件中删除。
相关配置:
- [LLM 解析器](/config/llm)
- [代理设置](/config/proxy)
- [网络设置](/config/network)