From e5e8d1bd75cc651af1b3b37772ccb4a9ee49610c Mon Sep 17 00:00:00 2001 From: Jordan Nelson Date: Tue, 24 Oct 2023 12:09:34 -0400 Subject: [PATCH 1/8] fix: catch and log updateEndpoint error during configure (#3985) --- .../example/integration_test/no_unauth_test.dart | 6 ++++-- .../lib/src/analytics_plugin_impl.dart | 6 +++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/packages/analytics/amplify_analytics_pinpoint/example/integration_test/no_unauth_test.dart b/packages/analytics/amplify_analytics_pinpoint/example/integration_test/no_unauth_test.dart index 8b47cade45..e63e48669e 100644 --- a/packages/analytics/amplify_analytics_pinpoint/example/integration_test/no_unauth_test.dart +++ b/packages/analytics/amplify_analytics_pinpoint/example/integration_test/no_unauth_test.dart @@ -14,7 +14,9 @@ import 'utils/mock_secure_storage.dart'; void main() { IntegrationTestWidgetsFlutterBinding.ensureInitialized(); - group('unathenticated access restricted', () { + group( + 'Amplify.configure should complete even when unauthenticated access is disabled.', + () { tearDown(Amplify.reset); for (final environmentName in const [ @@ -34,7 +36,7 @@ void main() { ]); await expectLater( Amplify.configure(amplifyEnvironments[environmentName]!), - throwsA(isA()), + completes, ); }); } diff --git a/packages/analytics/amplify_analytics_pinpoint_dart/lib/src/analytics_plugin_impl.dart b/packages/analytics/amplify_analytics_pinpoint_dart/lib/src/analytics_plugin_impl.dart index 2c19fc092a..051b3d4eb8 100644 --- a/packages/analytics/amplify_analytics_pinpoint_dart/lib/src/analytics_plugin_impl.dart +++ b/packages/analytics/amplify_analytics_pinpoint_dart/lib/src/analytics_plugin_impl.dart @@ -128,7 +128,11 @@ class AmplifyAnalyticsPinpointDart extends AnalyticsPluginInterface { _endpointClient = analyticsClient.endpointClient; _eventClient = analyticsClient.eventClient; - await _endpointClient.updateEndpoint(); + try { + await _endpointClient.updateEndpoint(); + } on Exception catch (e) { + _logger.warn('Could not update endpoint: $e'); + } _sessionManager = SessionManager( fixedEndpointId: _endpointClient.fixedEndpointId, From 6be297db858ae615ef8f3a96dbc31dd90fe2f759 Mon Sep 17 00:00:00 2001 From: NikaHsn Date: Tue, 24 Oct 2023 09:47:52 -0700 Subject: [PATCH 2/8] fix(analytics): event client flush events to do not discard events from cache on auth exception (#3999) --- .../src/impl/analytics_client/event_client/event_client.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/analytics/amplify_analytics_pinpoint_dart/lib/src/impl/analytics_client/event_client/event_client.dart b/packages/analytics/amplify_analytics_pinpoint_dart/lib/src/impl/analytics_client/event_client/event_client.dart index a47e2f31e2..f84a60f46d 100644 --- a/packages/analytics/amplify_analytics_pinpoint_dart/lib/src/impl/analytics_client/event_client/event_client.dart +++ b/packages/analytics/amplify_analytics_pinpoint_dart/lib/src/impl/analytics_client/event_client/event_client.dart @@ -204,6 +204,11 @@ class EventClient implements Closeable { // Due to no internet or unable to reach server. // These exceptions are always retryable. eventsToDelete.clear(); + } on AuthException { + // AuthException indicates request did not complete + // Due to Authentication error. + // These exceptions are always retryable. + eventsToDelete.clear(); } on SmithyHttpException catch (e) { if (e.statusCode != null && _isRetryable(e.statusCode)) { eventsToDelete.removeWhere((eventId, _) { From 5b2962c8f9028591ce89363875b1e7f51c6286ee Mon Sep 17 00:00:00 2001 From: Kha Truong <64438356+khatruong2009@users.noreply.github.com> Date: Tue, 24 Oct 2023 10:30:17 -0700 Subject: [PATCH 3/8] chore: version bump --- packages/amplify/amplify_flutter/CHANGELOG.md | 5 +++++ packages/amplify/amplify_flutter/pubspec.yaml | 4 ++-- packages/amplify_core/CHANGELOG.md | 6 ++++++ packages/amplify_core/lib/src/version.dart | 2 +- packages/amplify_core/pubspec.yaml | 2 +- packages/amplify_datastore/CHANGELOG.md | 4 ++++ packages/amplify_datastore/pubspec.yaml | 6 +++--- .../CHANGELOG.md | 4 ++++ .../pubspec.yaml | 4 ++-- .../amplify_analytics_pinpoint/CHANGELOG.md | 5 +++++ .../amplify_analytics_pinpoint/pubspec.yaml | 6 +++--- .../amplify_analytics_pinpoint_dart/CHANGELOG.md | 6 ++++++ .../lib/src/version.dart | 2 +- .../amplify_analytics_pinpoint_dart/pubspec.yaml | 4 ++-- packages/api/amplify_api/CHANGELOG.md | 4 ++++ packages/api/amplify_api/pubspec.yaml | 6 +++--- packages/api/amplify_api_dart/pubspec.yaml | 2 +- packages/auth/amplify_auth_cognito/CHANGELOG.md | 4 ++++ packages/auth/amplify_auth_cognito/pubspec.yaml | 12 ++++++------ .../auth/amplify_auth_cognito_dart/CHANGELOG.md | 4 ++++ .../auth/amplify_auth_cognito_dart/pubspec.yaml | 6 +++--- .../amplify_authenticator/pubspec.yaml | 6 +++--- .../common/amplify_db_common_dart/pubspec.yaml | 2 +- .../push/amplify_push_notifications/CHANGELOG.md | 4 ++++ .../push/amplify_push_notifications/pubspec.yaml | 4 ++-- .../CHANGELOG.md | 4 ++++ .../pubspec.yaml | 14 +++++++------- packages/storage/amplify_storage_s3/CHANGELOG.md | 4 ++++ packages/storage/amplify_storage_s3/pubspec.yaml | 4 ++-- .../storage/amplify_storage_s3_dart/pubspec.yaml | 2 +- 30 files changed, 98 insertions(+), 44 deletions(-) diff --git a/packages/amplify/amplify_flutter/CHANGELOG.md b/packages/amplify/amplify_flutter/CHANGELOG.md index 20c63bec16..5e15d9b492 100644 --- a/packages/amplify/amplify_flutter/CHANGELOG.md +++ b/packages/amplify/amplify_flutter/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.5.0 + +### Fixes +- fix: catch and log updateEndpoint error during configure ([#3985](https://github.com/aws-amplify/amplify-flutter/pull/3985)) + ## 1.4.1 ### Fixes diff --git a/packages/amplify/amplify_flutter/pubspec.yaml b/packages/amplify/amplify_flutter/pubspec.yaml index 3df6efb7d7..d9063df624 100644 --- a/packages/amplify/amplify_flutter/pubspec.yaml +++ b/packages/amplify/amplify_flutter/pubspec.yaml @@ -1,6 +1,6 @@ name: amplify_flutter description: The top level Flutter package for the AWS Amplify libraries. -version: 1.4.1 +version: 1.5.0 homepage: https://docs.amplify.aws/lib/q/platform/flutter/ repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/amplify/amplify_flutter issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -19,7 +19,7 @@ platforms: web: dependencies: - amplify_core: ">=1.4.1 <1.5.0" + amplify_core: ">=1.5.0 <1.6.0" amplify_secure_storage: ">=0.4.0+6 <0.5.0" aws_common: ">=0.6.0 <0.7.0" collection: ^1.15.0 diff --git a/packages/amplify_core/CHANGELOG.md b/packages/amplify_core/CHANGELOG.md index 90577fe0d0..d938e69511 100644 --- a/packages/amplify_core/CHANGELOG.md +++ b/packages/amplify_core/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.5.0 + +### Fixes +- fix(analytics): event client flush events to do not discard events from cache on auth exception ([#3999](https://github.com/aws-amplify/amplify-flutter/pull/3999)) +- fix: catch and log updateEndpoint error during configure ([#3985](https://github.com/aws-amplify/amplify-flutter/pull/3985)) + ## 1.4.1 ### Fixes diff --git a/packages/amplify_core/lib/src/version.dart b/packages/amplify_core/lib/src/version.dart index 6e2fe16901..cb5763e0b0 100644 --- a/packages/amplify_core/lib/src/version.dart +++ b/packages/amplify_core/lib/src/version.dart @@ -1,2 +1,2 @@ // Generated code. Do not modify. -const packageVersion = '1.4.1'; +const packageVersion = '1.5.0'; diff --git a/packages/amplify_core/pubspec.yaml b/packages/amplify_core/pubspec.yaml index 3d1df37600..52108f1713 100644 --- a/packages/amplify_core/pubspec.yaml +++ b/packages/amplify_core/pubspec.yaml @@ -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: 1.4.1 +version: 1.5.0 homepage: https://docs.amplify.aws/lib/q/platform/flutter/ repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/amplify_core issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues diff --git a/packages/amplify_datastore/CHANGELOG.md b/packages/amplify_datastore/CHANGELOG.md index a1b9a8d6e2..ae667cffb5 100644 --- a/packages/amplify_datastore/CHANGELOG.md +++ b/packages/amplify_datastore/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.5.0 + +- Minor bug fixes and improvements + ## 1.4.2 - Minor bug fixes and improvements diff --git a/packages/amplify_datastore/pubspec.yaml b/packages/amplify_datastore/pubspec.yaml index 998d9b3357..4204b2cd61 100644 --- a/packages/amplify_datastore/pubspec.yaml +++ b/packages/amplify_datastore/pubspec.yaml @@ -1,6 +1,6 @@ name: amplify_datastore description: The Amplify Flutter DataStore category plugin, providing a queryable, on-device data store. -version: 1.4.2 +version: 1.5.0 homepage: https://docs.amplify.aws/lib/q/platform/flutter/ repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/amplify_datastore issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -12,8 +12,8 @@ environment: dependencies: flutter: sdk: flutter - amplify_datastore_plugin_interface: ">=1.4.0 <1.5.0" - amplify_core: ">=1.4.0 <1.5.0" + amplify_datastore_plugin_interface: ">=1.5.0 <1.6.0" + amplify_core: ">=1.5.0 <1.6.0" plugin_platform_interface: ^2.0.0 meta: ^1.7.0 collection: ^1.14.13 diff --git a/packages/amplify_datastore_plugin_interface/CHANGELOG.md b/packages/amplify_datastore_plugin_interface/CHANGELOG.md index a9a7932bf4..4537362d26 100644 --- a/packages/amplify_datastore_plugin_interface/CHANGELOG.md +++ b/packages/amplify_datastore_plugin_interface/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.5.0 + +- Minor bug fixes and improvements + ## 1.4.0 - Minor bug fixes and improvements diff --git a/packages/amplify_datastore_plugin_interface/pubspec.yaml b/packages/amplify_datastore_plugin_interface/pubspec.yaml index ede01103c7..3729ad907e 100644 --- a/packages/amplify_datastore_plugin_interface/pubspec.yaml +++ b/packages/amplify_datastore_plugin_interface/pubspec.yaml @@ -1,6 +1,6 @@ name: amplify_datastore_plugin_interface description: The platform interface for the DataStore module of Amplify Flutter. -version: 1.4.0 +version: 1.5.0 homepage: https://docs.amplify.aws/lib/q/platform/flutter/ repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/amplify_datastore_plugin_interface issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -10,7 +10,7 @@ environment: flutter: ">=3.10.0" dependencies: - amplify_core: ">=1.4.0 <1.5.0" + amplify_core: ">=1.5.0 <1.6.0" collection: ^1.15.0 flutter: sdk: flutter diff --git a/packages/analytics/amplify_analytics_pinpoint/CHANGELOG.md b/packages/analytics/amplify_analytics_pinpoint/CHANGELOG.md index 4455dd3eba..23377354c2 100644 --- a/packages/analytics/amplify_analytics_pinpoint/CHANGELOG.md +++ b/packages/analytics/amplify_analytics_pinpoint/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.5.0 + +### Fixes +- fix: catch and log updateEndpoint error during configure ([#3985](https://github.com/aws-amplify/amplify-flutter/pull/3985)) + ## 1.4.1 - Minor bug fixes and improvements diff --git a/packages/analytics/amplify_analytics_pinpoint/pubspec.yaml b/packages/analytics/amplify_analytics_pinpoint/pubspec.yaml index fc7c5ee724..f31bcee2c7 100644 --- a/packages/analytics/amplify_analytics_pinpoint/pubspec.yaml +++ b/packages/analytics/amplify_analytics_pinpoint/pubspec.yaml @@ -1,6 +1,6 @@ name: amplify_analytics_pinpoint description: The Amplify Flutter Analytics category plugin using the AWS Pinpoint provider. -version: 1.4.1 +version: 1.5.0 homepage: https://docs.amplify.aws/lib/q/platform/flutter/ repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/analytics/amplify_analytics_pinpoint issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -19,8 +19,8 @@ platforms: web: dependencies: - amplify_analytics_pinpoint_dart: ">=0.3.0+5 <0.4.0" - amplify_core: ">=1.4.0 <1.5.0" + amplify_analytics_pinpoint_dart: ">=0.3.2 <0.4.0" + amplify_core: ">=1.5.0 <1.6.0" amplify_db_common: ">=0.3.0+5 <0.4.0" amplify_secure_storage: ">=0.4.0+6 <0.5.0" aws_common: ">=0.6.0 <0.7.0" diff --git a/packages/analytics/amplify_analytics_pinpoint_dart/CHANGELOG.md b/packages/analytics/amplify_analytics_pinpoint_dart/CHANGELOG.md index e788cf9169..33f0d1d3bf 100644 --- a/packages/analytics/amplify_analytics_pinpoint_dart/CHANGELOG.md +++ b/packages/analytics/amplify_analytics_pinpoint_dart/CHANGELOG.md @@ -1,3 +1,9 @@ +## 0.3.2 + +### Fixes +- fix(analytics): event client flush events to do not discard events from cache on auth exception ([#3999](https://github.com/aws-amplify/amplify-flutter/pull/3999)) +- fix: catch and log updateEndpoint error during configure ([#3985](https://github.com/aws-amplify/amplify-flutter/pull/3985)) + ## 0.3.1 - Minor bug fixes and improvements diff --git a/packages/analytics/amplify_analytics_pinpoint_dart/lib/src/version.dart b/packages/analytics/amplify_analytics_pinpoint_dart/lib/src/version.dart index 35a3412a68..246b602e61 100644 --- a/packages/analytics/amplify_analytics_pinpoint_dart/lib/src/version.dart +++ b/packages/analytics/amplify_analytics_pinpoint_dart/lib/src/version.dart @@ -1,2 +1,2 @@ // Generated code. Do not modify. -const packageVersion = '0.3.1'; +const packageVersion = '0.3.2'; diff --git a/packages/analytics/amplify_analytics_pinpoint_dart/pubspec.yaml b/packages/analytics/amplify_analytics_pinpoint_dart/pubspec.yaml index 94006e344d..54575c4c22 100644 --- a/packages/analytics/amplify_analytics_pinpoint_dart/pubspec.yaml +++ b/packages/analytics/amplify_analytics_pinpoint_dart/pubspec.yaml @@ -1,6 +1,6 @@ name: amplify_analytics_pinpoint_dart description: A Dart-only implementation of the Amplify Analytics plugin for Pinpoint. -version: 0.3.1 +version: 0.3.2 homepage: https://docs.amplify.aws/lib/q/platform/flutter/ repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/analytics/amplify_analytics_pinpoint_dart issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -9,7 +9,7 @@ environment: sdk: ^3.0.0 dependencies: - amplify_core: ">=1.4.0 <1.5.0" + amplify_core: ">=1.5.0 <1.6.0" amplify_db_common_dart: ">=0.3.0+5 <0.4.0" amplify_secure_storage_dart: ">=0.4.0+5 <0.5.0" aws_common: ">=0.6.0 <0.7.0" diff --git a/packages/api/amplify_api/CHANGELOG.md b/packages/api/amplify_api/CHANGELOG.md index 2eb7d7b803..0656c05d39 100644 --- a/packages/api/amplify_api/CHANGELOG.md +++ b/packages/api/amplify_api/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.5.0 + +- Minor bug fixes and improvements + ## 1.4.0 - Minor bug fixes and improvements diff --git a/packages/api/amplify_api/pubspec.yaml b/packages/api/amplify_api/pubspec.yaml index f6424f9bd3..d366b416e5 100644 --- a/packages/api/amplify_api/pubspec.yaml +++ b/packages/api/amplify_api/pubspec.yaml @@ -1,6 +1,6 @@ name: amplify_api description: The Amplify Flutter API category plugin, supporting GraphQL and REST operations. -version: 1.4.0 +version: 1.5.0 homepage: https://docs.amplify.aws/lib/q/platform/flutter/ repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/api/amplify_api issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -20,8 +20,8 @@ platforms: dependencies: amplify_api_dart: ">=0.3.1 <0.4.0" - amplify_core: ">=1.4.0 <1.5.0" - amplify_flutter: ">=1.4.0 <1.5.0" + amplify_core: ">=1.5.0 <1.6.0" + amplify_flutter: ">=1.5.0 <1.6.0" connectivity_plus: ^4.0.1 flutter: sdk: flutter diff --git a/packages/api/amplify_api_dart/pubspec.yaml b/packages/api/amplify_api_dart/pubspec.yaml index 0126f8a115..aa6fe36db3 100644 --- a/packages/api/amplify_api_dart/pubspec.yaml +++ b/packages/api/amplify_api_dart/pubspec.yaml @@ -9,7 +9,7 @@ environment: sdk: ^3.0.0 dependencies: - amplify_core: ">=1.4.0 <1.5.0" + amplify_core: ">=1.5.0 <1.6.0" async: ^2.10.0 aws_common: ">=0.6.0 <0.7.0" collection: ^1.15.0 diff --git a/packages/auth/amplify_auth_cognito/CHANGELOG.md b/packages/auth/amplify_auth_cognito/CHANGELOG.md index a3a2220f10..a5eda5c470 100644 --- a/packages/auth/amplify_auth_cognito/CHANGELOG.md +++ b/packages/auth/amplify_auth_cognito/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.5.0 + +- Minor bug fixes and improvements + ## 1.4.2 ### Fixes diff --git a/packages/auth/amplify_auth_cognito/pubspec.yaml b/packages/auth/amplify_auth_cognito/pubspec.yaml index fe079662d7..fea04c8274 100644 --- a/packages/auth/amplify_auth_cognito/pubspec.yaml +++ b/packages/auth/amplify_auth_cognito/pubspec.yaml @@ -1,6 +1,6 @@ name: amplify_auth_cognito description: The Amplify Flutter Auth category plugin using the AWS Cognito provider. -version: 1.4.2 +version: 1.5.0 homepage: https://docs.amplify.aws/lib/q/platform/flutter/ repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/auth/amplify_auth_cognito issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -19,11 +19,11 @@ platforms: web: dependencies: - amplify_analytics_pinpoint: ">=1.4.1 <1.5.0" - amplify_analytics_pinpoint_dart: ">=0.3.0+5 <0.4.0" - amplify_auth_cognito_dart: ">=0.10.3+1 <0.11.0" - amplify_core: ">=1.4.1 <1.5.0" - amplify_flutter: ">=1.4.0 <1.5.0" + amplify_analytics_pinpoint: ">=1.5.0 <1.6.0" + amplify_analytics_pinpoint_dart: ">=0.3.2 <0.4.0" + amplify_auth_cognito_dart: ">=0.10.5 <0.11.0" + amplify_core: ">=1.5.0 <1.6.0" + amplify_flutter: ">=1.5.0 <1.6.0" amplify_secure_storage: ">=0.4.0+6 <0.5.0" async: ^2.10.0 flutter: diff --git a/packages/auth/amplify_auth_cognito_dart/CHANGELOG.md b/packages/auth/amplify_auth_cognito_dart/CHANGELOG.md index a6bcde22ed..ddf21e46fe 100644 --- a/packages/auth/amplify_auth_cognito_dart/CHANGELOG.md +++ b/packages/auth/amplify_auth_cognito_dart/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.10.5 + +- Minor bug fixes and improvements + ## 0.10.4 - Minor bug fixes and improvements diff --git a/packages/auth/amplify_auth_cognito_dart/pubspec.yaml b/packages/auth/amplify_auth_cognito_dart/pubspec.yaml index dece05367e..87692fabac 100644 --- a/packages/auth/amplify_auth_cognito_dart/pubspec.yaml +++ b/packages/auth/amplify_auth_cognito_dart/pubspec.yaml @@ -1,6 +1,6 @@ name: amplify_auth_cognito_dart description: A Dart-only implementation of the Amplify Auth plugin for Cognito. -version: 0.10.4 +version: 0.10.5 homepage: https://docs.amplify.aws/lib/q/platform/flutter/ repository: https://github.com/aws-amplify/amplify-flutter/tree/next/packages/auth/amplify_auth_cognito_dart issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -9,8 +9,8 @@ environment: sdk: ^3.0.0 dependencies: - amplify_analytics_pinpoint_dart: ">=0.3.1 <0.4.0" - amplify_core: ">=1.4.1 <1.5.0" + amplify_analytics_pinpoint_dart: ">=0.3.2 <0.4.0" + amplify_core: ">=1.5.0 <1.6.0" amplify_secure_storage_dart: ">=0.4.0+7 <0.5.0" async: ^2.10.0 aws_common: ">=0.6.1 <0.7.0" diff --git a/packages/authenticator/amplify_authenticator/pubspec.yaml b/packages/authenticator/amplify_authenticator/pubspec.yaml index 44d503bd4f..70cc6391a0 100644 --- a/packages/authenticator/amplify_authenticator/pubspec.yaml +++ b/packages/authenticator/amplify_authenticator/pubspec.yaml @@ -10,9 +10,9 @@ environment: flutter: ">=3.10.0" dependencies: - amplify_auth_cognito: ">=1.4.0 <1.5.0" - amplify_core: ">=1.4.0 <1.5.0" - amplify_flutter: ">=1.4.0 <1.5.0" + amplify_auth_cognito: ">=1.5.0 <1.6.0" + amplify_core: ">=1.5.0 <1.6.0" + amplify_flutter: ">=1.5.0 <1.6.0" async: ^2.10.0 aws_common: ">=0.6.0 <0.7.0" collection: ^1.15.0 diff --git a/packages/common/amplify_db_common_dart/pubspec.yaml b/packages/common/amplify_db_common_dart/pubspec.yaml index 7a3f0bcdc4..c3272a7ebe 100644 --- a/packages/common/amplify_db_common_dart/pubspec.yaml +++ b/packages/common/amplify_db_common_dart/pubspec.yaml @@ -9,7 +9,7 @@ environment: sdk: ^3.0.0 dependencies: - amplify_core: ">=1.4.0 <1.5.0" + amplify_core: ">=1.5.0 <1.6.0" async: ^2.10.0 aws_common: ">=0.6.0 <0.7.0" drift: ">=2.11.0 <2.12.0" diff --git a/packages/notifications/push/amplify_push_notifications/CHANGELOG.md b/packages/notifications/push/amplify_push_notifications/CHANGELOG.md index 8640739743..3179e29c60 100644 --- a/packages/notifications/push/amplify_push_notifications/CHANGELOG.md +++ b/packages/notifications/push/amplify_push_notifications/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.5.0 + +- Minor bug fixes and improvements + ## 1.4.1 - Minor bug fixes and improvements diff --git a/packages/notifications/push/amplify_push_notifications/pubspec.yaml b/packages/notifications/push/amplify_push_notifications/pubspec.yaml index e4926951b9..87d8ed01b3 100644 --- a/packages/notifications/push/amplify_push_notifications/pubspec.yaml +++ b/packages/notifications/push/amplify_push_notifications/pubspec.yaml @@ -1,6 +1,6 @@ name: amplify_push_notifications description: The Amplify Flutter Push Notifications package implementing features agnostic of an AWS Service such as Pinpoint. -version: 1.4.1 +version: 1.5.0 homepage: https://docs.amplify.aws/lib/q/platform/flutter/ issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -9,7 +9,7 @@ environment: flutter: ">=3.10.0" dependencies: - amplify_core: ">=1.4.0 <1.5.0" + amplify_core: ">=1.5.0 <1.6.0" amplify_secure_storage: ">=0.4.0+6 <0.5.0" async: ^2.10.0 flutter: diff --git a/packages/notifications/push/amplify_push_notifications_pinpoint/CHANGELOG.md b/packages/notifications/push/amplify_push_notifications_pinpoint/CHANGELOG.md index 053ced6b13..d5f3edc9d9 100644 --- a/packages/notifications/push/amplify_push_notifications_pinpoint/CHANGELOG.md +++ b/packages/notifications/push/amplify_push_notifications_pinpoint/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.5.0 + +- Minor bug fixes and improvements + ## 1.4.0 - Minor bug fixes and improvements diff --git a/packages/notifications/push/amplify_push_notifications_pinpoint/pubspec.yaml b/packages/notifications/push/amplify_push_notifications_pinpoint/pubspec.yaml index 5a69198784..f70ac4387a 100644 --- a/packages/notifications/push/amplify_push_notifications_pinpoint/pubspec.yaml +++ b/packages/notifications/push/amplify_push_notifications_pinpoint/pubspec.yaml @@ -1,6 +1,6 @@ name: amplify_push_notifications_pinpoint description: The Amplify Flutter Push Notifications category plugin using the AWS Pinpoint provider. -version: 1.4.0 +version: 1.5.0 homepage: https://docs.amplify.aws/lib/q/platform/flutter/ issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -14,12 +14,12 @@ platforms: android: dependencies: - amplify_analytics_pinpoint: ">=1.4.0 <1.5.0" - amplify_analytics_pinpoint_dart: ">=0.3.0+5 <0.4.0" - amplify_auth_cognito: ">=1.4.0 <1.5.0" - amplify_core: ">=1.4.0 <1.5.0" - amplify_flutter: ">=1.4.0 <1.5.0" - amplify_push_notifications: ">=1.4.0 <1.5.0" + amplify_analytics_pinpoint: ">=1.5.0 <1.6.0" + amplify_analytics_pinpoint_dart: ">=0.3.2 <0.4.0" + amplify_auth_cognito: ">=1.5.0 <1.6.0" + amplify_core: ">=1.5.0 <1.6.0" + amplify_flutter: ">=1.5.0 <1.6.0" + amplify_push_notifications: ">=1.5.0 <1.6.0" amplify_secure_storage: ">=0.4.0+5 <0.5.0" flutter: sdk: flutter diff --git a/packages/storage/amplify_storage_s3/CHANGELOG.md b/packages/storage/amplify_storage_s3/CHANGELOG.md index 1ee55d2a03..cec00209a8 100644 --- a/packages/storage/amplify_storage_s3/CHANGELOG.md +++ b/packages/storage/amplify_storage_s3/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.5.0 + +- Minor bug fixes and improvements + ## 1.4.0 - Minor bug fixes and improvements diff --git a/packages/storage/amplify_storage_s3/pubspec.yaml b/packages/storage/amplify_storage_s3/pubspec.yaml index 2d9833f05b..cbd2833fd0 100644 --- a/packages/storage/amplify_storage_s3/pubspec.yaml +++ b/packages/storage/amplify_storage_s3/pubspec.yaml @@ -1,6 +1,6 @@ name: amplify_storage_s3 description: The Amplify Flutter Storage category plugin using the AWS S3 provider. -version: 1.4.0 +version: 1.5.0 homepage: https://docs.amplify.aws/lib/q/platform/flutter/ repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/storage/amplify_storage_s3 issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -19,7 +19,7 @@ platforms: web: dependencies: - amplify_core: ">=1.4.0 <1.5.0" + amplify_core: ">=1.5.0 <1.6.0" amplify_db_common: ">=0.3.0+6 <0.4.0" amplify_storage_s3_dart: ">=0.3.3 <0.4.0" aws_common: ">=0.6.0 <0.7.0" diff --git a/packages/storage/amplify_storage_s3_dart/pubspec.yaml b/packages/storage/amplify_storage_s3_dart/pubspec.yaml index 75a963b44a..581102b482 100644 --- a/packages/storage/amplify_storage_s3_dart/pubspec.yaml +++ b/packages/storage/amplify_storage_s3_dart/pubspec.yaml @@ -9,7 +9,7 @@ environment: sdk: ^3.0.0 dependencies: - amplify_core: ">=1.4.0 <1.5.0" + amplify_core: ">=1.5.0 <1.6.0" amplify_db_common_dart: ">=0.3.0+5 <0.4.0" async: ^2.10.0 aws_common: ">=0.6.1 <0.7.0" From 10f1542df5b97b147939281948514802280b3871 Mon Sep 17 00:00:00 2001 From: Kha Truong <64438356+khatruong2009@users.noreply.github.com> Date: Tue, 24 Oct 2023 10:59:34 -0700 Subject: [PATCH 4/8] chore: updated Changelog --- packages/amplify/amplify_flutter/CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/amplify/amplify_flutter/CHANGELOG.md b/packages/amplify/amplify_flutter/CHANGELOG.md index 5e15d9b492..ea9f734ea6 100644 --- a/packages/amplify/amplify_flutter/CHANGELOG.md +++ b/packages/amplify/amplify_flutter/CHANGELOG.md @@ -1,5 +1,8 @@ ## 1.5.0 +### Feature +- feat(analytics): Support identity pools that have unauthenticated (guest) access disabled + ### Fixes - fix: catch and log updateEndpoint error during configure ([#3985](https://github.com/aws-amplify/amplify-flutter/pull/3985)) From 5a92ed0d022605f79392c784ff1d72a6d9f2e92d Mon Sep 17 00:00:00 2001 From: Kha Truong <64438356+khatruong2009@users.noreply.github.com> Date: Tue, 24 Oct 2023 11:14:33 -0700 Subject: [PATCH 5/8] Chore: updated changelog --- packages/amplify/amplify_flutter/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/amplify/amplify_flutter/CHANGELOG.md b/packages/amplify/amplify_flutter/CHANGELOG.md index ea9f734ea6..d2e528f68b 100644 --- a/packages/amplify/amplify_flutter/CHANGELOG.md +++ b/packages/amplify/amplify_flutter/CHANGELOG.md @@ -5,6 +5,7 @@ ### Fixes - fix: catch and log updateEndpoint error during configure ([#3985](https://github.com/aws-amplify/amplify-flutter/pull/3985)) +- fix(analytics): event client flush events to do not discard events from cache on auth exception ([#3999](https://github.com/aws-amplify/amplify-flutter/pull/3999)) ## 1.4.1 From 9901e786ffe54fafb3c3ffc81feeda33bd99e8b9 Mon Sep 17 00:00:00 2001 From: Kha Truong <64438356+khatruong2009@users.noreply.github.com> Date: Tue, 24 Oct 2023 11:21:47 -0700 Subject: [PATCH 6/8] chore: updated analytics changelog --- packages/analytics/amplify_analytics_pinpoint/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/analytics/amplify_analytics_pinpoint/CHANGELOG.md b/packages/analytics/amplify_analytics_pinpoint/CHANGELOG.md index 23377354c2..db36502858 100644 --- a/packages/analytics/amplify_analytics_pinpoint/CHANGELOG.md +++ b/packages/analytics/amplify_analytics_pinpoint/CHANGELOG.md @@ -2,6 +2,7 @@ ### Fixes - fix: catch and log updateEndpoint error during configure ([#3985](https://github.com/aws-amplify/amplify-flutter/pull/3985)) +- fix(analytics): event client flush events to do not discard events from cache on auth exception ([#3999](https://github.com/aws-amplify/amplify-flutter/pull/3999)) ## 1.4.1 From f2870ffa2ffb2a02dd20420ff696bd29ce323c25 Mon Sep 17 00:00:00 2001 From: Kha Truong <64438356+khatruong2009@users.noreply.github.com> Date: Tue, 24 Oct 2023 11:42:04 -0700 Subject: [PATCH 7/8] chore: fixed order of changelog --- packages/amplify/amplify_flutter/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/amplify/amplify_flutter/CHANGELOG.md b/packages/amplify/amplify_flutter/CHANGELOG.md index d2e528f68b..36d6161cf5 100644 --- a/packages/amplify/amplify_flutter/CHANGELOG.md +++ b/packages/amplify/amplify_flutter/CHANGELOG.md @@ -4,8 +4,8 @@ - feat(analytics): Support identity pools that have unauthenticated (guest) access disabled ### Fixes -- fix: catch and log updateEndpoint error during configure ([#3985](https://github.com/aws-amplify/amplify-flutter/pull/3985)) - fix(analytics): event client flush events to do not discard events from cache on auth exception ([#3999](https://github.com/aws-amplify/amplify-flutter/pull/3999)) +- fix: catch and log updateEndpoint error during configure ([#3985](https://github.com/aws-amplify/amplify-flutter/pull/3985)) ## 1.4.1 From 98b775924324a69d24087085a12676a0eedd4f2b Mon Sep 17 00:00:00 2001 From: Kha Truong <64438356+khatruong2009@users.noreply.github.com> Date: Tue, 24 Oct 2023 11:42:45 -0700 Subject: [PATCH 8/8] chore: update changelog order --- packages/analytics/amplify_analytics_pinpoint/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/analytics/amplify_analytics_pinpoint/CHANGELOG.md b/packages/analytics/amplify_analytics_pinpoint/CHANGELOG.md index db36502858..a146941236 100644 --- a/packages/analytics/amplify_analytics_pinpoint/CHANGELOG.md +++ b/packages/analytics/amplify_analytics_pinpoint/CHANGELOG.md @@ -1,8 +1,8 @@ ## 1.5.0 ### Fixes -- fix: catch and log updateEndpoint error during configure ([#3985](https://github.com/aws-amplify/amplify-flutter/pull/3985)) - fix(analytics): event client flush events to do not discard events from cache on auth exception ([#3999](https://github.com/aws-amplify/amplify-flutter/pull/3999)) +- fix: catch and log updateEndpoint error during configure ([#3985](https://github.com/aws-amplify/amplify-flutter/pull/3985)) ## 1.4.1