Skip to content

Commit 2650932

Browse files
haverchuckDustin NoyesHuiSF
authored
chore: release 0.5.0 (05-17-2022) (#1587)
* 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 <[email protected]> Co-authored-by: Hui Zhao <[email protected]>
1 parent 080685a commit 2650932

File tree

52 files changed

+512
-84
lines changed

Some content is hidden

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

52 files changed

+512
-84
lines changed

example/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ dependencies:
2525
flutter:
2626
sdk: flutter
2727
file_picker: ^4.0.0
28-
amplify_flutter: 0.4.5
29-
amplify_analytics_pinpoint: 0.4.5
30-
amplify_auth_cognito: 0.4.5
31-
amplify_storage_s3: 0.4.5
28+
amplify_flutter: 0.5.0
29+
amplify_analytics_pinpoint: 0.5.0
30+
amplify_auth_cognito: 0.5.0
31+
amplify_storage_s3: 0.5.0
3232
# The following adds the Cupertino Icons font to your application.
3333
# Use with the CupertinoIcons class for iOS style icons.
3434
cupertino_icons: ^0.1.3

packages/amplify/amplify_flutter/CHANGELOG.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,57 @@
1+
## 0.5.0 (2022-05-17)
2+
3+
### Breaking Changes
4+
5+
- **Auth**: Auth API Changes
6+
7+
- 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.
8+
9+
**How to Migrate:**
10+
11+
- Remove unwanted calls of the `Amplify.Auth.deleteUser` API, if you were handling the `UnimplementedException` exception for Android
12+
13+
- 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.
14+
15+
**How to Migrate:**
16+
17+
- Pass null to the `Auth.signIn` API only for passwordless login, using Cognito Custom Auth flows
18+
19+
### Features
20+
21+
- feat(auth): add deleteUser support for Android (#1540)
22+
- feat(auth): enables custom auth flows (#1444)
23+
- feat(datastore): Custom Conflict Handler (#1254)
24+
- feat(datastore): emit subscriptionDataProcessed and syncReceived events (#1351)
25+
- feat(datastore): Multi-auth (#1478)
26+
- feat: AWS Signature V4 library (#1456)
27+
28+
### Fixes
29+
30+
- fix: support lists for .contains query predicate in observeQuery (#1233)
31+
- fix(auth): Fix FlutterAuthProvider.kt (#1505)
32+
- fix(core): Update QueryPagination page field to default to 0 (#1533)
33+
- fix(authenticator): Fix confirm password validator (#1542)
34+
- fix(aws_signature_v4): Various fixes (#1572)
35+
36+
### Chores
37+
38+
- chore(amplify_api): federated plugin (#1410)
39+
- chore(amplify_flutter): migrate amplify_flutter to federated plugin (#1450)
40+
- chore: make example Android Apps runnable with API 32+ (#1474)
41+
- chore(auth): Templatize and update exception comments (#1476)
42+
- chore(ci): Bump Xcode version
43+
- chore: update android compileSdkVersion to 31
44+
- chore: upgrade gradle plugin to 7.1.2
45+
- chore: enable android codebase linter checks
46+
- chore: replace 0.4.2-1 with 0.4.3 due to melos limitation (#1496)
47+
- chore(aws): Bump min SDK version (#1551)
48+
- chore: Lint fixes (#1471)
49+
- chore(authenticator): Fix failing integration tests (#1545)
50+
- chore: enable dependabot (#1568)
51+
- chore: Flutter 3 fixes (#1580)
52+
- chore: bump amplify-android version to 1.35.3 (#1586)
53+
- chore: downgrade amplify-android to 1.33.0 (#1591)
54+
155
## 0.4.5 (2022-04-13)
256

357
-fix: bumps ios version and bumps api AuthProvider timeout (#1526)

packages/amplify/amplify_flutter/lib/src/method_channel_amplify.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,6 @@ class MethodChannelAmplify extends AmplifyClass {
166166
}
167167

168168
String _getVersion() {
169-
return '0.4.3';
169+
return '0.5.0';
170170
}
171171
}

packages/amplify/amplify_flutter/pubspec.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
name: amplify_flutter
22
description: The top level Flutter package for the AWS Amplify libraries.
3-
version: 0.4.5
3+
version: 0.5.0
44
homepage: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/amplify/amplify_flutter
55

66
environment:
77
sdk: ">=2.12.0 <3.0.0"
88
flutter: ">=2.0.0"
99

1010
dependencies:
11-
amplify_analytics_plugin_interface: 0.4.5
12-
amplify_api_plugin_interface: 0.4.5
13-
amplify_auth_plugin_interface: 0.4.5
14-
amplify_core: 0.4.5
15-
amplify_datastore_plugin_interface: 0.4.5
16-
amplify_flutter_android: 0.4.5
17-
amplify_flutter_ios: 0.4.5
18-
amplify_storage_plugin_interface: 0.4.5
11+
amplify_analytics_plugin_interface: 0.5.0
12+
amplify_api_plugin_interface: 0.5.0
13+
amplify_auth_plugin_interface: 0.5.0
14+
amplify_core: 0.5.0
15+
amplify_datastore_plugin_interface: 0.5.0
16+
amplify_flutter_android: 0.5.0
17+
amplify_flutter_ios: 0.5.0
18+
amplify_storage_plugin_interface: 0.5.0
1919
collection: ^1.15.0
2020
flutter:
2121
sdk: flutter
@@ -49,12 +49,12 @@ dependencies:
4949
# path: ../amplify_storage_s3
5050

5151
dev_dependencies:
52-
amplify_analytics_pinpoint: 0.4.3
53-
amplify_api: 0.4.3
54-
amplify_auth_cognito: 0.4.3
55-
amplify_datastore: 0.4.3
52+
amplify_analytics_pinpoint: 0.5.0
53+
amplify_api: 0.5.0
54+
amplify_auth_cognito: 0.5.0
55+
amplify_datastore: 0.5.0
5656
amplify_lints: ^1.0.0
57-
amplify_storage_s3: 0.4.3
57+
amplify_storage_s3: 0.5.0
5858
amplify_test:
5959
path: ../../amplify_test
6060
build_runner: ^2.0.0

packages/amplify/amplify_flutter_android/CHANGELOG.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,59 @@
1+
## 0.5.0 (2022-05-17)
2+
3+
### Breaking Changes
4+
5+
- break: adds deleteUser support for Android (#1540)
6+
- feat(auth): enables custom auth flows (#1444)
7+
8+
- **Auth**: Auth API Changes
9+
10+
- 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.
11+
12+
- 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.
13+
14+
**How to Migrate:**
15+
16+
- 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.
17+
18+
- Pass null to the Auth.signIn API only for passwordless login, using Cognito Custom Auth flows.
19+
20+
### Features
21+
22+
- feat(datastore): Custom Conflict Handler (#1254)
23+
- feat(datastore): emit subscriptionDataProcessed and syncReceived events (#1351)
24+
- feat(datastore): Multi-auth (#1478)
25+
- feat: AWS Signature V4 library (#1456)
26+
27+
### Fixes
28+
29+
- fix: support lists for .contains query predicate in observeQuery (#1233)
30+
- fix(auth): Fix FlutterAuthProvider.kt (#1505)
31+
- fix(core): Update QueryPagination page field to default to 0 (#1533)
32+
- fix(authenticator): Fix confirm password validator (#1542)
33+
- fix(aws_signature_v4): Various fixes (#1572)
34+
35+
### Chores
36+
37+
- chore(amplify_api): federated plugin (#1410)
38+
- chore(amplify_flutter): migrate amplify_flutter to federated plugin (#1450)
39+
- chore: make example Android Apps runnable with API 32+ (#1474)
40+
- chore(auth): Templatize and update exception comments (#1476)
41+
- chore(ci): Bump Xcode version
42+
- chore: update android compileSdkVersion to 31
43+
- chore: upgrade gradle plugin to 7.1.2
44+
- chore: enable android codebase linter checks
45+
- chore: replace 0.4.2-1 with 0.4.3 due to melos limitation (#1496)
46+
- chore(aws): Bump min SDK version (#1551)
47+
- chore: Lint fixes (#1471)
48+
- chore(authenticator): Fix failing integration tests (#1545)
49+
- chore(aws_signature_v4): Update README (#1559)
50+
- chore(aws_signature_v4): Update user agent header name (#1561)
51+
- chore(aws_common): Crypto-secure UUID (#1573)
52+
- chore: enable dependabot (#1568)
53+
- chore: Flutter 3 fixes (#1580)
54+
- chore: bump amplify-android version to 1.35.3 (#1586)
55+
- chore: downgrade amplify-android to 1.33.0 (#1591)
56+
157
## 0.4.5 (2022-04-13)
258

359
-fix: bumps ios version and bumps api AuthProvider timeout (#1526)

packages/amplify/amplify_flutter_android/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: amplify_flutter_android
22
description: The method channel implementation for amplify_flutter on Android
3-
version: 0.4.5
3+
version: 0.5.0
44
homepage: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/amplify/amplify_flutter_android
55

66
environment:

packages/amplify/amplify_flutter_ios/CHANGELOG.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,57 @@
1+
## 0.5.0 (2022-05-17)
2+
3+
### Breaking Changes
4+
5+
- break: adds deleteUser support for Android (#1540)
6+
- feat(auth): enables custom auth flows (#1444)
7+
8+
- **Auth**: Auth API Changes
9+
10+
- 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.
11+
12+
- 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.
13+
14+
**How to Migrate:**
15+
16+
- 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.
17+
18+
- Pass null to the Auth.signIn API only for passwordless login, using Cognito Custom Auth flows.
19+
20+
### Features
21+
22+
- feat(datastore): Custom Conflict Handler (#1254)
23+
- feat(datastore): emit subscriptionDataProcessed and syncReceived events (#1351)
24+
- feat(datastore): Multi-auth (#1478)
25+
- feat: AWS Signature V4 library (#1456)
26+
27+
### Fixes
28+
29+
- fix: support lists for .contains query predicate in observeQuery (#1233)
30+
- fix(auth): Fix FlutterAuthProvider.kt (#1505)
31+
- fix(core): Update QueryPagination page field to default to 0 (#1533)
32+
- fix(authenticator): Fix confirm password validator (#1542)
33+
- fix(aws_signature_v4): Various fixes (#1572)
34+
35+
### Chores
36+
37+
- chore(amplify_api): federated plugin (#1410)
38+
- chore(amplify_flutter): migrate amplify_flutter to federated plugin (#1450)
39+
- chore: make example Android Apps runnable with API 32+ (#1474)
40+
- chore(auth): Templatize and update exception comments (#1476)
41+
- chore(ci): Bump Xcode version
42+
- chore: update android compileSdkVersion to 31
43+
- chore: upgrade gradle plugin to 7.1.2
44+
- chore: enable android codebase linter checks
45+
- chore: replace 0.4.2-1 with 0.4.3 due to melos limitation (#1496)
46+
- chore(aws): Bump min SDK version (#1551)
47+
- chore: Lint fixes (#1471)
48+
- chore(authenticator): Fix failing integration tests (#1545)
49+
- chore(aws_signature_v4): Update README (#1559)
50+
- chore(aws_signature_v4): Update user agent header name (#1561)
51+
- chore(aws_common): Crypto-secure UUID (#1573)
52+
- chore: enable dependabot (#1568)
53+
- chore: Flutter 3 fixes (#1580)
54+
155
## 0.4.5 (2022-04-13)
256

357
-fix: bumps ios version and bumps api AuthProvider timeout (#1526)

packages/amplify/amplify_flutter_ios/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: amplify_flutter_ios
22
description: The method channel implementation for amplify_flutter on iOS
3-
version: 0.4.5
3+
version: 0.5.0
44
homepage: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/amplify/amplify_flutter_ios
55

66
environment:
77
sdk: ">=2.12.0 <3.0.0"
88
flutter: ">=2.0.0"
99

1010
dependencies:
11-
amplify_core: 0.4.5
11+
amplify_core: 0.5.0
1212
flutter:
1313
sdk: flutter
1414

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
## 0.1.1 (2022-05-17)
2+
3+
### Features
4+
5+
- feat(auth): enables custom auth flows (#1444)
6+
7+
### Fixes
8+
9+
- fix(authenticator): Fix confirm password validator (#1542)
10+
11+
### Chores
12+
13+
- chore(authenticator): Fix failing integration tests (#1545)
14+
115
## 0.1.0 (2022-02-24)
216

317
- Initial stable release of the amplify_authenticator package. See https://ui.docs.amplify.aws/components/authenticator?platform=flutter to get started.

packages/amplify_authenticator/example/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ environment:
2121
sdk: ">=2.12.0 <3.0.0"
2222

2323
dependencies:
24-
amplify_auth_cognito: 0.4.5
24+
amplify_auth_cognito: 0.5.0
2525
amplify_authenticator:
2626
path: ../
27-
amplify_flutter: 0.4.5
27+
amplify_flutter: 0.5.0
2828

2929
flutter:
3030
sdk: flutter
@@ -37,7 +37,7 @@ dependencies:
3737
sdk: flutter
3838

3939
dev_dependencies:
40-
amplify_api: 0.4.5
40+
amplify_api: 0.5.0
4141
amplify_lints: ^1.0.0
4242
amplify_test:
4343
path: ../../amplify_test

0 commit comments

Comments
 (0)