Releases: soto-project/soto-core
Releases · soto-project/soto-core
v6.1.3
- Fix Swift 5.6 compile error caused by latest version of AsyncHTTPClient
- Replace all uses of
Lock
withNIOLock
v6.1.2
Added new region me-central-1
v6.1.1
- Add new service flag
.s3Disable100Continue
. Some S3 like services do not like theExpect: 100-Continue
header.
v6.1.0
- Remove
@preconcurrency
prefix from NIO and Logging imports as it is no longer needed - Don't include
content-type
,content-length
,expect
anduser-agent
headers when calculating V4 signature - Don't add a
content-type
header if there is no payload
v6.0.0
Here are a list of all the changes from the latest 5.x.x version to 6.0.0
Major Release Changes
- Preparing for implementing Sendable conformance (make classes final, set some member variables to private). PR #493
- Add
Sendable
Conformance to all relevant objects/protocols. This includesAWSClient
,AWSService
,CredentialProvider
,AWSShape
and others. - Add support for automatic HTTP checksum calculation (md5, crc32, crc32c, sha1 and sha256) where checksum tests are supported (S3). PR #499
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.- Removed
ConfigFile
DictionaryDecoder
is no longer public- Removed version of
SotoSignerV4.signHeaders/signURL
that don't includeomitSecurityToken
parameter. - Removed version of
AWSClient.init
that doesn' includeoptions
parameter. - Removed version of
AWSService.with
that doesn't includeregion
parameter. - Removed deprecated
AWSClient.paginate
functions
Minor Release Changes
- Added async version of
AWSClient.shutdown
- Added
AWSBase64Data
to store base64 encoded data. This is to replace all instances ofData
in AWS service API input/output shapes. - Add
xmlNamespace
toAWSServiceConfig
. - Add
AWSShape
option.checksumRequired
which calculates a checksum (md5, crc32, crc32c, sha1 and sha256) of the payload and places it in the headers. - 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". - Fix empty query protocol requests. Queries with no body should still include the API version and operation name in the body. PR #494
- Fix V4 Signing bug where sequential spaces have to be removed from header values when building canonical request. PR #498
- Require at least version 1.9.0 of AsyncHTTPClient
Other changes
- Use
endpoints.json
file from aws-sdk-go-v2 when generating region file - Renamed sanity scripts to validate
- Add GitHub action to test for API breaking changes to run on all PRs
- Use docc to generate documentation https://soto-project.github.io/soto-core/6.x.x/documentation/sotocore
v6.0.0 Release Candidate 2
Major version changes
- Removed
ConfigFile
DictionaryDecoder
is no longer publicBase64
is no longer public- Removed version of
SotoSignerV4.signHeaders/signURL
that don't includeomitSecurityToken
parameter. - Removed version of
AWSClient.init
that doesn' includeoptions
parameter. - Removed version of
AWSService.with
that doesn't includeregion
parameter. - Removed deprecated
AWSClient.paginate
functions
Minor version changes
- Require at least version 1.9.0 of AsyncHTTPClient
Other changes
Use docc to generate documentation https://soto-project.github.io/soto-core/6.x.x/documentation/sotocore
v6.0.0 Release Candidate
Major Version Changes
- Add
Sendable
Conformance to all relevant objects/protocols. This includesAWSClient
,AWSService
,CredentialProvider
andAWSShape
.
Minor Version Changes
- Added async version of
AWSClient.shutdown
- Added
AWSBase64Data
to store base64 encoded data. This is to replace all instances ofData
in AWS service API input/output shapes.
v6.0.0 Alpha 4
Major version changes
- Preparation for implementing Sendable conformance (make classes final, set some member variables to private). PR #493
- Add support for automatic HTTP checksum calculation (crc32, crc32c, sha1 and sha256) where checksum tests are supported (S3). PR #499
Patch version changes
- Fix empty query protocol requests. Queries with no body should still include the API version and operation name in the body. PR #494
- Fix V4 Signing bug where sequential spaces have to be removed from header values when building canonical request. PR #498
Other changes
- Add Swift 5.6 to CI
- Add GitHub action to test for API breaking changes to run on all PRs
v5.9.3
Fix issue with query protocol requests with an empty body. They should still include the Version and Action keys in the body
v6.0.0 Alpha 3
- Concurrency code is only available to compile with Swift 5.5.2 (Xcode 13.2). This allows us to make it available for macOS 10.15, iOS 13.0 etc