Add IndexedDB-backed Collections with persistent local storage, cross-tab synchronization, and atomic writes. Include schema validation and utilities to import, export, clear, and inspect stored data. Publish imported snapshots atomically in receiving Collections, and confirm local writes even when another tab persists the same key while a mutation handler is pending. Automatic writes in one Collection persist in mutation order, including out-of-order handler completion. Respect Collection identity overrides, reconcile restored rows without version metadata, preserve native error causes, and prevent delayed deletion notifications from clearing a recreated Collection. Keep version metadata independent of wall-clock timestamps and expose separate schema output/input types on Collection utilities.
Managed connection closure marks affected Collections as errored while admitted
writes finish truthfully. Administrative database deletion no longer publishes
empty Collection snapshots; use the exported deleteDatabase(name) function.
Keep low-level transaction settlement independent of application native event handlers.
Capture validated import values before awaiting storage, and retain errored Collection snapshots after abnormal native closure. Support dedicated-worker persistence and optional blocked-event diagnostics for database open and deletion.