Skip to content
Source
Sign inSign up
TanStack/db

test: strengthen oracle contracts and fix exposed boundary bugs #1816

MergedKyleAMathews(GitHub profile, opens in a new tab)merged 40 commits intomain fromrefs/pull/1816/headmerged by tannerlinsley

Showing 210 changed files with 36 additions and 0 deletions (loading 207).

x
0 of 210 viewed, 210 left
7 additions and 0 deletions.changeset/fix-electric-boolean-grouping.mdAdded
View file
@@ -0,0 +1,7 @@
+---
+'@tanstack/electric-db-collection': patch
+---
+​
+Preserve nested boolean predicate grouping when compiling Electric subset SQL,
+including comparison results and NOT expressions used inside comparisons,
+membership checks, and null tests.
7 additions and 0 deletions.changeset/fix-offline-leadership-and-settlement.mdAdded
View file
@@ -0,0 +1,7 @@
+---
+'@tanstack/offline-transactions': patch
+---
+​
+Ignore repeated leadership notifications when the state has not changed to avoid restarting active replay. Settle each transaction's commit when that transaction completes, without waiting for the shared queue to drain.
+​
+Keep a completed transaction registered until its outbox deletion settles so a leadership change during deletion does not schedule the same mutation again.
22 additions and 0 deletions.changeset/fix-oracle-boundary-findings.mdAdded
View file
@@ -0,0 +1,22 @@
+---
+'@tanstack/db': patch
+'@tanstack/db-ivm': patch
+'@tanstack/offline-transactions': patch