Releases: uploadcare/uploadcare-swift
Releases · uploadcare/uploadcare-swift
0.14.0
- 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
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
defaultEffects
property toFile
andUploadedFile
models, containing a set of processing operations applied to the file when the group is created. - Deprecated the
datetimeStored
property ofGroup
andUploadedFilesGroup
models; it will be removed in future releases. - Renamed the
executeAWSRecognition
method 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
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
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.
fileInfo
method of REST API accepts query string orFileInfoQuery
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
andcheckRemoveBGStatus
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.
- New property:
UploadedFile
model:- New property:
done
(Same assize
according API docs). - New property:
contentInfo
that contains image/video metadata and MIME type. - New property:
metadata
dictionary.
- New property:
Changed:
- Fixed: type of
channels
property ofAudioMetadata
model is now Int. File
model:- Updated:
VideoInfo
model's propertiesaudio
andvideo
are arrays now that contains metadata of audio and video tracks of the file.
- Updated:
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
andvideoInfo
(replaced with newcontentInfo
property). - Removed:
rekognitionInfo
.
- Removed: