Releases: aws-amplify/aws-sdk-android
Releases · aws-amplify/aws-sdk-android
AWS Mobile SDK for Android v2.8.2
Bug Fixes
- AWS Core Runtime
- Fix logging detection to prevent crash during initialization on Android Oreo and above. issue #562
AWS Mobile SDK for Android v2.8.1
New Features
- AWS Core Runtime
- Added support for GovCloud US East region
us-gov-east-1.
- Added support for GovCloud US East region
Enhancements
- AWS Mobile Client
- General improvements to synchronization, null checking, and state management.
AWS Mobile SDK for Android v2.8.0
New Features
- AWS Mobile Client
- The
AWSMobileClientprovides client APIs and building blocks for developers who want to create user authentication experiences. It supports the following new features:- User state tracking:
AWSMobileClientoffers on-demand querying for the “login state” of a user in the application. - Credentials management: Automatic refreshing of
Cognito User PoolsJWT TokenandAWS CredentialsfromCognito Identity. - Offline support:
AWSMobileClientis optimized to account for applications transitioning from offline to online connectivity, and refreshing credentials at the appropriate time so that errors do not occur when actions are taken and connectivity is not available. - Drop-in Auth UI:
AWSMobileClientclient supports easy “drop-in” UI for your application. - Simple, declarative APIs
signUp,signIn,confirmSignIn, etc.
- User state tracking:
- The
Note: The existing methods of
AWSMobileClientare deprecated and will be removed in a future minor version.AWSMobileClientnow takes a dependency onAWSCognitoIdentityProvider(Cognito User Pools SDK) package to offer integration withCognitoUserPools. When using the new drop-in UI,AWSAuthUIandSocial sign-infeatures continue to be pluggable dependencies forAWSMobileClient.
All documentation is now centralized at https://aws-amplify.github.io/
Enhancements
- Amazon Kinesis Video Streams
- Improve exception handling.
- Lower default memory allocation to 385MB to reduce crashes from over-allocation.
- Breaking API Changes
- Remove
streamNameparameter fromKinesisVideoClient.registerMediaSource()asMediaSourcealready has the stream name inStreamInfo. - Add
KinesisVideoClient.unregisterMediaSource()to removeMediaSourcetoKinesisVideoProducerStreambinding fromKinesisVideoClient. Customers can useunregisterMediaSource()after they stop streaming, soMediaSourcedata will not to be sent to Kinesis Video Streams. - Add
getStreamInfo()toMediaSourceinstead ofMediaSourceConfiguration. If customers have implemented their ownMediaSourceandMediaSourceConfiguration, they would need to provide stream information viaMediaSource.getStreamInfo(). TheMediaSourceConfiguration.getStreamInfo()will not work. - The following classes are no longer publicly available.
MediaSourceMediaSourceConfigurationMediaSourceSinkAbstractKinesisVideoClientNativeKinesisVideoClientBytesGeneratorBytesMediaSourceBytesMediaSourceConfigurationProducerStreamSinkKinesisVideoServiceClientNativeKinesisVideoProducerJniNativeKinesisVideoProducerStreamNativeLibraryLoaderKinesisVideoMetricsKinesisVideoProducerKinesisVideoProducerStreamKinesisVideoStreamMetricsReadResultServiceCallbackscom.amazonaws.kinesisvideo.service.exception.AccessDeniedExceptioncom.amazonaws.kinesisvideo.service.exception.AmazonServiceExceptioncom.amazonaws.kinesisvideo.service.exception.ResourceInUseExceptioncom.amazonaws.kinesisvideo.service.exception.ResourceNotFoundExceptionAckConsumerBlockingAckConsumerDefaultServiceCallbacksImpl
- Remove
AWS Mobile SDK for Android v2.7.7
Release 2.7.7
Bug Fixes
- AWS IoT
- Handle exception during
AWSIotMqttManager.connectcall and pass it through the status callback. See issue #556
- Handle exception during
Misc. Updates
- Generate Javadoc for Amazon Kinesis and Amazon Kinesis Firehose clients. See issue #560
- Model updates for the following services
- AWS IoT
AWS Mobile SDK for Android v2.7.6
Bug Fixes
- Amazon S3
- Fixed the regression introduced in
2.7.4to support transfer objects with name containing special characters.
- Fixed the regression introduced in
Enhancements
- AWS Auth SDK
- Added support for forced changed password in the sign-in flow of the UI. issue #374
- UI activities will show keyboard by default when requesting input from the end-user. issue #550
- Preserve sign-up form fields when sign-up validation fails so that end-users can correct and try again. issue #460
- Automatically sign-in user after actions such as sign-up or forgot password. issue #460
- Show the partially redacted destination of the MFA code on the screen when end-user needs to input a code.
Misc. Updates
- Model updates for the following services
- Amazon Comprehend
- Amazon Transcribe
AWS Mobile SDK for Android v2.7.5
AWS Mobile SDK for Android v2.7.4
Bug Fixes
- Amazon S3
- Fix a bug in specifying a custom Security Provider for client-side encryption.
AmazonS3EncryptionClient(Client-side encryption) is deprecated. You can secure your content in S3 in two ways: a) For uploads, you can encrypt the file locally using an algorithm of your choice and use the TransferUtility API to upload the encrypted file to S3. For downloads, you can use the TransferUtility API to download the file and then decrypt it using the algorithm that you used to upload the file. b)ServerSideEncryption: There are multiple options available for ServerSide Encryption. You can setup encryption at the S3 bucket level using the AWS S3 console. When encryption is setup at the bucket level, all objects in the bucket are encrypted. You can also use the AWS console to encrypt individual objects after they have been uploaded. Another option is to request ServerSide encryption for the object being uploaded using the SDK.- Fix a bug to support transfer objects with name containing special characters. '+', '*', '%7E' and '%2F' characters are URL-encoded.
AWS Mobile SDK for Android v2.7.3
Bug Fixes
- Amazon Kinesis
- Use different patition keys for each record within a single batch when partition key is not specified by caller.
AWS Mobile SDK for Android v2.7.2
Bug Fixes
- Amazon Pinpoint
- Fix notifications from not showing when notification image could not be loaded. Notifications are now expandable.
AWS Mobile SDK for Android v2.7.1
Enhancements
- AWS IoT
- Added support for new BJS endpoint serving ATS server cert in format: [customer_id.ats.iot.cn-north-1.amazonaws.com.cn]
Misc. Updates
- Model updates for the following services
- Amazon CloudWatch Logs
- Amazon DynamoDB
- Amazon Elastic Load Balancing(ELB)
- Amazon Parrot
- Amazon Simple Email Service (SES)