Skip to content

v2.4.13 — Folder Sync Rewrite

Choose a tag to compare

@github-actions github-actions released this 13 Nov 12:12
· 124 commits to main since this release
v2.4.13
bf03513

Cloud-folder sync is rewritten, the same way WebDAV sync was in 2.4.12. It no longer copies every file back and forth, deleted notes stay deleted, and attachments are synced.

⚠️ If you use folder sync

  • Update Noteriv on every device that shares the folder. A device still on 2.4.12 or earlier copies a missing file back into the folder, so a deleted note comes back until every device is updated.
  • Use a folder that holds nothing but this vault, such as ~/Dropbox/Noteriv. Two-way sync brings every note, image and PDF in the target folder into the vault.
  • Two-way sync now carries deletions. The removed copy is not erased: it is moved to the vault's trash, or to .noteriv/trash inside the target folder. Your cloud client uploads that folder like any other, so empty it from time to time.
  • Images, PDFs, canvases and drawings are now copied to the target folder, so they take up cloud storage.
  • A vault that uses folder sync without a Git remote now syncs on the auto-sync timer and on save. Set the interval to Off if you prefer to sync by hand.
  • The first sync after updating compares every file on both sides once. Files that differ are kept as two copies, and nothing is deleted on that first sync.
  • A target path written with ~/ now means your home folder. Earlier versions did not expand it, so check the setting if yours starts with ~/.

⚠️ If you use WebDAV sync

  • The same rule applies, and the 2.4.12 notes did not say so: a device still on 2.4.11 or earlier uploads a missing file again, so a deleted note comes back until every device is updated.

📁 Folder sync

  • A sync with nothing changed writes no files. Before, on Linux every run copied each file back the other way.
  • A deleted note stays deleted in two-way mode. Before, it came back on the next sync.
  • If a note was changed on both sides, both versions are kept. In two-way mode the newer one keeps its name and the other is saved next to it as Note (conflict 2026-11-13 14-30-05).md.
  • Push only and pull only copy one way and never delete anything. A copy that goes missing on the receiving side is made again.
  • Changing the direction starts again like a first sync and deletes nothing.
  • A file that a cloud client only touched, with a new time but the same content, is not copied again.
  • If one file fails, the rest still sync and the status bar reports the problem.
  • The settings now say what each direction does.
  • The sync tests run on Linux, Windows and macOS, with plain folders standing in for the cloud folder. The cloud clients themselves (Dropbox, Google Drive, OneDrive, iCloud) were not part of the tests.

🛡️ Safeguards

  • Sync refuses a target folder inside the vault, or a vault inside the target folder.
  • Nothing is deleted when the vault or the target folder looks empty. The notes are copied back instead.
  • A target folder that goes missing after a first sync is not created again. The sync stops with a message, since its drive is probably not connected.
  • If a folder cannot be read, the sync stops instead of treating its notes as deleted.
  • If a note is edited on one side and deleted on the other, the edit wins.
  • A note that iCloud has swapped for a placeholder (.Note.md.icloud) is skipped, not treated as deleted. This was tested with a simulated placeholder, not against iCloud itself.

📎 Other

  • Docs: the folder sync page is rewritten, and the sync overview and FAQ no longer say that the newest file wins.
  • Bumped the desktop app version to 2.4.13 across package.json, Cargo.toml, tauri.conf.json, and their lockfiles.