Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staging release 2.12.5 #793

Merged
merged 49 commits into from
Mar 14, 2019
Merged
Show file tree
Hide file tree
Changes from 48 commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
d7b89b4
Secure information stored in SharedPreferences
Feb 27, 2019
000d980
Lower aws-android-sdk-core-test compile and target sdk version to 27
Mar 7, 2019
2f0fdb9
Add a symlink to android-23.jar for core
Mar 7, 2019
a61cb98
Add a gradle task that creates a symlink to android-23.jar for AWS Core
Mar 7, 2019
af2f0e0
Fix the gradle task that creates symbolic link to android-23.jar
Mar 7, 2019
eef7a73
Change config.yml to setup android-23
Mar 7, 2019
0cd817f
Enable core, cognitoidentityprovider and cognitoauth integration test…
Mar 7, 2019
ab1575c
Enable core, cognitoidentityprovider and cognitoauth integration test…
Mar 7, 2019
6d65c09
Fix pom.xml
Mar 7, 2019
d1a92e2
Improve exception handling in AWSKeyValueStore
Mar 7, 2019
4fd07ae
[2.12.3] Bump the patch version of 2.12.z
Mar 7, 2019
4e779bc
[2.12.3] Bump the patch version of 2.12.z
Mar 7, 2019
e7d24d9
Update 2.12.3 CHANGELOG
Mar 8, 2019
7bb01bd
Merge branch 'master' into develop
Mar 8, 2019
23fe9e7
Add the missing bucket prefixes to CleanupBucketIntegrationTests
Mar 9, 2019
c7cf782
Fix a bug where migrating expirationDate in CognitoCachingCredentials…
Mar 11, 2019
79b0193
Merge branch 'master' into develop
Mar 11, 2019
f615052
[2.12.4] Update changelog and bump version
Mar 11, 2019
828377e
Merge branch 'master' into develop
Mar 11, 2019
73004e1
Annotate code specific to API Level 23 and above in AWSKeyValueStore
Mar 13, 2019
3df51e9
Merge branch 'master' into develop
Mar 13, 2019
90d727f
Added API to accept key-value pairs which are appended to the connect…
desokroshan Mar 13, 2019
23eb8b7
build android sdk with android-10 (#782)
Mar 14, 2019
f3051d7
Add sign out options
minbi Feb 6, 2019
dff44bc
[MobileClient] Cleanup javadocs and remove unnecessary try..catch blocks
minbi Feb 11, 2019
4ed9949
[MobileClient] Add developer authenticated identities to federatedSig…
minbi Feb 13, 2019
475fb35
[MobileClient] Add test for developer authenticated idenities federat…
minbi Feb 13, 2019
cca02db
[MobileClient] Persist identity id for developer authenticated identi…
minbi Feb 13, 2019
adb3fea
[MobileClient] Add AWSMobileClient as client usage tracker in user agent
minbi Feb 13, 2019
480574f
[MobileClient] Add device operations; Add error message to ReturningR…
minbi Feb 14, 2019
4cb36c9
[MobileClient] Add global sign-out functionality
minbi Feb 14, 2019
ebb2f42
[MobileClient] Add custom role arn to settings in federated sign-in p…
minbi Feb 18, 2019
df32165
[MobileClient] Add forgot password test; Fix sign out globally test
minbi Feb 19, 2019
75d9268
[MobileClient] [Userpools] [CognitoAuth] Add HostedUI and OAuth 2.0 c…
minbi Mar 6, 2019
31a2831
[MobileClient] Fix multiple adds of SignInProvider to provider list f…
minbi Mar 6, 2019
ea8a774
[MobileClient] Fix git merge issues
minbi Mar 13, 2019
57197ff
[MobileClient] Fix integration tests for new configuration
minbi Mar 13, 2019
c67ad65
[CognitoAuth] Fix NPE when ASF feature turned off
minbi Mar 14, 2019
0d8dbb4
[MobileClient] Finalize APIs before release, add persistence flag to …
minbi Mar 14, 2019
619c3af
[AuthSDKs] Update maven repositories in pom to maven.google.com
minbi Mar 14, 2019
9980bed
[Core] Fix NPE when setting persistence in AWSKeyValueStore after ini…
minbi Mar 14, 2019
a51297a
[MobileClient] Ignore manual tests in automation
minbi Mar 14, 2019
c41c190
[MobileClient] Ignore drop-in UI test due to timeout; Default OAuth 2…
minbi Mar 14, 2019
62db1bd
Fix the transition between persistence enabled and disabled in AWSKey…
Mar 14, 2019
9f708af
Enable core, cognitoidentityprovider and cognitoauth integration test…
Mar 14, 2019
cac3650
Update changelog for 2.12.5; Add mobile client; Remove IoT metrics
minbi Mar 14, 2019
5dcd2f9
Skip reserved keynames (#791)
desokroshan Mar 14, 2019
463c086
Bump version 2.12.5 (#792)
minbi Mar 14, 2019
bbe5eb4
Merge branch 'master' into develop
Mar 14, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,38 @@ jobs:
key: Libs-{{ .Revision }}
paths:
- lib
build_api10:
working_directory: ~/code
docker:
- image: circleci/android:api-27-alpha
environment:
JVM_OPTS: -Xmx3200m
steps:
- checkout
- generate_gradle_wrapper
- run:
name: download android-10
command:
sudo yes | sdkmanager "platforms;android-10"
- run:
name: install python3-pip
command: |
sudo apt-get update
sudo apt-get -y install python3-pip
- run:
name: install json parser
command: sudo pip3 install demjson
- run:
name: update code for api10
command: |
python3 CircleciScripts/replace_android10.py "$(pwd)"
rm aws-android-sdk-core/src/main/java/com/amazonaws/internal/keyvaluestore/KeyProvider18.java
rm aws-android-sdk-core/src/main/java/com/amazonaws/internal/keyvaluestore/KeyProvider23.java
cat aws-android-sdk-core/src/main/java/com/amazonaws/internal/keyvaluestore/AWSKeyValueStore.java
- run:
name: build the whole project
command: |
bash gradlew :aws-android-sdk-core:build -x test

unittest:
working_directory: ~/code
Expand Down Expand Up @@ -640,6 +672,7 @@ workflows:
build_test:
jobs:
- build
- build_api10
- unittest
- pre_integrationtest:
filters:
Expand Down Expand Up @@ -921,6 +954,12 @@ workflows:
ignore: /.*/
tags:
only: /^(release|beta)_v[0-9]+.[0-9]+.[0-9]+$/
- build_api10:
filters:
branches:
ignore: /.*/
tags:
only: /^(release|beta)_v[0-9]+.[0-9]+.[0-9]+$/
- unittest:
filters:
branches:
Expand Down Expand Up @@ -1134,6 +1173,36 @@ workflows:
ignore: /.*/
tags:
only: /^(release|beta)_v[0-9]+.[0-9]+.[0-9]+$/
- integrationtest:
name: CognitoIdentityProvider
testmodule: aws-android-sdk-cognitoidentityprovider-test
requires:
- pre_integrationtest
filters:
branches:
ignore: /.*/
tags:
only: /^(release|beta)_v[0-9]+.[0-9]+.[0-9]+$/
- integrationtest:
name: Core
testmodule: aws-android-sdk-core-test
requires:
- pre_integrationtest
filters:
branches:
ignore: /.*/
tags:
only: /^(release|beta)_v[0-9]+.[0-9]+.[0-9]+$/
- integrationtest:
name: CognitoAuth
testmodule: aws-android-sdk-cognitoauth
requires:
- pre_integrationtest
filters:
branches:
ignore: /.*/
tags:
only: /^(release|beta)_v[0-9]+.[0-9]+.[0-9]+$/
# - integrationtest:
# name: kinesisvideo
# testmodule: aws-android-sdk-kinesisvideo
Expand Down Expand Up @@ -1199,6 +1268,7 @@ workflows:
requires:
- unittest
- post_integrationtest
- build_api10
filters:
branches:
ignore: /.*/
Expand Down
27 changes: 26 additions & 1 deletion .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Change Log - AWS SDK for Android

## [Release 2.12.5](https://github.com/aws/aws-sdk-android/releases/tag/release_v2.12.5)

### New Features

* **AWS Mobile Client**
* Added support for SAML in `federatedSignIn()`.
* Added support for developer authenticated identities in `federatedSignIn()`. See [issue #577](https://github.com/aws-amplify/aws-sdk-android/issues/577)
* Added support Cognito Hosted UI in `showSignIn()`.
* Added support to use OAuth 2.0 provider like `Auth0` in `showSignIn()`. Federation for AWS credentials requires OpenID support from the provider.
* Added support for global sign out.
* Added support for device features which include `list`, `get`, `updateStatus` and `forget`. These APIs are available through `getDeviceOperations()`.

* **Amazon Cognito Identity Provider**
* Fixed threading issues to ensure callbacks are made from main looper when `xInBackground()` method variants are used. See [issue #722](https://github.com/aws-amplify/aws-sdk-android/issues/722)

* **Amazon Cognito Auth**
* Fixed erroneous user cancelled error when redirecting back to app. See [issue #328](https://github.com/aws-amplify/aws-sdk-android/issues/328)

## [Release 2.12.4](https://github.com/aws/aws-sdk-android/releases/tag/release_v2.12.4)

* **AWS Core**
Expand Down
44 changes: 44 additions & 0 deletions CircleciScripts/replace_android10.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
from utils import replacefiles
import demjson
import sys
import re
import os
root = sys.argv[1]

replaces = [
{
"match" : 'android-23',
"replace" : 'android-10',
"files" : [
"aws-android-sdk-core/build.gradle"
]
} ,
{
"match" : 'android-23.jar',
"replace" : 'android-10.jar',
"files" : [
"aws-android-sdk-core/build.gradle"
]
} ,
]
replacefiles(root, replaces)




AWSKeyValueStoreFile = os.path.join(root,"aws-android-sdk-core/src/main/java/com/amazonaws/internal/keyvaluestore/AWSKeyValueStore.java")
newcontent = ""
with open(AWSKeyValueStoreFile, 'r') as myfile:
content = myfile.read()
pattern = r'//@apiLevel23Start[\s\S]*?//@apiLevel23End'
repl = r""
newcontent = re.sub(pattern, repl, content)


pattern = r'//@apiLevel18Start[\s\S]*?//@apiLevel18End'
repl = r""
newcontent = re.sub(pattern, repl, newcontent)
with open(AWSKeyValueStoreFile,"w") as myfile:
myfile.write(newcontent)


4 changes: 2 additions & 2 deletions aws-android-sdk-apigateway-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
<parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-android-sdk-pom</artifactId>
<version>2.12.4</version>
<version>2.12.5</version>
</parent>

<dependencies>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-android-sdk-core</artifactId>
<optional>false</optional>
<version>2.12.4</version>
<version>2.12.5</version>
</dependency>
</dependencies>

Expand Down
4 changes: 2 additions & 2 deletions aws-android-sdk-auth-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
<parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-android-sdk-pom</artifactId>
<version>2.12.4</version>
<version>2.12.5</version>
</parent>

<dependencies>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-android-sdk-core</artifactId>
<optional>false</optional>
<version>2.12.4</version>
<version>2.12.5</version>
</dependency>

<dependency>
Expand Down
8 changes: 4 additions & 4 deletions aws-android-sdk-auth-facebook/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
<parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-android-sdk-pom</artifactId>
<version>2.12.4</version>
<version>2.12.5</version>
</parent>

<repositories>
<repository>
<id>android-support</id>
<url>file://${env.ANDROID_HOME}/extras/android/m2repository/</url>
<id>google-maven</id>
<url>https://maven.google.com</url>
</repository>
</repositories>

Expand All @@ -36,7 +36,7 @@
<groupId>com.amazonaws</groupId>
<artifactId>aws-android-sdk-auth-core</artifactId>
<optional>false</optional>
<version>2.12.4</version>
<version>2.12.5</version>
<type>aar</type>
</dependency>
<dependency>
Expand Down
12 changes: 4 additions & 8 deletions aws-android-sdk-auth-google/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,13 @@
<parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-android-sdk-pom</artifactId>
<version>2.12.4</version>
<version>2.12.5</version>
</parent>

<repositories>
<repository>
<id>android-support</id>
<url>file://${env.ANDROID_HOME}/extras/android/m2repository/</url>
</repository>
<repository>
<id>google-android-gms</id>
<url>file://${env.ANDROID_HOME}/extras/google/m2repository/</url>
<id>google-maven</id>
<url>https://maven.google.com</url>
</repository>
</repositories>

Expand All @@ -40,7 +36,7 @@
<groupId>com.amazonaws</groupId>
<artifactId>aws-android-sdk-auth-core</artifactId>
<optional>false</optional>
<version>2.12.4</version>
<version>2.12.5</version>
<type>aar</type>
</dependency>

Expand Down
Loading