- DATE:
- AUTHOR:
- PowerSync Product Team
PowerSync Attachments Library for React Native and JavaScript/TypeScript: v2.0.3
We are pleased to announce the release of version 2.0.4 of the the PowerSync attachments library for React Native and JavaScript/TypeScript apps (@powersync/attachments).
See the full changelog below.
Have any questions or feedback? Chat with us and the PowerSync community on Discord.
Changelog
v2.0.4
[IMRPOVED] Renamed the package from
@journeyapps/powersync-
to@powersync/
. The@journeyapps/powersync-attachments
package is deprecated and the renamed package is published here: https://www.npmjs.com/package/@powersync/attachmentsUpdated dependencies
v2.0.1-2.0.3
Updated dependencies.
v2.0.0
[IMPROVED] Breaking change: Renamed abstract
attachmentIds
toonAttachmentIdsChange
inAbstractAttachmentQueue
and updated it to use the new callback signature of thewatch
method instead of anAsyncGenerator
.Updated dependencies.
v1.1.1-v1.1.3
Updated dependencies.
v1.1.0
[ADDED] The ability to allow users to handle errors through new
onDownloadError
andonUploadError
methods when setting up the queue.
v1.0.2-v1.0.6
Updated dependencies.
v1.0.1
[ADDED]
getLocalFilePathSuffix()
to only append afilename
to the attachment directory name.[FIXED] The above fixes an error that was thrown when running an app using the iOS Simulator as the app tried to read the local file reference.
Breaking changes:
queue.getLocalUri(filename)
references in your app need to change toqueue.getLocalUri(queue.getLocalFilePathSuffix(filename))
v1.0.0
Initial stable release.