Skip to content

AWS SDK for iOS 2.11.0

Compare
Choose a tag to compare
@aws-amplify-ops aws-amplify-ops released this 09 Sep 20:51
· 1701 commits to main since this release

New Features

  • AWSCore
    • Added the option of passing the configuration as an in-memory object (i.e. [String: Any]/NSDictionary) instead of the default awsconfiguration.json through the new API AWSInfo.configureDefaultAWSInfo(config: [String: Any]).
  • AWSMobileClient
    • Based on the ability to pass a custom configuration through an in-memory object described above, exposed a new initializer that accepts a custom configuration: AWSMobileClient.init(configuration: [String: Any]).
      • Changed AWSMobileClient.sharedInstance() in favor of AWSMobileClient.default() since it better communicates the API intent. The sharedInstance is deprecated as of now and still available for backwards compatibility.
      • Refer to Issue #1649 for the feature request details.
    • When AWSMobileClient.signOut is called all existing credential fetch are cancelled.

Bug Fixes

  • AWSPinpoint
    • The limit of "Maximum number events in a request" defined by the Pinpoint service limits (100 per request) is now enforced by the client. When recording more than 100 events the client will submit multiple batches of 100 to avoid a service failure. See Issue #1680 and PR #1743 for details.
  • AWSMobileClient
    • Fixed a race condition where the confirm signIn callback becoming nil. See issues #1248 and
      #1686, and PR #1815.
    • Fix an issue where the signIn callback and user state listener callback are out of sync. See issues #1700 and
      #1314, and PR #1822.
  • Amazon S3
    • TransferUtility now properly reports progress on failed and restarted uploads. See Issue #1512, PR #1813.
    • Fix an issue where getIdentity call fails without waiting. See PR #1824
    • Fix an issue with signUp API not returning the correct status back. See #1469 and PR #1844.
  • AWSCore
    • Fixed a bug where credentials would be retrieved from the keychain instead of in-memory. See #1554
      and #1691. Thanks @phanchutoan!
  • S3
    • Fixed issue with uploading large files in transferutility. See #1836. Thanks @benmckillop!

Misc. Updates

  • Model updates for the following services

    • Amazon EC2
    • Amazon Transcribe
    • Amazon SQS
    • Amazon Lambda
  • AWSMobileClient

    • Breaking API change Removed deprecated methods inside AWSMobileClient. See PR #1738