Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 2.56 KB

CHANGELOG.md

File metadata and controls

62 lines (43 loc) · 2.56 KB

0.2.0

  • Update PowerSync SQLite core extension to 0.5.4 (release notes).
  • Support direct tables.
  • Breaking: Split BackendConnector trait into Authenticator and MutationUploader.
    • Authenticator is allowed to cache tokens now, and is informed when a token has expired.
    • Add SyncOptions::download_only and SyncOptions::upload_only for unidirectional sync.

0.1.1

  • Add PriorityStatus, exposing sync status grouped by priority groups of Sync Streams.

0.1.0

  • Breaking: PowerSyncEnvironment::custom now needs a way to spawn async tasks. Replace tokio_timer() or async_io_timer() timers with tokio() or async_io(), respectively.
  • Don't mark sync status as connected when connection fails.
  • Fix sync client blocking writer for longer than necessary.
  • Set cache size and busy timeout on all connections instead of just the writer.
  • Add PowerSyncDatabase::request_checkpoint, which can be used to "sync now": The checkpoint completes once all source data created before the checkpoint has synced.
  • Add PowerSyncDatabase::disconnect_and_clear to remove PowerSync data from a database.

0.0.7

  • Update PowerSync core extension to version 0.5.2.

0.0.6

  • Skip creating ps_crud entries when clearing raw tables.
  • Call upload_data repeatedly if an upload fails.
  • Add PowerSyncError::upload_error, which can be used to convert any error into PowerSync errors for upload_data callbacks.

0.0.5

  • Breaking: Remove the http-client crate dependency. Instead, implement the HttpClient trait from the powersync crate directly.
  • Breaking: The Timer passed to PowerSyncEnvironment is now a &'static reference instead of a Box.
  • Breaking: LeasedConnection is a struct instead of a trait now.
  • Add PowerSyncDatabase::watch_all_updates to emit updates of all changed tables.

0.0.4

  • Update PowerSync core extension to version 0.4.11.
  • Improvements for raw tables:
    • The put and delete statements are optional now.
    • The RawTableSchema struct represents a raw table in the local database, and can be used to create triggers forwarding writes to the CRUD upload queue and to infer statements used to sync data into raw tables.

0.0.3

  • Add PowerSyncDatabase::watch_statement to get an auto-updating stream of query results.

0.0.2

  • Configure automated publishing to crates.io.

0.0.1

  • Initial release.