Skip to content

Commit ecd8b3f

Browse files
author
AWS
committed
AWS SDK for Android 2.11.0
1 parent c3ae66b commit ecd8b3f

File tree

64 files changed

+1214
-807
lines changed

Some content is hidden

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

64 files changed

+1214
-807
lines changed

CHANGELOG.md

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

3+
## [Release 2.11.0](https://github.com/aws/aws-sdk-android/releases/tag/release_v2.11.0)
4+
5+
### Enhancements
6+
7+
* **Amazon S3**
8+
* Introduced `TransferNetworkLossHandler`, a utility that listens for network connectivity changes. `TransferNetworkLossHandler` pauses the on-going transfers when the network goes offline and resumes the transfers that were paused when the network comes back online.
9+
* `TransferService` will be moved to foreground state when the device is running Android Oreo (API Level 26) and above.
10+
* Transitioning to the foreground state requires a valid on-going `Notification` object, identifier for on-going notification and the flag that determines the ability to remove the on-going notification when the service transitions out of foreground state. If a valid notification object is not passed in, the service will not be transitioned into the foreground state.
11+
* The `TransferService` can now be started using `startForegroundService` method to move the service to foreground state. The service can be invoked in the following way to transition the service to foreground state: `getApplicationContext().startForegroundService(intent);`.
12+
13+
### Bug Fixes
14+
15+
* **Amazon S3**
16+
* Fixed a bug in `TransferUtility` where the state is not set to '`WAITING_FOR_NETWORK` when network goes offline during execution of transfers.
17+
* Fixed a bug where objects with key name containing characters that require special handling are uploaded with URL encoded key name on the S3 bucket.
18+
* Since `2.4.0` version of the SDK, the key name containing characters that require special handling are URL encoded and escaped `( space, %2A, ~, /, :, ', (, ), !, [, ] )` by the `AmazonS3Client`, after which the AWS Android Core Runtime encodes the URL resulting in double encoding of the key name.
19+
* Starting `2.11.0`, the additional layer of encoding and escaping done by `AmazonS3Client` is removed. The key name will not be encoded and escaped by `AmazonS3Client`. Now, the key name that is given to `AmazonS3Client` or `TransferUtility` will appear on the Amazon S3 console as is.
20+
* See [issue #526](https://github.com/aws-amplify/aws-sdk-android/issues/526), [issue #321](https://github.com/aws-amplify/aws-sdk-android/issues/321), [issue #360](https://github.com/aws-amplify/aws-sdk-android/issues/360)
21+
, [issue #545](https://github.com/aws-amplify/aws-sdk-android/issues/545), [issue #597](https://github.com/aws-amplify/aws-sdk-android/issues/597).
22+
* Fixed a bug where `AmazonS3Client.listObjects` operation executed on a bucket, with key names containing characters that require special handling, returns the `ListObjectsResponse` with the key names being URL encoded.
23+
* When a S3 bucket contans objects with key names containing characters that require special handling, and since the SDK has an XML parser, (XML 1.0 parser) which cannot parse some characters, the SDK is required to request that Amazon S3 encode the keys in the response. This can be done by passing in `url` as `encodingType` in the `ListObjectsRequest`.
24+
* Since `2.4.0`, there was a bug where the SDK did not decode the key names which are encoded by S3 when `url` is requested as the `encodingType`. This is fixed in `2.11.0`, where the SDK will decode the key names in the `ListObjectsResponse` sent by S3.
25+
* If you have objects in S3 bucket that has a key name containing characters that require special handling, you need to pass the `encodingType` as `url` in the `ListObjectsRequest`.
26+
27+
### Misc. Updates
28+
29+
* **Amazon S3**
30+
* Allow requester-pays access for `listObjects` and `listObjectsV2` requests.
31+
332
## [Release 2.10.1](https://github.com/aws/aws-sdk-android/releases/tag/release_v2.10.1)
433

534
### Bug Fixes

CircleciScripts/android-wait-for-boot.sh

Lines changed: 0 additions & 23 deletions
This file was deleted.

CircleciScripts/run_integrationtest.py

Lines changed: 0 additions & 18 deletions
This file was deleted.

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.10.1</version>
15+
<version>2.11.0</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.10.1</version>
23+
<version>2.11.0</version>
2424
</dependency>
2525
</dependencies>
2626

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121
<parent>
2222
<groupId>com.amazonaws</groupId>
2323
<artifactId>aws-android-sdk-pom</artifactId>
24-
<version>2.10.1</version>
24+
<version>2.11.0</version>
2525
</parent>
2626

2727
<dependencies>
2828
<dependency>
2929
<groupId>com.amazonaws</groupId>
3030
<artifactId>aws-android-sdk-core</artifactId>
3131
<optional>false</optional>
32-
<version>2.10.1</version>
32+
<version>2.11.0</version>
3333
</dependency>
3434

3535
<dependency>

aws-android-sdk-auth-facebook/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>com.amazonaws</groupId>
2323
<artifactId>aws-android-sdk-pom</artifactId>
24-
<version>2.10.1</version>
24+
<version>2.11.0</version>
2525
</parent>
2626

2727
<repositories>
@@ -36,7 +36,7 @@
3636
<groupId>com.amazonaws</groupId>
3737
<artifactId>aws-android-sdk-auth-core</artifactId>
3838
<optional>false</optional>
39-
<version>2.10.1</version>
39+
<version>2.11.0</version>
4040
<type>aar</type>
4141
</dependency>
4242
<dependency>

aws-android-sdk-auth-google/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>com.amazonaws</groupId>
2323
<artifactId>aws-android-sdk-pom</artifactId>
24-
<version>2.10.1</version>
24+
<version>2.11.0</version>
2525
</parent>
2626

2727
<repositories>
@@ -40,7 +40,7 @@
4040
<groupId>com.amazonaws</groupId>
4141
<artifactId>aws-android-sdk-auth-core</artifactId>
4242
<optional>false</optional>
43-
<version>2.10.1</version>
43+
<version>2.11.0</version>
4444
<type>aar</type>
4545
</dependency>
4646

aws-android-sdk-auth-ui/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>com.amazonaws</groupId>
2323
<artifactId>aws-android-sdk-pom</artifactId>
24-
<version>2.10.1</version>
24+
<version>2.11.0</version>
2525
</parent>
2626

2727
<repositories>
@@ -36,28 +36,28 @@
3636
<groupId>com.amazonaws</groupId>
3737
<artifactId>aws-android-sdk-auth-core</artifactId>
3838
<optional>false</optional>
39-
<version>2.10.1</version>
39+
<version>2.11.0</version>
4040
<type>aar</type>
4141
</dependency>
4242
<dependency>
4343
<groupId>com.amazonaws</groupId>
4444
<artifactId>aws-android-sdk-auth-google</artifactId>
4545
<optional>true</optional>
46-
<version>2.10.1</version>
46+
<version>2.11.0</version>
4747
<type>aar</type>
4848
</dependency>
4949
<dependency>
5050
<groupId>com.amazonaws</groupId>
5151
<artifactId>aws-android-sdk-auth-facebook</artifactId>
5252
<optional>true</optional>
53-
<version>2.10.1</version>
53+
<version>2.11.0</version>
5454
<type>aar</type>
5555
</dependency>
5656
<dependency>
5757
<groupId>com.amazonaws</groupId>
5858
<artifactId>aws-android-sdk-auth-userpools</artifactId>
5959
<optional>true</optional>
60-
<version>2.10.1</version>
60+
<version>2.11.0</version>
6161
<type>aar</type>
6262
</dependency>
6363
<dependency>

aws-android-sdk-auth-userpools/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>com.amazonaws</groupId>
2323
<artifactId>aws-android-sdk-pom</artifactId>
24-
<version>2.10.1</version>
24+
<version>2.11.0</version>
2525
</parent>
2626

2727
<repositories>
@@ -36,14 +36,14 @@
3636
<groupId>com.amazonaws</groupId>
3737
<artifactId>aws-android-sdk-cognitoidentityprovider</artifactId>
3838
<optional>false</optional>
39-
<version>2.10.1</version>
39+
<version>2.11.0</version>
4040
</dependency>
4141

4242
<dependency>
4343
<groupId>com.amazonaws</groupId>
4444
<artifactId>aws-android-sdk-auth-core</artifactId>
4545
<optional>false</optional>
46-
<version>2.10.1</version>
46+
<version>2.11.0</version>
4747
<type>aar</type>
4848
</dependency>
4949

aws-android-sdk-autoscaling/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.10.1</version>
15+
<version>2.11.0</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.10.1</version>
23+
<version>2.11.0</version>
2424
</dependency>
2525
</dependencies>
2626

0 commit comments

Comments
 (0)