Open
Conversation
66ed569 to
53a75a5
Compare
53a75a5 to
a7d4c9e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@tanstack/angular-db@0.1.60
Patch Changes
fixing double reactive parameter tracking inside of injectLiveQuery (#1252)
Updated dependencies [
b8abc02,bb09eb1,179d666,43ecbfa,055fd94,055fd94,055fd94,055fd94,85f5435,e0df07e,9952921,d351c67]:@tanstack/db@0.5.34
Patch Changes
fix(db): preserve null in coalesce() return type when no guaranteed non-null arg is present (#1342)
coalesce()was typed as returningBasicExpression<any>, losing all type information. The signature now infers types from all arguments via tuple generics, returns the union of non-null arg types, and only removes nullability when at least one argument is statically guaranteed non-null.Fix Temporal objects breaking live query updates when used with joins. Temporal objects (e.g.
Temporal.PlainDate) have no enumerable properties, so the structural hash function produced identical hashes for all Temporal values, causing join index updates to be silently swallowed. Also add Temporal support to value normalization for join key matching and to the comparator for correct sort ordering. (#1370)Fix
loadSubsetdedupe follow-up edge cases and add regression coverage. (#1352)fix: Optimized unmount performance by batching cleanup tasks in a central queue. (#1326)
fix: support aggregates (e.g. count) in child/includes subqueries with per-parent scoping (#1294)
feat: support parent-referencing WHERE filters in includes child queries (#1294)
feat: support for subqueries for including hierarchical data in live queries (#1294)
feat: add
toArray()wrapper for includes subqueries to materialize child results as plain arrays instead of live Collections (#1294)fix: prevent stale query refreshes from overwriting optimistic offline changes on reconnect (#1390)
When reconnecting with pending offline transactions, query-backed collections now defer processing query refreshes until queued writes finish replaying, avoiding temporary reverts to stale server data.
fix(persistence): harden persisted startup, truncate metadata semantics, and resume identity matching (#1380)
markReadyfallback behavior so startup failures do not leave collections stuck in loading stateloadSubset/unloadSubsetapplied_txmigration handling to only ignore duplicate-column add errorsImplement virtual properties end-to-end, including live query behavior and (#1213)
typing support for virtual metadata on rows.
feat(persistence): add SQLite-based offline persistence for collections (#1358)
Adds a new persistence layer that durably stores collection data in SQLite, enabling applications to survive page reloads and app restarts across browser, Node, mobile, desktop, and edge runtimes.
Core persistence (
@tanstack/db-sqlite-persisted-collection-core)Browser (
@tanstack/db-browser-wa-sqlite-persisted-collection)BrowserCollectionCoordinatorfor multi-tab leader-election and cross-tab syncCloudflare Durable Objects (
@tanstack/db-cloudflare-do-sqlite-persisted-collection)Node (
@tanstack/db-node-sqlite-persisted-collection)Electron (
@tanstack/db-electron-sqlite-persisted-collection)Expo (
@tanstack/db-expo-sqlite-persisted-collection)expo-sqliteReact Native (
@tanstack/db-react-native-sqlite-persisted-collection)Capacitor (
@tanstack/db-capacitor-sqlite-persisted-collection)@capacitor-community/sqliteTauri (
@tanstack/db-tauri-sqlite-persisted-collection)@tauri-apps/plugin-sqlUpdated dependencies [
bb09eb1]:@tanstack/db-browser-wa-sqlite-persisted-collection@0.1.1
Patch Changes
feat(persistence): add SQLite-based offline persistence for collections (#1358)
Adds a new persistence layer that durably stores collection data in SQLite, enabling applications to survive page reloads and app restarts across browser, Node, mobile, desktop, and edge runtimes.
Core persistence (
@tanstack/db-sqlite-persisted-collection-core)Browser (
@tanstack/db-browser-wa-sqlite-persisted-collection)BrowserCollectionCoordinatorfor multi-tab leader-election and cross-tab syncCloudflare Durable Objects (
@tanstack/db-cloudflare-do-sqlite-persisted-collection)Node (
@tanstack/db-node-sqlite-persisted-collection)Electron (
@tanstack/db-electron-sqlite-persisted-collection)Expo (
@tanstack/db-expo-sqlite-persisted-collection)expo-sqliteReact Native (
@tanstack/db-react-native-sqlite-persisted-collection)Capacitor (
@tanstack/db-capacitor-sqlite-persisted-collection)@capacitor-community/sqliteTauri (
@tanstack/db-tauri-sqlite-persisted-collection)@tauri-apps/plugin-sqlUpdated dependencies [
e0df07e,d351c67]:@tanstack/db-capacitor-sqlite-persisted-collection@0.1.1
Patch Changes
feat(persistence): add SQLite-based offline persistence for collections (#1358)
Adds a new persistence layer that durably stores collection data in SQLite, enabling applications to survive page reloads and app restarts across browser, Node, mobile, desktop, and edge runtimes.
Core persistence (
@tanstack/db-sqlite-persisted-collection-core)Browser (
@tanstack/db-browser-wa-sqlite-persisted-collection)BrowserCollectionCoordinatorfor multi-tab leader-election and cross-tab syncCloudflare Durable Objects (
@tanstack/db-cloudflare-do-sqlite-persisted-collection)Node (
@tanstack/db-node-sqlite-persisted-collection)Electron (
@tanstack/db-electron-sqlite-persisted-collection)Expo (
@tanstack/db-expo-sqlite-persisted-collection)expo-sqliteReact Native (
@tanstack/db-react-native-sqlite-persisted-collection)Capacitor (
@tanstack/db-capacitor-sqlite-persisted-collection)@capacitor-community/sqliteTauri (
@tanstack/db-tauri-sqlite-persisted-collection)@tauri-apps/plugin-sqlUpdated dependencies [
e0df07e,d351c67]:@tanstack/db-cloudflare-do-sqlite-persisted-collection@0.1.1
Patch Changes
feat(persistence): add SQLite-based offline persistence for collections (#1358)
Adds a new persistence layer that durably stores collection data in SQLite, enabling applications to survive page reloads and app restarts across browser, Node, mobile, desktop, and edge runtimes.
Core persistence (
@tanstack/db-sqlite-persisted-collection-core)Browser (
@tanstack/db-browser-wa-sqlite-persisted-collection)BrowserCollectionCoordinatorfor multi-tab leader-election and cross-tab syncCloudflare Durable Objects (
@tanstack/db-cloudflare-do-sqlite-persisted-collection)Node (
@tanstack/db-node-sqlite-persisted-collection)Electron (
@tanstack/db-electron-sqlite-persisted-collection)Expo (
@tanstack/db-expo-sqlite-persisted-collection)expo-sqliteReact Native (
@tanstack/db-react-native-sqlite-persisted-collection)Capacitor (
@tanstack/db-capacitor-sqlite-persisted-collection)@capacitor-community/sqliteTauri (
@tanstack/db-tauri-sqlite-persisted-collection)@tauri-apps/plugin-sqlUpdated dependencies [
e0df07e,d351c67]:@tanstack/db-electron-sqlite-persisted-collection@0.1.1
Patch Changes
feat(persistence): add SQLite-based offline persistence for collections (#1358)
Adds a new persistence layer that durably stores collection data in SQLite, enabling applications to survive page reloads and app restarts across browser, Node, mobile, desktop, and edge runtimes.
Core persistence (
@tanstack/db-sqlite-persisted-collection-core)Browser (
@tanstack/db-browser-wa-sqlite-persisted-collection)BrowserCollectionCoordinatorfor multi-tab leader-election and cross-tab syncCloudflare Durable Objects (
@tanstack/db-cloudflare-do-sqlite-persisted-collection)Node (
@tanstack/db-node-sqlite-persisted-collection)Electron (
@tanstack/db-electron-sqlite-persisted-collection)Expo (
@tanstack/db-expo-sqlite-persisted-collection)expo-sqliteReact Native (
@tanstack/db-react-native-sqlite-persisted-collection)Capacitor (
@tanstack/db-capacitor-sqlite-persisted-collection)@capacitor-community/sqliteTauri (
@tanstack/db-tauri-sqlite-persisted-collection)@tauri-apps/plugin-sqlUpdated dependencies [
e0df07e,d351c67]:@tanstack/db-expo-sqlite-persisted-collection@0.1.1
Patch Changes
feat(persistence): add SQLite-based offline persistence for collections (#1358)
Adds a new persistence layer that durably stores collection data in SQLite, enabling applications to survive page reloads and app restarts across browser, Node, mobile, desktop, and edge runtimes.
Core persistence (
@tanstack/db-sqlite-persisted-collection-core)Browser (
@tanstack/db-browser-wa-sqlite-persisted-collection)BrowserCollectionCoordinatorfor multi-tab leader-election and cross-tab syncCloudflare Durable Objects (
@tanstack/db-cloudflare-do-sqlite-persisted-collection)Node (
@tanstack/db-node-sqlite-persisted-collection)Electron (
@tanstack/db-electron-sqlite-persisted-collection)Expo (
@tanstack/db-expo-sqlite-persisted-collection)expo-sqliteReact Native (
@tanstack/db-react-native-sqlite-persisted-collection)Capacitor (
@tanstack/db-capacitor-sqlite-persisted-collection)@capacitor-community/sqliteTauri (
@tanstack/db-tauri-sqlite-persisted-collection)@tauri-apps/plugin-sqlUpdated dependencies [
e0df07e,d351c67]:@tanstack/db-ivm@0.1.18
Patch Changes
Temporal.PlainDate) have no enumerable properties, so the structural hash function produced identical hashes for all Temporal values, causing join index updates to be silently swallowed. Also add Temporal support to value normalization for join key matching and to the comparator for correct sort ordering. (#1370)@tanstack/db-node-sqlite-persisted-collection@0.1.1
Patch Changes
feat(persistence): add SQLite-based offline persistence for collections (#1358)
Adds a new persistence layer that durably stores collection data in SQLite, enabling applications to survive page reloads and app restarts across browser, Node, mobile, desktop, and edge runtimes.
Core persistence (
@tanstack/db-sqlite-persisted-collection-core)Browser (
@tanstack/db-browser-wa-sqlite-persisted-collection)BrowserCollectionCoordinatorfor multi-tab leader-election and cross-tab syncCloudflare Durable Objects (
@tanstack/db-cloudflare-do-sqlite-persisted-collection)Node (
@tanstack/db-node-sqlite-persisted-collection)Electron (
@tanstack/db-electron-sqlite-persisted-collection)Expo (
@tanstack/db-expo-sqlite-persisted-collection)expo-sqliteReact Native (
@tanstack/db-react-native-sqlite-persisted-collection)Capacitor (
@tanstack/db-capacitor-sqlite-persisted-collection)@capacitor-community/sqliteTauri (
@tanstack/db-tauri-sqlite-persisted-collection)@tauri-apps/plugin-sqlUpdated dependencies [
e0df07e,d351c67]:@tanstack/db-react-native-sqlite-persisted-collection@0.1.1
Patch Changes
feat(persistence): add SQLite-based offline persistence for collections (#1358)
Adds a new persistence layer that durably stores collection data in SQLite, enabling applications to survive page reloads and app restarts across browser, Node, mobile, desktop, and edge runtimes.
Core persistence (
@tanstack/db-sqlite-persisted-collection-core)Browser (
@tanstack/db-browser-wa-sqlite-persisted-collection)BrowserCollectionCoordinatorfor multi-tab leader-election and cross-tab syncCloudflare Durable Objects (
@tanstack/db-cloudflare-do-sqlite-persisted-collection)Node (
@tanstack/db-node-sqlite-persisted-collection)Electron (
@tanstack/db-electron-sqlite-persisted-collection)Expo (
@tanstack/db-expo-sqlite-persisted-collection)expo-sqliteReact Native (
@tanstack/db-react-native-sqlite-persisted-collection)Capacitor (
@tanstack/db-capacitor-sqlite-persisted-collection)@capacitor-community/sqliteTauri (
@tanstack/db-tauri-sqlite-persisted-collection)@tauri-apps/plugin-sqlUpdated dependencies [
e0df07e,d351c67]:@tanstack/db-sqlite-persisted-collection-core@0.1.1
Patch Changes
fix(persistence): harden persisted startup, truncate metadata semantics, and resume identity matching (#1380)
markReadyfallback behavior so startup failures do not leave collections stuck in loading stateloadSubset/unloadSubsetapplied_txmigration handling to only ignore duplicate-column add errorsfeat(persistence): add SQLite-based offline persistence for collections (#1358)
Adds a new persistence layer that durably stores collection data in SQLite, enabling applications to survive page reloads and app restarts across browser, Node, mobile, desktop, and edge runtimes.
Core persistence (
@tanstack/db-sqlite-persisted-collection-core)Browser (
@tanstack/db-browser-wa-sqlite-persisted-collection)BrowserCollectionCoordinatorfor multi-tab leader-election and cross-tab syncCloudflare Durable Objects (
@tanstack/db-cloudflare-do-sqlite-persisted-collection)Node (
@tanstack/db-node-sqlite-persisted-collection)Electron (
@tanstack/db-electron-sqlite-persisted-collection)Expo (
@tanstack/db-expo-sqlite-persisted-collection)expo-sqliteReact Native (
@tanstack/db-react-native-sqlite-persisted-collection)Capacitor (
@tanstack/db-capacitor-sqlite-persisted-collection)@capacitor-community/sqliteTauri (
@tanstack/db-tauri-sqlite-persisted-collection)@tauri-apps/plugin-sqlUpdated dependencies [
b8abc02,bb09eb1,179d666,43ecbfa,055fd94,055fd94,055fd94,055fd94,85f5435,e0df07e,9952921,d351c67]:@tanstack/db-tauri-sqlite-persisted-collection@0.1.1
Patch Changes
feat(persistence): add SQLite-based offline persistence for collections (#1358)
Adds a new persistence layer that durably stores collection data in SQLite, enabling applications to survive page reloads and app restarts across browser, Node, mobile, desktop, and edge runtimes.
Core persistence (
@tanstack/db-sqlite-persisted-collection-core)Browser (
@tanstack/db-browser-wa-sqlite-persisted-collection)BrowserCollectionCoordinatorfor multi-tab leader-election and cross-tab syncCloudflare Durable Objects (
@tanstack/db-cloudflare-do-sqlite-persisted-collection)Node (
@tanstack/db-node-sqlite-persisted-collection)Electron (
@tanstack/db-electron-sqlite-persisted-collection)Expo (
@tanstack/db-expo-sqlite-persisted-collection)expo-sqliteReact Native (
@tanstack/db-react-native-sqlite-persisted-collection)Capacitor (
@tanstack/db-capacitor-sqlite-persisted-collection)@capacitor-community/sqliteTauri (
@tanstack/db-tauri-sqlite-persisted-collection)@tauri-apps/plugin-sqlUpdated dependencies [
e0df07e,d351c67]:@tanstack/electric-db-collection@0.2.42
Patch Changes
fix(persistence): harden persisted startup, truncate metadata semantics, and resume identity matching (#1380)
markReadyfallback behavior so startup failures do not leave collections stuck in loading stateloadSubset/unloadSubsetapplied_txmigration handling to only ignore duplicate-column add errorsUpdate dependencies across workspace to resolve version mismatches:
@electric-sql/client^1.5.13,@tanstack/store^0.9.2,pg^8.20.0. Adapt subscription cleanup to@tanstack/store0.9.x API which returnsSubscriptionobjects instead of unsubscribe functions. (#1381)Updated dependencies [
b8abc02,bb09eb1,179d666,43ecbfa,055fd94,055fd94,055fd94,055fd94,85f5435,e0df07e,9952921,d351c67]:@tanstack/offline-transactions@1.0.25
Patch Changes
fix: prevent stale query refreshes from overwriting optimistic offline changes on reconnect (#1390)
When reconnecting with pending offline transactions, query-backed collections now defer processing query refreshes until queued writes finish replaying, avoiding temporary reverts to stale server data.
Updated dependencies [
b8abc02,bb09eb1,179d666,43ecbfa,055fd94,055fd94,055fd94,055fd94,85f5435,e0df07e,9952921,d351c67]:@tanstack/powersync-db-collection@0.1.38
Patch Changes
Added 'on-demand'
syncModeoption which makes the collection work with a query-driven sync approach. (#1356)Update dependencies across workspace to resolve version mismatches:
@electric-sql/client^1.5.13,@tanstack/store^0.9.2,pg^8.20.0. Adapt subscription cleanup to@tanstack/store0.9.x API which returnsSubscriptionobjects instead of unsubscribe functions. (#1381)Updated dependencies [
b8abc02,bb09eb1,179d666,43ecbfa,055fd94,055fd94,055fd94,055fd94,85f5435,e0df07e,9952921,d351c67]:@tanstack/query-db-collection@1.0.31
Patch Changes
fix: prevent stale query refreshes from overwriting optimistic offline changes on reconnect (#1390)
When reconnecting with pending offline transactions, query-backed collections now defer processing query refreshes until queued writes finish replaying, avoiding temporary reverts to stale server data.
fix: Prevent stale query cache from re-inserting deleted items when a destroyed observer is recreated with gcTime > 0. (#1387)
Updated dependencies [
b8abc02,bb09eb1,179d666,43ecbfa,055fd94,055fd94,055fd94,055fd94,85f5435,e0df07e,9952921,d351c67]:@tanstack/react-db@0.1.78
Patch Changes
Update dependencies across workspace to resolve version mismatches:
@electric-sql/client^1.5.13,@tanstack/store^0.9.2,pg^8.20.0. Adapt subscription cleanup to@tanstack/store0.9.x API which returnsSubscriptionobjects instead of unsubscribe functions. (#1381)Updated dependencies [
b8abc02,bb09eb1,179d666,43ecbfa,055fd94,055fd94,055fd94,055fd94,85f5435,e0df07e,9952921,d351c67]:@tanstack/rxdb-db-collection@0.1.66
Patch Changes
Update dependencies across workspace to resolve version mismatches:
@electric-sql/client^1.5.13,@tanstack/store^0.9.2,pg^8.20.0. Adapt subscription cleanup to@tanstack/store0.9.x API which returnsSubscriptionobjects instead of unsubscribe functions. (#1381)Updated dependencies [
b8abc02,bb09eb1,179d666,43ecbfa,055fd94,055fd94,055fd94,055fd94,85f5435,e0df07e,9952921,d351c67]:@tanstack/solid-db@0.2.14
Patch Changes
Update dependencies across workspace to resolve version mismatches:
@electric-sql/client^1.5.13,@tanstack/store^0.9.2,pg^8.20.0. Adapt subscription cleanup to@tanstack/store0.9.x API which returnsSubscriptionobjects instead of unsubscribe functions. (#1381)Updated dependencies [
b8abc02,bb09eb1,179d666,43ecbfa,055fd94,055fd94,055fd94,055fd94,85f5435,e0df07e,9952921,d351c67]:@tanstack/svelte-db@0.1.77
Patch Changes
b8abc02,bb09eb1,179d666,43ecbfa,055fd94,055fd94,055fd94,055fd94,85f5435,e0df07e,9952921,d351c67]:@tanstack/trailbase-db-collection@0.1.78
Patch Changes
Add TrailBase
syncModesupport and end-to-end coverage for eager and on-demand collection syncing. (#1098)Add a wider range of subset queries for TrailBase integration, including pagination, ordering, and basic
wheresupport. (#1101)Update dependencies across workspace to resolve version mismatches:
@electric-sql/client^1.5.13,@tanstack/store^0.9.2,pg^8.20.0. Adapt subscription cleanup to@tanstack/store0.9.x API which returnsSubscriptionobjects instead of unsubscribe functions. (#1381)Updated dependencies [
b8abc02,bb09eb1,179d666,43ecbfa,055fd94,055fd94,055fd94,055fd94,85f5435,e0df07e,9952921,d351c67]:@tanstack/vue-db@0.0.111
Patch Changes
Update dependencies across workspace to resolve version mismatches:
@electric-sql/client^1.5.13,@tanstack/store^0.9.2,pg^8.20.0. Adapt subscription cleanup to@tanstack/store0.9.x API which returnsSubscriptionobjects instead of unsubscribe functions. (#1381)Updated dependencies [
b8abc02,bb09eb1,179d666,43ecbfa,055fd94,055fd94,055fd94,055fd94,85f5435,e0df07e,9952921,d351c67]:offline-first-electron@1.0.1
Patch Changes
85f5435,d351c67,3d65bb1,1654c41]:offline-transactions-react-native@1.0.2
Patch Changes
b8abc02,bb09eb1,179d666,43ecbfa,055fd94,055fd94,055fd94,055fd94,85f5435,e0df07e,9952921,d351c67,3d65bb1,1654c41]:@tanstack/db-capacitor-sqlite-persisted-collection-e2e-app@0.0.1
Patch Changes
b8abc02,bb09eb1,179d666,43ecbfa,055fd94,055fd94,055fd94,055fd94,85f5435,e0df07e,9952921,d351c67]:@tanstack/db-expo-sqlite-persisted-collection-e2e-app@0.0.1
Patch Changes
b8abc02,bb09eb1,179d666,43ecbfa,055fd94,055fd94,055fd94,055fd94,85f5435,e0df07e,9952921,d351c67]:@tanstack/db-tauri-sqlite-persisted-collection-e2e-app@0.0.1
Patch Changes
b8abc02,bb09eb1,179d666,43ecbfa,055fd94,055fd94,055fd94,055fd94,85f5435,e0df07e,9952921,d351c67]: