From ea5d629447b0ec68e4aab1c3de2a0fe6e26e7fdd Mon Sep 17 00:00:00 2001 From: Sam Willis Date: Fri, 20 Mar 2026 16:19:58 +0000 Subject: [PATCH] chore: consolidate SQLite persistence changesets Keep the new SQLite persistence packages under a single first-release changeset and make all pending changesets patch-only for a consistent release plan. Made-with: Cursor --- .../cloudflare-do-sqlite-persistence.md | 5 --- .changeset/nasty-clubs-tease.md | 2 +- .changeset/sqlite-persistence.md | 32 ++++++++++++++++++- 3 files changed, 32 insertions(+), 7 deletions(-) delete mode 100644 .changeset/cloudflare-do-sqlite-persistence.md diff --git a/.changeset/cloudflare-do-sqlite-persistence.md b/.changeset/cloudflare-do-sqlite-persistence.md deleted file mode 100644 index 8d63bf9e7..000000000 --- a/.changeset/cloudflare-do-sqlite-persistence.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tanstack/db-cloudflare-do-sqlite-persisted-collection': patch ---- - -feat(persistence): add SQLite persistence support for Cloudflare Durable Objects runtime diff --git a/.changeset/nasty-clubs-tease.md b/.changeset/nasty-clubs-tease.md index f611741ed..7136baf78 100644 --- a/.changeset/nasty-clubs-tease.md +++ b/.changeset/nasty-clubs-tease.md @@ -1,5 +1,5 @@ --- -'@tanstack/angular-db': minor +'@tanstack/angular-db': patch --- fixing double reactive parameter tracking inside of injectLiveQuery diff --git a/.changeset/sqlite-persistence.md b/.changeset/sqlite-persistence.md index 2025c65db..ec4085598 100644 --- a/.changeset/sqlite-persistence.md +++ b/.changeset/sqlite-persistence.md @@ -2,12 +2,18 @@ '@tanstack/db': patch '@tanstack/db-sqlite-persisted-collection-core': patch '@tanstack/db-browser-wa-sqlite-persisted-collection': patch +'@tanstack/db-cloudflare-do-sqlite-persisted-collection': patch +'@tanstack/db-node-sqlite-persisted-collection': patch +'@tanstack/db-electron-sqlite-persisted-collection': patch +'@tanstack/db-expo-sqlite-persisted-collection': patch '@tanstack/db-react-native-sqlite-persisted-collection': patch +'@tanstack/db-capacitor-sqlite-persisted-collection': patch +'@tanstack/db-tauri-sqlite-persisted-collection': patch --- feat(persistence): add SQLite-based offline persistence for collections -Adds a new persistence layer that durably stores collection data in SQLite, enabling applications to survive page reloads and app restarts. +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`)** @@ -21,7 +27,31 @@ Adds a new persistence layer that durably stores collection data in SQLite, enab - Single-tab persistence with OPFS-based SQLite storage - `BrowserCollectionCoordinator` for multi-tab leader-election and cross-tab sync +**Cloudflare Durable Objects (`@tanstack/db-cloudflare-do-sqlite-persisted-collection`)** + +- New package for SQLite persistence in Cloudflare Durable Objects runtimes + +**Node (`@tanstack/db-node-sqlite-persisted-collection`)** + +- New package for Node persistence via SQLite + +**Electron (`@tanstack/db-electron-sqlite-persisted-collection`)** + +- New package providing Electron main and renderer persistence bridge helpers + +**Expo (`@tanstack/db-expo-sqlite-persisted-collection`)** + +- New package for Expo persistence via `expo-sqlite` + **React Native (`@tanstack/db-react-native-sqlite-persisted-collection`)** - New package for React Native persistence via op-sqlite - Adapter with transaction deadlock prevention and runtime parity coverage + +**Capacitor (`@tanstack/db-capacitor-sqlite-persisted-collection`)** + +- New package for Capacitor persistence via `@capacitor-community/sqlite` + +**Tauri (`@tanstack/db-tauri-sqlite-persisted-collection`)** + +- New package for Tauri persistence via `@tauri-apps/plugin-sql`