Skip to content

v1.5.0

Choose a tag to compare

@luffysolution-svg luffysolution-svg released this 26 Aug 16:53
· 10 commits to main since this release

v1.5.0 — Notion 增量哈希缓存 + 实测问题修复

新增/优化

  • Notion 增量秒级跳过:\sync_vault_to_notion.cjs\ 增加内容哈希缓存(~/.config/obsidian-sync/notion-cache.json\),页面存在且本地 md 未变化 → 整页跳过(SKIP),仅改动页覆盖更新(UPD);未变化重跑从 10-30 分钟降到数秒
  • --force\ 参数:忽略增量缓存强制全量重写;首次运行默认信任远端现状建缓存
  • 删除块并发 3(原逐块串行),配合 Notion 3 req/s 限流退避

实测问题文档化

  • 飞书 \docs +update\ 多行内容必须用 --content @file\(内联会被拆成位置参数报错)
  • 飞书 \drive +upload\ >20MB 报 \quota_exceeded\(1061043),37MB mp4 实测失败
  • Notion \uploadFile\ 仅 \single_part\ ≤20MB;嵌套在无 md 的 assets/ 子目录附件被跳过
  • Notion 直连偶发 \getaddrinfo ENOTFOUND api.notion.com\,建议统一 --proxy\
  • lark-cli 进度信息走 stderr,JSON 解析前用 \2>\

文件

  • skills/obsidian-sync/scripts/sync_vault_to_notion.cjs(优化)
  • SKILL.md / references/notion-sync.md / lark-sync.md / env-and-auth.md / README.md(同步更新)

Full Changelog: v1.4.1...v1.5.0