cloud_sync 0.4.0
cloud_sync: ^0.4.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.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
CloudSync
constructor -
BREAKING CHANGE: Refactor
CloudSync
andCloudSyncAdapter
to make generic type parameters don't depend onSyncMetadata
-
BREAKING CHANGE: Replace
useConcurrentSync
withsyncStrategy
-
BREAKING CHANGE: Refactor
SyncState
to remove generic type parameters -
BREAKING CHANGE: Rename from
progressCallback
toprogress
-
BREAKING CHANGE:
cancelSync
,stopAutoSync
anddispose
methods are now returnFuture<void>
to wait for the operations to finish -
Add
SerializableSyncAdapter
with required metadata functions for improved serialization support -
Add
SerializableSyncMetadata
class for improved serialization and deserialization -
Add
shouldThrowOnError
toCloudSync
0.3.0 #
- Remove [de]serialization and copyWith in the SyncMetadata
- Remove custom toString method from SyncCancelledException
0.2.1 #
- Add getter for
isDisposed
property in CloudSync class - Update README
0.2.0 #
- Initial release (Remove
Unlisted
flag onpub.dev
)