Skip to content

v0.4.10 — Sync That Doesn't Hang

Latest

Choose a tag to compare

@Lwb89dev Lwb89dev released this 26 Aug 05:13

Echoes v0.4.10 — Sync That Doesn't Hang 🔧

A focused fix for note sync and deletion behaving badly whenever a relay was
slow or unreachable — this was the biggest thing wrong with recent releases.

🔧 The real cause

Publishing a note (and retracting one on delete) sent one request per
relay
. Under the hood, that call resets the entire relay connection pool
whenever the target relay wasn't already connected — so a single flaky relay
(a self-hosted one waking up, or one just having a bad day) could tear down
every other relay's connection, or leave the whole operation waiting with no
way out. That's the "sync doesn't seem to work" and "deleting a note gets
stuck" behaviour from the last few releases, reproduced and confirmed against
real relays before this fix, and again after.

Fixed: publishing is now one broadcast to every relay, with a single
10-second window for all of them to answer — not stacked one after another —
and the connection pool is left alone if it's already up. A note that only
some relays accept says so plainly ("Synced to 2 of 4 relays") instead of
claiming a clean success.

📝 Also

  • Note previews respect bulleted lists. A shopping list now shows
    milk / bread / coffee on separate lines on the home screen, instead of
    running everything together into one unreadable line — and completed
    checklist items still never appear in the preview.
  • Strikethrough joins bold, italic and heading in the formatting toolbar.

Android: signed with the release key introduced in v0.4.2 (24e792da…).
Updating from v0.4.2 or later is a normal in-place update.