Skip to content

Commit a131321

Browse files
Merge pull request #2077 from aws-amplify/2.18.0
Release 2.18.0
2 parents 4105cd5 + 171119b commit a131321

File tree

65 files changed

+415
-230
lines changed

Some content is hidden

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

65 files changed

+415
-230
lines changed

.circleci/config.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ jobs:
293293
build:
294294
working_directory: ~/code
295295
docker:
296-
- image: circleci/android:api-29
296+
- image: circleci/android@sha256:2d4ef38bcef095335302e83a7b20e6f24087ed01594a7c232b114599b5271dc9
297297
resource_class: xlarge
298298
environment:
299299
JVM_OPTS: -Xmx8192m
@@ -319,7 +319,7 @@ jobs:
319319
unittest:
320320
working_directory: ~/code
321321
docker:
322-
- image: circleci/android:api-29
322+
- image: circleci/android@sha256:2d4ef38bcef095335302e83a7b20e6f24087ed01594a7c232b114599b5271dc9
323323
resource_class: xlarge
324324
environment:
325325
JVM_OPTS: -Xmx8192m
@@ -369,7 +369,7 @@ jobs:
369369
370370
release_javadoc:
371371
docker:
372-
- image: circleci/android:api-29
372+
- image: circleci/android@sha256:2d4ef38bcef095335302e83a7b20e6f24087ed01594a7c232b114599b5271dc9
373373
resource_class: xlarge
374374
environment:
375375
JVM_OPTS: -Xmx8192m
@@ -510,7 +510,7 @@ jobs:
510510

511511
release_s3:
512512
docker:
513-
- image: circleci/android:api-29
513+
- image: circleci/android@sha256:2d4ef38bcef095335302e83a7b20e6f24087ed01594a7c232b114599b5271dc9
514514
environment:
515515
JVM_OPTS: -Xmx1024m
516516
steps:
@@ -576,7 +576,7 @@ jobs:
576576
577577
pre_integrationtest:
578578
docker:
579-
- image: circleci/android:api-29
579+
- image: circleci/android@sha256:2d4ef38bcef095335302e83a7b20e6f24087ed01594a7c232b114599b5271dc9
580580
environment:
581581
JVM_OPTS: -Xmx1024m
582582
steps:
@@ -611,7 +611,7 @@ jobs:
611611
612612
post_integrationtest:
613613
docker:
614-
- image: circleci/android:api-29
614+
- image: circleci/android@sha256:2d4ef38bcef095335302e83a7b20e6f24087ed01594a7c232b114599b5271dc9
615615
environment:
616616
JVM_OPTS: -Xmx1024m
617617
steps:
@@ -696,7 +696,7 @@ jobs:
696696
bump_sampleapp_version:
697697
working_directory: ~/code
698698
docker:
699-
- image: circleci/android:api-29
699+
- image: circleci/android@sha256:2d4ef38bcef095335302e83a7b20e6f24087ed01594a7c232b114599b5271dc9
700700
resource_class: xlarge
701701
environment:
702702
JVM_OPTS: -Xmx8192m
@@ -730,7 +730,7 @@ jobs:
730730
bump_applifydocs_version:
731731
working_directory: ~/code
732732
docker:
733-
- image: circleci/android:api-29
733+
- image: circleci/android@sha256:2d4ef38bcef095335302e83a7b20e6f24087ed01594a7c232b114599b5271dc9
734734
resource_class: xlarge
735735
environment:
736736
JVM_OPTS: -Xmx8192m
@@ -762,7 +762,7 @@ jobs:
762762
- bump_version_post
763763
bump_sdk_version:
764764
docker:
765-
- image: circleci/android:api-29
765+
- image: circleci/android@sha256:2d4ef38bcef095335302e83a7b20e6f24087ed01594a7c232b114599b5271dc9
766766
environment:
767767
JVM_OPTS: -Xmx1024m
768768
steps:
@@ -826,7 +826,7 @@ jobs:
826826

827827
merge_to_main:
828828
docker:
829-
- image: circleci/android:api-29
829+
- image: circleci/android@sha256:2d4ef38bcef095335302e83a7b20e6f24087ed01594a7c232b114599b5271dc9
830830
environment:
831831
JVM_OPTS: -Xmx1024m
832832
steps:
@@ -869,7 +869,7 @@ jobs:
869869
870870
prepare_release_sdk:
871871
docker:
872-
- image: circleci/android:api-29
872+
- image: circleci/android@sha256:2d4ef38bcef095335302e83a7b20e6f24087ed01594a7c232b114599b5271dc9
873873
environment:
874874
JVM_OPTS: -Xmx1024m
875875
steps:
@@ -898,7 +898,7 @@ jobs:
898898
899899
create_pullrequest_for_modelupdate:
900900
docker:
901-
- image: circleci/android:api-29
901+
- image: circleci/android@sha256:2d4ef38bcef095335302e83a7b20e6f24087ed01594a7c232b114599b5271dc9
902902
environment:
903903
JVM_OPTS: -Xmx1024m
904904
steps:
@@ -915,7 +915,7 @@ jobs:
915915
916916
check_sdk_on_maven:
917917
docker:
918-
- image: circleci/android:api-29
918+
- image: circleci/android@sha256:2d4ef38bcef095335302e83a7b20e6f24087ed01594a7c232b114599b5271dc9
919919
environment:
920920
JVM_OPTS: -Xmx1024m
921921
steps:
@@ -943,7 +943,7 @@ jobs:
943943
944944
run_integrationtest_on_devicefarm:
945945
docker:
946-
- image: circleci/android:api-29
946+
- image: circleci/android@sha256:2d4ef38bcef095335302e83a7b20e6f24087ed01594a7c232b114599b5271dc9
947947
environment:
948948
JVM_OPTS: -Xmx1024m
949949
steps:
@@ -1008,7 +1008,7 @@ jobs:
10081008
"https://circleci.com/api/v1.1/project/github/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/envvar?circle-token=${CIRCLE_API_USER_TOKEN}"
10091009
check_testresult_on_devicefarm:
10101010
docker:
1011-
- image: circleci/android:api-29
1011+
- image: circleci/android@sha256:2d4ef38bcef095335302e83a7b20e6f24087ed01594a7c232b114599b5271dc9
10121012
environment:
10131013
JVM_OPTS: -Xmx1024m
10141014
steps:

