github TanStack/db @tanstack/db@0.6.3

latest releases: @tanstack/rxdb-db-collection@0.1.70, @tanstack/query-db-collection@1.0.35, @tanstack/react-db@0.1.82...
11 hours ago

Patch Changes

  • Fix nested toArray() includes not propagating changes at depth 3+. When a query used nested includes like toArray(runs) → toArray(texts) → concat(toArray(textDeltas)), changes to the deepest level (e.g., inserting a textDelta) were silently lost because flushIncludesState only drained one level of nested buffers. Also throw a clear error when toArray() or concat(toArray()) is used inside expressions like coalesce(), instead of silently producing incorrect results. (#1457)

  • fix: orderBy + limit queries crash when no index exists (#1437)

    When auto-indexing is disabled (the default), queries with orderBy and limit where the limit exceeds the available data would crash with "Ordered snapshot was requested but no index was found". The on-demand loader now correctly skips cursor-based loading when no index is available.

Don't miss a new db release

NewReleases is sending notifications on new releases.