Skip to content
Source
Sign inSign up
TanStack/db

fix(db): enforce functional callback metadata boundaries #2312

MergedKyleAMathews(GitHub profile, opens in a new tab)merged 22 commits intomain fromrefs/pull/2312/headmerged by KyleAMathews(GitHub profile, opens in a new tab)

Showing 35 changed files with 15 additions and 0 deletions (loading 32).

x
0 of 35 viewed, 35 left
5 additions and 0 deletions.changeset/fix-correlated-callback-metadata.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+'@tanstack/db': patch
+---
+​
+Fix reserved metadata before `fn.select()`, `fn.where()`, and `fn.having()` callbacks in live queries, Effects, and correlated includes. Preserve genuine source metadata, authored inline values, and selected output when compiled queries share a cache. Preserve every ordered window and joined-source publication dependency when one source feeds multiple compiled views or nested queries.
5 additions and 0 deletions.changeset/fix-solid-query-input-tracking.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+'@tanstack/solid-db': patch
+---
+​
+Prevent native source row reads during query compilation from recreating the Solid framework binding. Keep actual callback and config query parameters reactive.
5 additions and 0 deletions.changeset/retain-loading-sibling-replay.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+'@tanstack/db': patch
+---
+​
+Keep the last complete live-query result while a new include demand loads under a sibling subscription's truncate replay. The demand now joins the publication barrier when it starts, so a sibling that settles first cannot publish an incomplete replacement. A failed held demand keeps that result until its own coverage recovers or its demand retires.
docs/contributing/oracle-reviews/2026-10-29-pr-2171-deferred-oracles.mdModified
View file