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

Chore: Release Version 1.5.0 #4001

Merged
merged 8 commits into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions packages/amplify/amplify_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## 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))
khatruong2009 marked this conversation as resolved.
Show resolved Hide resolved
- 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

### Fixes
Expand Down
4 changes: 2 additions & 2 deletions packages/amplify/amplify_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
6 changes: 6 additions & 0 deletions packages/amplify_core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify_core/lib/src/version.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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: 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
Expand Down
4 changes: 4 additions & 0 deletions packages/amplify_datastore/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.5.0

- Minor bug fixes and improvements

## 1.4.2

- Minor bug fixes and improvements
Expand Down
6 changes: 3 additions & 3 deletions packages/amplify_datastore/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
4 changes: 4 additions & 0 deletions packages/amplify_datastore_plugin_interface/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.5.0

- Minor bug fixes and improvements

## 1.4.0

- Minor bug fixes and improvements
Expand Down
4 changes: 2 additions & 2 deletions packages/amplify_datastore_plugin_interface/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
6 changes: 6 additions & 0 deletions packages/analytics/amplify_analytics_pinpoint/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 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))

## 1.4.1

- Minor bug fixes and improvements
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand All @@ -34,7 +36,7 @@ void main() {
]);
await expectLater(
Amplify.configure(amplifyEnvironments[environmentName]!),
throwsA(isA<UnknownException>()),
completes,
);
});
}
Expand Down
6 changes: 3 additions & 3 deletions packages/analytics/amplify_analytics_pinpoint/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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, _) {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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"
Expand Down
4 changes: 4 additions & 0 deletions packages/api/amplify_api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.5.0

- Minor bug fixes and improvements

## 1.4.0

- Minor bug fixes and improvements
Expand Down
6 changes: 3 additions & 3 deletions packages/api/amplify_api/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/api/amplify_api_dart/pubspec.yaml
Copy link
Contributor

Choose a reason for hiding this comment

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

should this have a CHANGELOG.md?

Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions packages/auth/amplify_auth_cognito/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.5.0

- Minor bug fixes and improvements

## 1.4.2

### Fixes
Expand Down
12 changes: 6 additions & 6 deletions packages/auth/amplify_auth_cognito/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions packages/auth/amplify_auth_cognito_dart/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.10.5

- Minor bug fixes and improvements

## 0.10.4

- Minor bug fixes and improvements
Expand Down
6 changes: 3 additions & 3 deletions packages/auth/amplify_auth_cognito_dart/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions packages/authenticator/amplify_authenticator/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/common/amplify_db_common_dart/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.5.0

- Minor bug fixes and improvements

## 1.4.1

- Minor bug fixes and improvements
Expand Down
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.5.0

- Minor bug fixes and improvements

## 1.4.0

- Minor bug fixes and improvements
Expand Down
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
Expand Down
4 changes: 4 additions & 0 deletions packages/storage/amplify_storage_s3/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.5.0

- Minor bug fixes and improvements

## 1.4.0

- Minor bug fixes and improvements
Expand Down