Skip to content

@tanstack/db@0.6.10

Choose a tag to compare

@github-actions github-actions released this 23 Jun 19:15
Immutable release. Only release title and notes can be modified.
45617c4

Patch Changes

  • Fix live query preload() hanging forever after a source collection was cleaned up (#1576) (#1606)

    When a source collection is cleaned up while a live query depends on it, the live query transitions to an error state and latches an internal isInErrorState flag. That flag was never reset, so restarting sync (e.g. calling preload() again after cleanup when switching profiles) left the live query unable to become ready and the returned promise never resolved. The flag is now cleared at the start of each sync session so the live query can recover.