Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/cloudflare-do-sqlite-persistence.md

This file was deleted.

2 changes: 1 addition & 1 deletion .changeset/nasty-clubs-tease.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@tanstack/angular-db': minor
'@tanstack/angular-db': patch
---

fixing double reactive parameter tracking inside of injectLiveQuery
32 changes: 31 additions & 1 deletion .changeset/sqlite-persistence.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`)**

Expand All @@ -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`
Loading