Skip to content

bdk_turso 0.3.2

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Nov 12:13
· 14 commits to main since this release
f4716dd

Added

  • Public Store::pull() refreshes a remote store's local cache and reports whether remote changes were applied. It returns Ok(false) for local stores, matching Store::push().
  • Remote cache lifecycle methods: Store::checkpoint() reclaims cache WAL space, Store::flush_cache() pushes pending changes and then checkpoints, Store::cache_stats() returns a crate-owned CacheStats, and Store::cache_path() returns the local cache file path. These are no-ops or return None for local stores.
  • Remote sync configuration on Options: with_bootstrap_if_empty, with_long_poll_timeout, with_client_name, with_auth_token_fn, with_partial_sync_opts_experimental, and with_logical_mvcc_pull. PartialSyncOpts and PartialBootstrapStrategy are re-exported from Turso. Local stores reject these options with Error::UnsupportedOption.
  • Error::RemotePull, Error::RemoteCheckpoint, and Error::RemoteStats identify failures from the new cache methods.
  • Automated crates.io publishing on v* tags, including tag/version and changelog checks, package-content checks, a publish dry run, and GitHub release creation. See RELEASING.md.

Changed

  • Documented attribution for the bdk_sqlite fork and bdk_redb tests, expectations for modified forks, and the risks of changing database tables, WAL files, or sync-cache files outside the supported APIs.
  • docs.rs now builds the crate with all features, so the wallet, psbt, and remote APIs appear in the published documentation.

Fixed

  • The blocking WalletPersister now returns Error::BlockingRuntime instead of panicking when its helper Tokio runtime cannot be built.

crates.io: https://crates.io/crates/bdk_turso/0.3.2
docs.rs: https://docs.rs/bdk_turso/0.3.2