Repository navigation
Features
-
auth: add AmplifyCognitoASF, an experimental public API for user context data (#4403)
The new
AmplifyCognitoASFproduct'sCognitoUserContextDatabuilds Cognito threat-protection user context data for requests your app sends to Cognito itself. It replacesAWSCognitoIdentityProviderASFfrom the AWS SDK for iOS.AmplifyCognitoClientre-exports it and addsinterceptorProvider(deviceId:)for aCognitoIdentityProviderClient. The API is experimental (@_spi(AmplifyExperimental) import AmplifyCognitoASF) and any release may change it, so pin the exact version. See User context data for your own requests.
Bug Fixes
-
deps: bump aws-sdk-swift from 1.7.60 to 1.8.28 (#4416)
Fixes builds failing with "switch must be exhaustive" in SmithyCBOR once they resolve aws-crt-swift 0.64.4, fresh installs of 2.63.x included (#4419).
Dependencies
- aws-sdk-swift is pinned to exactly 1.8.31 (2.63.1: 1.7.60) and smithy-swift to exactly 0.268.0 (2.63.1: 0.242.0) (#4416, #4420). An app that also depends on either package must use those exact versions.
- smithy-swift 0.268.0 caps swift-log below 1.17.0, so swift-log resolves to 1.16.x (2.63.1: 1.17.0), and an app that requires swift-log 1.17.0 or later can't resolve 2.64.0.
- From the AWS SDK: Translate, Textract and Comprehend now prefer the RPC v2 CBOR protocol over AWS JSON 1.1, and Kinesis sends requests to account endpoints when the account ID is known.
- Apps linking the Auth plugin now also link the
AmplifyCognitoASFmodule, which has its own privacy manifest.
Requirements
- The minimum supported Xcode is now 26.2 (Swift 6.2.3), up from 26.0 (#4415).