DATE:
AUTHOR:
PowerSync Product Team
FLUTTER PACKAGES/LIBRARIES

PowerSync Attachments Library for Flutter: v0.4.0

DATE:
AUTHOR: PowerSync Product Team

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 savePhoto and deletePhoto have been removed in favor of saveFile and deleteFile.

  • [ADDED] optional subDirectories argument when initializing the queue so that local subDirectories are created to match any subDirectories on 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 executeBatch delete.

  • [FIXED] Loop to use continue instead of return.

v0.3.0

  • [IMPROVED] Breaking change: reconcileId has been removed in favor ofreconcileIds. This will require a change to the watchIds implementation which is shown in example/getting_started.dart

  • [IMPROVED] Attachments queue so that uploads, downloads and deletes do not happen multiple times.

v0.2.1

  • [ADDED] onUploadError as an optional function that can be set when setting up the queue to handle upload errors

  • [ADDED] onDownloadError as 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.

Powered by LaunchNotes