Changelog History
Page 6
-
v2.19.1 Changes
November 12, 2020๐ Bug fixes
- ๐ Fixed an issue where id token is not refreshed automatically for customers who set short custom expiration intervals (See Issue #869, PR #3220)
โก๏ธ Misc. Updates
- โก๏ธ Model updates for the following services
- AWSAutoScaling
- AWSElasticLoadBalancing
- AWSEC2
- AWSDynamoDB
-
v2.19.1._api_docs
November 12, 2020 -
v2.19.0 Changes
November 09, 2020๐ฅ Breaking Changes
- Amazon Cognito
- Breaking Change Custom auth now sets the correct
username
after a sign in flow. Before, if a user signed in with an alias (for example, an email) in a custom auth sign in flow, after a successful signIn,AWSMobileClient.default().username
would return that entered alias. This has been fixed in this release to conform to the behavior in the standard SRP flow: instead of the returning the alias,AWSMobileClient.default().username
will return the actual Cognito username of the user. (See Issue #3194, PR #3198)
- Breaking Change Custom auth now sets the correct
Misc
- ๐ AWS IoT: optimistic workaround for cleaning up nsoutputstream (See Issue #2770, PR #3208)
- ๐ Build project with Xcode 12.1
- โก๏ธ Model updates for the following services
- Amazon DynamoDB
- AWS Auto Scaling
- Amazon EC2
- AWS IoT
- Amazon Lambda
- Amazon Cognito
-
v2.19.0._api_docs
November 09, 2020 -
v2.18.1 Changes
November 04, 2020#3026 # New Features
- ๐ The following models now support
NSSecureCoding
- Amazon EC2 (PR #3150)
- Amazon Elastic Load Balancing (PR #3158)
- AWS IoT (PR #3153). Note that the following base request and response objects that include untyped (i.e.,
id
) properties do not supportNSSecureCoding
. To supportNSSecureCoding
for those types, create a subclass of the base type, and override the appropriateinitWithCoder:
methods to provide a type-safe unarchiving method: AWSIoTDataDeleteThingShadowResponse
AWSIoTDataGetThingShadowResponse
AWSIoTDataPublishRequest
AWSIoTDataUpdateThingShadowRequest
AWSIoTDataUpdateThingShadowResponse
- Amazon Kinesis Data Streams (PR #3163)
- Amazon Kinesis Video Streams (PR #3161)
- Amazon Kinesis Video Streams Archived Media (PR #3161)
- Amazon Lambda (PR #3154). Note that the following base request and response objects that include untyped (i.e.,
id
) properties do not supportNSSecureCoding
. To supportNSSecureCoding
for those types, create a subclass of the base type, and override the appropriateinitWithCoder:
methods to provide a type-safe unarchiving method: AWSLambdaInvocationRequest
AWSLambdaInvocationResponse
- Amazon Machine Learning (PR #3162)
- Amazon S3 (PR #3145). Note that the following base request and response objects that include untyped (i.e.,
id
) properties do not supportNSSecureCoding
. To supportNSSecureCoding
for those types, create a subclass of the base type, and override the appropriateinitWithCoder:
methods to provide a type-safe unarchiving method: AWSS3GetObjectOutput
AWSS3GetObjectTorrentOutput
AWSS3PutObjectRequest
AWSS3RecordsEvent
AWSS3UploadPartRequest
- Amazon Transcribe Streaming (PR #3164)
- ๐
AWSPinpointEndpointProfileUser
now supports adding user attributes (See Issue #3086, PR #3142)
๐ Bug fixes
- AWSCore
- Fixed link for
AWSTask
documentation (See Issue #3171, PR #3177)
- Fixed link for
- AWSMobileClient
- Fix decoding claims that contain special characters (PR #2928) Thanks @rolisanchez!
- Gracefully error out if idToken is not returned from service (See Issue #2961, PR #3090)
- Fixed cancel signout that takes the app into an inconsistent state (See Issue #2886, PR #3190)
- AWSPinpoint
- End AWSPinpoint background task when app enters foreground (See Issue #2651, PR #3084)
- AWSS3TransferUtility
- Register S3TransferUtility prior to async loading (See Issue #2962, PR #3135)
โก๏ธ Misc. Updates
โก๏ธ Model updates for the following services
- Amazon EC2
- Amazon Elastic Load Balancing (ELB)
- AWS IoT
- Amazon S3
- Amazon Simple Notification Service (SNS)
โจ Enhanced code generated model support
- ๐ The following models now support
-
v2.18.1._api_docs
November 04, 2020 -
v2.18.0 Changes
October 19, 2020๐ New Features
- ๐ The following models now support
NSSecureCoding
(PR# 3127):- AWS Auto Scaling
- Amazon CloudWatch Logs
- Amazon CloudWatch Monitoring
- Amazon Cognito Identity
- Amazon Cognito Identity Provider
- Amazon Comprehend
- Amazon Connect
- Amazon Connect Participant Service
- Amazon DynamoDB
- Amazon Kinesis Firehose
- Amazon Kinesis Streams (Correction: This will be supported in an upcoming release)
- Amazon Kinesis Video Signaling
- AWS Key Management Service (KMS)
- Amazon Lex
- Amazon Pinpoint
- Amazon Polly
- Amazon Rekognition
- Amazon SageMaker
- Amazon Security Token Service (STS)
- Amazon Simple DB
- Amazon Simple Email Service (SES)
- Amazon Simple Notification Service (SNS)
- Amazon Simple Queue Service (SQS)
- Amazon Textract
- Amazon Transcribe
- Amazon Translate
โก๏ธ Misc. Updates
- AWSAuthSDK
- Upgrade Facebook SDK to 8.0.0 (PR #3082)
- ๐ Support Xcode 12.0.1 for Carthage build (PR #3085)
- โก๏ธ Model updates for the following services
- Amazon Connect
- Amazon DynamoDB
- Amazon EC2
- Amazon Elastic Load Balancing
- Amazon Pinpoint
- Amazon Rekognition
- Amazon Simple Notification Service (SNS)
- Amazon Textract
๐ Deprecation removal warning
๐ AWS Mobile SDK for iOS will remove these deprecated clients in December 2020:
- ๐
AWSCognito
(Amazon Cognito Sync) - UseAmplify DataStore
for data synchronization. - ๐
AWSMobileAnalytics
- UseAmplify Analytics
for analytics. - ๐
AWSS3TransferManager
- UseAmplify Storage
for uploads and downloads with Amazon S3.
- ๐ The following models now support
-
v2.18.0._api_docs
October 20, 2020 -
v2.17.0 Changes
September 28, 2020๐ Bug fixes
- ๐ Fixed build errors in Xcode 12. (See Issue #2927, PR #3039)
๐ New features
Amazon S3
- Breaking Change We have normalized URL construction for the AWSS3 SDK, and now support virtual host style (V2) URLs for S3.
Previously, the SDK constructed URLs for S3 requests with different rules depending on the region (e.g., calls to endpoints in us-east-1 would be made to
s3.amazonaws.com
, while calls to endpoints in some older regions would be constructed ass3-<region>.amazonaws.com
, while calls to endpoints in newer regions would be constructed ass3.<region>.amazonaws.com
). With this revision of the SDK, the base URL for all S3 operations to supported endpoints will be constructed as:"s3" + "." + region name + ".amazonaws.com"
. See PR #3008.In addition to this, the SDK now uses virtual-host style addressing for DNS-compliant bucket names. (See issue #1535, and PR #2996).
Thus, this revision of the SDK will make most requests to endpoint URLs of the form:
<bucket>.s3.<region>.amazonaws.com
.Impact
This change should be transparent to most customers. If you used the Amplify CLI to provision their S3 backend, and set up your SDKs with an
awsconfiguration.json
file oramplifyconfiguration.json
file, you won't need to take any action. If you set up the S3 client manually using an AWSEndpoint initialized with-[AWSEndpoint initWithRegion:service:useUnsafeURL:]
, you also won't need to take any action.- This change may impact customers who manually set up their S3 SDK using URL-based initializers like
-[AWSEndpoint initWithRegion:service:URL:]
. - This change may impact customers who have custom security setups in their app (such as SSL pinning or host validation), since the constructed host names are now different
- This change may impact customers who parse access logs in CloudTrail, since accesses will now be recorded using a different URL
Limitations
The AWS Mobile SDK for iOS automatically uses virtual host style URLs for operations made via the S3 SDK APIs, operations made via TransferUtility, and operations using transfer acceleration via TransferUtility. However, there are a few cases where the SDK will not use virtual host style URLs:
- When the client is configured with a custom endpoint, including custom endpoints to specify
dualstack
or FIPS-compliant endpoints - When the specified bucket name is not DNS compliant
- When the specified bucket name contains a dot character (
"."
) - When making a
GetBucketLocation
API call
Resources
๐ฅ Breaking Changes
- Amazon S3
- Breaking Change We have normalized URL construction for the AWSS3 SDK, and now support virtual host style (V2) URLs for S3 (see above)
- AWSCognitoIdentityProviderASF
- Breaking Change The AWSCognitoIdentityProviderASF SDK no longer ships the
libAWSCognitoIdentityProviderASFBinary.a
static library. TheAWSCognitoIdentityProvider
SDK consumes ASF via the framework. Projects that rely on ASF should remove references to the static library. The AWSCognitoIdentityProviderASF SDK is now versioned the same as the overall SDK.
- Breaking Change The AWSCognitoIdentityProviderASF SDK no longer ships the
โก๏ธ Misc. Updates
- AWSPinpoint
- The SDK now uses
NSSecureCoding
and version-appropriate methods ofNSKeyedUnarchiver
to encode and decodeAWSPinpointSession
andAWSPinpointEndpointProfile
. (PR #3031) - Deprecate handler argument in intercept notification (PR #2910)
- The SDK now uses
- AWSAuthSDK
- Upgrade Facebook SDK to 6.5.2 (PR #2990)
- Project
- Refactored unit tests into separate "AWSAllUnitTests" aggregate target for easier execution
- Removed unused "Documentation" aggregate target. Documentation is generated in a pipeline build step and doesn't use an Xcode target.
- โก๏ธ Model updates for the following services
- Amazon Comprehend
- Amazon Connect
- Amazon EC2
- Amazon Elastic Load Balancing
- Amazon Security Token Service (STS)
- Amazon Simple Queue Service (SQS)
- Amazon Transcribe
- Amazon Translate
-
v2.17.0._api_docs
September 28, 2020