Skip to content

1.0.18

Choose a tag to compare

@Gioee Gioee released this 29 Apr 14:47
· 78 commits to main since this release

Packages

Flutter/Dart: flutter pub add sqlite_sync:1.0.18 or dart pub add sqlite_sync:1.0.18
Node: npm install @sqliteai/sqlite-sync
WASM: npm install @sqliteai/sqlite-wasm
React Native: npm install @sqliteai/sqlite-sync-react-native
Expo: npm install @sqliteai/sqlite-sync-expo
Android: ai.sqlite:sync:1.0.18
Swift: Installation Guide
Docker (PostgreSQL): docker pull sqlitecloud/sqlite-sync-postgres:17 or :15
Docker (Supabase): docker pull sqlitecloud/sqlite-sync-supabase:17 or :15


What's Changed

Fixed

  • cloudsync_network_check_changes() no longer errors with missing 'url' in check response when the server has not yet prepared any incoming changes for this device. The function now returns the standard "no rows yet" response in that case, so polling loops keep working without spurious errors.

Added

  • receive.lastFailure JSON field on cloudsync_network_check_changes() and cloudsync_network_sync(), surfacing the most recent server-side failure of the receive pipeline (e.g. the server failed to prepare the next batch of incoming changes for this device). It complements the existing send.lastFailure (server-side apply failures) and receive.error (local apply failures on this device), so applications can distinguish "the server has trouble producing my changes" from "I had trouble applying them locally". Each function reports only the failures relevant to its own scope: cloudsync_network_send_changes() reports send.lastFailure; cloudsync_network_check_changes() reports receive.lastFailure; cloudsync_network_sync() reports both.

Changed

  • Updated the request headers sent to the cloudsync HTTP endpoints (version advertisement, per-endpoint capabilities; legacy Accept header removed).

Full Changelog: 1.0.17...1.0.18