- DATE:
- AUTHOR:
- PowerSync Product Team
PowerSync Attachments Library for Flutter: v0.4.0
We are pleased to announce the release of version 0.4.0 of the the PowerSync attachments library for Flutter/Dart apps (powersync_attachments_helper).
See the full changelog below.
Have any questions or feedback? Chat with us and the PowerSync community on Discord.
Changelog
v0.4.0
[BREAKING CHANGE] Generalize naming so
savePhotoanddeletePhotohave been removed in favor ofsaveFileanddeleteFile.[ADDED] optional
subDirectoriesargument when initializing the queue so that localsubDirectoriesare created to match anysubDirectorieson the storage provider allowing files to be saved instead of an error being thrown.
v0.3.2
[FIXED] Sync not resetting after an error is thrown.
v0.3.1
[ADDED] Periodic syncing and deleting of attachments.
[IMPROVED] Removed unnecessary
executeBatchdelete.[FIXED] Loop to use
continueinstead ofreturn.
v0.3.0
[IMPROVED] Breaking change:
reconcileIdhas been removed in favor ofreconcileIds. This will require a change to thewatchIdsimplementation which is shown inexample/getting_started.dart[IMPROVED] Attachments queue so that uploads, downloads and deletes do not happen multiple times.
v0.2.1
[ADDED]
onUploadErroras an optional function that can be set when setting up the queue to handle upload errors[ADDED]
onDownloadErroras an optional function that can be set when setting up the queue to handle upload errors
v0.2.0
Potentially breaking change:
For users who rely on multiple attachment queues. Moved away from randomly generating queue table name in favor of a user creating a queue and table using a name of their choosing.
v0.1.5
[IMPROVED] Allow different file extensions besides jpg.
v0.1.4
[IMPROVED] Declared Linux, macOS and Windows platform support.
v0.1.0
Initial beta release.