Skip to content

Releases: johnhom1024/owiki-sync

1.0.10

Choose a tag to compare

@github-actions github-actions released this 05 Sep 16:58

修复

  • 远程重命名清旧文件:服务端改名后,若新路径已经落盘,旧路径会进回收站,不再留下双份。
  • 对账不再救活旧路径:曾经同步过、本地没改过、服务端已无此路径的文件,对账时删除本地,而不是当新笔记传回服务器。离线新建和未推送的本地编辑仍会上传。

Full Changelog: 1.0.9...1.0.10

1.0.9

Choose a tag to compare

@github-actions github-actions released this 02 Sep 15:56

新增

  • 中英文双语:插件界面与运行日志跟随 Obsidian 界面语言自动切换(设置 → 外观 → 语言),无需任何配置。搜索别名双语并存。
  • README 中英文加入插件设置页截图。

Full Changelog: 1.0.8...1.0.9

1.0.8

Choose a tag to compare

@github-actions github-actions released this 02 Sep 05:16

变更

  • 最低 Obsidian 版本升到 1.13.0
  • 设置页迁到 1.13 声明式 API(getSettingDefinitions):设置搜索可命中本插件项
  • 危险操作按钮改用 setDestructive()(1.13 官方红色样式)

设置页交互与 1.0.7 一致,无同步协议变更。

1.0.7

Choose a tag to compare

@github-actions github-actions released this 02 Sep 04:45

修复

  • setDestructive() 回退为 setWarning():前者是 Obsidian 1.13.0 API,越过 minAppVersion 1.8.7 兼容线(审核 Error)

1.0.6

Choose a tag to compare

@github-actions github-actions released this 02 Sep 04:35

变更

  • manifest 描述补充 wiki 关键词:browse and edit them as a personal wiki from any web browser(206 字符)

无功能变更。

1.0.5

Choose a tag to compare

@github-actions github-actions released this 02 Sep 04:32

变更

  • manifest 描述重写:一句话覆盖多端同步、网页访问、AI agent 协作三大能力(187 字符,符合官方要求)

无功能变更。

1.0.4

Choose a tag to compare

@github-actions github-actions released this 02 Sep 04:20

工程

  • 包管理迁移到 pnpm 11:package.json 新增 packageManager 字段锁定 pnpm@11.10.0,lockfile 升级到 v9.0 格式(pnpm 10+ 兼容,修复社区审查器的依赖安装失败)
  • CI 版本来源单一化:pnpm/action-setup 自动读取 packageManager 字段

此版本与 1.0.3 功能完全一致,仅为修复审核环境兼容性。

1.0.3

Choose a tag to compare

@github-actions github-actions released this 02 Sep 03:33

修复

  • 移除未使用的 builtin-modules 依赖
  • 定时器全部改为 window.setTimeout 等形式(弹出窗口兼容)
  • 远程删除改走系统回收站(FileManager.trashFile),尊重 Obsidian 删除偏好设置,误删可找回
  • 配置目录不再硬编码 .obsidian,改用 Vault#configDir(支持自定义配置目录的用户)
  • 命令 ID 去除多余的插件前缀(Obsidian 会自动添加)
  • setWarning 迁移到 setDestructive(1.13.0 起)
  • 类型安全收紧与浮动 Promise 处理

工程

  • 发版改为 GitHub Actions 自动化:tag push 触发构建 + 构建来源签名(artifact attestation) + 自动创建 Release
  • Release 资产从此带密码学证明,可用 gh attestation verify 验证确实由本仓库 CI 构建

1.0.2

Choose a tag to compare

@johnhom1024 johnhom1024 released this 02 Sep 01:42

品牌统一:Owiki → OWiki(manifest 的 name 与 description),无功能变更。

v1.0.1

Choose a tag to compare

@johnhom1024 johnhom1024 released this 01 Sep 06:33

新增

单设备同步:静默观察态

配合 owiki 服务端「单设备同步」语义改版(授权与同步解耦):

  • 非选定设备不再被拒绝连接:hello 照常认证成功,设备照常出现在 Web 管理端列表中,随时可切换为同步设备
  • 新增观察态(observing):连接保持(心跳/授权/解绑正常),但文件变更不会上传,也收不到变更广播
  • Web 端切换选定设备后原地升降级,无需断线重连;恢复同步时自动补一次全量对账
  • 被静默时清空排队中的上传,避免恢复后误传静默期间的修改
  • 状态栏/状态卡/ribbon 全套观察态标识(紫色状态点 + 「非同步设备」文案),状态卡附恢复指引

升级要求:需配合 owiki 服务端 d4abfe4 及以上版本使用(老服务端无 syncEnabled 字段,按正常同步处理,行为不变)。