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(version): Bump Version to 1.6.1 #4057

Merged
merged 6 commits into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion packages/aft/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies:
built_value: ">=8.6.0 <8.7.0"
checked_yaml: ^2.0.0
cli_util: ^0.3.5
code_builder: 4.6.0
code_builder: 4.7.0
collection: ^1.16.0
file: ">=6.0.0 <8.0.0"
git: any # override
Expand Down
5 changes: 5 additions & 0 deletions packages/amplify_core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 1.6.1

### Fixes
- fix(core): pub docs ([#4049](https://github.com/aws-amplify/amplify-flutter/pull/4049))

## 1.6.0

### Features
Expand Down
6 changes: 3 additions & 3 deletions packages/amplify_core/dartdoc_options.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
dartdoc:
categories:
Auth:
markdown: doc/static/auth.md
"Auth":
markdown: doc/auth.md
categoryOrder:
- Auth
favicon: doc/static/favicon.png
favicon: doc/favicon.png
nodoc:
- lib/src/config/analytics/**
- lib/src/config/api/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

part of amplify_interface;
part of 'amplify_categories.dart';

class AnalyticsCategory extends AmplifyCategory<AnalyticsPluginInterface> {
@override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

part of amplify_interface;
part of 'amplify_categories.dart';

class APICategory extends AmplifyCategory<APIPluginInterface> {
@override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

part of amplify_interface;
part of 'amplify_categories.dart';

/// Interface for DataStore category. This expose all the APIs that
/// are supported by this category's plugins. This class will accept plugins to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

part of amplify_interface;
part of 'amplify_categories.dart';

/// {@template amplify_core.amplify_notifications_category}
/// Top-Level Category for Notifications.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

part of amplify_interface;
part of 'amplify_categories.dart';

class PushNotificationsCategory
extends AmplifyCategory<PushNotificationsPluginInterface> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

part of amplify_interface;
part of 'amplify_categories.dart';

/// {@template amplify_core.amplify_storage_category}
/// The Amplify Storage category provides an interface for interacting with
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ abstract class AmplifyPluginConfig with AWSSerializable {

/// {@template amplify_core.unknown_plugin_config_factory}
/// A plugin factory for unknown plugin configs.
/// @{endtemplate}
/// {@endtemplate}
@internal
class UnknownPluginConfigFactory
extends AmplifyPluginConfigFactory<UnknownPluginConfig> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import 'package:aws_common/aws_common.dart';

/// (@template amplify_core.state_machine.precondition_exception)
/// {@template amplify_core.state_machine.precondition_exception}
/// An exception raised within a state machine when an event could not be
/// processed due to some precondition not being met.
/// {@endtemplate}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

/// Exception Types.
// Exception Types.
export '../exception/amplify_exception.dart'
show
AnalyticsException,
InvalidEventException,
NetworkException,
UnknownException;

/// API Types.
// API Types.
export 'analytics/analytics_event.dart';
export 'analytics/custom_properties.dart';
export 'analytics/user_profile.dart';
Expand Down
29 changes: 10 additions & 19 deletions packages/amplify_core/lib/src/types/auth/auth_types.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

/// Exceptions
// Exceptions
export '../exception/amplify_exception.dart'
show
AuthException,
Expand All @@ -14,8 +14,7 @@ export '../exception/amplify_exception.dart'
AuthValidationException,
NetworkException,
UnknownException;

/// Attributes
// Attributes
export 'attribute/auth_next_update_attribute_step.dart';
export 'attribute/auth_update_attribute_step.dart';
export 'attribute/auth_user_attribute.dart';
Expand All @@ -29,52 +28,44 @@ export 'attribute/send_user_attribute_verification_code_result.dart';
export 'attribute/update_user_attribute_options.dart';
export 'attribute/update_user_attribute_result.dart';
export 'attribute/update_user_attributes_options.dart';

/// Common
// Common
export 'auth_code_delivery_details.dart';
export 'auth_device.dart';
export 'auth_next_step.dart';

/// Hub
// Hub
export 'hub/auth_hub_event.dart';

/// MFA
// MFA
export 'mfa/mfa_preference.dart';
export 'mfa/totp_setup_details.dart';
export 'mfa/totp_setup_options.dart';
export 'mfa/user_mfa_preference.dart';
export 'mfa/verify_totp_setup_options.dart';

/// Password
// Password
export 'password/auth_reset_password_step.dart';
export 'password/confirm_reset_password_options.dart';
export 'password/reset_password_options.dart';
export 'password/reset_password_result.dart';
export 'password/reset_password_step.dart';
export 'password/update_password_options.dart';
export 'password/update_password_result.dart';

/// Session
// Session
export 'session/auth_session.dart';
export 'session/auth_user.dart';
export 'session/fetch_auth_session_options.dart';
export 'session/get_current_user_options.dart';
export 'session/sign_in_details.dart';

/// Sign In
// Sign In
export 'sign_in/auth_next_sign_in_step.dart';
export 'sign_in/auth_provider.dart';
export 'sign_in/auth_sign_in_step.dart';
export 'sign_in/confirm_sign_in_options.dart';
export 'sign_in/sign_in_options.dart';
export 'sign_in/sign_in_result.dart';
export 'sign_in/sign_in_with_web_ui_options.dart';

/// Sign Out
// Sign Out
export 'sign_out/sign_out_options.dart';
export 'sign_out/sign_out_result.dart';

/// Sign Up
// Sign Up
export 'sign_up/auth_next_sign_up_step.dart';
export 'sign_up/auth_sign_up_step.dart';
export 'sign_up/confirm_sign_up_options.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class AuthRule {
'groupClaim': groupClaim,
'groups': groups,
'groupsField': groupsField,
'provider': provider != null ? provider!.name : null,
'provider': provider?.name,
'operations': operations?.map((op) => op.name).toList(),
};
return Map<String, dynamic>.from(map)
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.

4 changes: 2 additions & 2 deletions 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.6.0
version: 1.6.1
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 All @@ -23,7 +23,7 @@ dependencies:
uuid: ">=3.0.6 <=3.0.7"

dev_dependencies:
amplify_lints: ">=3.0.0 <3.1.0"
amplify_lints: ">=3.0.1 <3.1.0"
build_runner: ^2.4.0
build_test: ^2.1.5
build_version: ^2.1.1
Expand Down
4 changes: 4 additions & 0 deletions packages/amplify_lints/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.0.1

- Minor bug fixes and improvements

## 3.0.0

### Breaking Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/amplify_lints/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: amplify_lints
description: The lint rules used in developing Amplify Flutter packages and plugins.
version: 3.0.0
version: 3.0.1
homepage: https://docs.amplify.aws/lib/q/platform/flutter/
repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/amplify_lints
issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues
Expand All @@ -9,5 +9,5 @@ environment:
sdk: ^3.0.0

dependencies:
flutter_lints: ^2.0.0
lints: ^2.1.0
flutter_lints: ^3.0.0
lints: ^3.0.0
4 changes: 4 additions & 0 deletions packages/analytics/amplify_analytics_pinpoint/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.6.1

- Minor bug fixes and improvements

## 1.6.0

### Fixes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

/// {@template amplify_analytics_pinpoint.device_info_provider}
/// Provides DeviceInfo from Flutter -> Dart.
/// {@endtemplate}

/// Multi platform class that provides DeviceInfo.
/// Requires Flutter specific dependencies.
export 'device_info_provider_stub.dart'
if (dart.library.html) 'device_info_provider_html.dart'
if (dart.library.io) 'device_info_provider_io.dart';
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@

import 'package:amplify_analytics_pinpoint/src/device_context_info_provider/device_info_provider/device_info.dart';

/// Retrieve DeviceInfo
/// {@template amplify_analytics_pinpoint.device_info_provider}
/// Multi platform class that provides DeviceInfo from Flutter -> Dart.
/// Requires Flutter specific dependencies.
/// {@endtemplate}

Future<DeviceInfo> getDeviceInfo() async {
throw UnsupportedError(
'No suitable implementation was found on this platform.',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

/// {@template amplify_analytics_pinpoint.flutter_path_provider}
/// Provides device storage location.
/// {@endtemplate}
export 'flutter_path_provider_stub.dart'
if (dart.library.html) 'flutter_path_provider_html.dart'
if (dart.library.io) 'flutter_path_provider_io.dart';
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
// ignore: implementation_imports
import 'package:amplify_analytics_pinpoint_dart/src/impl/flutter_provider_interfaces/cached_events_path_provider.dart';

/// {@macro amplify_analytics_pinpoint.flutter_path_provider}
/// {@template amplify_analytics_pinpoint.flutter_path_provider}
/// Provides device storage location.
/// {@endtemplate}
class FlutterPathProvider implements CachedEventsPathProvider {
@override
Future<String> getApplicationSupportPath() async {
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.6.0
version: 1.6.1
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 @@ -20,7 +20,7 @@ platforms:

dependencies:
amplify_analytics_pinpoint_dart: ">=0.3.3 <0.4.0"
amplify_core: ">=1.6.0 <1.7.0"
amplify_core: ">=1.6.1 <1.7.0"
amplify_db_common: ">=0.3.3 <0.4.0"
amplify_secure_storage: ">=0.4.0+6 <0.5.0"
aws_common: ">=0.6.0 <0.7.0"
Expand All @@ -32,7 +32,7 @@ dependencies:
path_provider: ^2.0.0

dev_dependencies:
amplify_lints: ">=3.0.0 <3.1.0"
amplify_lints: ">=3.0.1 <3.1.0"
flutter_test:
sdk: flutter
pigeon: ^11.0.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.3.4

- Minor bug fixes and improvements

## 0.3.3

### Fixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import 'dart:async';

/// {@template amplify_analytics_pinpoint.flutter_legacy_native_data_provider}
/// {@endtemplate}
abstract class LegacyNativeDataProvider {
/// Get stored Pinpoint Endpoint Id.
Future<String?> getEndpointId(String pinpointAppId);
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.3
version: 0.3.4
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.6.0 <1.7.0"
amplify_core: ">=1.6.1 <1.7.0"
amplify_db_common_dart: ">=0.3.3 <0.4.0"
amplify_secure_storage_dart: ">=0.4.0+5 <0.5.0"
aws_common: ">=0.6.0 <0.7.0"
Expand All @@ -21,7 +21,7 @@ dependencies:
intl: ">=0.18.0 <1.0.0"
meta: ^1.7.0
path: ^1.8.0
smithy: ">=0.6.0 <0.7.0"
smithy: ">=0.6.1 <0.7.0"
smithy_aws: ">=0.6.0 <0.7.0"
uuid: ">=3.0.6 <=3.0.7"

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

- Minor bug fixes and improvements

## 1.6.0

- Minor bug fixes and improvements
Expand Down
2 changes: 1 addition & 1 deletion 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.6.0
version: 1.6.1
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 Down
Loading
Loading