cloud_sync 0.5.0
cloud_sync: ^0.5.0 copied to clipboard
A Dart library for synchronizing files between local and cloud storage using customizable metadata and data handlers, with progress callbacks and error handling.
0.5.0 #
-
BREAKING CHANGE: Refactor SyncAdapter:
SyncAdapter.save(metadata, detail):detailcan benull.
0.4.0 #
-
BREADKING CHANGE: Refactor CloudSync factory documentation for clarity and consistency
From:
final cloudSync = CloudSync.formAdapters(localAdapter, cloudAdapter);To
final cloudSync = CloudSync.formAdapters( local: localAdapter, cloud: cloudAdapter, ); -
BREAKING CHANGE: Remove
CloudSyncconstructor -
BREAKING CHANGE: Refactor
CloudSyncandCloudSyncAdapterto make generic type parameters don't depend onSyncMetadata -
BREAKING CHANGE: Replace
useConcurrentSyncwithsyncStrategy -
BREAKING CHANGE: Refactor
SyncStateto remove generic type parameters -
BREAKING CHANGE: Rename from
progressCallbacktoprogress -
BREAKING CHANGE:
cancelSync,stopAutoSyncanddisposemethods are now returnFuture<void>to wait for the operations to finish -
Add
SerializableSyncAdapterwith required metadata functions for improved serialization support -
Add
SerializableSyncMetadataclass for improved serialization and deserialization -
Add
shouldThrowOnErrortoCloudSync
0.3.0 #
- Remove [de]serialization and copyWith in the SyncMetadata
- Remove custom toString method from SyncCancelledException
0.2.1 #
- Add getter for
isDisposedproperty in CloudSync class - Update README
0.2.0 #
- Initial release (Remove
Unlistedflag onpub.dev)