github TanStack/db @tanstack/db-sqlite-persistence-core@0.2.0

latest releases: @tanstack/expo-db-sqlite-persistence@0.2.0, @tanstack/electron-db-sqlite-persistence@0.1.12, @tanstack/react-db@0.1.86...
9 hours ago

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 [3827b62]:
    • @tanstack/db@0.6.8

Don't miss a new db release

NewReleases is sending notifications on new releases.