Skip to content

0.9.0

Compare
Choose a tag to compare
@jbelkins jbelkins released this 19 Jan 17:20
· 518 commits to main since this release
85065b7

Summary

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.

What's Changed

  • feat: Update CRT to 0.5.0+ by @epau in #777
  • fix: Support custom error format for Route53 ChangeResourceRecordSets operation by @epau in #791
  • fix: Fixes S3 and Ec2 error parsing by @epau in #787
  • chore: Reverts version pinning by @epau in #799
  • chore: Adds new workflow for building the full sdk by @epau in #802
  • fix!: Updates expiration paramater in presign functions to TimeInterval type. by @epau in #805
  • feat: Move retry middleware out by @jbelkins in #806
  • fix: Remove try from non-throwing method calls by @jbelkins in #809
  • chore: Regen models by @epau in #800
  • chore: Update smithy-swift & aws-crt-swift; pin to latest versions by @jbelkins in #811
  • chore: update smithyVersion to use exact version by @syall in #812
  • chore: bump aws-crt-swift to 0.5.4 by @ganeshnj in #816
  • chore: aws-sdk-swift package structuring by @ganeshnj in #803
  • chore: remove trailing whitespaces in all Swift files by @ganeshnj in #819
  • fix: use same aws-crt-swift version in aws-sdk-swift as smithy-swift by @ganeshnj in #822
  • chore: bump models by @jbelkins in #825
  • chore: bump smithy-swift from 0.8.0 to 0.10.2 by @jbelkins in #827

New Contributors

Full Changelog: https://github.com/awslabs/aws-sdk-swift/commits/0.9.0