Skip to content

Commit

Permalink
chore: release 0.5.0 (05-17-2022) (#1587)
Browse files Browse the repository at this point in the history
* package version bumps

* example app package versions

* changelogs

* update changelogs

* Update changelogs

* fix release date

* remove redundant logs for new packages

* Fix formatting

* Add missed log entries

* Reword breaking change section

* Reword

Co-authored-by: Dustin Noyes <dnnoyes@amazon.com>
Co-authored-by: Hui Zhao <zhohz@amazon.com>
  • Loading branch information
3 people committed May 17, 2022
1 parent 080685a commit 2650932
Show file tree
Hide file tree
Showing 52 changed files with 512 additions and 84 deletions.
8 changes: 4 additions & 4 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ dependencies:
flutter:
sdk: flutter
file_picker: ^4.0.0
amplify_flutter: 0.4.5
amplify_analytics_pinpoint: 0.4.5
amplify_auth_cognito: 0.4.5
amplify_storage_s3: 0.4.5
amplify_flutter: 0.5.0
amplify_analytics_pinpoint: 0.5.0
amplify_auth_cognito: 0.5.0
amplify_storage_s3: 0.5.0
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.3
Expand Down
54 changes: 54 additions & 0 deletions packages/amplify/amplify_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,57 @@
## 0.5.0 (2022-05-17)

### Breaking Changes

- **Auth**: Auth API Changes

- Previously, the [`Amplify.Auth.deleteUser`](https://docs.amplify.aws/lib/auth/delete_user/q/platform/flutter/) API would throw `UnimplementedException` when it was called on Android platform. When this release, this API becomes functional and will delete currently signed in user on Android platform.

**How to Migrate:**

- Remove unwanted calls of the `Amplify.Auth.deleteUser` API, if you were handling the `UnimplementedException` exception for Android

- Custom Auth flows are now available with passwordless logins. To support this change, the password attribute is now optional in the `Auth.signIn` API. While this should not prove breaking in most cases, we are calling it out since it alters a very commonly used API.

**How to Migrate:**

- Pass null to the `Auth.signIn` API only for passwordless login, using Cognito Custom Auth flows

### Features

- feat(auth): add deleteUser support for Android (#1540)
- feat(auth): enables custom auth flows (#1444)
- feat(datastore): Custom Conflict Handler (#1254)
- feat(datastore): emit subscriptionDataProcessed and syncReceived events (#1351)
- feat(datastore): Multi-auth (#1478)
- feat: AWS Signature V4 library (#1456)

### Fixes

- fix: support lists for .contains query predicate in observeQuery (#1233)
- fix(auth): Fix FlutterAuthProvider.kt (#1505)
- fix(core): Update QueryPagination page field to default to 0 (#1533)
- fix(authenticator): Fix confirm password validator (#1542)
- fix(aws_signature_v4): Various fixes (#1572)

### Chores

- chore(amplify_api): federated plugin (#1410)
- chore(amplify_flutter): migrate amplify_flutter to federated plugin (#1450)
- chore: make example Android Apps runnable with API 32+ (#1474)
- chore(auth): Templatize and update exception comments (#1476)
- chore(ci): Bump Xcode version
- chore: update android compileSdkVersion to 31
- chore: upgrade gradle plugin to 7.1.2
- chore: enable android codebase linter checks
- chore: replace 0.4.2-1 with 0.4.3 due to melos limitation (#1496)
- chore(aws): Bump min SDK version (#1551)
- chore: Lint fixes (#1471)
- chore(authenticator): Fix failing integration tests (#1545)
- chore: enable dependabot (#1568)
- chore: Flutter 3 fixes (#1580)
- chore: bump amplify-android version to 1.35.3 (#1586)
- chore: downgrade amplify-android to 1.33.0 (#1591)

## 0.4.5 (2022-04-13)

-fix: bumps ios version and bumps api AuthProvider timeout (#1526)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,6 @@ class MethodChannelAmplify extends AmplifyClass {
}

String _getVersion() {
return '0.4.3';
return '0.5.0';
}
}
28 changes: 14 additions & 14 deletions packages/amplify/amplify_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: amplify_flutter
description: The top level Flutter package for the AWS Amplify libraries.
version: 0.4.5
version: 0.5.0
homepage: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/amplify/amplify_flutter

environment:
sdk: ">=2.12.0 <3.0.0"
flutter: ">=2.0.0"

dependencies:
amplify_analytics_plugin_interface: 0.4.5
amplify_api_plugin_interface: 0.4.5
amplify_auth_plugin_interface: 0.4.5
amplify_core: 0.4.5
amplify_datastore_plugin_interface: 0.4.5
amplify_flutter_android: 0.4.5
amplify_flutter_ios: 0.4.5
amplify_storage_plugin_interface: 0.4.5
amplify_analytics_plugin_interface: 0.5.0
amplify_api_plugin_interface: 0.5.0
amplify_auth_plugin_interface: 0.5.0
amplify_core: 0.5.0
amplify_datastore_plugin_interface: 0.5.0
amplify_flutter_android: 0.5.0
amplify_flutter_ios: 0.5.0
amplify_storage_plugin_interface: 0.5.0
collection: ^1.15.0
flutter:
sdk: flutter
Expand Down Expand Up @@ -49,12 +49,12 @@ dependencies:
# path: ../amplify_storage_s3

dev_dependencies:
amplify_analytics_pinpoint: 0.4.3
amplify_api: 0.4.3
amplify_auth_cognito: 0.4.3
amplify_datastore: 0.4.3
amplify_analytics_pinpoint: 0.5.0
amplify_api: 0.5.0
amplify_auth_cognito: 0.5.0
amplify_datastore: 0.5.0
amplify_lints: ^1.0.0
amplify_storage_s3: 0.4.3
amplify_storage_s3: 0.5.0
amplify_test:
path: ../../amplify_test
build_runner: ^2.0.0
Expand Down
56 changes: 56 additions & 0 deletions packages/amplify/amplify_flutter_android/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,59 @@
## 0.5.0 (2022-05-17)

### Breaking Changes

- break: adds deleteUser support for Android (#1540)
- feat(auth): enables custom auth flows (#1444)

- **Auth**: Auth API Changes

- The `Auth.deleteUser` API is now functional on both Android and iOS platforms. Previsiously, this API would throw an exception on the Android platform. Now, the user will be deleted.

- Custom Auth flows are now available with passwordless logins. To support this change, the password attribute is now optional in the `Auth.signIn` API. While this should not prove breaking in most cases, we are calling it out since it alters a very commonly used API.

**How to Migrate:**

- Ensure that you are only invoking the `Auth.deleteUser` API when you want the user to be deleted, and do not rely on library to throw an exception on the Android platform.

- Pass null to the Auth.signIn API only for passwordless login, using Cognito Custom Auth flows.

### Features

- feat(datastore): Custom Conflict Handler (#1254)
- feat(datastore): emit subscriptionDataProcessed and syncReceived events (#1351)
- feat(datastore): Multi-auth (#1478)
- feat: AWS Signature V4 library (#1456)

### Fixes

- fix: support lists for .contains query predicate in observeQuery (#1233)
- fix(auth): Fix FlutterAuthProvider.kt (#1505)
- fix(core): Update QueryPagination page field to default to 0 (#1533)
- fix(authenticator): Fix confirm password validator (#1542)
- fix(aws_signature_v4): Various fixes (#1572)

### Chores

- chore(amplify_api): federated plugin (#1410)
- chore(amplify_flutter): migrate amplify_flutter to federated plugin (#1450)
- chore: make example Android Apps runnable with API 32+ (#1474)
- chore(auth): Templatize and update exception comments (#1476)
- chore(ci): Bump Xcode version
- chore: update android compileSdkVersion to 31
- chore: upgrade gradle plugin to 7.1.2
- chore: enable android codebase linter checks
- chore: replace 0.4.2-1 with 0.4.3 due to melos limitation (#1496)
- chore(aws): Bump min SDK version (#1551)
- chore: Lint fixes (#1471)
- chore(authenticator): Fix failing integration tests (#1545)
- chore(aws_signature_v4): Update README (#1559)
- chore(aws_signature_v4): Update user agent header name (#1561)
- chore(aws_common): Crypto-secure UUID (#1573)
- chore: enable dependabot (#1568)
- chore: Flutter 3 fixes (#1580)
- chore: bump amplify-android version to 1.35.3 (#1586)
- chore: downgrade amplify-android to 1.33.0 (#1591)

## 0.4.5 (2022-04-13)

-fix: bumps ios version and bumps api AuthProvider timeout (#1526)
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify/amplify_flutter_android/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: amplify_flutter_android
description: The method channel implementation for amplify_flutter on Android
version: 0.4.5
version: 0.5.0
homepage: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/amplify/amplify_flutter_android

environment:
Expand Down
54 changes: 54 additions & 0 deletions packages/amplify/amplify_flutter_ios/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,57 @@
## 0.5.0 (2022-05-17)

### Breaking Changes

- break: adds deleteUser support for Android (#1540)
- feat(auth): enables custom auth flows (#1444)

- **Auth**: Auth API Changes

- The `Auth.deleteUser` API is now functional on both Android and iOS platforms. Previsiously, this API would throw an exception on the Android platform. Now, the user will be deleted.

- Custom Auth flows are now available with passwordless logins. To support this change, the password attribute is now optional in the `Auth.signIn` API. While this should not prove breaking in most cases, we are calling it out since it alters a very commonly used API.

**How to Migrate:**

- Ensure that you are only invoking the `Auth.deleteUser` API when you want the user to be deleted, and do not rely on library to throw an exception on the Android platform.

- Pass null to the Auth.signIn API only for passwordless login, using Cognito Custom Auth flows.

### Features

- feat(datastore): Custom Conflict Handler (#1254)
- feat(datastore): emit subscriptionDataProcessed and syncReceived events (#1351)
- feat(datastore): Multi-auth (#1478)
- feat: AWS Signature V4 library (#1456)

### Fixes

- fix: support lists for .contains query predicate in observeQuery (#1233)
- fix(auth): Fix FlutterAuthProvider.kt (#1505)
- fix(core): Update QueryPagination page field to default to 0 (#1533)
- fix(authenticator): Fix confirm password validator (#1542)
- fix(aws_signature_v4): Various fixes (#1572)

### Chores

- chore(amplify_api): federated plugin (#1410)
- chore(amplify_flutter): migrate amplify_flutter to federated plugin (#1450)
- chore: make example Android Apps runnable with API 32+ (#1474)
- chore(auth): Templatize and update exception comments (#1476)
- chore(ci): Bump Xcode version
- chore: update android compileSdkVersion to 31
- chore: upgrade gradle plugin to 7.1.2
- chore: enable android codebase linter checks
- chore: replace 0.4.2-1 with 0.4.3 due to melos limitation (#1496)
- chore(aws): Bump min SDK version (#1551)
- chore: Lint fixes (#1471)
- chore(authenticator): Fix failing integration tests (#1545)
- chore(aws_signature_v4): Update README (#1559)
- chore(aws_signature_v4): Update user agent header name (#1561)
- chore(aws_common): Crypto-secure UUID (#1573)
- chore: enable dependabot (#1568)
- chore: Flutter 3 fixes (#1580)

## 0.4.5 (2022-04-13)

-fix: bumps ios version and bumps api AuthProvider timeout (#1526)
Expand Down
4 changes: 2 additions & 2 deletions packages/amplify/amplify_flutter_ios/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: amplify_flutter_ios
description: The method channel implementation for amplify_flutter on iOS
version: 0.4.5
version: 0.5.0
homepage: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/amplify/amplify_flutter_ios

environment:
sdk: ">=2.12.0 <3.0.0"
flutter: ">=2.0.0"

dependencies:
amplify_core: 0.4.5
amplify_core: 0.5.0
flutter:
sdk: flutter

Expand Down
14 changes: 14 additions & 0 deletions packages/amplify_authenticator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## 0.1.1 (2022-05-17)

### Features

- feat(auth): enables custom auth flows (#1444)

### Fixes

- fix(authenticator): Fix confirm password validator (#1542)

### Chores

- chore(authenticator): Fix failing integration tests (#1545)

## 0.1.0 (2022-02-24)

- Initial stable release of the amplify_authenticator package. See https://ui.docs.amplify.aws/components/authenticator?platform=flutter to get started.
6 changes: 3 additions & 3 deletions packages/amplify_authenticator/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ environment:
sdk: ">=2.12.0 <3.0.0"

dependencies:
amplify_auth_cognito: 0.4.5
amplify_auth_cognito: 0.5.0
amplify_authenticator:
path: ../
amplify_flutter: 0.4.5
amplify_flutter: 0.5.0

flutter:
sdk: flutter
Expand All @@ -37,7 +37,7 @@ dependencies:
sdk: flutter

dev_dependencies:
amplify_api: 0.4.5
amplify_api: 0.5.0
amplify_lints: ^1.0.0
amplify_test:
path: ../../amplify_test
Expand Down
10 changes: 5 additions & 5 deletions packages/amplify_authenticator/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: amplify_authenticator
description: A prebuilt Sign In and Sign Up experience for the Amplify Auth category
version: 0.1.0
version: 0.1.1
homepage: https://ui.docs.amplify.aws/components/authenticator?platform=flutter
issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues

Expand All @@ -9,10 +9,10 @@ environment:
flutter: ">=2.0.0"

dependencies:
amplify_auth_cognito: ">=0.3.0 <0.5.0"
amplify_auth_plugin_interface: ">=0.3.0 <0.5.0"
amplify_core: ">=0.3.0 <0.5.0"
amplify_flutter: ">=0.3.0 <0.5.0"
amplify_auth_cognito: ">=0.3.0 <0.6.0"
amplify_auth_plugin_interface: ">=0.3.0 <0.6.0"
amplify_core: ">=0.3.0 <0.6.0"
amplify_flutter: ">=0.3.0 <0.6.0"
collection: ^1.15.0
flutter:
sdk: flutter
Expand Down
19 changes: 19 additions & 0 deletions packages/amplify_core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
## 0.5.0 (2022-05-17)

### Fixes

- fix(core): Update QueryPagination page field to default to 0 (#1533)

### Chores

- chore: make example Android Apps runnable with API 32+ (#1474)
- chore: update android compileSdkVersion to 31
- chore: upgrade gradle plugin to 7.1.2
- chore: enable android codebase linter checks
- chore: replace 0.4.2-1 with 0.4.3 due to melos limitation (#1496)
- chore: Lint fixes (#1471)
- chore: enable dependabot (#1568)
- chore: Flutter 3 fixes (#1580)
- chore: bump amplify-android version to 1.35.3 (#1586)
- chore: downgrade amplify-android to 1.33.0 (#1591)

## 0.4.5 (2022-04-13)

-fix: bumps ios version and bumps api AuthProvider timeout (#1526)
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify_core/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: amplify_core
description: The base package containing common types and utilities that are shared across the Amplify Flutter packages.
version: 0.4.5
version: 0.5.0
homepage: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/amplify_core

environment:
Expand Down
24 changes: 24 additions & 0 deletions packages/amplify_datastore/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
## 0.5.0 (2022-05-17)

### Features

- feat(datastore): Custom Conflict Handler (#1254)
- feat(datastore): emit subscriptionDataProcessed and syncReceived events (#1351)
- feat(datastore): Multi-auth (#1478)

### Fixes

- fix: support lists for .contains query predicate in observeQuery (#1233)

### Chores

- chore: make example Android Apps runnable with API 32+ (#1474)
- chore: update android compileSdkVersion to 31
- chore: upgrade gradle plugin to 7.1.2
- chore: enable android codebase linter checks
- chore: replace 0.4.2-1 with 0.4.3 due to melos limitation (#1496)
- chore: Lint fixes (#1471)
- chore: Flutter 3 fixes (#1580)
- chore: bump amplify-android version to 1.35.3 (#1586)
- chore: downgrade amplify-android to 1.33.0 (#1591)

## 0.4.5 (2022-04-13)

-fix: bumps ios version and bumps api AuthProvider timeout (#1526)
Expand Down
Loading

0 comments on commit 2650932

Please sign in to comment.