Skip to content

1.4.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 06:56
· 9 commits to main since this release

Highlights

  • Ignore rules now apply to the remote side. A path you ignore is no longer deleted from the repository, and files excluded by the built-in .obsidian/ rule are no longer downloaded over local ones. Removing a pattern starts a fresh comparison instead of reusing a stale base, so differences are reported as conflicts rather than silently overwritten.
  • Recursive ignore patterns match correctly. private/**/*.md now matches private/note.md. ** matches any number of folders, including none.
  • Changing the target repository no longer reuses the old sync state. The previous behaviour could move your local notes to the trash when the repository, GitHub user or API URL changed. The switch now reports differences as conflicts and deletes nothing.
  • A note edited while a sync is running is no longer overwritten. The edit is kept and counted as an unresolved conflict for the next sync to resolve.

Every fix ships with a regression test that fails without it (npm test, 129 tests, no Obsidian or token needed).


What's Changed

  • fix(utils): translate ** in ignore patterns correctly by @Morgulisan in #27
  • fix(sync): apply ignore rules to remote files and sync state by @Morgulisan in #28
  • fix(sync): bind the sync state to the repository it was recorded for by @Morgulisan in #29
  • fix(sync): re-check the local file right before overwriting or deleting it by @Morgulisan in #30

New Contributors

Full Changelog: 1.3.0...1.4.0