Skip to content

Releases: soto-project/soto-core

v6.0.0 Alpha 1

17 Dec 17:32
a26b4bd
Compare
Choose a tag to compare
v6.0.0 Alpha 1 Pre-release
Pre-release

Many of the changes here are help facilitate the move to AWS service model files using Smithy.

Major Release Changes

  • AWSHTTPClient, AWSHTTPRequest, AWSHTTPResponse are no longer public symbols.
  • Move _payloadOptions to AWSShape and rename to _options.
  • AWSResponse.headers type is now HTTPHeaders instead of [String: Any].
  • AWSPayload.stream has byteBufferAllocator parameter removed as it is no longer used.

Minor Release Changes

  • Add xmlNamespace to AWSServiceConfig.
  • Add AWSShape option .md5ChecksumRequired which calculates an md5 checksum of the payload and places it in header MD5-Content.
  • Add AWSShape option .md5ChecksumHeader which indicates the shape has a MD5-Content header which will be calculated if the service config has option .calculateMD5 set to true.
  • Add Location.hostname which is used for placing content in the hostname.
  • Add Location.headerPrefix which is used for placing a dictionary into multiple headers with the keys prefixed by a string. This was part of the S3 middleware but has now been generalised.

Patch changes

  • Remove retry on NIOConnectionError as AsyncHTTPClient does this for us.
  • Only retry on HTTPClient.remoteConnectionClosed in debug builds as this could retry non-idempotent calls even when they have been successful.
  • Set user-agent header to "Soto/6.0".

Other changes

  • Use endpoints.json file from aws-sdk-go-v2 when generating region file
  • Renamed sanity scripts to validate

v5.8.0

08 Nov 09:57
Compare
Choose a tag to compare

Minor version changes

  • Add AWSClient.getCredential(), EventLoopFuture and async/await versions. PR #471
  • Add new region us-iso-west-1

v5.7.2

26 Oct 07:38
41f4beb
Compare
Choose a tag to compare
  • Add option to disable s3 chunked uploads. PR #466

v5.7.1

04 Oct 07:45
1f5878c
Compare
Choose a tag to compare
  • Don't throw errors while trying to decode additional fields of an AWS error response

v5.7.0 (Async/Await)

24 Sep 07:25
Compare
Choose a tag to compare

Minor release changes

  • Added support for new concurrency features in Swift 5.5. Support includes
    • Async/await versions of AWSClient.execute.
    • AsyncCredentialProvider protocol.
    • AsyncSequence paginators.
    • Async/await version of AWSClient.waitUntil.
    • AWSPayload can be initialised with an AsyncSequence of ByteBuffers.
    • Async/await version of url and header signing code.

Patch release changes

  • Where applicable replace NIO imports with NIOCore or NIOPosix.

v5.6.0

06 Sep 08:43
Compare
Choose a tag to compare
  • Added support for service endpoint discovery. Ask service for endpoints, cache them and use them for all other requests. PR #457
  • Added AWSServiceConfig.Options.enableEndpointDiscovery to enable endpoint discovery where it is optional, eg DynamoDB
  • Added Body.isEmpty

v5.5.0

13 Aug 13:13
Compare
Choose a tag to compare
  • Add versions of AWSSigner.signURL and AWSSigner.signHeaders that include parameter omitSecurityToken which when set to true will not include the session token in the signature. This is required for AWS IoT

v5.4.0

21 Jul 14:16
56f009d
Compare
Choose a tag to compare
  • Make Swift 5.2 the minimum requirement. PR #447
  • Add support for waiters (client-side abstraction used to poll a resource until a desired state is reached). PR #446
  • Add support for host prefixes: a string an api call will prefix at beginning of endpoint hostname. PR #448
  • This release brings in a new dependency: JMESPath.

v5.3.1

21 May 07:05
c577678
Compare
Choose a tag to compare
  • Remove hack to get around response streaming issue with AsyncHTTPClient, now that it is fixed in v1.3.0
  • Json POST and PUT requests now always include a Json body, even if it is only {}. Fixes issues with Timestream.DescribeEndpoints and a number of other operations.

v5.3.0

04 May 10:03
8691bc4
Compare
Choose a tag to compare

Minor changes

  • Added AWSClient.Options.errorLogLevel to control what log level to use for errors

Patch changes

  • Downgraded most log levels below info or allow then to be configurable using AWSClient.Options log level settings

Other changes

CI now builds against swift 5.4
Using swift format v0.47.13