Skip to content

Commit 23c5874

Browse files
author
AWS
committed
AWS SDK for Android 2.3.1
1 parent 92691dd commit 23c5874

File tree

330 files changed

+5385
-8155
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

330 files changed

+5385
-8155
lines changed

CHANGELOG.md

Lines changed: 50 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# Change Log - AWS SDK for Android
22

3+
## [Release 2.3.1](https://github.com/aws/aws-sdk-android/releases/tag/release_v2.3.1) (09/08/2016)
4+
5+
### Improvements
6+
- **API Gateway**: Added a generic invoker to execute requests for any path.
7+
8+
### Bug Fixes
9+
- **Amazon Cognito Identity Provider**:
10+
- Fixed a bug introduced by StandardCharsets that caused the Android SDK to be unavailable for API 18 and below.
11+
12+
## [Release 2.3.0](https://github.com/aws/aws-sdk-android/releases/tag/release_v2.3.0) (07/28/2016)
13+
14+
### Improvements
15+
- **AWS Core Runtime Library**: Added support for `us-west-2/PDX` region for cognito identity.
16+
- **Amazon Cognito Identity Provider**:
17+
- Support for Custom authentication flows. Developers can implement custom authentication flows around Cognito Your User Pools.
18+
- Support for devices.
19+
- Global sign-out users, to sign-out from all devices.
20+
- **Amazon Cognito Sync**: Added support for `us-west-2/PDX` region.
21+
22+
### Bug Fixes
23+
- **Amazon Cognito Identity Provider**:
24+
- Authentication flow in Android SDK now uses Custom Authentication API.
25+
Two new exceptions added for getSession API. These exceptions have been added to accurately represent the user state when the username is invalid and when the user is not confirmed. You will have to update your application to handle these exceptions.
26+
- UserNotFoundException: Returned when the username user does not exist.
27+
- UserNotConfirmedException: Returned when the user has not been confirmed.
28+
29+
## [Release 2.2.22](https://github.com/aws/aws-sdk-android/releases/tag/release_v2.2.22) (07/27/2016)
30+
31+
### Bug Fixes
32+
- **Amazon Simple Email Service**: Resolved an issue where some SES APIs were missing from the 2.2.21. [#179](https://github.com/aws/aws-sdk-android/issues/179)
33+
334
## [Release 2.2.21](https://github.com/aws/aws-sdk-android/releases/tag/release_v2.2.21) (07/21/2016)
435

536
### Improvements
@@ -21,9 +52,9 @@
2152
- **Amazon Web Services**: General service updates and documentation improvements.
2253
- **API Gateway**: Expose client configuration through ApiFactory. [#158](https://github.com/aws/aws-sdk-android/issues/158)
2354
- **Amazon Web Services**: Service clients are now generated with a new code gen system. Some trivial changes are listed below
24-
- List members in POJO are defaulted to null instead of an empty list to align with map members. Please perform null check to avoid NPE. When marshalling a list member, a null list will be omitted and an empty list will result in an empty array.
25-
- In `ListRecordsRequest` of Cognito Sync, the data type of `lastSyncCount` is changed from String to Long and that of `maxResult` from String to Integer.
26-
- In DynamoDB, the method `setKey(java.util.Map.Entry<String, AttributeValue> hashKey, java.util.Map.Entry<String, AttributeValue> rangeKey)` is removed from `GetItemRequest`, `UpdateItemRequest`, `DeleteItemRequest`, and `DeleteRequest`. Use `addKeyEntry(String key, AttributeValue value)` instead. `setExclusiveStartKey(java.util.Map.Entry<String, AttributeValue> hashKey, java.util.Map.Entry<String, AttributeValue> rangeKey)` is also removed from `QueryRequest` and `ScanRequest`. The alternative is `addExclusiveStartKeyEntry(String key, AttributeValue value)`.
55+
- List members in POJO are defaulted to null instead of an empty list to align with map members. Please perform null check to avoid NPE. When marshalling a list member, a null list will be omitted and an empty list will result in an empty array.
56+
- In `ListRecordsRequest` of Cognito Sync, the data type of `lastSyncCount` is changed from String to Long and that of `maxResult` from String to Integer.
57+
- In DynamoDB, the method `setKey(java.util.Map.Entry<String, AttributeValue> hashKey, java.util.Map.Entry<String, AttributeValue> rangeKey)` is removed from `GetItemRequest`, `UpdateItemRequest`, `DeleteItemRequest`, and `DeleteRequest`. Use `addKeyEntry(String key, AttributeValue value)` instead. `setExclusiveStartKey(java.util.Map.Entry<String, AttributeValue> hashKey, java.util.Map.Entry<String, AttributeValue> rangeKey)` is also removed from `QueryRequest` and `ScanRequest`. The alternative is `addExclusiveStartKeyEntry(String key, AttributeValue value)`.
2758

2859
### Bug Fixes
2960
- **API Gateway**: Fixed a bug where user agent is overwritten by `ApiHandler`. [#159](https://github.com/aws/aws-sdk-android/issues/159)
@@ -45,9 +76,9 @@
4576

4677
### New Features
4778
- **Amazon S3**:
48-
- Introducing a new version of the ListObjects (ListObjectsV2) API that allows listing objects with a large number of delete markers. See [GET Bucket (List Objects) Version 2](http://docs.aws.amazon.com/AmazonS3/latest/API/v2-RESTBucketGET.html) for more details.
49-
- Added support for a new configuration named BucketAccelerateConfiguration which supports faster uploads/downloads to S3 buckets. See [Amazon S3 Transfer Acceleration](http://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html).
50-
- Amazon S3 now supports cross-region replication, which provides automatic, asynchronous copying of objects across buckets in different AWS regions. For more information, see [Cross-Region Replication](https://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html) in the Amazon S3 Developer Guide.
79+
- Introducing a new version of the ListObjects (ListObjectsV2) API that allows listing objects with a large number of delete markers. See [GET Bucket (List Objects) Version 2](http://docs.aws.amazon.com/AmazonS3/latest/API/v2-RESTBucketGET.html) for more details.
80+
- Added support for a new configuration named BucketAccelerateConfiguration which supports faster uploads/downloads to S3 buckets. See [Amazon S3 Transfer Acceleration](http://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html).
81+
- Amazon S3 now supports cross-region replication, which provides automatic, asynchronous copying of objects across buckets in different AWS regions. For more information, see [Cross-Region Replication](https://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html) in the Amazon S3 Developer Guide.
5182

5283
### Bug Fixes
5384
- **AWS Core Runtime Library**: Fixed a potential bug during retry where content input stream is not reset correctly.
@@ -87,8 +118,8 @@
87118

88119
### Improvements
89120
- **Amazon S3**: Improved performance of S3 TransferUtility.
90-
- Now the number of parallel transfers is set to the number of processors (cores) + 1. [#111](https://github.com/aws/aws-sdk-android/issues/111)
91-
- Removed unnecessary network requests in download task.
121+
- Now the number of parallel transfers is set to the number of processors (cores) + 1. [#111](https://github.com/aws/aws-sdk-android/issues/111)
122+
- Removed unnecessary network requests in download task.
92123

93124
### Bug Fixes
94125
- **AWS Core Runtime Library**: Addressed a potential bug in Cognito credentials provider.
@@ -99,9 +130,9 @@
99130

100131
### Improvements
101132
- **Amazon S3**: Tweaked the usage of TransferListener in S3 TransferUtility.
102-
- Now listeners are kept as strong references. They will be removed when transfers are completed. However user are still encouraged to clean up listeners themselves to prevent memory leak. [#93](https://github.com/aws/aws-sdk-android/issues/93) and [#101](https://github.com/aws/aws-sdk-android/issues/101)
103-
- Transfers in WAITING_FOR_NETWORK state can now be paused or canceled. [#102](https://github.com/aws/aws-sdk-android/issues/102)
104-
- Improved the experience to delete a transfer. [#104](https://github.com/aws/aws-sdk-android/issues/104)
133+
- Now listeners are kept as strong references. They will be removed when transfers are completed. However user are still encouraged to clean up listeners themselves to prevent memory leak. [#93](https://github.com/aws/aws-sdk-android/issues/93) and [#101](https://github.com/aws/aws-sdk-android/issues/101)
134+
- Transfers in WAITING_FOR_NETWORK state can now be paused or canceled. [#102](https://github.com/aws/aws-sdk-android/issues/102)
135+
- Improved the experience to delete a transfer. [#104](https://github.com/aws/aws-sdk-android/issues/104)
105136

106137
### Bug Fixes
107138
- **AWS Core Runtime Library**: Addressed potential internalization bugs. [#96](https://github.com/aws/aws-sdk-android/issues/96)
@@ -124,14 +155,14 @@
124155

125156
### Improvements
126157
- **Amazon S3**: Revamped S3 TransferUtility. Huge performance boost and lots of enhancements.
127-
- Offload most database operations to background thread.
128-
- Re-architected transfer listeners. Moved away from ContentObserver.
129-
- Reduced the frequency of writing transfer states to database.
130-
- Better error reporting. Now the original exception is passed to [TransferListener.onError(int, Exception)](http://docs.aws.amazon.com/AWSAndroidSDK/latest/javadoc/com/amazonaws/mobileconnectors/s3/transferutility/TransferListener.html#onError(int,%20java.lang.Exception)). [#61](https://github.com/aws/aws-sdk-android/issues/61)
131-
- Allow user to resume a transfer in any state other than `TransferState.COMPLETED`. [#81](https://github.com/aws/aws-sdk-android/issues/81) and [#87](https://github.com/aws/aws-sdk-android/issues/87)
132-
- Better diagnostics of TransferService. You can dump its status with `adb shell dumpsys activity service com.amazonaws.mobileconnectors.s3.transferutility.TransferService`. It works only if the app is debuggable.
133-
- Better handling of network connectivity changes.
134-
- Other cleanups, bug fixes and improvements.
158+
- Offload most database operations to background thread.
159+
- Re-architected transfer listeners. Moved away from ContentObserver.
160+
- Reduced the frequency of writing transfer states to database.
161+
- Better error reporting. Now the original exception is passed to [TransferListener.onError(int, Exception)](http://docs.aws.amazon.com/AWSAndroidSDK/latest/javadoc/com/amazonaws/mobileconnectors/s3/transferutility/TransferListener.html#onError(int,%20java.lang.Exception)). [#61](https://github.com/aws/aws-sdk-android/issues/61)
162+
- Allow user to resume a transfer in any state other than `TransferState.COMPLETED`. [#81](https://github.com/aws/aws-sdk-android/issues/81) and [#87](https://github.com/aws/aws-sdk-android/issues/87)
163+
- Better diagnostics of TransferService. You can dump its status with `adb shell dumpsys activity service com.amazonaws.mobileconnectors.s3.transferutility.TransferService`. It works only if the app is debuggable.
164+
- Better handling of network connectivity changes.
165+
- Other cleanups, bug fixes and improvements.
135166
- **Amazon S3**: Adds support of server-side encryption with AWS Key Management Service. See [Amazon S3 developer guide](http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html) for more information.
136167
- **Amazon S3**: Signature Version 4 is now the default signing methods for all S3 requests as long as a region is specified or can be easily determined from the given endpoint.
137168

aws-android-sdk-apigateway-core/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
<parent>
1313
<groupId>com.amazonaws</groupId>
1414
<artifactId>aws-android-sdk-pom</artifactId>
15-
<version>2.3.0</version>
15+
<version>2.3.1</version>
1616
</parent>
1717

1818
<dependencies>
1919
<dependency>
2020
<groupId>com.amazonaws</groupId>
2121
<artifactId>aws-android-sdk-core</artifactId>
2222
<optional>false</optional>
23-
<version>2.3.0</version>
23+
<version>2.3.1</version>
2424
</dependency>
2525
</dependencies>
2626

0 commit comments

Comments
 (0)