Reliable Whiteboard Saving and Pencil Sketch Style
Rapid drawing is now batched, acknowledged only after durable storage, and retried after disconnects; the public canvas persists, empty password rooms are deleted after 24 hours, and Whiteboard plus Quick Transfer now have independent versions.
# Reliable Whiteboard Saving and Pencil Sketch Style
The generic error during rapid drawing and missing content after re-entering came from the same unacknowledged-update problem. This release upgrades Whiteboard to v1.0.1.
## A stroke is complete only after durable storage
- Yjs updates from continuous drawing are merged and sent at the interval recommended by the service, avoiding short update-rate bursts.
- The Worker acknowledges an update only after Durable Object storage contains both the increment and document version. Disconnects, rate limits, or timeouts before that acknowledgement keep the data for safe retransmission after reconnecting.
- Leaving briefly waits for pending acknowledgements to drain. Real access or protocol violations still stop explicitly, while recoverable failures reconnect automatically.
## Retention boundaries for public and private rooms
- The public whiteboard is not deleted for being empty. Strokes persist across leaving, re-entry, and Worker restarts, and only an administrator can explicitly clear it.
- A password room starts a 24-hour countdown after its last real connection leaves. Re-entry cancels it, becoming empty again restarts it, and expiry removes the room canvas, images, and indexes together.
- Cursors, selections, and online status remain transient broadcasts and are not written to long-term storage.
## Sketch defaults and independent versions
- New elements default to warm paper, graphite strokes, hand-drawn roughness, and hachure fill, while colors and tools remain fully editable.
- Whiteboard and Quick Transfer now maintain separate versions, changelogs, and AI maintenance guides. Every update must increase its version by exactly 0.0.1 and keep the related documents synchronized.