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

release: Amplify Android 2.0.0 #2115

Merged
merged 6 commits into from
Nov 16, 2022
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
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
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,41 @@
## [Release 2.0.0](https://github.com/aws-amplify/amplify-android/releases/tag/release_v2.0.0)

###Breaking Changes

#### Android SDK
- Support for **Android SDK API 24: Android 7.0 (Nougat) and higher**

#### Escape Hatches
- Escape Hatches provide access to AWS SDK for Kotlin instead of `AWSMobileClient` from AWS SDK for Android.

#### 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.

#### 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)

## [Release 1.37.6](https://github.com/aws-amplify/amplify-android/releases/tag/release_v1.37.6)

### Miscellaneous
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
```

Expand Down
7 changes: 7 additions & 0 deletions core-kotlin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

making sure this was intended to be release_v2.0.0 and not release-kotlin_v2.0.0

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is intended


## [Release 0.21.6](https://github.com/aws-amplify/amplify-android/releases/tag/release-kotlin_v0.21.6)

### Miscellaneous
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion rxbindings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
```

Expand Down