- Set
networkServiceType
to.responsiveData
inUploadService
to prioritize upload requests. - Added
currentUploaders
andisUploading
toClient
so SDK users can obtain the uploaders currently in use (e.g. to cancel or query progress.)
- Added
context
property toJSONResponse
. - Upload responses now contain the
Uploadable
objects used during the upload process in thecontext
property of theJSONResponse
object(s).
- Fixed
APIService
overwriteRequest(handle:path:parameters:security:)
to configure request with method POST instead of GET.
- Fixed
MetadataOptions
,PolicyCall
, andTransformPosition
options visibility.
- Removed Objective-C code dependency.
- Removed dependency on
AlamoFire
.
- Changed transformable store request to use GET instead of POST.
- Ensuring automatic deletion of uploaded files logic is triggered in case the upload process is cancelled before starting.
- Added optional setting to allow automatic deletion of uploaded files if they are located in the user's temporary directory.
- Improved memory usage when using the regular upload mechanism.
- Added support for Upload Tags.
- Added support for Swift Package Manager.
- Fixed transforms using the wrong base URL resulting in 404 responses.
- Cancelling an upload is now also reflected on its associated
progress
object. - Fixed a possible race condition when cancelling an upload operation right after it started.
- Added support for background uploads (see "Enabling background upload support" in README.md for more information.)
- Improved upload progress reporting.
- Improved retry and cancellation logic in upload operations.
- Significantly improved performance of MD5 and Hmac calculations by relying on
CommonCrypto
. - Removed
CryptoSwift
dependency.
- Added
filename
property toUploadable
and default implementation forURL
(addresses #19.) - Improved reliability of
MultipartUpload
abort logic (addresses #18.) - Removed unnecessary files from Copy Bundle Resources phase (addresses #17.)
- Updated
CryptoSwift
dependency to~> 1.3
inCartfile
and podspec.
- Fixed missing store options when uploading files using the regular uploading mechanism.
- Added
upload(using:options:queue:uploadProgress:completionHandler:)
taking one or multipleUploadable
items as input toClient
and deprecatedmultiPartUpload(...)
andmultiFileUpload(...)
. - Added equivalent new upload functionality for Objective-C that allows uploads of one or several local
NSURL
orNSData
. Client
upload functions now return types based on protocols, such asUploadable
,DeferredAdd
,Cancellable
,Monitorizable
or combinations of these.- Added
UploadOptions
class that allows customizing the upload behavior in a much more fine-grained way. - Added
CustomStringConvertible
conformance to most public classes using newly added helperTools.describe(subject:only:except:)
. - Added static
defaults
function toStorageOptions
defaulting toStorageOptions(location: .S3, access: .private)
. - Removed unused
storage
property fromClient
and markedinit(apiKey:security:storage:)
as deprecated. - Exposed more API to Objective-C.
- Updated
Alamofire
dependency to~> 4.9
. - Updated
CryptoSwift
dependency to~> 1.0
. - Improved documentation.
- Restored Objective-C support.
- Made
Transform
typealiases publicly available. - Minor documentation fixes.
- Added support for transformations that take multiple handles or external URLs as input to
Client
(seetransformable(handles:)
andtransformable(externalURLs:)
.)
- Added animate transform.
- Added minify CSS transform.
- Added minify JS transform.
- Added auto image transform.
- Added OCR transform.
- Added copyright transform.
- Added presets to enhance transform (see
TransformEnhancePreset
).
- Added synchronous document transformations support.
- Added workflows support.
- Added several missing typealiases to
Transform
. - Fixed multipart upload failure during the complete operation stage (PR #12.)
- Fixed some memory leaks in multipart uploads.
- Deprecated
store(fileName:,location:,path:,container:,region:,access:,base64Decode:,queue:,completionHandler:)
(nowstore(using:,base64Decode:,queue:,completionHandler:)
) inTransformable
class. RoundedCornersTransform
transformation is now working as expected (wasRoundCornersTransform
before.)- Deprecated
AsciiTransform
(nowASCIITransform
). - Deprecated
ProgressiveJpegTransform
(nowProgressiveJPEGTransform
). - Deprecated
RoundCornersTransform
(nowRoundedCornersTransform
). - Deprecated
UrlScreenshotTransform
(nowURLScreenshotTransform
). - Dropped support for iOS versions earlier than 11.0.
- Dropped support for Swift versions earlier than 4.2.
- Fix test target.
- Added new image content detection transforms.
- Added new Transforms.
- Moved some Transform related string to enums.
- Added
MultifileUpload
class.
- Updated CryptoSwift to version 0.10.0.
- Added @objc decorator to MultipartUpload's
cancel()
function.
- Updated CryptoSwift and Alamofire dependencies.
- Upgraded code to Swift 4.
- Migrated from Arcane to CryptoSwift.
- Added support for store options to uploads functionality.
- Improved upload error reporting.
- Disabled new Xcode build system to prevent issues with Carthage builds.
- Updated Arcane dependency to version 1.0.
- Updated Alamofire dependency to version 4.5.1.
- Added
startUploadImmediately
argument and turninglocalURL
into an optional argument inClient
multipartUpload
function. - Declared
MultipartUpload
uploadFile()
function public. - Added
StorageOptions
class.
Initial release.