CHANGELOG.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Change Log - AWS SDK for Android
22

3+
## [Release 2.18.0](https://github.com/aws/aws-sdk-android/releases/tag/release_v2.18.0)
4+
5+
*Version 2.18.0 introduces breaking changes against 2.17.1.*
6+
7+
### Breaking Updates
8+
- aws-android-sdk-mobile-client:
9+
- No breaking changes code-wise but if you already setup HostedUI for an older version of the SDK,
10+
you'll need to follow the steps in the [updated documentation](https://docs.amplify.aws/sdk/auth/hosted-ui/q/platform/android#setup-amazon-cognito-hosted-ui-in-android-app)
11+
to properly handle the response going forward.
12+
- aws-android-sdk-cognitoauth:
13+
- `getSession()` method has been refactored to `getSession(Activity activity)`, where `activity` is an instance of
14+
the activity the user is calling this method from. It uses this to launch HostedUI if it needs to sign in again.
15+
- `getSession(boolean launchWebUIIfExpired)` has been refactored to `getSessionWithoutWebUI()`. It will get session
16+
information if the refresh token is still valid, otherwise will throw an exception indicating the user must sign in
17+
again.
18+
19+
### Bug Fixes
20+
- aws-android-sdk-mobile-client:
21+
- `getTokens()` was making a network call every time it was used, negating any benefit of cached tokens. Removed
22+
the unnecessary network call so it now correctly returns cached tokens when available with no network call (Issue #1722)
23+
324
## [Release 2.17.1](https://github.com/aws/aws-sdk-android/releases/tag/release_v2.17.1)
425

526
### Bug fixes
@@ -23,7 +44,6 @@
2344

2445
- Allow override of User Agent in the AWSMobileClient
2546

26-
2747
## [Release 2.17.0](https://github.com/aws/aws-sdk-android/releases/tag/release_v2.17.0)
2848

2949
*Version 2.17.0 introduces breaking changes against 2.16.13.*

aws-android-sdk-apigateway-core/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
defaultConfig {
88
minSdkVersion 9
99
targetSdkVersion 29
10-
versionCode 21701
11-
versionName "2.17.1"
10+
versionCode 21800
11+
versionName '2.18.0'
1212
}
1313
}
1414

aws-android-sdk-apigateway-test/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ android {
66
defaultConfig {
77
minSdkVersion 14 // junit ext
88
targetSdkVersion 29
9-
versionCode 21701
10-
versionName "2.17.1"
9+
versionCode 21800
10+
versionName '2.18.0'
1111
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
1212
}
1313
}

aws-android-sdk-auth-core/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
defaultConfig {
88
minSdkVersion 11
99
targetSdkVersion 29
10-
versionCode 21701
11-
versionName "2.17.1"
10+
versionCode 21800
11+
versionName '2.18.0'
1212
}
1313
}
1414

aws-android-sdk-auth-facebook/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
defaultConfig {
88
minSdkVersion 14 // v4 support, brought from facebook sdk
99
targetSdkVersion 29
10-
versionCode 21701
11-
versionName "2.17.1"
10+
versionCode 21800
11+
versionName '2.18.0'
1212
}
1313
}
1414

aws-android-sdk-auth-google/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
defaultConfig {
88
minSdkVersion 14 // gms auth brought by google sdk
99
targetSdkVersion 29
10-
versionCode 21701
11-
versionName "2.17.1"
10+
versionCode 21800
11+
versionName '2.18.0'
1212
}
1313
}
1414

aws-android-sdk-auth-ui/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
defaultConfig {
88
minSdkVersion 14 // appcompat
99
targetSdkVersion 29
10-
versionCode 21701
11-
versionName "2.17.1"
10+
versionCode 21800
11+
versionName '2.18.0'
1212
}
1313
}
1414

aws-android-sdk-auth-userpools/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
defaultConfig {
88
minSdkVersion 14 // setAllCaps(), 11 otherwise
99
targetSdkVersion 29
10-
versionCode 21701
11-
versionName "2.17.1"
10+
versionCode 21800
11+
versionName '2.18.0'
1212
}
1313
}
1414

aws-android-sdk-cloudwatch/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
defaultConfig {
88
minSdkVersion 9
99
targetSdkVersion 29
10-
versionCode 21701
11-
versionName "2.17.1"
10+
versionCode 21800
11+
versionName '2.18.0'
1212
}
1313
}
1414

0 commit comments

Comments
 (0)