You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This release consists mostly of bug fixes and internal, structural changes.
Incorporates recent modernization of aws-crt-swift
Fixes error parsing for S3, EC2, and other XML protocol-based services
Improvements to internal SDK structure
Fixes bug where waiters may not behave as expected on an operation error
Fixes inline docs for paginators
Breaking changes in this release:
All of these breaking API changes are related to interface improvements in aws-crt-swift, which was updated from 0.4.0 to 0.5.4 for this release.
The type for the expiration param on URL presign methods has changed from Int64 to TimeInterval. To update, convert your expiration value to a TimeInterval before passing it into the presign function.
The AWSCredentials type's expirationTimeout field has changed from a UInt64 to a Date?.
The AWSCredentialsProvider type's underlying crtCredentialsProvider has been re-typed from CRTAWSCredentialsProvider to AwsCommonRuntimeKit.CredentialsProvider.
The AWSCredentialsProviderCachedConfig's refreshTime field was changed from Int to TimeInterval.
The AWSCredentialsProviderContainerConfig's authToken, host, and pathAndQuery fields are no longer optionals.
The AWSCredentialsProviderSTSConfig's durationSeconds field was changed from UInt16 to TimeInterval.
The initializer for AWSCredentialsProviderWebIdentityConfig is now marked as throws.
Several public CRT types have been renamed, and references have been changed in various SDK APIs:
CredentialsProviding renamed from CRTCredentialsProvider
Credentials renamed from CRTCredentials
AwsCommonRuntimeKit.Profile renamed from CRTAWSProfile
AwsCommonRuntimeKit.ProfileCollection renamed from CRTAWSProfileCollection
AwsCommonRuntimeKit.EndpointsRequestContext renamed from CRTAWSEndpointsRequestContext
AwsCommonRuntimeKit.ResolvedEndpoint renamed from CRTAWSEndpointResolvedEndpoint
AwsCommonRuntimeKit.EndpointsRuleEngine renamed from CRTAWSEndpointsRuleEngine
AwsCommonRuntimeKit.IMDSClient renamed from CRTIMDSClient
Several getter functions on AWSEndpointsResolvedEndpoint no longer throw.
The initializer for IMDSClient now throws.
The initializer for DefaultRegionResolver now throws.
The initializer for IMDSRegionProvider now throws.
The AWSSigningConfig's expiration field is changed from type Int64 to TimeInterval.
The SigV4Config's expiration field is changed from type Int64 to TimeInterval.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Summary
This release consists mostly of bug fixes and internal, structural changes.
aws-crt-swift
Breaking changes in this release:
All of these breaking API changes are related to interface improvements in
aws-crt-swift
, which was updated from0.4.0
to0.5.4
for this release.expiration
param on URL presign methods has changed fromInt64
toTimeInterval
. To update, convert your expiration value to aTimeInterval
before passing it into thepresign
function.AWSCredentials
type'sexpirationTimeout
field has changed from aUInt64
to aDate?
.AWSCredentialsProvider
type's underlyingcrtCredentialsProvider
has been re-typed fromCRTAWSCredentialsProvider
toAwsCommonRuntimeKit.CredentialsProvider
.AWSCredentialsProviderCachedConfig
'srefreshTime
field was changed fromInt
toTimeInterval
.AWSCredentialsProviderContainerConfig
'sauthToken
,host
, andpathAndQuery
fields are no longer optionals.AWSCredentialsProviderSTSConfig
'sdurationSeconds
field was changed fromUInt16
toTimeInterval
.AWSCredentialsProviderWebIdentityConfig
is now marked asthrows
.CredentialsProviding
renamed fromCRTCredentialsProvider
Credentials
renamed fromCRTCredentials
AwsCommonRuntimeKit.Profile
renamed fromCRTAWSProfile
AwsCommonRuntimeKit.ProfileCollection
renamed fromCRTAWSProfileCollection
AwsCommonRuntimeKit.EndpointsRequestContext
renamed fromCRTAWSEndpointsRequestContext
AwsCommonRuntimeKit.ResolvedEndpoint
renamed fromCRTAWSEndpointResolvedEndpoint
AwsCommonRuntimeKit.EndpointsRuleEngine
renamed fromCRTAWSEndpointsRuleEngine
AwsCommonRuntimeKit.IMDSClient
renamed fromCRTIMDSClient
AWSEndpointsResolvedEndpoint
no longer throw.IMDSClient
now throws.DefaultRegionResolver
now throws.IMDSRegionProvider
now throws.AWSSigningConfig
'sexpiration
field is changed from typeInt64
toTimeInterval
.SigV4Config
'sexpiration
field is changed from typeInt64
toTimeInterval
.What's Changed
expiration
paramater inpresign
functions toTimeInterval
type. by @epau in fix!: Updatesexpiration
paramater inpresign
functions toTimeInterval
type. #805New Contributors
Full Changelog: https://github.com/awslabs/aws-sdk-swift/commits/0.9.0
This discussion was created from the release 0.9.0.
Beta Was this translation helpful? Give feedback.
All reactions