Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

CHANGELOG.md

196 lines6.0 KB

@tanstack/react-native-db-sqlite-persistence

0.2.9

Patch Changes

  • Updated dependencies []:
    • @tanstack/db-sqlite-persistence-core@0.2.9

0.2.8

Patch Changes

  • Updated dependencies []:
    • @tanstack/db-sqlite-persistence-core@0.2.8

0.2.7

Patch Changes

  • Updated dependencies []:
    • @tanstack/db-sqlite-persistence-core@0.2.7

0.2.6

Patch Changes

  • Updated dependencies [f7da776]:
    • @tanstack/db-sqlite-persistence-core@0.2.6

0.2.5

Patch Changes

  • Updated dependencies []:
    • @tanstack/db-sqlite-persistence-core@0.2.5

0.2.4

Patch Changes

  • Updated dependencies []:
    • @tanstack/db-sqlite-persistence-core@0.2.4

0.2.3

Patch Changes

  • Updated dependencies []:
    • @tanstack/db-sqlite-persistence-core@0.2.3

0.2.2

Patch Changes

  • Updated dependencies []:
    • @tanstack/db-sqlite-persistence-core@0.2.2

0.2.1

Patch Changes

  • Updated dependencies [00389a4]:
    • @tanstack/db-sqlite-persistence-core@0.2.1

0.2.0

Minor Changes

  • 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)

    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.

Patch Changes

  • Updated dependencies [58edb26]:
    • @tanstack/db-sqlite-persistence-core@0.2.0

0.1.11

Patch Changes

  • Updated dependencies []:
    • @tanstack/db-sqlite-persistence-core@0.1.11

0.1.10

Patch Changes

  • Updated dependencies []:
    • @tanstack/db-sqlite-persistence-core@0.1.10

0.1.9

Patch Changes

  • Updated dependencies []:
    • @tanstack/db-sqlite-persistence-core@0.1.9

0.1.8

Patch Changes

  • Updated dependencies []:
    • @tanstack/db-sqlite-persistence-core@0.1.8

0.1.7

Patch Changes

  • Updated dependencies []:
    • @tanstack/db-sqlite-persistence-core@0.1.7

0.1.6

Patch Changes

  • Updated dependencies []:
    • @tanstack/db-sqlite-persistence-core@0.1.6

0.1.5

Patch Changes

  • Updated dependencies []:
    • @tanstack/db-sqlite-persistence-core@0.1.5

0.1.4

Patch Changes

  • Fix workspace: dependency links that were incorrectly published to npm (#1410)

  • Updated dependencies [b779b4e]:

    • @tanstack/db-sqlite-persistence-core@0.1.4

0.1.3

Patch Changes

  • Fix workspace: dependency links that were incorrectly published to npm (#1408)

  • Updated dependencies [287673d]:

    • @tanstack/db-sqlite-persistence-core@0.1.3

0.1.2

Patch Changes

  • Fix workspace: dependency links that were incorrectly published to npm (#1406)

  • Updated dependencies [99ad6b5]:

    • @tanstack/db-sqlite-persistence-core@0.1.2

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-persistence-core)

    • New package providing the shared SQLite persistence runtime: hydration, streaming, transaction tracking, and applied-tx pruning
    • SQLite core adapter with full query compilation, index management, and schema migration support
    • Portable conformance test contracts for runtime-specific adapters

    Browser (@tanstack/browser-db-sqlite-persistence)

    • New package for browser persistence via wa-sqlite backed by OPFS
    • Single-tab persistence with OPFS-based SQLite storage
    • BrowserCollectionCoordinator for multi-tab leader-election and cross-tab sync

    Cloudflare Durable Objects (@tanstack/cloudflare-durable-objects-db-sqlite-persistence)

    • New package for SQLite persistence in Cloudflare Durable Objects runtimes

    Node (@tanstack/node-db-sqlite-persistence)

    • New package for Node persistence via SQLite

    Electron (@tanstack/electron-db-sqlite-persistence)

    • New package providing Electron main and renderer persistence bridge helpers

    Expo (@tanstack/expo-db-sqlite-persistence)

    • New package for Expo persistence via expo-sqlite

    React Native (@tanstack/react-native-db-sqlite-persistence)

    • New package for React Native persistence via op-sqlite
    • Adapter with transaction deadlock prevention and runtime parity coverage

    Capacitor (@tanstack/capacitor-db-sqlite-persistence)

    • New package for Capacitor persistence via @capacitor-community/sqlite

    Tauri (@tanstack/tauri-db-sqlite-persistence)

    • New package for Tauri persistence via @tauri-apps/plugin-sql
  • Updated dependencies [e0df07e, d351c67]:

    • @tanstack/db-sqlite-persistence-core@0.1.1