Skip to content

v4.0.0

Choose a tag to compare

@adam-fowler adam-fowler released this 22 Nov 11:28
22c57f8

Using v4.0.0 of aws-sdk-swift-core.

Major version changes

  • aws-sdk-swift now requires Swift 5.0 or later.
  • We are now using Swift NIO 2.x. If you are dependent on a package using Swift NIO 1.14 or earlier eg Vapor 3, do not update to this version of aws-sdk-swift-core.

Features

  • Sync service model files to v1.25.32 of aws-sdk-go.
  • Re-worked HTTPClient so can work with NIO transport services. Because of this work aws-sdk-swift now works on iOS.
  • Service classes have a EventLoopGroupProvider parameter, an enum with which you can provide your own eventLoopGroup for aws-sdk-swift to use.
  • If service struct is initialised with accessKeyId and secretAccessKey set to "" then requests are sent to AWS unsigned. This gives access to AWS services such as CognitoIdentityProvider without access credentials.
  • Added multipart upload and download from S3.

Bug fixes

  • Fixed issue with incorrect error types being thrown for some services.
  • S3: Fixed uploading to S3 with a filename containing spaces.
  • S3: Buckets containing a period do not use virtual addressing anymore. Removed validation saying you cannot use bucket names containing a period.
  • ComprehendMedical: Added dxName case to EntitySubType enum.