Skip to content

v12.16.0

Choose a tag to compare

@github-actions github-actions released this 04 Oct 20:11
· 4 commits to main since this release
  • Live record views: KoolbaseRecordView(..., live: true) (also KoolbaseRecordController(live: true)). When Koolbase realtime reports a change to THIS record, it is read again silently -- no refreshing state -- and a burst of changes within 250 ms is one read. When it is deleted, the view shows not-found at once, and a read still in flight is dropped. Changes to other records in the collection are ignored: no extra reads. Same contract as @koolbase/* 12.12.0.
  • One connection. Live records and live lists share the app's single realtime connection (12.15.1).
  • Needs a signed-in user, as realtime does; until there is one -- or before Koolbase is initialized -- a live record view behaves as a normal one. With no id there is nothing to follow and nothing subscribes. Without the option nothing changes.
  • Tested through a realtime seam (liveEvents): a silent re-read on a change, other records ignored, one read for a burst, a delete at once and without a read, a delete dropping a pending re-read, no subscription unless live or without an id, and dispose unsubscribing and cancelling.