Releases: uploadcare/uploadcare-swift
Releases · uploadcare/uploadcare-swift
0.14.0
- Added
documentInfomethod 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
0.13.0
- Added a new method for AWS Rekognition Moderation Add-on.
- Added new methods for Add-ons that wait for execution results:
performAWSRekognition,performAWSRekognitionModeration,performClamav, andperformRemoveBG. - Added a new
defaultEffectsproperty toFileandUploadedFilemodels, containing a set of processing operations applied to the file when the group is created. - Deprecated the
datetimeStoredproperty ofGroupandUploadedFilesGroupmodels; it will be removed in future releases. - Renamed the
executeAWSRecognitionmethod toexecuteAWSRekognition. - Updated the demo app.
0.12.0
- Added support for new webhook event types.
- Added support for the new multipage conversion feature.
- Fixed a bug related to authorization in external upload sources.
- Made small improvements in the Demo app.
- Removed old deprecated methods.
- Updated the documentation.
0.11.0
0.10.0
- 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
UploadedFileobject (#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
0.9.0
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.
fileInfomethod of REST API accepts query string orFileInfoQuerystruct that allows to include additional fields in the response data.fileMetadatamethod added to get file's metadata dictionary.fileMetadataValuemethod added to get metadata key's value.updateFileMetadatamethod added to update/create metadata key's value.deleteFileMetadatamethod added to delete metadata key.-
deleteGroupmethod to delete a file group by its ID.
- REST API: new methods
executeAWSRecognition,checkAWSRecognitionStatus,executeClamav,checkClamAVStatus,executeRemoveBGandcheckRemoveBGStatusfor Add-Ons feature (check Add-Ons docs for more details). Filemodel:- New property:
metadatadictionary. - New property:
appData(Application names and data associated with these applications. Check Add-Ons section of REST API). - New property:
contentInfothat contains image/video metadata and MIME type.
- New property:
UploadedFilemodel:- New property:
done(Same assizeaccording API docs). - New property:
contentInfothat contains image/video metadata and MIME type. - New property:
metadatadictionary.
- New property:
Changed:
- Fixed: type of
channelsproperty ofAudioMetadatamodel is now Int. Filemodel:- Updated:
VideoInfomodel's propertiesaudioandvideoare arrays now that contains metadata of audio and video tracks of the file.
- Updated:
Removed:
storeGroupmethod 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).
Filemodel:- Removed:
imageInfoandvideoInfo(replaced with newcontentInfoproperty). - Removed:
rekognitionInfo.
- Removed: