Skip to content

Releases: PavelPeng7/omni-book-reader

2.0.1

Choose a tag to compare

@github-actions github-actions released this 20 Oct 14:46

2.0.1 — 书库初始化失败恢复

修复首次加载失败后反复弹出“书库未成功加载,暂停写入以保护原文件”、刷新无法恢复的问题。

  • 加载失败时保留原始错误,停止向存储提交默认状态,避免后续保存请求反复触发二次保护提示。
  • 首次加载失败后在工作区就绪时重试;也可运行“刷新书库”重新加载,无需再次重启。
  • 恢复成功后读取已保存的设置与书籍状态,并恢复阅读页;并发恢复请求共享一次加载。
  • 卸载失败初始化的插件时不再尝试保存默认状态;初始化原始异常会记录到控制台,方便继续诊断。

升级说明:2.0.0 用户可直接升级,书库格式不变,不需要重新导入或迁移书籍。更早版本仍遵循 2.0.0 的存储兼容说明:旧阅读数据不会自动迁移。请确保同一 Vault 只有一份有效的 omni-book-reader 插件清单,升级后重新加载插件或重启 Obsidian。

验证范围:lint、类型检查、133 项自动化测试、生产构建及发布资源校验通过;另行通过实际书库回读和 EPUB 解析检查。原生会话完整初始化重试已成功,修复后的原生冷启动和完整桌面/移动端验收仍待确认。


Fix repeated unloaded-library notices after failed initialization. Failed loads preserve their original error and block fallback saves. Initialization retries when the workspace becomes ready; manual library refresh can retry later. Successful recovery restores persisted settings and reader tabs. Concurrent recovery loads are shared, and failed initialization is not flushed on unload.

The managed-library format is unchanged from 2.0.0; no reimport or migration is required for existing managed books. Earlier legacy formats are still not migrated automatically. Reload the plugin after updating. Automated checks and real-library parsing pass; patched native cold-start and full desktop/mobile acceptance remain pending.

Full Changelog: 2.0.0...2.0.1

2.0.0

Choose a tag to compare

@github-actions github-actions released this 18 Oct 16:06

2.0.0 — 独立书库与文库刷新修复

这是不兼容旧存储格式的主要版本更新。升级前请备份 Vault 和旧插件数据。

  • 书籍、进度、书签、批注、封面和导出集中存放在 Vault 内可见的 My Reader/,每本书使用独立文件夹;可在设置中整体搬迁书库。
  • 从文库或文件菜单显式导入 EPUB。导入会移动原文件;同内容重复导入复用已有书籍,并保留重复来源。
  • 每书使用固定身份和相对资源路径,支持整书文件夹移动、改名和复制到另一 Vault 的书库;导出保留受管块外的手写内容。
  • 修复“我的文库”因重复刷新、无关文件事件或标签切换而反复重建封面的闪烁,保留无变化页面的搜索焦点和滚动位置。

升级说明:旧 data.json、进度、批注、导出和封面缓存不会自动读取、迁移或清理。重新导入 EPUB 后使用新格式;旧阅读状态不会自动延续。此前已使用新书库格式的数据可继续使用。删除书籍会确认并回收整个书籍文件夹,包括其中的手写文件。多设备并发修改不自动合并,请先完成同步再切换设备。

验证范围:自动化检查覆盖书库文件操作、故障保护、导出内容保留与文库刷新。原生 Obsidian 桌面/移动端的完整验收仍待完成,现有 EPUB fixture 测试仍跳过。


Major storage change: a configurable visible library now owns each book's EPUB, state, covers and exports. Imports move the source EPUB; identical content reuses an existing book. Unchanged bookshelf refreshes preserve loaded covers, search focus and scroll position.

Legacy state is neither loaded nor migrated automatically. Back up your Vault and old plugin data before upgrading, then import EPUBs into the new library. Existing data in the new managed-library format remains usable. Book deletion recycles the entire book folder, including handwritten files. Concurrent edits across devices are not merged. Automated checks pass; native desktop/mobile acceptance remains pending.

Full Changelog: 1.0.6...2.0.0

1.0.6

Choose a tag to compare

@github-actions github-actions released this 26 Sep 13:04

Full Changelog: 1.0.5...1.0.6

1.0.5

Choose a tag to compare

@github-actions github-actions released this 26 Sep 10:49

Full Changelog: 1.0.4...1.0.5

1.0.4

Choose a tag to compare

@github-actions github-actions released this 26 Sep 07:45

Full Changelog: 1.0.3...1.0.4

1.0.3

Choose a tag to compare

@github-actions github-actions released this 25 Sep 08:22

Changes

  • Added Prevent page turns while selecting to both the plugin settings and the reader settings dialog. It is enabled by default.
  • With protection enabled, selecting text or dragging selection handles stays on the current page on desktop and mobile, including at page edges.
  • Turning the option off restores Foliate's selection-driven page turns. Normal page navigation resumes after a selection is cleared.

Full changelog: 1.0.2...1.0.3

1.0.2

Choose a tag to compare

@github-actions github-actions released this 23 Sep 14:36

Full Changelog: 1.0.1...1.0.2

1.0.1

Choose a tag to compare

@github-actions github-actions released this 23 Sep 12:32

Full Changelog: 1.0.0...1.0.1

1.0.0

Choose a tag to compare

@github-actions github-actions released this 23 Sep 08:32

Full Changelog: 0.9.9...1.0.0

0.9.9

Choose a tag to compare

@PavelPeng7 PavelPeng7 released this 23 Sep 08:23

Fixes a mobile selection gesture being interpreted as a page turn when the native selection briefly collapses at touchend.