Open History to see the last commit
1# @tanstack/react-native-db-sqlite-persistence
2
3## 0.2.23
4
5### Patch Changes
6
7- Updated dependencies []:
8 - @tanstack/db-sqlite-persistence-core@0.2.23
9
10## 0.2.22
11
12### Patch Changes
13
14- Updated dependencies [[`a378bd3`](https://github.com/TanStack/db/commit/a378bd3a65f6b9ed0c9a85f793b7dc2e2a59a313), [`ad043b7`](https://github.com/TanStack/db/commit/ad043b7455a5bdc549c36833bc72ddbe9ce8afed)]:
15 - @tanstack/db-sqlite-persistence-core@0.2.22
16
17## 0.2.21
18
19### Patch Changes
20
21- Updated dependencies [[`cfb01ce`](https://github.com/TanStack/db/commit/cfb01cee34de7d0378e008dc8c01c1df5253c1e2)]:
22 - @tanstack/db-sqlite-persistence-core@0.2.21
23
24## 0.2.20
25
26### Patch Changes
27
28- Updated dependencies []:
29 - @tanstack/db-sqlite-persistence-core@0.2.20
30
31## 0.2.19
32
33### Patch Changes
34
35- Updated dependencies []:
36 - @tanstack/db-sqlite-persistence-core@0.2.19
37
38## 0.2.18
39
40### Patch Changes
41
42- Updated dependencies [[`8c5838d`](https://github.com/TanStack/db/commit/8c5838ddd5f08b3c298d4458cae1ce599af80624)]:
43 - @tanstack/db-sqlite-persistence-core@0.2.18
44
45## 0.2.17
46
47### Patch Changes
48
49- Updated dependencies []:
50 - @tanstack/db-sqlite-persistence-core@0.2.17
51
52## 0.2.16
53
54### Patch Changes
55
56- Updated dependencies []:
57 - @tanstack/db-sqlite-persistence-core@0.2.16
58
59## 0.2.15
60
61### Patch Changes
62
63- Updated dependencies []:
64 - @tanstack/db-sqlite-persistence-core@0.2.15
65
66## 0.2.14
67
68### Patch Changes
69
70- Updated dependencies []:
71 - @tanstack/db-sqlite-persistence-core@0.2.14
72
73## 0.2.13
74
75### Patch Changes
76
77- Updated dependencies [[`4b9e8cd`](https://github.com/TanStack/db/commit/4b9e8cdf79551734cf526e6fa4bbdba42ec94575)]:
78 - @tanstack/db-sqlite-persistence-core@0.2.13
79
80## 0.2.12
81
82### Patch Changes
83
84- Updated dependencies []:
85 - @tanstack/db-sqlite-persistence-core@0.2.12
86
87## 0.2.11
88
89### Patch Changes
90
91- Updated dependencies []:
92 - @tanstack/db-sqlite-persistence-core@0.2.11
93
94## 0.2.10
95
96### Patch Changes
97
98- Updated dependencies []:
99 - @tanstack/db-sqlite-persistence-core@0.2.10
100
101## 0.2.9
102
103### Patch Changes
104
105- Updated dependencies []:
106 - @tanstack/db-sqlite-persistence-core@0.2.9
107
108## 0.2.8
109
110### Patch Changes
111
112- Updated dependencies []:
113 - @tanstack/db-sqlite-persistence-core@0.2.8
114
115## 0.2.7
116
117### Patch Changes
118
119- Updated dependencies []:
120 - @tanstack/db-sqlite-persistence-core@0.2.7
121
122## 0.2.6
123
124### Patch Changes
125
126- Updated dependencies [[`f7da776`](https://github.com/TanStack/db/commit/f7da77660b16cbfe30817fb5c938267d696c8d1c)]:
127 - @tanstack/db-sqlite-persistence-core@0.2.6
128
129## 0.2.5
130
131### Patch Changes
132
133- Updated dependencies []:
134 - @tanstack/db-sqlite-persistence-core@0.2.5
135
136## 0.2.4
137
138### Patch Changes
139
140- Updated dependencies []:
141 - @tanstack/db-sqlite-persistence-core@0.2.4
142
143## 0.2.3
144
145### Patch Changes
146
147- Updated dependencies []:
148 - @tanstack/db-sqlite-persistence-core@0.2.3
149
150## 0.2.2
151
152### Patch Changes
153
154- Updated dependencies []:
155 - @tanstack/db-sqlite-persistence-core@0.2.2
156
157## 0.2.1
158
159### Patch Changes
160
161- Updated dependencies [[`00389a4`](https://github.com/TanStack/db/commit/00389a47b258ad58fc3a03c5cc6f66957b9bd2d1)]:
162 - @tanstack/db-sqlite-persistence-core@0.2.1
163
164## 0.2.0
165
166### Minor Changes
167
168- SQLite persistence wrappers now prune the `applied_tx` replay log by default so SQLite files no longer grow without bound. When prune options are omitted, wrappers that construct the shared SQLite core adapter apply `appliedTxPruneMaxRows: 1_000` and `appliedTxPruneMaxAgeSeconds: 86_400` (24h). Both remain overridable, and passing `0` disables that limit. The defaults are exported as `DEFAULT_APPLIED_TX_PRUNE_MAX_ROWS` and `DEFAULT_APPLIED_TX_PRUNE_MAX_AGE_SECONDS` from the shared SQLite core package and re-exported by wrapper packages. ([#1572](https://github.com/TanStack/db/pull/1572))
169
170 The shared SQLite core adapter now treats `applied_tx` as a bounded replay cache during `pullSince` recovery. If a recovery request starts before the retained replay window, `pullSince` returns `requiresFullReload: true` instead of returning partial deltas.
171
172### Patch Changes
173
174- Updated dependencies [[`58edb26`](https://github.com/TanStack/db/commit/58edb26e87de8d992594119e39a9daa6f80620f2)]:
175 - @tanstack/db-sqlite-persistence-core@0.2.0
176
177## 0.1.11
178
179### Patch Changes
180
181- Updated dependencies []:
182 - @tanstack/db-sqlite-persistence-core@0.1.11
183
184## 0.1.10
185
186### Patch Changes
187
188- Updated dependencies []:
189 - @tanstack/db-sqlite-persistence-core@0.1.10
190
191## 0.1.9
192
193### Patch Changes
194
195- Updated dependencies []:
196 - @tanstack/db-sqlite-persistence-core@0.1.9
197
198## 0.1.8
199
200### Patch Changes
201
202- Updated dependencies []:
203 - @tanstack/db-sqlite-persistence-core@0.1.8
204
205## 0.1.7
206
207### Patch Changes
208
209- Updated dependencies []:
210 - @tanstack/db-sqlite-persistence-core@0.1.7
211
212## 0.1.6
213
214### Patch Changes
215
216- Updated dependencies []:
217 - @tanstack/db-sqlite-persistence-core@0.1.6
218
219## 0.1.5
220
221### Patch Changes
222
223- Updated dependencies []:
224 - @tanstack/db-sqlite-persistence-core@0.1.5
225
226## 0.1.4
227
228### Patch Changes
229
230- Fix workspace: dependency links that were incorrectly published to npm ([#1410](https://github.com/TanStack/db/pull/1410))
231
232- Updated dependencies [[`b779b4e`](https://github.com/TanStack/db/commit/b779b4ec127dd3f6a2fef965c52d4ee876144d8b)]:
233 - @tanstack/db-sqlite-persistence-core@0.1.4
234
235## 0.1.3
236
237### Patch Changes
238
239- Fix workspace: dependency links that were incorrectly published to npm ([#1408](https://github.com/TanStack/db/pull/1408))
240
241- Updated dependencies [[`287673d`](https://github.com/TanStack/db/commit/287673da28a9b760fa3f3b7dd993297c9217c894)]:
242 - @tanstack/db-sqlite-persistence-core@0.1.3
243
244## 0.1.2
245
246### Patch Changes
247
248- Fix workspace: dependency links that were incorrectly published to npm ([#1406](https://github.com/TanStack/db/pull/1406))
249
250- Updated dependencies [[`99ad6b5`](https://github.com/TanStack/db/commit/99ad6b598729bd3bd7aef70b8f06dc4635c1f8ce)]:
251 - @tanstack/db-sqlite-persistence-core@0.1.2
252
253## 0.1.1
254
255### Patch Changes
256
257- feat(persistence): add SQLite-based offline persistence for collections ([#1358](https://github.com/TanStack/db/pull/1358))
258
259 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.
260
261 **Core persistence (`@tanstack/db-sqlite-persistence-core`)**
262 - New package providing the shared SQLite persistence runtime: hydration, streaming, transaction tracking, and applied-tx pruning
263 - SQLite core adapter with full query compilation, index management, and schema migration support
264 - Portable conformance test contracts for runtime-specific adapters
265
266 **Browser (`@tanstack/browser-db-sqlite-persistence`)**
267 - New package for browser persistence via wa-sqlite backed by OPFS
268 - Single-tab persistence with OPFS-based SQLite storage
269 - `BrowserCollectionCoordinator` for multi-tab leader-election and cross-tab sync
270
271 **Cloudflare Durable Objects (`@tanstack/cloudflare-durable-objects-db-sqlite-persistence`)**
272 - New package for SQLite persistence in Cloudflare Durable Objects runtimes
273
274 **Node (`@tanstack/node-db-sqlite-persistence`)**
275 - New package for Node persistence via SQLite
276
277 **Electron (`@tanstack/electron-db-sqlite-persistence`)**
278 - New package providing Electron main and renderer persistence bridge helpers
279
280 **Expo (`@tanstack/expo-db-sqlite-persistence`)**
281 - New package for Expo persistence via `expo-sqlite`
282
283 **React Native (`@tanstack/react-native-db-sqlite-persistence`)**
284 - New package for React Native persistence via op-sqlite
285 - Adapter with transaction deadlock prevention and runtime parity coverage
286
287 **Capacitor (`@tanstack/capacitor-db-sqlite-persistence`)**
288 - New package for Capacitor persistence via `@capacitor-community/sqlite`
289
290 **Tauri (`@tanstack/tauri-db-sqlite-persistence`)**
291 - New package for Tauri persistence via `@tauri-apps/plugin-sql`
292
293- Updated dependencies [[`e0df07e`](https://github.com/TanStack/db/commit/e0df07e1eb2eefbc829407f337cee1d443a7e9b6), [`d351c67`](https://github.com/TanStack/db/commit/d351c677d687e667450138f66ab3bd0e11e7e347)]:
294 - @tanstack/db-sqlite-persistence-core@0.1.1