Skip to content

Releases: uploadcare/uploadcare-swift

0.14.0

29 May 14:21
c986c38
Compare
Choose a tag to compare
  • Added documentInfo method to determine document format and conversion formats, available for both synchronous and asynchronous usage (API reference).
  • Added Privacy manifest.
  • Updated package dependencies for Linux to improve compatibility and performance.

0.13.1

27 Feb 09:43
ce7a27e
Compare
Choose a tag to compare

What's Changed

0.13.0

28 Nov 22:17
3ab0706
Compare
Choose a tag to compare
  • Added a new method for AWS Rekognition Moderation Add-on.
  • Added new methods for Add-ons that wait for execution results: performAWSRekognition, performAWSRekognitionModeration, performClamav, and performRemoveBG.
  • Added a new defaultEffects property to File and UploadedFile models, containing a set of processing operations applied to the file when the group is created.
  • Deprecated the datetimeStored property of Group and UploadedFilesGroup models; it will be removed in future releases.
  • Renamed the executeAWSRecognition method to executeAWSRekognition.
  • Updated the demo app.

0.12.0

04 Oct 09:55
5b298ea
Compare
Choose a tag to compare

0.11.0

05 Sep 22:17
84148eb
Compare
Choose a tag to compare
  • Added support for Linux, making all async/await methods available for Linux applications and server-side Swift projects.
  • Updated the minimum required Swift version to 5.6.

0.10.0

15 Aug 11:29
8186c92
Compare
Choose a tag to compare
  • Now all methods support Swift Concurrency (async-await) (#83).
  • Added a new method to upload a file from a URL that waits until the upload finishes and returns an UploadedFile object (#107).
  • All methods have examples of usage in the source code documentation. You can find them by OPTION+click on a method in Xcode or by using "Build Documentation" feature.
  • Demo app now uses new async methods.

0.9.1

24 Nov 12:35
416039a
Compare
Choose a tag to compare
  • Fix for a callback returning an error after uploading a video file using multipart uploading. (#105)

0.9.0

20 Oct 21:26
d16065b
Compare
Choose a tag to compare

This release is a result of REST API update to a new version. Read more about it here.

New:

  • Using REST API version 0.7.
  • Minimum required Swift version is now 5.5.
  • Metadata dictionary can be provided for direct, multipart and primary upload methods.
  • Metadata dictionary can be provided for Upload from URL method.
  • fileInfo method of REST API accepts query string or FileInfoQuery struct that allows to include additional fields in the response data.
  • fileMetadata method added to get file's metadata dictionary.
  • fileMetadataValue method added to get metadata key's value.
  • updateFileMetadata method added to update/create metadata key's value.
  • deleteFileMetadata method added to delete metadata key.
    • deleteGroup method to delete a file group by its ID.
  • REST API: new methods executeAWSRecognition, checkAWSRecognitionStatus, executeClamav, checkClamAVStatus, executeRemoveBG and checkRemoveBGStatus for Add-Ons feature (check Add-Ons docs for more details).
  • File model:
    • New property: metadata dictionary.
    • New property: appData (Application names and data associated with these applications. Check Add-Ons section of REST API).
    • New property: contentInfo that contains image/video metadata and MIME type.
  • UploadedFile model:
    • New property: done (Same as size according API docs).
    • New property: contentInfo that contains image/video metadata and MIME type.
    • New property: metadata dictionary.

Changed:

  • Fixed: type of channels property of AudioMetadata model is now Int.
  • File model:
    • Updated: VideoInfo model's properties audio and video are arrays now that contains metadata of audio and video tracks of the file.

Removed:

  • storeGroup method is unavailable (removed on API side). To store or remove files from a group, query the list of files in it, split the list into chunks of 100 files per chunk and then perform batch file storing or batch file removal for all the chunks.
  • Removed sorting by size from pagination query for getting list of files (removed on API side).
  • File model:
    • Removed: imageInfo and videoInfo (replaced with new contentInfo property).
    • Removed: rekognitionInfo.

0.8.2

03 Oct 20:08
68abc7e
Compare
Choose a tag to compare

What's fixed:

  • Crash when detecting mime type of a small file (#102)

0.8.1

23 Aug 09:00
e633281
Compare
Choose a tag to compare

What's fixed:

  • File storing behavior was missing for direct upload requests