Repository navigation
chore(release): v3.1.5 更新记录与版本号 - #236
Merged
Merged
Conversation
本次为补丁版本,汇总 v3.1.4.1 之后的改动:
- docs/changelog.md 顶部新增 v3.1.5 (2026-10-14):
- 数据库:修复 idx_page_status_query 索引列名写错(status -> download_status),
该索引此前是无效的常量表达式索引,在较新 SQLite 上还会导致 VACUUM 压缩与
VACUUM INTO 快照备份失败;老库启动时自动修正,并补了回归测试
- UP主投稿源:已下载视频后续补上的分 P 现在能自动发现并补齐下载
- Docker / 部署:发布 v* 标签时额外推送同名版本号镜像标签,便于锁定版本与回滚
- 版本号同步为 3.1.5:Cargo.toml / Cargo.lock(bili_sync、bili_sync_entity、bili_sync_migration)
- docs/introduction.md「最新版本」同步为 v3.1.5
前端版本号取自 docs/changelog.md 顶部标题,web/src/lib/generated 为构建产物、未入库。
已验证 generate-app-meta.mjs 解析出 APP_VERSION=v3.1.5、CHANGELOG_VERSION=v3.1.5。
v3.1.4 段落里已有「UP主投稿源里已下载的视频,B 站后续补上的分P现在能自动发现并补齐下载」 (该提交虽在 tag 之后,但 changelog 条目已落在 v3.1.4 段落),v3.1.5 不再重复记录。 v3.1.5 保留两条: - 数据库:idx_page_status_query 索引列名写错(status -> download_status)的修复, 含 VACUUM 压缩 / VACUUM INTO 快照备份失败与老库启动自愈 - Docker / 部署:发布 v* 标签时额外推送同名版本号镜像标签
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
内容
v3.1.4.1 之后累计了 2 项改动,汇总成 v3.1.5 补丁版本。
更新记录(docs/changelog.md 顶部新增
## v3.1.5 (2026-10-14))数据库
idx_page_status_query索引列名写错:建索引时用了status,而page表真实列名是download_status。SQLite 的双引号兼容行为把不存在的"status"当成字符串字面量,索引退化成恒真的常量表达式索引——对状态查询完全无效,PRAGMA integrity_check也查不出来。在较新的 SQLite(及关闭 DQS 的构建)上解析该索引会直接报no such column: "status",导致设置页「数据库管理」的 VACUUM 压缩与快照备份(VACUUM INTO) 失败,自动 VACUUM 也会被跳过。现在按真实列名重建,老库启动时自动修正,并补了回归测试。Docker / 部署
v*标签时额外推送同名版本号镜像标签(如qq1582185982/bili-sync:v3.1.5),NAS 用户可锁定版本、直接回滚。版本号同步
Cargo.toml/Cargo.lock:bili_sync、bili_sync_entity、bili_sync_migration全部 3.1.4 → 3.1.5docs/introduction.md:「最新版本」→ v3.1.5验证
cargo metadata --no-deps:三个 crate 版本均为3.1.5web/scripts/generate-app-meta.mjs得到APP_VERSION=v3.1.5、CHANGELOG_VERSION=v3.1.5web/src/lib/generated是构建产物且已被 gitignore,无需入库备注
按仓库既有发布流程(参考 f98d2a9「chore(release): 版本号改为 3.1.4」),版本号与更新记录在同一个提交里同步。合并后打
v3.1.5标签即可发布;由于 #235 已合并,本次发布会同时得到latest与:v3.1.5两个镜像标签。