v0.2.0-pre.3 — multi-tab coordination
Pre-release
Pre-release
The same-device multi-tab coordination line (#228). Published to the @next dist-tag.
db.enableTabCoordination() gives a vault open in multiple browser tabs:
- Presence + roles (#251) — Web-Locks primary election + BroadcastChannel presence;
db.tabRole/db.activeTabs()/db.onTabRoleChange/db.onActiveTabsChange. - Cross-tab write propagation (#252) — a committed write refreshes that document in every other tab with the collection loaded; ciphertext-blind (only
{ vault, collection, docId, action }cross the channel; receivers re-read the shared encrypted store). - Conflict detection (#253) —
db.onWriteConflict()emits aWriteConflicton concurrent same-doc writes; converges the cache to the store but never auto-resolves.
Browser-only, opt-in, graceful no-op elsewhere. WriteEvent now carries vault / baseVersion / version.
Also: @noy-db/in-pinia attestation field-schema forwarding (#250).
Lockstep bump of all 64 publishable @noy-db/* packages (+ create-noy-db) from 0.2.0-pre.2 → 0.2.0-pre.3. Full hub changelog: packages/hub/CHANGELOG.md.