Skip to content
Source
Sign inSign up
TanStack/db

fix: separate cleanup start from settlement #1897

MergedKyleAMathewsmerged 49 commits intomain fromrefs/pull/1897/headmerged by KyleAMathews

Showing 14 changed files with 6 additions and 0 deletions (loading 13).

x
0 of 14 viewed, 14 left
6 additions and 0 deletions.changeset/fix-cleanup-start-invalidation.mdAdded
View file
@@ -0,0 +1,6 @@
+---
+'@tanstack/db': patch
+'@tanstack/powersync-db-collection': patch
+---
+​
+Separate cleanup start from settlement so dependent live queries and Effects become terminal when a source Collection starts cleanup. Keep PowerSync cleanup pending until late load-hook and trigger cleanup work settles.
docs/contributing/oracle-reviews/issue-1891-cleanup-start-followup.mdAdded
View file
Loading the diff
docs/contributing/glossary.mdModified
View file
Loading the diff
docs/contributing/oracle-coverage.mdModified
View file
Loading the diff
packages/db/src/collection/index.tsModified
View file
Loading the diff
packages/db/src/collection/lifecycle.tsModified
View file
Loading the diff
packages/db/src/collection/subscription.tsModified
View file
Loading the diff
packages/db/src/query/live/ARCHITECTURE.mdModified
View file
Loading the diff
packages/db/src/query/live/collection-config-builder.tsModified
View file
Loading the diff