Skip to content

v0.8.1

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Dec 19:32
2bdf330

Fixes for tabs whose local data is gone, and the CLI's deploy advice. No breaking changes.

Fixes

  • A tab whose local data is gone loads again without waiting for another tab.
    • A tab with no stored data downloads its own and is ready once that download is complete. That covers a first visit and IndexedDB deleted or cleared.
    • Before, a tab that wasn't the leader counted itself ready only once the leader reported a successful sync. A leader in a background tab, which browsers throttle or freeze, could keep it loading indefinitely.
    • That download retries with backoff when it fails, and a follower's own download leaves its status as it was rather than "bootstrapping".
  • A bootstrap or pull whose response ends before the server's end marker fails and is retried. That covers a dropped connection or a proxy cutting the stream. Before, what had arrived was taken as complete.
  • A tab taking over as the leader starts syncing even when writing its data to storage fails. It then runs without storage instead of never connecting.
  • clientdb --help matches the deploy docs. It says to run migrate and setup once the new release serves, never in a build while the old release serves.
  • The docs, READMEs and landing page match 0.8.0, and every TypeScript snippet in them is type-checked against the packages in CI.

Published to npm