Skip to content

Latest commit

 

History

History
204 lines (149 loc) · 7.47 KB

CHANGELOG.md

File metadata and controls

204 lines (149 loc) · 7.47 KB

Change Log

Version 2.8.0 (2021-08-06)

  • Set networkServiceType to .responsiveData in UploadService to prioritize upload requests.
  • Added currentUploaders and isUploading to Client so SDK users can obtain the uploaders currently in use (e.g. to cancel or query progress.)

Version 2.7.0 (2021-02-12)

  • Added context property to JSONResponse.
  • Upload responses now contain the Uploadable objects used during the upload process in the context property of the JSONResponse object(s).

Version 2.6.3 (2021-02-10)

  • Fixed APIService overwriteRequest(handle:path:parameters:security:) to configure request with method POST instead of GET.

Version 2.6.2 (2021-02-03)

  • Fixed MetadataOptions, PolicyCall, and TransformPosition options visibility.

Version 2.6.1 (2021-02-03)

  • Removed Objective-C code dependency.

Version 2.6.0 (2021-01-29)

  • Removed dependency on AlamoFire.

Version 2.5.2 (2020-11-12)

  • Changed transformable store request to use GET instead of POST.

Version 2.5.1 (2020-10-19)

  • Ensuring automatic deletion of uploaded files logic is triggered in case the upload process is cancelled before starting.

Version 2.5.0 (2020-10-16)

  • Added optional setting to allow automatic deletion of uploaded files if they are located in the user's temporary directory.

Version 2.4.1 (2020-10-02)

  • Improved memory usage when using the regular upload mechanism.

Version 2.4.0 (2020-09-30)

  • Added support for Upload Tags.
  • Added support for Swift Package Manager.

Version 2.3.2 (2020-07-30)

  • Fixed transforms using the wrong base URL resulting in 404 responses.

Version 2.3.1 (2020-07-09)

  • 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.

Version 2.3 (2020-07-08)

  • 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.

Version 2.2.2 (2020-05-04)

  • Added filename property to Uploadable and default implementation for URL (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 in Cartfile and podspec.

Version 2.2.1 (2020-01-16)

  • Fixed missing store options when uploading files using the regular uploading mechanism.

Version 2.2 (2019-09-18)

  • Added upload(using:options:queue:uploadProgress:completionHandler:) taking one or multiple Uploadable items as input to Client and deprecated multiPartUpload(...) and multiFileUpload(...).
  • Added equivalent new upload functionality for Objective-C that allows uploads of one or several local NSURL or NSData.
  • Client upload functions now return types based on protocols, such as Uploadable, 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 helper Tools.describe(subject:only:except:).
  • Added static defaults function to StorageOptions defaulting to StorageOptions(location: .S3, access: .private).
  • Removed unused storage property from Client and marked init(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.

Version 2.1 (2019-09-05)

  • Restored Objective-C support.
  • Made Transform typealiases publicly available.
  • Minor documentation fixes.

Version 2.0.2 (2019-08-31)

  • Added support for transformations that take multiple handles or external URLs as input to Client (see transformable(handles:) and transformable(externalURLs:).)

Version 2.0.1 (2019-08-30)

  • 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).

Version 2.0 (2019-06-15)

  • 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:) (now store(using:,base64Decode:,queue:,completionHandler:)) in Transformable class.
  • RoundedCornersTransform transformation is now working as expected (was RoundCornersTransform before.)
  • Deprecated AsciiTransform (now ASCIITransform).
  • Deprecated ProgressiveJpegTransform (now ProgressiveJPEGTransform).
  • Deprecated RoundCornersTransform (now RoundedCornersTransform).
  • Deprecated UrlScreenshotTransform (now URLScreenshotTransform).
  • Dropped support for iOS versions earlier than 11.0.
  • Dropped support for Swift versions earlier than 4.2.

Version 1.2.7 (2018-07-18)

  • Fix test target.

Version 1.2.6 (2018-06-20)

  • Added new image content detection transforms.

Version 1.2.5 (2018-06-18)

  • Added new Transforms.
  • Moved some Transform related string to enums.

Version 1.2.4 (2018-06-11)

  • Added MultifileUpload class.

Version 1.2.3 (2018-06-01)

  • Updated CryptoSwift to version 0.10.0.

Version 1.2.2 (2017-12-19)

  • Added @objc decorator to MultipartUpload's cancel() function.

Version 1.2.1 (2017-12-19)

  • Updated CryptoSwift and Alamofire dependencies.
  • Upgraded code to Swift 4.

Version 1.2 (2017-11-20)

  • Migrated from Arcane to CryptoSwift.

Version 1.1 (2017-11-03)

  • Added support for store options to uploads functionality.
  • Improved upload error reporting.

Version 1.0.2 (2017-11-01)

  • 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.

Version 1.0.1 (2017-10-31)

  • Added startUploadImmediately argument and turning localURL into an optional argument in Client multipartUpload function.
  • Declared MultipartUpload uploadFile() function public.
  • Added StorageOptions class.

Version 1.0 (2017-08-23)

Initial release.