Skip to content

Bookdock v0.5.0

Choose a tag to compare

@github-actions github-actions released this 10 Oct 18:22
· 56 commits to main since this release

[0.5.0] - 2026-10-11

Highlights

  • Connect your NAS or object storage: browse and batch-import EPUB/TXT from WebDAV servers and S3-compatible services.
  • Keep book files remotely with a configurable local cache, background archiving, and controls to migrate existing books or bring them back to local storage.
  • AI searches chapters on demand within your reading scope, without a separate indexing step or persistent copies of chapter text.

Added

  • Save and test multiple WebDAV or S3-compatible connections in Settings, then browse remote files and batch-import EPUB/TXT from the upload dialog.
  • The instance owner can use a remote connection for book storage and set a local cache limit. New books are saved locally before background archiving; files no longer cached locally are fetched when needed, while covers stay local.
  • A storage dashboard shows storage usage and transfer progress, with cache clearing, migration of existing books with pause/resume, and restore-to-local controls. Connection and file-availability checks guard storage switches.

Changed

  • AI retrieval now searches chapters on demand and returns source citations within the selected reading scope and spoiler prevention bounds. Persistent chunk and search indexes are removed, along with the reader's manual index-building and cleanup controls.

Fixed

  • TXT chapter detection recognises more bracketed headings, Chinese volume/chapter forms, and special sections such as prefaces, finales, and afterwords. Body lines such as 正文完, 第一回合, and 第一部分 no longer create false chapters. Built-in hierarchy presets are updated while user edits are preserved.
  • Switching accounts restores cached reading settings immediately instead of briefly clearing font preferences. Reading preferences are also cached locally, and font lists are reused for five minutes.
  • In-app updates retry briefly when Windows temporarily locks newly extracted files during release promotion.

Upgrade notes

  • Back up the complete DATA_DIR before upgrading. Migrations 0042–0045 run automatically on startup and cannot be undone in place. To downgrade, restore the pre-upgrade data with the matching previous release.
  • Migrations 0042–0044 add external storage connections, storage tiers, and transfer tasks. When using remote storage, back up remote book files separately: a DATA_DIR backup alone does not include files stored only remotely.
  • Migration 0045 removes the old AI chunk and search indexes. SQLite can reuse the freed space, but the database file may not shrink automatically. An optional offline VACUUM; after a successful upgrade can reclaim that space.

中文

[0.5.0] - 2026-10-11

主要更新

  • 接入 NAS 与对象存储:从 WebDAV 服务器和 S3 兼容服务浏览、批量导入 EPUB/TXT。
  • 书籍文件可存放在远端,配合可设容量的本地缓存与后台归档,也能迁移已有书籍或还原到本地。
  • AI 按阅读范围即时检索章节,无需单独建立索引,也不再持久化保存章节原文切片。

新增

  • 在设置中保存、测试多个 WebDAV 或 S3 兼容连接,再从上传弹窗浏览远端文件、批量导入 EPUB/TXT。
  • 实例所有者可将书籍存储设为远端连接,并设置本地缓存容量。新书先保存在本地,再后台归档;未保留本地缓存的文件会在需要时取回,封面仍保存在本地。
  • 存储仪表盘展示空间占用与传输进度,支持清理缓存、暂停或恢复已有书籍的迁移,以及还原到本地。切换存储前会检查连接和文件是否可用。

变更

  • AI 改为按需检索章节,在所选阅读范围与防剧透边界内返回原文引用。移除持久化切片与检索索引,同时取消阅读器中手动建立、清理索引的操作。

修复

  • TXT 章节识别支持更多带括号标题、卷/部/话/集/篇写法,以及前言、大结局、感言等特殊章节;正文完、第一回合、第一部分等正文行不再被误切成章节。内置层级预设同步更新,保留用户自己的修改。
  • 切换账号时立即恢复缓存的阅读设置,避免字体偏好短暂重置。阅读偏好也在本机缓存,字体列表缓存五分钟。
  • 应用内更新在 Windows 暂时锁定新解压文件时进行短暂重试,避免版本切换因此失败。

升级说明

  • 升级前完整备份 DATA_DIR。迁移 0042–0045 随启动自动执行,不能原地撤销;降级需要一起恢复升级前的数据与对应旧版本。
  • 迁移 0042–0044 新增外部存储连接、文件存储分层与传输任务。使用远端存储时,请单独备份远端书籍文件:仅备份 DATA_DIR 不包含只存放在远端的文件。
  • 迁移 0045 移除旧 AI 切片与检索索引。SQLite 可复用释放的空间,但数据库文件不一定自动缩小;如需收回这部分磁盘空间,可在升级成功后停机执行 VACUUM;,这不是升级的必需步骤。