Skip to content

Releases

1.5.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 08:05

Highlights

  • One unreadable file no longer stops the whole sync. A read failure during the final check before an overwrite or deletion used to abort the entire sync; the file is now left untouched, reported as unreadable, and everything else still syncs - matching how the scan phase already behaved.
  • A note skipped because it changed mid-sync is now visible. When an edit caused a pending deletion to be skipped, the sync recorded nothing; it now shows up as a skipped file with its own completion notice instead of the status bar silently saying "Synced".
  • Sync history survives switching repositories. The comparison base is now kept per repository (up to the five most recently used), so switching A -> B -> A no longer re-uploads files you deleted on A. A repository never synced before still starts clean and deletes nothing. Settings from 1.4.0 are migrated automatically.

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


What's Changed

  • Follow-ups from 1.4.0: un-ignore coverage, re-check reporting, per-repository state by @bhoopeshrk in #31

Full Changelog: 1.4.0...1.5.0

1.4.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 06:56

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

1.3.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 08:58

What's Changed

All eight open issues (#6 - #13) are fixed in this release. The root cause analysis and the fixes come from @Morgulisan's reports and pull requests #14 - #21; the four decisions those pull requests left to a maintainer are listed in PR #22.

Issue Fix
#6 The sync state is recorded only after the commit succeeds, so a failed upload or commit is retried instead of being overwritten by the older remote version.
#7 "Keep both" no longer overwrites the local copy when the rename fails: the download is skipped and the conflict stays unresolved.
#8 A file whose local state cannot be read is no longer deleted from the repository; the rest of the vault still syncs.
#9 Binary files are uploaded byte for byte instead of being decoded as UTF-8 and corrupted.
#10 The periodic sync stops when "Auto sync enabled" is turned off.
#11 The status bar and the sync log report what actually happened.
#12 HTTP errors are classified by status code, and rate limits are told apart from permission errors.
#13 .trash is matched as a whole path segment, so paths such as ideas.trash.md sync again.

User visible changes

  • Paths that merely contain .trash are synced again. Only an actual .trash folder stays excluded.
  • The local hash cache is rebuilt once because the hashing rules changed. Only files whose bytes really changed are uploaded again, which also repairs copies that were already corrupted on the remote. Files corrupted on every device still need a manual restore from an earlier commit.
  • The setting "Auto pull on startup" is renamed to "Auto sync on startup", because it runs a full bidirectional sync. The stored key is unchanged.
  • The status bar can show "Not checked" and "Partially synced"; the sync log distinguishes "Unresolved conflicts" and "Partial" from "Success".
  • A repository whose default branch is not main is no longer given a silently created main branch.

Credits

All eight issues in this release were reported by @Morgulisan, together with a fix for each one. Thank you.

Full Changelog: 1.2.5...1.3.0

1.2.5

Choose a tag to compare

@github-actions github-actions released this 09 Nov 11:08

Full Changelog: 1.2.4...1.2.5

1.2.4

Choose a tag to compare

@github-actions github-actions released this 27 Oct 07:51

Full Changelog: 1.2.3...1.2.4

1.2.3

Choose a tag to compare

@github-actions github-actions released this 26 Oct 07:47

Full Changelog: 1.2.2...1.2.3

1.2.1

Choose a tag to compare

@github-actions github-actions released this 26 Oct 06:32

What's Changed

New Contributors

Full Changelog: 1.2.0...1.2.1

1.2.0

Choose a tag to compare

@github-actions github-actions released this 22 Aug 14:59

Full Changelog: 1.1.5...1.2.0

1.1.5

Choose a tag to compare

@github-actions github-actions released this 22 Aug 14:49

Full Changelog: 1.1.4...1.1.5

1.1.4

Choose a tag to compare

@github-actions github-actions released this 22 Aug 09:00

Full Changelog: 1.1.3...1.1.4