Releases: soto-project/soto-core
Releases · soto-project/soto-core
v6.0.0 Alpha 1
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
toAWSShape
and rename to_options
. AWSResponse.headers
type is nowHTTPHeaders
instead of[String: Any]
.AWSPayload.stream
hasbyteBufferAllocator
parameter removed as it is no longer used.
Minor Release Changes
- Add
xmlNamespace
toAWSServiceConfig
. - Add
AWSShape
option.md5ChecksumRequired
which calculates an md5 checksum of the payload and places it in headerMD5-Content
. - Add
AWSShape
option.md5ChecksumHeader
which indicates the shape has aMD5-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
asAsyncHTTPClient
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
v5.7.2
v5.7.1
- Don't throw errors while trying to decode additional fields of an AWS error response
v5.7.0 (Async/Await)
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 anAsyncSequence
ofByteBuffers
.- Async/await version of url and header signing code.
- Async/await versions of
Patch release changes
- Where applicable replace
NIO
imports withNIOCore
orNIOPosix
.
v5.6.0
v5.5.0
- Add versions of
AWSSigner.signURL
andAWSSigner.signHeaders
that include parameteromitSecurityToken
which when set to true will not include the session token in the signature. This is required for AWS IoT
v5.4.0
- 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
- 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 withTimestream.DescribeEndpoints
and a number of other operations.
v5.3.0
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 usingAWSClient.Options
log level settings
Other changes
CI now builds against swift 5.4
Using swift format v0.47.13