ZenNotes 2.92.0 can keep an offline copy of a self-hosted vault: turn it on for a saved remote and its notes open and save on your computer while the server is away, then reach the server when it answers. When a note changed both on your computer and on the server, edits to different lines merge on their own, and the same lines wait for you in the review ZenNotes Cloud uses.
Released from e3348a88 through #1114 on 2026-11-24.
Features
- Keep an offline copy of a remote vault (#1108, from a request by @dwnsdp). A remote vault used to live only on the server, so nothing opened while it was away. Now:
- Settings, Vault, Saved Remote Workspaces, Edit has Keep an offline copy. Turning it on downloads the vault, and the window moves onto the copy. It needs ZenNotes server 2.91.1 or later; against an older server the row is greyed out and names the version.
- Notes open and save on your computer whether the server answers or not, and ZenNotes opens the copy at launch even when the server is down. A save reaches the server about two seconds later; edits made elsewhere arrive as soon as the server reports them.
- The status bar says Synced, 3 changes waiting, or Offline · 3 changes waiting, and its tooltip names the server and when it was last reached.
- Sync Remote Vault Now in the command palette,
Space Rwith Vim mode on, or Sync now in the status bar sends what waits at once. Work Offline stops syncing on purpose, for a metered or untrusted network, and Work Online resumes it. - Attachments stay on the server: they show while it can be reached and say "not in the offline copy" while it is away.
- Remove offline copy shows the space the copy uses and asks first while changes have not reached the server: Keep Offline Copy or Remove Anyway.
- If the server switches to a different vault, sync stops instead of writing into it, the copy is kept, and Open Online opens the vault the server serves now.
- Edits made on both sides merge. When a note changed on your computer and on the server, edits to different lines combine by themselves with server 2.92.0. Edits to the same lines are never overwritten: the note says sync is paused for it, and Review Remote Vault Conflicts,
Space ror Review now opens the review ZenNotes Cloud uses, with your version, the server's, a choice per change, and Keep both. With server 2.91.1 every such note waits for review.
zn and the server
- Server 2.92.0 answers
/api/sync/revision, the earlier version of a note a merge starts from, and reportssupportsSync: 2(ZenNotes/znserver#91). It keeps the current text of every synced note as well, so even a note's very first version can be the base of a merge. znand the MCP server keep talking to the server directly, so they behave as before while it is away.
For contributors
- The copy is a local folder under the app's data (
remote-mirrors/), and a window on it is a local window whoseVaultInfocarriesmirrorOf: every vault handler takes the local path.RemoteMirrorSyncServiceruns Cloud'sCloudSyncCoordinatoragainst the server's/api/sync/*throughZnServerSyncRemote, and the Cloud vault calls of such a window go to it, so Cloud's status, review queue and banner run unchanged. CloudSyncCoordinatortakes an options argument for what differs from Cloud (the name its sentences use, a path limit).docs/ideas/remote-offline-copy.mdrecords the decisions: the revision read moved into this phase, and Work Offline got its palette entry.
Verification
How to test locally:
- Run ZenNotes server 2.92.0, connect to it from Connect to Remote Vault, and save it as a remote.
- Settings, Vault, Saved Remote Workspaces, Edit: tick Keep an offline copy. The status bar says Synced.
- Stop the server and edit a note. Before: the note said Not saved. After: it saves, and the status bar says Offline · 1 change waiting.
- Quit ZenNotes and open it again with the server still down. Before: the reconnect screen with no notes. After: the copy opens.
- Start the server and press
Space R(or Sync now). The edit reaches the server and the status bar says Synced. - Work Offline from the palette, edit one line here and a different line of the same note on the server, then Work Online. Both edits are in the note on both sides. Edit the same line on both sides instead, and the note waits for review;
Space ropens it. - Point a saved remote at a 2.91.0 server: its row says it needs server 2.91.1 or later.
Distribution channels
- GitHub: this release, latest, with all five update feeds. Every file they name was checked, and the app in both macOS DMGs is Notarized Developer ID and stapled.
- AUR:
zennotes-bin 2.92.0-1, pinned to the Linux tarball's SHA-256aae52f6a…1424b9494. - Homebrew: the
zennotescask in ZenNotes/homebrew-tap (8f12909). - Nix:
packaging/nix/release-data.json(210c0434), built onmain(run 45480904449). - nixpkgs: NixOS/nixpkgs#590905, now
zennotes-desktop: 2.88.0 -> 2.92.0, waiting for nixpkgs review. - Self-hosted server: 2.92.0, latest, with the 2.91.0 web client. Docker
adibhanna/zennotes2.92.0,2.92andlatestpoint atsha256:52c097d8…fdae8b0. - zn: unchanged; 0.18.2 is bundled and latest.
- Phones: unchanged. Nothing in this release changes them; the next phone release brings this core.
- Website: the release page, server 2.92.0 on its tab, and the docs for the offline copy.
Release validation
- On
e3348a88: typecheck, every test suite (shared-domain 2725, portable-vault 398, app-core 4975, quicklook 18, web 76, desktop 1990), a freshbuild:prod, the packaged app (signed, launch check: page target, rendered, 2.92.0) and the three smoke suites. No hazards, no audit findings, no long dashes, no failed CI job since 2.91.0. Every CI job passed on the release pull request and onmainbefore the tag. - The offline copy was driven in the built app over CDP against local server builds, with both settings stores isolated: turning the copy on from the remote's dialog, booting and saving with the server down (status Offline with changes waiting), the server coming back and
Space Rsending the edit, a note edited on different lines on both sides merging with no review, a same-line edit held for review across a restart and settled from it, a 2.91.0 server's disabled row, the removal guard with Keep Offline Copy and Remove Anyway, Open Online after the server's sync store started over with a new vault id, and Settings on a copy. Turning the copy on and syncing also works against a plain 2.91.1 server. - The release build found two gaps before the cut, both fixed and driven again: a copy whose server switched vaults had no way forward (now Open Online), and Settings described a copy as a local vault.
- GitHub had no macOS runner for several jobs today (cancelled before any step, with GitHub's "not acquired by Runner" note). Each was re-run and passed, or had passed on the same commit in its twin run.
- Not tested before release: the iPhone Cloud UI tests (waived: no phone change), packaged Windows and Linux builds beyond CI, and an offline copy of a very large vault (the engine reads every note on each sync, as Cloud does).