From 2c39b9e10357199e4f16892f739f23de8e7d0e17 Mon Sep 17 00:00:00 2001 From: Sunil Timalsina Date: Wed, 16 Nov 2022 06:56:43 -0800 Subject: [PATCH 1/5] release: Amplify Android 2.0.0 --- CHANGELOG.md | 16 ++++++++++++++++ README.md | 12 ++++++------ gradle.properties | 2 +- rxbindings/README.md | 2 +- 4 files changed, 24 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e8cf652f46..c89f63884a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +## [Release 2.0.0](https://github.com/aws-amplify/amplify-android/releases/tag/release_v2.0.0) + +### Breaking Changes +- Support for **Android SDK API 24: Android 7.0 (Nougat) and higher** +- Escape Hatches provides access to AWS SDK for Kotlin +- Auth API changes + +### Features +- Replace underlying AWS SDK with AWS SDK for Kotlin +- API changes in Auth and Storage + +### Miscelaneous +- All the categories use same version number + +[See all changes between 2.0.0 and 1.37.6](https://github.com/aws-amplify/amplify-android/compare/release_v1.37.6...release_v2.0.0) + ## [Release 1.37.6](https://github.com/aws-amplify/amplify-android/releases/tag/release_v1.37.6) ### Miscellaneous diff --git a/README.md b/README.md index 07b1513519..f33c7255ca 100644 --- a/README.md +++ b/README.md @@ -69,12 +69,12 @@ dependencies section: ```groovy dependencies { // Only specify modules that provide functionality your app will use - implementation 'com.amplifyframework:aws-analytics-pinpoint:1.37.0-dev-preview.0' - implementation 'com.amplifyframework:aws-api:1.37.0-dev-preview.0' - implementation 'com.amplifyframework:aws-auth-cognito:1.37.0-dev-preview.0' - implementation 'com.amplifyframework:aws-datastore:1.37.0-dev-preview.0' - implementation 'com.amplifyframework:aws-predictions:1.37.0-dev-preview.0' - implementation 'com.amplifyframework:aws-storage-s3:1.37.0-dev-preview.0' + implementation 'com.amplifyframework:aws-analytics-pinpoint:2.0.0' + implementation 'com.amplifyframework:aws-api:2.0.0' + implementation 'com.amplifyframework:aws-auth-cognito:2.0.0' + implementation 'com.amplifyframework:aws-datastore:2.0.0' + implementation 'com.amplifyframework:aws-predictions:2.0.0' + implementation 'com.amplifyframework:aws-storage-s3:2.0.0' } ``` diff --git a/gradle.properties b/gradle.properties index 5c2b46ff2c..f8678fd73d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -12,7 +12,7 @@ org.gradle.jvmargs=-Xmx4g # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects org.gradle.parallel=true -VERSION_NAME=2.0.0-SNAPSHOT +VERSION_NAME=2.0.0 POM_GROUP=com.amplifyframework POM_URL=https://github.com/aws-amplify/amplify-android diff --git a/rxbindings/README.md b/rxbindings/README.md index 521684a1bc..f4142ee48e 100644 --- a/rxbindings/README.md +++ b/rxbindings/README.md @@ -24,7 +24,7 @@ library. In your module's `build.gradle`: ```gradle dependencies { // Add this line. - implementation 'com.amplifyframework:rxbindings:1.37.0-dev-preview.0' + implementation 'com.amplifyframework:rxbindings:2.0.0' } ``` From 8c88c33b0d666a72562f944bf00287aa1740b96e Mon Sep 17 00:00:00 2001 From: Sunil Timalsina Date: Wed, 16 Nov 2022 07:02:44 -0800 Subject: [PATCH 2/5] add core-kotlin changelog --- core-kotlin/CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core-kotlin/CHANGELOG.md b/core-kotlin/CHANGELOG.md index dcd39b0929..ba1c18187d 100644 --- a/core-kotlin/CHANGELOG.md +++ b/core-kotlin/CHANGELOG.md @@ -1,3 +1,10 @@ +## [Release 2.0.0](https://github.com/aws-amplify/amplify-android/releases/tag/release_v2.0.0) + +### Miscellaneous +- core-kotlin module release is combined with Amplify release. + +[See all changes between 0.21.6 and 2.0.0](https://github.com/aws-amplify/amplify-android/compare/release-kotlin_v0.21.5...release_v2.0.0) + ## [Release 0.21.6](https://github.com/aws-amplify/amplify-android/releases/tag/release-kotlin_v0.21.6) ### Miscellaneous From 7b930ffd2f9a2cc4b63c7da84b2fbb1e376e6fae Mon Sep 17 00:00:00 2001 From: Sunil Timalsina Date: Wed, 16 Nov 2022 08:28:46 -0800 Subject: [PATCH 3/5] add more info in changelog --- CHANGELOG.md | 41 +++++++++++++++++++++++++++++++++-------- 1 file changed, 33 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c89f63884a..f363ec8eb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,16 +1,41 @@ ## [Release 2.0.0](https://github.com/aws-amplify/amplify-android/releases/tag/release_v2.0.0) -### Breaking Changes +###Breaking Changes + +#### Android SDK - Support for **Android SDK API 24: Android 7.0 (Nougat) and higher** -- Escape Hatches provides access to AWS SDK for Kotlin -- Auth API changes + +#### Escape Hatches +- Escape Hatches provide access to AWS SDK for Kotlin instead of `AWSMobileClient` from AWS SDK for Android. + +#### Analytics +- No support for push notifications. + +#### Auth +- `signIn` now returns result with `isSignedIn` instead of `isSignInComplete` +- `confirmResetPassword` API takes additional `username` parameter. +- `signOut` now takes single `onComplete` parameter instead of `onSuccess` and `onError`. +- `fetchAuthSession` now returns `identityIdResult` instead of `identityId`. +- `getCurrentUser` API is now asynchronous and requires `onSuccess` and `onError` parameters. `AuthUser` is returned in `onSuccess` +- The escape hatch now provides access to the underlying `CognitoIdentityProviderClient` and `CognitoIdentityClient` instance. +- Parameters `signInQueryParameters`, `signOutQueryParameters`, and `tokenQueryParameters` are dropped from `AuthWebUISignInOptions`. +- `federationProviderName` has been dropped from `AWSCognitoAuthWebUISignInOptions`. +- `signIn` will now return an error if you attempt to call sign in, while already signed in. ### Features -- Replace underlying AWS SDK with AWS SDK for Kotlin -- API changes in Auth and Storage +Replace underlying AWS SDK with AWS SDK for Kotlin. -### Miscelaneous -- All the categories use same version number +#### Auth +- Federate to Identity Pool +- Custom auth flow now supports without SRP flow +- Supports user migration flow +- Force refresh token. + +#### Storage +- Add support to query local enqueued transfers. + +### Miscellaneous +- All the categories use the same version number [See all changes between 2.0.0 and 1.37.6](https://github.com/aws-amplify/amplify-android/compare/release_v1.37.6...release_v2.0.0) @@ -67,7 +92,7 @@ - **datastore**: Implemented support for custom primary key (#1650) ### Bug Fixes -- **api:** allow post request with empty body (#1864) +- **api:*- allow post request with empty body (#1864) [See all changes between 1.36.5 and 1.37.0](https://github.com/aws-amplify/amplify-android/compare/release_v1.36.5...release_v1.37.0) From d465d2c62c71906e2df81c39af45a6270d561d0b Mon Sep 17 00:00:00 2001 From: Sunil Timalsina Date: Wed, 16 Nov 2022 08:31:28 -0800 Subject: [PATCH 4/5] revert unintended change --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f363ec8eb3..b668739e3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -92,7 +92,7 @@ Replace underlying AWS SDK with AWS SDK for Kotlin. - **datastore**: Implemented support for custom primary key (#1650) ### Bug Fixes -- **api:*- allow post request with empty body (#1864) +- **api:** allow post request with empty body (#1864) [See all changes between 1.36.5 and 1.37.0](https://github.com/aws-amplify/amplify-android/compare/release_v1.36.5...release_v1.37.0) From 6410ee9765306a1a08ad31aa4310f1a0352f11e5 Mon Sep 17 00:00:00 2001 From: Sunil Timalsina Date: Wed, 16 Nov 2022 09:11:10 -0800 Subject: [PATCH 5/5] remove breaking change for analytics --- CHANGELOG.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b668739e3c..d95ab64c52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,9 +8,6 @@ #### Escape Hatches - Escape Hatches provide access to AWS SDK for Kotlin instead of `AWSMobileClient` from AWS SDK for Android. -#### Analytics -- No support for push notifications. - #### Auth - `signIn` now returns result with `isSignedIn` instead of `isSignInComplete` - `confirmResetPassword` API takes additional `username` parameter.