Skip to content

v7.0.0

Latest
Compare
Choose a tag to compare
@adam-fowler adam-fowler released this 08 Jul 11:49
· 2 commits to main since this release

Using SotoCore 7.0.0

Major release changes

  • Internals of Soto are now Swift concurrency based and all EventLoop based APIs have been removed.
  • Replace AWSPayload with AWSHTTPBody which can be either a single ByteBuffer or a stream of ByteBuffers to store request and response payloads.
  • Decode response headers by passing ResponseDecodingContainer which holds details of raw response to decoder.
  • Encode request headers, query parameters by passing RequestEncodingContainer which holds reference to raw request to encoder.
  • Add support for decoding Event streams.
  • Reduced export of public symbols from SotoSignerV4 and SotoCore.
  • SotoXML is imported as implementationOnly so is unavailable outside of SotoCore.
  • Restructure Middleware, new type AWSMiddlewareProtocol replaces AWSServiceMiddleware, added AWSMiddlewareStack result builder.
  • Require Swift 5.8

Minor release changes

  • Use AsyncHTTPClient Swift concurrency based APIs
  • Adding AWSTracingMiddleware to add basic tracing support to Soto calls.
  • S3: Multipart upload
    • Add support for uploading a single ByteBuffer. PR #691
    • Add concurrentUploads parameter to control how many uploads run at the same time. PR #692
    • Remove ThreadPoolProvider and replace with NIOThreadPool defaulting to NIOThreadPool.singleton.
  • S3: Add support for concurrent multipart downloads. PR #705
  • Use async NonBlockingFileIO APIs instead of APIs requiring an EventLoop
  • Add S3.generatePresignedPost for HTML form based uploads. PR #710 from @nicksloan