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

CHANGELOG.md

104 lines5.7 KB

@tanstack/db-sqlite-persistence-core

0.1.9

Patch Changes

0.1.8

Patch Changes

  • Updated dependencies [1e69dd6]:
    • @tanstack/db@0.6.4

0.1.7

Patch Changes

0.1.6

Patch Changes

0.1.5

Patch Changes

  • Updated dependencies [8b7fb1a]:
    • @tanstack/db@0.6.1

0.1.4

Patch Changes

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

0.1.3

Patch Changes

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

0.1.2

Patch Changes

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

0.1.1

Patch Changes

  • fix(persistence): harden persisted startup, truncate metadata semantics, and resume identity matching (#1380)

    • Restore persisted wrapper markReady fallback behavior so startup failures do not leave collections stuck in loading state
    • Replace load cancellation reference identity tracking with deterministic load keys for loadSubset / unloadSubset
    • Document intentional truncate behavior where collection-scoped metadata writes are preserved across truncate transactions
    • Tighten SQLite applied_tx migration handling to only ignore duplicate-column add errors
    • Stabilize Electric shape identity serialization so persisted resume compatibility does not depend on object key insertion order
  • 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 [f60384b, b8abc02, 09c7afc, bb09eb1, 179d666, 43ecbfa, 055fd94, 055fd94, 055fd94, 055fd94, 85f5435, b65d8f7, e0df07e, 9952921, d351c67]:

    • @tanstack/db@0.6.0