diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 67922fc48e..f6fd53ebf6 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:latest +FROM public.ecr.aws/ubuntu/ubuntu:latest ## Dockerfile for local development of Amplify Flutter packages on Linux diff --git a/.github/ISSUE_TEMPLATE/BUG-REPORT.yaml b/.github/ISSUE_TEMPLATE/BUG-REPORT.yaml index 683261d128..dc36357f3c 100644 --- a/.github/ISSUE_TEMPLATE/BUG-REPORT.yaml +++ b/.github/ISSUE_TEMPLATE/BUG-REPORT.yaml @@ -79,7 +79,7 @@ body: attributes: label: "Flutter Version" description: "Please share which version of Flutter you're using (found using `flutter --version`)." - placeholder: "3.19.3" + placeholder: "3.24.0" validations: required: true - type: input @@ -87,7 +87,7 @@ body: attributes: label: Amplify Flutter Version description: "The version of the Amplify Flutter libraries you're currently using." - placeholder: "1.7.0" + placeholder: "2.4.0" validations: required: true - type: dropdown @@ -97,8 +97,9 @@ body: description: "How do you currently deploy your backend?" multiple: false options: - - Amplify CLI - - Amplify CLI + Custom Pipeline + - Amplify Gen 2 + - Amplify CLI (Gen 1) + - Amplify CLI (Gen 1) + Custom Pipeline - AWS CDK - Custom Pipeline validations: diff --git a/.github/workflows/issue_closed.yml b/.github/workflows/issue_closed.yml new file mode 100644 index 0000000000..5806756aa9 --- /dev/null +++ b/.github/workflows/issue_closed.yml @@ -0,0 +1,32 @@ +name: Issue Closed + +on: + issues: + types: [closed] + +permissions: + issues: write + +jobs: + cleanup-labels: + runs-on: ubuntu-latest + if: ${{ (contains(github.event.issue.labels.*.name, 'pending-community-response') || contains(github.event.issue.labels.*.name, 'pending-maintainer-response') || contains(github.event.issue.labels.*.name, 'pending-close-response-required') || contains(github.event.issue.labels.*.name, 'pending-release')|| contains(github.event.issue.labels.*.name, 'pending-triage')) }} + steps: + - name: remove unnecessary labels after closing + shell: bash + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ISSUE_NUMBER: ${{ github.event.issue.number }} + REPOSITORY_NAME: ${{ github.event.repository.full_name }} + run: | + gh issue edit $ISSUE_NUMBER --repo $REPOSITORY_NAME --remove-label "pending-close-response-required" --remove-label "pending-community-response" --remove-label "pending-maintainer-response" --remove-label "pending-release" --remove-label "pending-triage" + + comment-visibility-warning: + runs-on: ubuntu-latest + steps: + - uses: aws-actions/closed-issue-message@36b7048ea77bb834d16e7a7c5b5471ac767a4ca1 # v1 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + message: | + This issue is now closed. Comments on closed issues are hard for our team to see. + If you need more assistance, please open a new issue that references this one. diff --git a/.github/workflows/issue_comment.yml b/.github/workflows/issue_comment.yml new file mode 100644 index 0000000000..56f9b3a69f --- /dev/null +++ b/.github/workflows/issue_comment.yml @@ -0,0 +1,31 @@ +name: Issue Comment + +on: + issue_comment: + types: [created] + +jobs: + adjust-labels: + runs-on: ubuntu-latest + permissions: + issues: write + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ISSUE_NUMBER: ${{ github.event.issue.number }} + REPOSITORY_NAME: ${{ github.event.repository.full_name }} + steps: + - name: remove pending-community-response when new comment received + if: ${{ !contains(fromJSON('["MEMBER", "OWNER"]'), github.event.comment.author_association) && !github.event.issue.pull_request }} + shell: bash + run: | + gh issue edit $ISSUE_NUMBER --repo $REPOSITORY_NAME --remove-label "pending-community-response" + - name: add pending-maintainer-response when new community comment received + if: ${{ !contains(fromJSON('["MEMBER", "OWNER"]'), github.event.comment.author_association) }} + shell: bash + run: | + gh issue edit $ISSUE_NUMBER --repo $REPOSITORY_NAME --add-label "pending-maintainer-response" + - name: remove pending-maintainer-response when new owner/member comment received + if: ${{ contains(fromJSON('["MEMBER", "OWNER"]'), github.event.comment.author_association) }} + shell: bash + run: | + gh issue edit $ISSUE_NUMBER --repo $REPOSITORY_NAME --remove-label "pending-maintainer-response" diff --git a/.github/workflows/issue_labeled.yml b/.github/workflows/issue_labeled.yml new file mode 100644 index 0000000000..ba8b7d9936 --- /dev/null +++ b/.github/workflows/issue_labeled.yml @@ -0,0 +1,20 @@ +name: Issue Labeled +on: + issues: + types: [labeled] + +jobs: + remove-pending-triage-label: + runs-on: ubuntu-latest + if: ${{ contains(fromJSON('["question", "bug", "feature-request"]'), github.event.label.name) }} + permissions: + issues: write + steps: + - name: Remove the pending-triage label + shell: bash + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ISSUE_NUMBER: ${{ github.event.issue.number }} + REPOSITORY_NAME: ${{ github.event.repository.full_name }} + run: | + gh issue edit $ISSUE_NUMBER --repo $REPOSITORY_NAME --remove-label "pending-triage" diff --git a/.github/workflows/issue_opened.yml b/.github/workflows/issue_opened.yml new file mode 100644 index 0000000000..3bf892b2c9 --- /dev/null +++ b/.github/workflows/issue_opened.yml @@ -0,0 +1,39 @@ +name: Issue Opened +on: + issues: + types: [opened] + +jobs: + add-issue-opened-labels: + runs-on: ubuntu-latest + permissions: + issues: write + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ISSUE_NUMBER: ${{ github.event.issue.number }} + REPOSITORY_NAME: ${{ github.event.repository.full_name }} + steps: + - name: Add the pending-triage label + shell: bash + run: | + gh issue edit $ISSUE_NUMBER --repo $REPOSITORY_NAME --add-label "pending-triage" + - name: Add the pending-maintainer-response label + if: ${{ !contains(fromJSON('["MEMBER", "OWNER"]'), github.event.issue.author_association) }} + shell: bash + run: | + gh issue edit $ISSUE_NUMBER --repo $REPOSITORY_NAME --add-label "pending-maintainer-response" + + maintainer-opened: + runs-on: ubuntu-latest + permissions: + issues: write + if: ${{ contains(fromJSON('["MEMBER", "OWNER"]'), github.event.issue.author_association) }} + steps: + - name: Post comment if maintainer opened. + shell: bash + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ISSUE_NUMBER: ${{ github.event.issue.number }} + REPOSITORY_NAME: ${{ github.event.repository.full_name }} + run: | + gh issue comment $ISSUE_NUMBER --repo $REPOSITORY_NAME -b "This issue was opened by a maintainer of this repository; updates will be posted here. If you are also experiencing this issue, please comment here with any relevant information so that we're aware and can prioritize accordingly." diff --git a/infra-gen2/backends/api/api-multi-auth/amplify/data/resource.ts b/infra-gen2/backends/api/api-multi-auth/amplify/data/resource.ts index 5637216684..72f75978ae 100644 --- a/infra-gen2/backends/api/api-multi-auth/amplify/data/resource.ts +++ b/infra-gen2/backends/api/api-multi-auth/amplify/data/resource.ts @@ -151,6 +151,6 @@ export const data = defineData({ schema, authorizationModes: { defaultAuthorizationMode: "userPool", - apiKeyAuthorizationMode: { expiresInDays: 30 }, + apiKeyAuthorizationMode: { expiresInDays: 365 }, }, }); diff --git a/packages/amplify/amplify_flutter/CHANGELOG.md b/packages/amplify/amplify_flutter/CHANGELOG.md index c0f5bb13e9..8088385bf1 100644 --- a/packages/amplify/amplify_flutter/CHANGELOG.md +++ b/packages/amplify/amplify_flutter/CHANGELOG.md @@ -1,3 +1,12 @@ +## 2.4.1 + +### Fixes +- fix(datastore): FlutterSerializedModel.extractJsonValue returns `.some(nil)` instead of `nil` ([#5370](https://github.com/aws-amplify/amplify-flutter/pull/5370)) +- fix(api): web socket error handling ([#5359](https://github.com/aws-amplify/amplify-flutter/pull/5359)) + +### Chores +- chore(deps): Amplify Android 2.21.1 ([#5376](https://github.com/aws-amplify/amplify-flutter/pull/5376)) + ## 2.4.0 ### Features diff --git a/packages/amplify/amplify_flutter/example/macos/Flutter/GeneratedPluginRegistrant.swift b/packages/amplify/amplify_flutter/example/macos/Flutter/GeneratedPluginRegistrant.swift index c8a58b0965..df4e34387c 100644 --- a/packages/amplify/amplify_flutter/example/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/packages/amplify/amplify_flutter/example/macos/Flutter/GeneratedPluginRegistrant.swift @@ -6,6 +6,7 @@ import FlutterMacOS import Foundation import amplify_auth_cognito +import amplify_secure_storage import connectivity_plus import device_info_plus import package_info_plus @@ -13,6 +14,7 @@ import path_provider_foundation func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { AmplifyAuthCognitoPlugin.register(with: registry.registrar(forPlugin: "AmplifyAuthCognitoPlugin")) + AmplifySecureStoragePlugin.register(with: registry.registrar(forPlugin: "AmplifySecureStoragePlugin")) ConnectivityPlusPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlusPlugin")) DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin")) FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin")) diff --git a/packages/amplify/amplify_flutter/pubspec.yaml b/packages/amplify/amplify_flutter/pubspec.yaml index 8562961b8d..d4ad221334 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: 2.4.0 +version: 2.4.1 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,9 +19,9 @@ platforms: web: dependencies: - amplify_core: ">=2.4.0 <2.5.0" - amplify_secure_storage: ">=0.5.5 <0.6.0" - aws_common: ">=0.7.2 <0.8.0" + amplify_core: ">=2.4.1 <2.5.0" + amplify_secure_storage: ">=0.5.7 <0.6.0" + aws_common: ">=0.7.3 <0.8.0" collection: ^1.15.0 flutter: sdk: flutter diff --git a/packages/amplify_core/CHANGELOG.md b/packages/amplify_core/CHANGELOG.md index 6bee3f4135..69bd5e98e2 100644 --- a/packages/amplify_core/CHANGELOG.md +++ b/packages/amplify_core/CHANGELOG.md @@ -1,3 +1,8 @@ +## 2.4.1 + +### Fixes +- fix(api): web socket error handling ([#5359](https://github.com/aws-amplify/amplify-flutter/pull/5359)) + ## 2.4.0 ### Features diff --git a/packages/amplify_core/lib/src/version.dart b/packages/amplify_core/lib/src/version.dart index cfb4a066dd..38a2ff8a2f 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 = '2.4.0'; +const packageVersion = '2.4.1'; diff --git a/packages/amplify_core/pubspec.yaml b/packages/amplify_core/pubspec.yaml index ca75125fcc..4ebcdaceed 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: 2.4.0 +version: 2.4.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 @@ -10,8 +10,8 @@ environment: dependencies: async: ^2.10.0 - aws_common: ">=0.7.2 <0.8.0" - aws_signature_v4: ">=0.6.2 <0.7.0" + aws_common: ">=0.7.3 <0.8.0" + aws_signature_v4: ">=0.6.3 <0.7.0" collection: ^1.15.0 graphs: ^2.1.0 intl: ">=0.18.0 <1.0.0" diff --git a/packages/amplify_datastore/CHANGELOG.md b/packages/amplify_datastore/CHANGELOG.md index 15771fc6d8..f999eeb60e 100644 --- a/packages/amplify_datastore/CHANGELOG.md +++ b/packages/amplify_datastore/CHANGELOG.md @@ -1,3 +1,8 @@ +## 2.4.1 + +### Fixes +- fix(datastore): FlutterSerializedModel.extractJsonValue returns `.some(nil)` instead of `nil` ([#5370](https://github.com/aws-amplify/amplify-flutter/pull/5370)) + ## 2.4.0 ### Fixes diff --git a/packages/amplify_datastore/android/build.gradle b/packages/amplify_datastore/android/build.gradle index e52ed5e0ef..5c35fabd7d 100644 --- a/packages/amplify_datastore/android/build.gradle +++ b/packages/amplify_datastore/android/build.gradle @@ -73,10 +73,10 @@ android { } dependencies { - implementation 'com.amplifyframework:aws-auth-cognito:2.19.1' - implementation "com.amplifyframework:aws-api:2.19.1" - implementation "com.amplifyframework:aws-datastore:2.19.1" - implementation "com.amplifyframework:aws-api-appsync:2.19.1" + implementation 'com.amplifyframework:aws-auth-cognito:2.21.1' + implementation "com.amplifyframework:aws-api:2.21.1" + implementation "com.amplifyframework:aws-datastore:2.21.1" + implementation "com.amplifyframework:aws-api-appsync:2.21.1" implementation 'com.google.code.gson:gson:2.10.1' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1' diff --git a/packages/amplify_datastore/example/ios/unit_tests/AmplifySerializedModelUnitTests.swift b/packages/amplify_datastore/example/ios/unit_tests/AmplifySerializedModelUnitTests.swift index 4e418b25a3..01d0b9411f 100644 --- a/packages/amplify_datastore/example/ios/unit_tests/AmplifySerializedModelUnitTests.swift +++ b/packages/amplify_datastore/example/ios/unit_tests/AmplifySerializedModelUnitTests.swift @@ -192,4 +192,13 @@ class AmplifySerializedModelUnitTests: XCTestCase { } } } + + func test_extracts_some_nil() throws { + let output = try FlutterSerializedModelData.BlogWithNullSerializedModel.jsonValue(for: "post") + + // This ensures if a property has a `null` json value, it gets returned as `.some(nil)` + // Per https://github.com/aws-amplify/amplify-swift/blob/cb80b91c38d99932af28df6be07633ee0563be08/Amplify/Categories/DataStore/Model/JSONHelper/JSONValueHolder.swift#L33-L34 + XCTAssertNotNil(output) + XCTAssertNil(output!) + } } diff --git a/packages/amplify_datastore/example/ios/unit_tests/resources/FlutterSerializedModelData.swift b/packages/amplify_datastore/example/ios/unit_tests/resources/FlutterSerializedModelData.swift index 9e3b969c19..dd2c44c8ba 100644 --- a/packages/amplify_datastore/example/ios/unit_tests/resources/FlutterSerializedModelData.swift +++ b/packages/amplify_datastore/example/ios/unit_tests/resources/FlutterSerializedModelData.swift @@ -9,6 +9,12 @@ struct FlutterSerializedModelData { "id": JSONValue.string("999"), "name": JSONValue.string("blog name"), ], modelName: "Blog") + static var BlogWithNullSerializedModel: FlutterSerializedModel = + .init(map: [ + "id": JSONValue.string("999"), + "name": JSONValue.string("blog name"), + "post": JSONValue.null, + ], modelName: "Blog") static var CommentSerializedModel: FlutterSerializedModel = .init(map: [ "id": JSONValue.string("999"), diff --git a/packages/amplify_datastore/ios/Classes/types/model/FlutterSerializedModel.swift b/packages/amplify_datastore/ios/Classes/types/model/FlutterSerializedModel.swift index 914400b2d5..f78a1c298b 100644 --- a/packages/amplify_datastore/ios/Classes/types/model/FlutterSerializedModel.swift +++ b/packages/amplify_datastore/ios/Classes/types/model/FlutterSerializedModel.swift @@ -97,7 +97,7 @@ public struct FlutterSerializedModel: Model, ModelIdentifiable, JSONValueHolder case .string(let deserializedValue): return deserializedValue case .null: - return nil + return .some(nil) } } diff --git a/packages/amplify_datastore/pubspec.yaml b/packages/amplify_datastore/pubspec.yaml index acf347e8c2..07899e3863 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: 2.4.0 +version: 2.4.1 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: ">=2.4.0 <2.5.0" - amplify_core: ">=2.4.0 <2.5.0" + amplify_datastore_plugin_interface: ">=2.4.1 <2.5.0" + amplify_core: ">=2.4.1 <2.5.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 be25630db5..6bc7b74456 100644 --- a/packages/amplify_datastore_plugin_interface/CHANGELOG.md +++ b/packages/amplify_datastore_plugin_interface/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.4.1 + +- Minor bug fixes and improvements + ## 2.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 29eff3565f..f22b2e9c88 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: 2.4.0 +version: 2.4.1 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.19.0" dependencies: - amplify_core: ">=2.4.0 <2.5.0" + amplify_core: ">=2.4.1 <2.5.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 e73ccb92b5..99c85f3d8d 100644 --- a/packages/analytics/amplify_analytics_pinpoint/CHANGELOG.md +++ b/packages/analytics/amplify_analytics_pinpoint/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.4.1 + +- Minor bug fixes and improvements + ## 2.4.0 ### Chores diff --git a/packages/analytics/amplify_analytics_pinpoint/example/macos/Flutter/GeneratedPluginRegistrant.swift b/packages/analytics/amplify_analytics_pinpoint/example/macos/Flutter/GeneratedPluginRegistrant.swift index c8a58b0965..df4e34387c 100644 --- a/packages/analytics/amplify_analytics_pinpoint/example/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/packages/analytics/amplify_analytics_pinpoint/example/macos/Flutter/GeneratedPluginRegistrant.swift @@ -6,6 +6,7 @@ import FlutterMacOS import Foundation import amplify_auth_cognito +import amplify_secure_storage import connectivity_plus import device_info_plus import package_info_plus @@ -13,6 +14,7 @@ import path_provider_foundation func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { AmplifyAuthCognitoPlugin.register(with: registry.registrar(forPlugin: "AmplifyAuthCognitoPlugin")) + AmplifySecureStoragePlugin.register(with: registry.registrar(forPlugin: "AmplifySecureStoragePlugin")) ConnectivityPlusPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlusPlugin")) DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin")) FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin")) diff --git a/packages/analytics/amplify_analytics_pinpoint/example/pubspec.yaml b/packages/analytics/amplify_analytics_pinpoint/example/pubspec.yaml index 0bc5f462ab..a1954ecb47 100644 --- a/packages/analytics/amplify_analytics_pinpoint/example/pubspec.yaml +++ b/packages/analytics/amplify_analytics_pinpoint/example/pubspec.yaml @@ -20,7 +20,7 @@ dependencies: sdk: flutter dev_dependencies: - amplify_analytics_pinpoint_dart: ">=0.2.0 <0.3.0" + amplify_analytics_pinpoint_dart: ">=0.4.5 <0.5.0" amplify_integration_test: any amplify_lints: path: ../../../amplify_lints diff --git a/packages/analytics/amplify_analytics_pinpoint/pubspec.yaml b/packages/analytics/amplify_analytics_pinpoint/pubspec.yaml index 7dc8026109..38d1e66209 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: 2.4.0 +version: 2.4.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 @@ -19,11 +19,11 @@ platforms: web: dependencies: - amplify_analytics_pinpoint_dart: ">=0.4.4 <0.5.0" - amplify_core: ">=2.4.0 <2.5.0" - amplify_db_common: ">=0.4.4 <0.5.0" - amplify_secure_storage: ">=0.5.5 <0.6.0" - aws_common: ">=0.7.2 <0.8.0" + amplify_analytics_pinpoint_dart: ">=0.4.5 <0.5.0" + amplify_core: ">=2.4.1 <2.5.0" + amplify_db_common: ">=0.4.5 <0.5.0" + amplify_secure_storage: ">=0.5.7 <0.6.0" + aws_common: ">=0.7.3 <0.8.0" device_info_plus: ^10.0.1 flutter: sdk: flutter diff --git a/packages/analytics/amplify_analytics_pinpoint_dart/CHANGELOG.md b/packages/analytics/amplify_analytics_pinpoint_dart/CHANGELOG.md index 5da7e29829..443707bbe2 100644 --- a/packages/analytics/amplify_analytics_pinpoint_dart/CHANGELOG.md +++ b/packages/analytics/amplify_analytics_pinpoint_dart/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.4.5 + +- Minor bug fixes and improvements + ## 0.4.4 - 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 820b677acb..8193e3ca48 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.4.4'; +const packageVersion = '0.4.5'; diff --git a/packages/analytics/amplify_analytics_pinpoint_dart/pubspec.yaml b/packages/analytics/amplify_analytics_pinpoint_dart/pubspec.yaml index 05deb2fb8a..0e15a70300 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.4.4 +version: 0.4.5 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,11 +9,11 @@ environment: sdk: ^3.3.0 dependencies: - amplify_core: ">=2.4.0 <2.5.0" - amplify_db_common_dart: ">=0.4.5 <0.5.0" - amplify_secure_storage_dart: ">=0.5.2 <0.6.0" - aws_common: ">=0.7.2 <0.8.0" - aws_signature_v4: ">=0.6.2 <0.7.0" + amplify_core: ">=2.4.1 <2.5.0" + amplify_db_common_dart: ">=0.4.6 <0.5.0" + amplify_secure_storage_dart: ">=0.5.3 <0.6.0" + aws_common: ">=0.7.3 <0.8.0" + aws_signature_v4: ">=0.6.3 <0.7.0" built_collection: ^5.0.0 built_value: ^8.6.0 collection: ^1.15.0 @@ -21,8 +21,8 @@ dependencies: intl: ">=0.18.0 <1.0.0" meta: ^1.7.0 path: ">=1.8.0 <2.0.0" - smithy: ">=0.7.2 <0.8.0" - smithy_aws: ">=0.7.2 <0.8.0" + smithy: ">=0.7.3 <0.8.0" + smithy_aws: ">=0.7.3 <0.8.0" uuid: ">=3.0.6 <5.0.0" dev_dependencies: diff --git a/packages/api/amplify_api/CHANGELOG.md b/packages/api/amplify_api/CHANGELOG.md index 65ea445475..2e7c3ff146 100644 --- a/packages/api/amplify_api/CHANGELOG.md +++ b/packages/api/amplify_api/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.4.1 + +- Minor bug fixes and improvements + ## 2.4.0 - Minor bug fixes and improvements diff --git a/packages/api/amplify_api/example/macos/Flutter/GeneratedPluginRegistrant.swift b/packages/api/amplify_api/example/macos/Flutter/GeneratedPluginRegistrant.swift index c5b0ceae21..723ec8543e 100644 --- a/packages/api/amplify_api/example/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/packages/api/amplify_api/example/macos/Flutter/GeneratedPluginRegistrant.swift @@ -6,6 +6,7 @@ import FlutterMacOS import Foundation import amplify_auth_cognito +import amplify_secure_storage import connectivity_plus import device_info_plus import package_info_plus @@ -14,6 +15,7 @@ import url_launcher_macos func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { AmplifyAuthCognitoPlugin.register(with: registry.registrar(forPlugin: "AmplifyAuthCognitoPlugin")) + AmplifySecureStoragePlugin.register(with: registry.registrar(forPlugin: "AmplifySecureStoragePlugin")) ConnectivityPlusPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlusPlugin")) DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin")) FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin")) diff --git a/packages/api/amplify_api/pubspec.yaml b/packages/api/amplify_api/pubspec.yaml index 7af543c352..63ebd86fc9 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: 2.4.0 +version: 2.4.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 @@ -19,9 +19,9 @@ platforms: web: dependencies: - amplify_api_dart: ">=0.5.4 <0.6.0" - amplify_core: ">=2.4.0 <2.5.0" - amplify_flutter: ">=2.4.0 <2.5.0" + amplify_api_dart: ">=0.5.5 <0.6.0" + amplify_core: ">=2.4.1 <2.5.0" + amplify_flutter: ">=2.4.1 <2.5.0" connectivity_plus: ^6.0.1 flutter: sdk: flutter diff --git a/packages/api/amplify_api_dart/CHANGELOG.md b/packages/api/amplify_api_dart/CHANGELOG.md index 0b8c839702..a29df4e351 100644 --- a/packages/api/amplify_api_dart/CHANGELOG.md +++ b/packages/api/amplify_api_dart/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.5.5 + +### Fixes +- fix(api): web socket error handling ([#5359](https://github.com/aws-amplify/amplify-flutter/pull/5359)) + ## 0.5.4 ### Fixes diff --git a/packages/api/amplify_api_dart/lib/src/graphql/web_socket/types/web_socket_types.dart b/packages/api/amplify_api_dart/lib/src/graphql/web_socket/types/web_socket_types.dart index fbbd8a2b60..b2157be19e 100644 --- a/packages/api/amplify_api_dart/lib/src/graphql/web_socket/types/web_socket_types.dart +++ b/packages/api/amplify_api_dart/lib/src/graphql/web_socket/types/web_socket_types.dart @@ -144,8 +144,15 @@ class WebSocketError extends WebSocketMessagePayload implements Exception { final List> errors; static WebSocketError fromJson(Map json) { - final errors = json['errors'] as List?; - return WebSocketError(errors?.cast() ?? []); + final errors = json['errors']; + List>? errorsList = []; + if (errors is List?) { + errorsList = errors?.cast(); + } else if (errors is Map) { + errorsList = [errors]; + } + + return WebSocketError(errorsList ?? []); } @override diff --git a/packages/api/amplify_api_dart/pubspec.yaml b/packages/api/amplify_api_dart/pubspec.yaml index 0b523c42f3..b8baaa6fb3 100644 --- a/packages/api/amplify_api_dart/pubspec.yaml +++ b/packages/api/amplify_api_dart/pubspec.yaml @@ -1,6 +1,6 @@ name: amplify_api_dart description: The Amplify API category plugin in Dart-only, supporting GraphQL and REST operations. -version: 0.5.4 +version: 0.5.5 homepage: https://docs.amplify.aws/lib/q/platform/flutter/ repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/api/amplify_api_dart issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -9,9 +9,9 @@ environment: sdk: ^3.3.0 dependencies: - amplify_core: ">=2.4.0 <2.5.0" + amplify_core: ">=2.4.1 <2.5.0" async: ^2.10.0 - aws_common: ">=0.7.2 <0.8.0" + aws_common: ">=0.7.3 <0.8.0" collection: ^1.15.0 json_annotation: ">=4.9.0 <4.10.0" meta: ^1.7.0 @@ -21,7 +21,7 @@ dependencies: dev_dependencies: amplify_lints: ">=3.1.0 <3.2.0" - aws_signature_v4: ">=0.6.2 <0.7.0" + aws_signature_v4: ">=0.6.3 <0.7.0" build_runner: ^2.4.9 build_test: ^2.1.5 build_web_compilers: ^4.0.0 diff --git a/packages/api/amplify_api_dart/test/web_socket/web_socket_types_test.dart b/packages/api/amplify_api_dart/test/web_socket/web_socket_types_test.dart index 90e7489e1c..14e26ea68f 100644 --- a/packages/api/amplify_api_dart/test/web_socket/web_socket_types_test.dart +++ b/packages/api/amplify_api_dart/test/web_socket/web_socket_types_test.dart @@ -113,6 +113,34 @@ void main() { errors, ); + /// GraphQLResponseDecoder should handle a payload with errors. + final response = GraphQLResponseDecoder.instance.decode( + request: GraphQLRequest( + document: '', + ), + response: message.payload!.toJson(), + ); + expect( + response.errors.first.message, + errorMessage, + ); + }); + test('WebsocketMessage should decode errors as a Map', () { + const errorMessage = 'Max number of 100 subscriptions reached'; + const errorType = 'MaxSubscriptionsReachedError'; + const errorMap = {'errorType': errorType, 'message': errorMessage}; + final entry = { + 'id': 'xyz-456', + 'type': 'error', + 'payload': {'data': null, 'errors': errorMap}, + }; + final message = WebSocketMessage.fromJson(entry); + expect(message.messageType, MessageType.error); + expect( + message.payload!.toJson()['errors'], + [errorMap], + ); + /// GraphQLResponseDecoder should handle a payload with errors. final response = GraphQLResponseDecoder.instance.decode( request: GraphQLRequest( diff --git a/packages/auth/amplify_auth_cognito/CHANGELOG.md b/packages/auth/amplify_auth_cognito/CHANGELOG.md index 98ee7c9ad4..4a6f8dea81 100644 --- a/packages/auth/amplify_auth_cognito/CHANGELOG.md +++ b/packages/auth/amplify_auth_cognito/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.4.1 + +- Minor bug fixes and improvements + ## 2.4.0 ### Features diff --git a/packages/auth/amplify_auth_cognito/example/macos/Flutter/GeneratedPluginRegistrant.swift b/packages/auth/amplify_auth_cognito/example/macos/Flutter/GeneratedPluginRegistrant.swift index c5b0ceae21..0845788d3d 100644 --- a/packages/auth/amplify_auth_cognito/example/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/packages/auth/amplify_auth_cognito/example/macos/Flutter/GeneratedPluginRegistrant.swift @@ -6,17 +6,21 @@ import FlutterMacOS import Foundation import amplify_auth_cognito +import amplify_secure_storage import connectivity_plus import device_info_plus import package_info_plus import path_provider_foundation import url_launcher_macos +import webview_flutter_wkwebview func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { AmplifyAuthCognitoPlugin.register(with: registry.registrar(forPlugin: "AmplifyAuthCognitoPlugin")) + AmplifySecureStoragePlugin.register(with: registry.registrar(forPlugin: "AmplifySecureStoragePlugin")) ConnectivityPlusPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlusPlugin")) DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin")) FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin")) PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin")) + FLTWebViewFlutterPlugin.register(with: registry.registrar(forPlugin: "FLTWebViewFlutterPlugin")) } diff --git a/packages/auth/amplify_auth_cognito/pubspec.yaml b/packages/auth/amplify_auth_cognito/pubspec.yaml index 6db7916b2a..f8e194b01b 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: 2.4.0 +version: 2.4.1 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,12 +19,12 @@ platforms: web: dependencies: - amplify_analytics_pinpoint: ">=2.4.0 <2.5.0" - amplify_analytics_pinpoint_dart: ">=0.4.4 <0.5.0" - amplify_auth_cognito_dart: ">=0.11.4 <0.12.0" - amplify_core: ">=2.4.0 <2.5.0" - amplify_flutter: ">=2.4.0 <2.5.0" - amplify_secure_storage: ">=0.5.5 <0.6.0" + amplify_analytics_pinpoint: ">=2.4.1 <2.5.0" + amplify_analytics_pinpoint_dart: ">=0.4.5 <0.5.0" + amplify_auth_cognito_dart: ">=0.11.5 <0.12.0" + amplify_core: ">=2.4.1 <2.5.0" + amplify_flutter: ">=2.4.1 <2.5.0" + amplify_secure_storage: ">=0.5.7 <0.6.0" async: ^2.10.0 flutter: sdk: flutter diff --git a/packages/auth/amplify_auth_cognito_dart/CHANGELOG.md b/packages/auth/amplify_auth_cognito_dart/CHANGELOG.md index c51b0b8417..91e78afdd0 100644 --- a/packages/auth/amplify_auth_cognito_dart/CHANGELOG.md +++ b/packages/auth/amplify_auth_cognito_dart/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.11.5 + +- Minor bug fixes and improvements + ## 0.11.4 ### Features diff --git a/packages/auth/amplify_auth_cognito_dart/pubspec.yaml b/packages/auth/amplify_auth_cognito_dart/pubspec.yaml index 038be2c6c2..3c834f8dc1 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.11.4 +version: 0.11.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,12 +9,12 @@ environment: sdk: ^3.3.0 dependencies: - amplify_analytics_pinpoint_dart: ">=0.4.4 <0.5.0" - amplify_core: ">=2.4.0 <2.5.0" - amplify_secure_storage_dart: ">=0.5.2 <0.6.0" + amplify_analytics_pinpoint_dart: ">=0.4.5 <0.5.0" + amplify_core: ">=2.4.1 <2.5.0" + amplify_secure_storage_dart: ">=0.5.3 <0.6.0" async: ^2.10.0 - aws_common: ">=0.7.2 <0.8.0" - aws_signature_v4: ">=0.6.2 <0.7.0" + aws_common: ">=0.7.3 <0.8.0" + aws_signature_v4: ">=0.6.3 <0.7.0" built_collection: ^5.0.0 built_value: ^8.6.0 clock: ^1.1.1 @@ -30,13 +30,13 @@ dependencies: meta: ^1.7.0 oauth2: ^2.0.2 path: ">=1.8.0 <2.0.0" - smithy: ">=0.7.2 <0.8.0" - smithy_aws: ">=0.7.2 <0.8.0" + smithy: ">=0.7.3 <0.8.0" + smithy_aws: ">=0.7.3 <0.8.0" stream_transform: ^2.0.0 uuid: ">=3.0.6 <5.0.0" win32: ">=4.1.2 <6.0.0" win32_registry: ^1.1.0 - worker_bee: ">=0.3.2 <0.4.0" + worker_bee: ">=0.3.3 <0.4.0" dev_dependencies: amplify_lints: ">=3.1.0 <3.2.0" @@ -51,7 +51,7 @@ dev_dependencies: smithy_codegen: path: ../../smithy/smithy_codegen test: ^1.22.1 - worker_bee_builder: ">=0.3.1 <0.4.0" + worker_bee_builder: ">=0.3.2 <0.4.0" flutter: assets: diff --git a/packages/authenticator/amplify_authenticator/CHANGELOG.md b/packages/authenticator/amplify_authenticator/CHANGELOG.md index 3649f811b5..c8c0a9914f 100644 --- a/packages/authenticator/amplify_authenticator/CHANGELOG.md +++ b/packages/authenticator/amplify_authenticator/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.1.3 + +- Minor bug fixes and improvements + ## 2.1.2 ### Fixes diff --git a/packages/authenticator/amplify_authenticator/example/macos/Flutter/GeneratedPluginRegistrant.swift b/packages/authenticator/amplify_authenticator/example/macos/Flutter/GeneratedPluginRegistrant.swift index c5b0ceae21..723ec8543e 100644 --- a/packages/authenticator/amplify_authenticator/example/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/packages/authenticator/amplify_authenticator/example/macos/Flutter/GeneratedPluginRegistrant.swift @@ -6,6 +6,7 @@ import FlutterMacOS import Foundation import amplify_auth_cognito +import amplify_secure_storage import connectivity_plus import device_info_plus import package_info_plus @@ -14,6 +15,7 @@ import url_launcher_macos func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { AmplifyAuthCognitoPlugin.register(with: registry.registrar(forPlugin: "AmplifyAuthCognitoPlugin")) + AmplifySecureStoragePlugin.register(with: registry.registrar(forPlugin: "AmplifySecureStoragePlugin")) ConnectivityPlusPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlusPlugin")) DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin")) FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin")) diff --git a/packages/authenticator/amplify_authenticator/lib/src/version.dart b/packages/authenticator/amplify_authenticator/lib/src/version.dart index 5e5a029a15..d09e279270 100644 --- a/packages/authenticator/amplify_authenticator/lib/src/version.dart +++ b/packages/authenticator/amplify_authenticator/lib/src/version.dart @@ -1,2 +1,2 @@ // Generated code. Do not modify. -const packageVersion = '2.1.2'; +const packageVersion = '2.1.3'; diff --git a/packages/authenticator/amplify_authenticator/pubspec.yaml b/packages/authenticator/amplify_authenticator/pubspec.yaml index d426855ece..924d21c87e 100644 --- a/packages/authenticator/amplify_authenticator/pubspec.yaml +++ b/packages/authenticator/amplify_authenticator/pubspec.yaml @@ -1,6 +1,6 @@ name: amplify_authenticator description: A prebuilt Sign In and Sign Up experience for the Amplify Auth category -version: 2.1.2 +version: 2.1.3 homepage: https://ui.docs.amplify.aws/flutter/connected-components/authenticator repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/authenticator/amplify_authenticator issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -10,11 +10,11 @@ environment: flutter: ">=3.19.0" dependencies: - amplify_auth_cognito: ">=2.4.0 <2.5.0" - amplify_core: ">=2.4.0 <2.5.0" - amplify_flutter: ">=2.4.0 <2.5.0" + amplify_auth_cognito: ">=2.4.1 <2.5.0" + amplify_core: ">=2.4.1 <2.5.0" + amplify_flutter: ">=2.4.1 <2.5.0" async: ^2.10.0 - aws_common: ">=0.7.2 <0.8.0" + aws_common: ">=0.7.3 <0.8.0" collection: ^1.15.0 flutter: sdk: flutter @@ -25,7 +25,7 @@ dependencies: # TODO(equartey): Remove this once we have our own method of getting the app name package_info_plus: ^8.0.0 qr_flutter: 4.1.0 - smithy: ">=0.7.2 <0.8.0" + smithy: ">=0.7.3 <0.8.0" stream_transform: ^2.0.0 url_launcher: ^6.1.11 diff --git a/packages/authenticator/amplify_authenticator_test/example/macos/Flutter/GeneratedPluginRegistrant.swift b/packages/authenticator/amplify_authenticator_test/example/macos/Flutter/GeneratedPluginRegistrant.swift index c52c93b11a..c33812bc70 100644 --- a/packages/authenticator/amplify_authenticator_test/example/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/packages/authenticator/amplify_authenticator_test/example/macos/Flutter/GeneratedPluginRegistrant.swift @@ -6,6 +6,7 @@ import FlutterMacOS import Foundation import amplify_auth_cognito +import amplify_secure_storage import device_info_plus import package_info_plus import path_provider_foundation @@ -13,6 +14,7 @@ import url_launcher_macos func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { AmplifyAuthCognitoPlugin.register(with: registry.registrar(forPlugin: "AmplifyAuthCognitoPlugin")) + AmplifySecureStoragePlugin.register(with: registry.registrar(forPlugin: "AmplifySecureStoragePlugin")) DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin")) FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin")) PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) diff --git a/packages/aws_common/CHANGELOG.md b/packages/aws_common/CHANGELOG.md index 2345c719e0..fa9b3e93a9 100644 --- a/packages/aws_common/CHANGELOG.md +++ b/packages/aws_common/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.7.3 + +### Features +- feat(aws_common): Generated new AWSService constructors ([#5378](https://github.com/aws-amplify/amplify-flutter/pull/5378)) + ## 0.7.2 - Minor bug fixes and improvements diff --git a/packages/aws_common/lib/src/config/aws_service.dart b/packages/aws_common/lib/src/config/aws_service.dart index e06a5a78ee..d7659c55c2 100644 --- a/packages/aws_common/lib/src/config/aws_service.dart +++ b/packages/aws_common/lib/src/config/aws_service.dart @@ -27,6 +27,7 @@ class AWSService { static const acmPca = AWSService('acm-pca'); /// Alexa For Business + @Deprecated('This will be removed in the next major version') static const alexaForBusiness = AWSService('a4b'); /// Amazon Prometheus Service @@ -74,6 +75,9 @@ class AWSService { /// AWS AppSync static const appSync = AWSService('appsync'); + /// AWS Mainframe Modernization Application Testing + static const appTest = AWSService('apptest'); + /// Amazon Appflow static const appflow = AWSService('appflow'); @@ -90,9 +94,15 @@ class AWSService { /// Amazon CloudWatch Application Insights static const applicationInsights = AWSService('applicationinsights'); + /// Amazon CloudWatch Application Signals + static const applicationSignals = AWSService('application-signals'); + /// AWS ARC - Zonal Shift static const arcZonalShift = AWSService('arc-zonal-shift'); + /// AWS Artifact + static const artifact = AWSService('artifact'); + /// Amazon Athena static const athena = AWSService('athena'); @@ -105,6 +115,9 @@ class AWSService { /// AWS Auto Scaling Plans static const autoScalingPlans = AWSService('autoscaling-plans'); + /// AWS B2B Data Interchange + static const b2Bi = AWSService('b2bi'); + /// AWS Backup static const backup = AWSService('backup'); @@ -112,11 +125,27 @@ class AWSService { static const backupGateway = AWSService('backup-gateway'); /// AWS Backup Storage + @Deprecated('This will be removed in the next major version') static const backupStorage = AWSService('backup-storage'); /// AWS Batch static const batch = AWSService('batch'); + /// AWS Billing and Cost Management Data Exports + static const bcmDataExports = AWSService('bcm-data-exports'); + + /// Amazon Bedrock + static const bedrock = AWSService('bedrock'); + + /// Agents for Amazon Bedrock + static const bedrockAgent = AWSService('bedrock'); + + /// Agents for Amazon Bedrock Runtime + static const bedrockAgentRuntime = AWSService('bedrock'); + + /// Amazon Bedrock Runtime + static const bedrockRuntime = AWSService('bedrock'); + /// AWSBillingConductor static const billingconductor = AWSService('billingconductor'); @@ -126,6 +155,9 @@ class AWSService { /// AWS Budgets static const budgets = AWSService('budgets'); + /// AWS Chatbot + static const chatbot = AWSService('chatbot'); + /// Amazon Chime static const chime = AWSService('chime'); @@ -147,6 +179,9 @@ class AWSService { /// AWS Clean Rooms Service static const cleanRooms = AWSService('cleanrooms'); + /// AWS Clean Rooms ML + static const cleanRoomsMl = AWSService('cleanrooms-ml'); + /// AWS Cloud9 static const cloud9 = AWSService('cloud9'); @@ -162,6 +197,9 @@ class AWSService { /// Amazon CloudFront static const cloudFront = AWSService('cloudfront'); + /// Amazon CloudFront KeyValueStore + static const cloudFrontKeyValueStore = AWSService('cloudfront-keyvaluestore'); + /// Amazon CloudHSM static const cloudHsm = AWSService('cloudhsm'); @@ -195,6 +233,9 @@ class AWSService { /// AWS CodeCommit static const codeCommit = AWSService('codecommit'); + /// AWS CodeConnections + static const codeConnections = AWSService('codeconnections'); + /// AWS CodeDeploy static const codeDeploy = AWSService('codedeploy'); @@ -211,6 +252,7 @@ class AWSService { static const codePipeline = AWSService('codepipeline'); /// AWS CodeStar + @Deprecated('This will be removed in the next major version') static const codeStar = AWSService('codestar'); /// AWS CodeStar connections @@ -258,6 +300,9 @@ class AWSService { /// Amazon Connect Participant Service static const connectParticipant = AWSService('execute-api'); + /// AWS Control Catalog + static const controlCatalog = AWSService('controlcatalog'); + /// AWS Control Tower static const controlTower = AWSService('controltower'); @@ -267,6 +312,9 @@ class AWSService { /// AWS Cost Explorer Service static const costExplorer = AWSService('ce'); + /// Cost Optimization Hub + static const costOptimizationHub = AWSService('cost-optimization-hub'); + /// Amazon Connect Customer Profiles static const customerProfiles = AWSService('profile'); @@ -282,12 +330,18 @@ class AWSService { /// AWS DataSync static const dataSync = AWSService('datasync'); + /// Amazon DataZone + static const dataZone = AWSService('datazone'); + /// AWS Database Migration Service static const databaseMigrationService = AWSService('dms'); /// Amazon DynamoDB Accelerator (DAX) static const dax = AWSService('dax'); + /// AWSDeadlineCloud + static const deadline = AWSService('deadline'); + /// Amazon Detective static const detective = AWSService('detective'); @@ -345,6 +399,9 @@ class AWSService { /// Amazon Elastic Kubernetes Service static const eks = AWSService('eks'); + /// Amazon EKS Auth + static const eksAuth = AWSService('eks-auth'); + /// Amazon ElastiCache static const elastiCache = AWSService('elasticache'); @@ -411,10 +468,14 @@ class AWSService { /// Amazon Fraud Detector static const fraudDetector = AWSService('frauddetector'); + /// AWS Free Tier + static const freeTier = AWSService('freetier'); + /// Amazon GameLift static const gameLift = AWSService('gamelift'); /// GameSparks + @Deprecated('This will be removed in the next major version') static const gameSparks = AWSService('gamesparks'); /// Amazon Glacier @@ -448,6 +509,7 @@ class AWSService { static const healthLake = AWSService('healthlake'); /// Amazon Honeycode + @Deprecated('This will be removed in the next major version') static const honeycode = AWSService('honeycode'); /// AWS Identity and Access Management @@ -465,6 +527,9 @@ class AWSService { /// Inspector2 static const inspector2 = AWSService('inspector2'); + /// Inspector Scan + static const inspectorScan = AWSService('inspector-scan'); + /// Amazon CloudWatch Internet Monitor static const internetMonitor = AWSService('internetmonitor'); @@ -514,6 +579,7 @@ class AWSService { static const iotJobsDataPlane = AWSService('iot-jobs-data'); /// AWS IoT RoboRunner + @Deprecated('This will be removed in the next major version') static const iotRoboRunner = AWSService('iotroborunner'); /// AWS IoT Wireless @@ -576,6 +642,9 @@ class AWSService { /// AWS Lambda static const lambda = AWSService('lambda'); + /// AWS Launch Wizard + static const launchWizard = AWSService('launchwizard'); + /// Amazon Lex Model Building Service static const lexModelBuildingService = AWSService('lex'); @@ -624,17 +693,24 @@ class AWSService { static const machineLearning = AWSService('machinelearning'); /// Amazon Macie + @Deprecated('This will be removed in the next major version') static const macie = AWSService('macie'); /// Amazon Macie 2 static const macie2 = AWSService('macie2'); + /// MailManager + static const mailManager = AWSService('ses'); + /// Amazon Managed Blockchain static const managedBlockchain = AWSService('managedblockchain'); /// Amazon Managed Blockchain Query static const managedBlockchainQuery = AWSService('managedblockchain-query'); + /// AWS Marketplace Agreement Service + static const marketplaceAgreement = AWSService('aws-marketplace'); + /// AWS Marketplace Catalog Service static const marketplaceCatalog = AWSService('aws-marketplace'); @@ -642,6 +718,9 @@ class AWSService { static const marketplaceCommerceAnalytics = AWSService('marketplacecommerceanalytics'); + /// AWS Marketplace Deployment Service + static const marketplaceDeployment = AWSService('aws-marketplace'); + /// AWS Marketplace Entitlement Service static const marketplaceEntitlementService = AWSService('aws-marketplace'); @@ -701,6 +780,7 @@ class AWSService { static const migrationHubStrategy = AWSService('migrationhub-strategy'); /// AWS Mobile + @Deprecated('This will be removed in the next major version') static const mobile = AWSService('AWSMobileHubService'); /// AmazonMQ @@ -712,6 +792,9 @@ class AWSService { /// Amazon Neptune static const neptune = AWSService('rds'); + /// Amazon Neptune Graph + static const neptuneGraph = AWSService('neptune-graph'); + /// Amazon NeptuneData static const neptunedata = AWSService('neptune-db'); @@ -721,6 +804,9 @@ class AWSService { /// AWS Network Manager static const networkManager = AWSService('networkmanager'); + /// Amazon CloudWatch Network Monitor + static const networkMonitor = AWSService('networkmonitor'); + /// AmazonNimbleStudio static const nimble = AWSService('nimble'); @@ -763,6 +849,9 @@ class AWSService { /// PcaConnectorAd static const pcaConnectorAd = AWSService('pca-connector-ad'); + /// Private CA Connector for SCEP + static const pcaConnectorScep = AWSService('pca-connector-scep'); + /// Amazon Personalize static const personalize = AWSService('personalize'); @@ -802,6 +891,15 @@ class AWSService { /// AWS Proton static const proton = AWSService('proton'); + /// QApps + static const qApps = AWSService('qapps'); + + /// QBusiness + static const qBusiness = AWSService('qbusiness'); + + /// Amazon Q Connect + static const qConnect = AWSService('wisdom'); + /// Amazon QLDB static const qldb = AWSService('qldb'); @@ -838,6 +936,9 @@ class AWSService { /// Amazon Rekognition Streaming static const rekognitionStreaming = AWSService('rekognition'); + /// AWS re:Post Private + static const repostspace = AWSService('repostspace'); + /// AWS Resilience Hub static const resiliencehub = AWSService('resiliencehub'); @@ -862,6 +963,9 @@ class AWSService { /// Amazon Route 53 Domains static const route53Domains = AWSService('route53domains'); + /// Route 53 Profiles + static const route53Profiles = AWSService('route53profiles'); + /// Route53 Recovery Cluster static const route53RecoveryCluster = AWSService('route53-recovery-cluster'); @@ -984,6 +1088,9 @@ class AWSService { /// AWS Systems Manager Incident Manager static const ssmIncidents = AWSService('ssm-incidents'); + /// AWS Systems Manager QuickSetup + static const ssmQuickSetup = AWSService('ssm-quicksetup'); + /// AWS Systems Manager for SAP static const ssmSap = AWSService('ssm-sap'); @@ -994,7 +1101,7 @@ class AWSService { static const ssoAdmin = AWSService('sso'); /// AWS SSO OIDC - static const ssoOidc = AWSService('awsssooidc'); + static const ssoOidc = AWSService('sso-oauth'); /// AWS Storage Gateway static const storageGateway = AWSService('storagegateway'); @@ -1002,6 +1109,9 @@ class AWSService { /// AWS Security Token Service static const sts = AWSService('sts'); + /// AWS Supply Chain + static const supplyChain = AWSService('scn'); + /// AWS Support static const support = AWSService('support'); @@ -1014,9 +1124,15 @@ class AWSService { /// Synthetics static const synthetics = AWSService('synthetics'); + /// Tax Settings + static const taxSettings = AWSService('tax'); + /// Amazon Textract static const textract = AWSService('textract'); + /// Timestream InfluxDB + static const timestreamInfluxDb = AWSService('timestream-influxdb'); + /// Amazon Timestream Query static const timestreamQuery = AWSService('timestream'); @@ -1038,6 +1154,9 @@ class AWSService { /// Amazon Translate static const translate = AWSService('translate'); + /// TrustedAdvisor Public API + static const trustedAdvisor = AWSService('trustedadvisor'); + /// Amazon Verified Permissions static const verifiedPermissions = AWSService('verifiedpermissions'); @@ -1077,6 +1196,9 @@ class AWSService { /// Amazon WorkSpaces static const workSpaces = AWSService('workspaces'); + /// Amazon WorkSpaces Thin Client + static const workSpacesThinClient = AWSService('thinclient'); + /// Amazon WorkSpaces Web static const workSpacesWeb = AWSService('workspaces-web'); diff --git a/packages/aws_common/pubspec.yaml b/packages/aws_common/pubspec.yaml index 2ead8cfa2c..e855e0ce77 100644 --- a/packages/aws_common/pubspec.yaml +++ b/packages/aws_common/pubspec.yaml @@ -1,6 +1,6 @@ name: aws_common description: Common types and utilities used across AWS and Amplify packages. -version: 0.7.2 +version: 0.7.3 homepage: https://docs.amplify.aws/lib/q/platform/flutter/ repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/aws_common issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues diff --git a/packages/aws_signature_v4/CHANGELOG.md b/packages/aws_signature_v4/CHANGELOG.md index eccca9ace8..c76b9ee971 100644 --- a/packages/aws_signature_v4/CHANGELOG.md +++ b/packages/aws_signature_v4/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.6.3 + +- Minor bug fixes and improvements + ## 0.6.2 ### Chores diff --git a/packages/aws_signature_v4/example/pubspec.yaml b/packages/aws_signature_v4/example/pubspec.yaml index a685a76e0e..4c42b59dab 100644 --- a/packages/aws_signature_v4/example/pubspec.yaml +++ b/packages/aws_signature_v4/example/pubspec.yaml @@ -7,7 +7,7 @@ environment: dependencies: args: ^2.3.0 aws_common: ">=0.4.0 <0.5.0" - aws_signature_v4: ">=0.6.0 <0.7.0" + aws_signature_v4: ">=0.6.3 <0.7.0" collection: ^1.15.0 path: ">=1.8.0 <2.0.0" diff --git a/packages/aws_signature_v4/lib/src/version.dart b/packages/aws_signature_v4/lib/src/version.dart index 64c17c0839..2760989cc1 100644 --- a/packages/aws_signature_v4/lib/src/version.dart +++ b/packages/aws_signature_v4/lib/src/version.dart @@ -1,2 +1,2 @@ // Generated code. Do not modify. -const packageVersion = '0.6.2'; +const packageVersion = '0.6.3'; diff --git a/packages/aws_signature_v4/pubspec.yaml b/packages/aws_signature_v4/pubspec.yaml index 143d12526b..47eaca6968 100644 --- a/packages/aws_signature_v4/pubspec.yaml +++ b/packages/aws_signature_v4/pubspec.yaml @@ -1,6 +1,6 @@ name: aws_signature_v4 description: Dart implementation of the AWS Signature Version 4 algorithm, for communication with AWS services. -version: 0.6.2 +version: 0.6.3 homepage: https://docs.amplify.aws/lib/q/platform/flutter/ repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/aws_signature_v4 issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -10,7 +10,7 @@ environment: dependencies: async: ^2.10.0 - aws_common: ">=0.7.2 <0.8.0" + aws_common: ">=0.7.3 <0.8.0" collection: ^1.15.0 convert: ^3.0.0 crypto: ^3.0.0 diff --git a/packages/common/amplify_db_common/CHANGELOG.md b/packages/common/amplify_db_common/CHANGELOG.md index 2ddc78a410..f048f06a47 100644 --- a/packages/common/amplify_db_common/CHANGELOG.md +++ b/packages/common/amplify_db_common/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.4.5 + +- Minor bug fixes and improvements + ## 0.4.4 - Minor bug fixes and improvements diff --git a/packages/common/amplify_db_common/example/pubspec.yaml b/packages/common/amplify_db_common/example/pubspec.yaml index 8e908f07d2..52a0bd554f 100644 --- a/packages/common/amplify_db_common/example/pubspec.yaml +++ b/packages/common/amplify_db_common/example/pubspec.yaml @@ -7,7 +7,7 @@ environment: sdk: ^3.3.0 dependencies: - amplify_db_common: ">=0.4.4 <0.5.0" + amplify_db_common: ">=0.4.5 <0.5.0" drift: ">=2.18.0 <2.19.0" flutter: sdk: flutter diff --git a/packages/common/amplify_db_common/pubspec.yaml b/packages/common/amplify_db_common/pubspec.yaml index 08407fa01d..cc0abb2aba 100644 --- a/packages/common/amplify_db_common/pubspec.yaml +++ b/packages/common/amplify_db_common/pubspec.yaml @@ -1,6 +1,6 @@ name: amplify_db_common description: Common utilities for working with databases such as SQLite. -version: 0.4.4 +version: 0.4.5 homepage: https://github.com/aws-amplify/amplify-flutter/tree/main repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/common/amplify_db_common issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -10,7 +10,7 @@ environment: flutter: ">=3.19.0" dependencies: - amplify_db_common_dart: ">=0.4.5 <0.5.0" + amplify_db_common_dart: ">=0.4.6 <0.5.0" drift: ">=2.18.0 <2.19.0" flutter: sdk: flutter diff --git a/packages/common/amplify_db_common_dart/CHANGELOG.md b/packages/common/amplify_db_common_dart/CHANGELOG.md index 49874bae40..e21c828293 100644 --- a/packages/common/amplify_db_common_dart/CHANGELOG.md +++ b/packages/common/amplify_db_common_dart/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.4.6 + +- Minor bug fixes and improvements + ## 0.4.5 - Minor bug fixes and improvements diff --git a/packages/common/amplify_db_common_dart/pubspec.yaml b/packages/common/amplify_db_common_dart/pubspec.yaml index 46fdf5298c..7ede684144 100644 --- a/packages/common/amplify_db_common_dart/pubspec.yaml +++ b/packages/common/amplify_db_common_dart/pubspec.yaml @@ -1,6 +1,6 @@ name: amplify_db_common_dart description: Common utilities for working with databases such as sqlite. Used throughout Amplify packages. -version: 0.4.5 +version: 0.4.6 homepage: https://github.com/aws-amplify/amplify-flutter/tree/main repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/common/amplify_db_common_dart issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -9,9 +9,9 @@ environment: sdk: ^3.3.0 dependencies: - amplify_core: ">=2.4.0 <2.5.0" + amplify_core: ">=2.4.1 <2.5.0" async: ^2.10.0 - aws_common: ">=0.7.2 <0.8.0" + aws_common: ">=0.7.3 <0.8.0" drift: ">=2.18.0 <2.19.0" meta: ^1.7.0 path: ">=1.8.0 <2.0.0" diff --git a/packages/notifications/push/amplify_push_notifications/CHANGELOG.md b/packages/notifications/push/amplify_push_notifications/CHANGELOG.md index 5d397b184a..402f0c7c8e 100644 --- a/packages/notifications/push/amplify_push_notifications/CHANGELOG.md +++ b/packages/notifications/push/amplify_push_notifications/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.4.1 + +- Minor bug fixes and improvements + ## 2.4.0 - Minor bug fixes and improvements diff --git a/packages/notifications/push/amplify_push_notifications/android/build.gradle b/packages/notifications/push/amplify_push_notifications/android/build.gradle index 5ddf57a8e6..d24b7dc9bb 100644 --- a/packages/notifications/push/amplify_push_notifications/android/build.gradle +++ b/packages/notifications/push/amplify_push_notifications/android/build.gradle @@ -65,7 +65,7 @@ android { dependencies { api "com.google.firebase:firebase-messaging:23.2.0" // Import support library for Amplify push utils - implementation 'com.amplifyframework:aws-push-notifications-pinpoint-common:2.19.1' + implementation 'com.amplifyframework:aws-push-notifications-pinpoint-common:2.21.1' implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1" implementation project(path: ':flutter_plugin_android_lifecycle') implementation 'androidx.test:core-ktx:1.5.0' diff --git a/packages/notifications/push/amplify_push_notifications/pubspec.yaml b/packages/notifications/push/amplify_push_notifications/pubspec.yaml index a74675b49e..ef540fa1c2 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: 2.4.0 +version: 2.4.1 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.19.0" dependencies: - amplify_core: ">=2.4.0 <2.5.0" + amplify_core: ">=2.4.1 <2.5.0" amplify_secure_storage: ">=0.5.5 <0.6.0" async: ^2.10.0 flutter: @@ -20,10 +20,10 @@ dependencies: dev_dependencies: amplify_lints: ">=3.1.0 <3.2.0" - amplify_secure_storage_dart: ">=0.5.2 <0.6.0" + amplify_secure_storage_dart: ">=0.5.3 <0.6.0" amplify_test: path: ../../../test/amplify_test - aws_signature_v4: ">=0.6.2 <0.7.0" + aws_signature_v4: ">=0.6.3 <0.7.0" build_runner: ^2.4.9 build_test: ^2.1.5 flutter_test: diff --git a/packages/notifications/push/amplify_push_notifications_pinpoint/CHANGELOG.md b/packages/notifications/push/amplify_push_notifications_pinpoint/CHANGELOG.md index b4cc895f85..c3960c24e2 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 @@ +## 2.4.1 + +- Minor bug fixes and improvements + ## 2.4.0 ### Fixes diff --git a/packages/notifications/push/amplify_push_notifications_pinpoint/pubspec.yaml b/packages/notifications/push/amplify_push_notifications_pinpoint/pubspec.yaml index 379f581a4f..a1438d94ab 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: 2.4.0 +version: 2.4.1 homepage: https://docs.amplify.aws/lib/q/platform/flutter/ issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -15,9 +15,9 @@ platforms: dependencies: amplify_analytics_pinpoint: ">=2.4.0 <2.5.0" - amplify_analytics_pinpoint_dart: ">=0.4.4 <0.5.0" + amplify_analytics_pinpoint_dart: ">=0.4.5 <0.5.0" amplify_auth_cognito: ">=2.4.0 <2.5.0" - amplify_core: ">=2.4.0 <2.5.0" + amplify_core: ">=2.4.1 <2.5.0" amplify_flutter: ">=2.4.0 <2.5.0" amplify_push_notifications: ">=2.4.0 <2.5.0" amplify_secure_storage: ">=0.5.5 <0.6.0" @@ -27,11 +27,11 @@ dependencies: dev_dependencies: amplify_lints: ">=3.1.0 <3.2.0" - amplify_secure_storage_dart: ">=0.5.2 <0.6.0" + amplify_secure_storage_dart: ">=0.5.3 <0.6.0" amplify_test: path: ../../../test/amplify_test - aws_common: ">=0.7.2 <0.8.0" - aws_signature_v4: ">=0.6.2 <0.7.0" + aws_common: ">=0.7.3 <0.8.0" + aws_signature_v4: ">=0.6.3 <0.7.0" build_runner: ^2.4.9 built_value_generator: 8.8.1 flutter_test: diff --git a/packages/secure_storage/amplify_secure_storage/CHANGELOG.md b/packages/secure_storage/amplify_secure_storage/CHANGELOG.md index e9c980a0f8..e61c4b5ef2 100644 --- a/packages/secure_storage/amplify_secure_storage/CHANGELOG.md +++ b/packages/secure_storage/amplify_secure_storage/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.5.7 + +- Minor bug fixes and improvements + ## 0.5.6 ### Fixes diff --git a/packages/secure_storage/amplify_secure_storage/example/macos/Flutter/GeneratedPluginRegistrant.swift b/packages/secure_storage/amplify_secure_storage/example/macos/Flutter/GeneratedPluginRegistrant.swift index e777c67df2..f77d4813a0 100644 --- a/packages/secure_storage/amplify_secure_storage/example/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/packages/secure_storage/amplify_secure_storage/example/macos/Flutter/GeneratedPluginRegistrant.swift @@ -5,8 +5,10 @@ import FlutterMacOS import Foundation +import amplify_secure_storage import path_provider_foundation func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { + AmplifySecureStoragePlugin.register(with: registry.registrar(forPlugin: "AmplifySecureStoragePlugin")) PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) } diff --git a/packages/secure_storage/amplify_secure_storage/example/pubspec.yaml b/packages/secure_storage/amplify_secure_storage/example/pubspec.yaml index 4fa90df86e..3d50c7024d 100644 --- a/packages/secure_storage/amplify_secure_storage/example/pubspec.yaml +++ b/packages/secure_storage/amplify_secure_storage/example/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: dev_dependencies: amplify_lints: path: ../../../amplify_lints - amplify_secure_storage_dart: ">=0.3.0 <0.4.0" + amplify_secure_storage_dart: ">=0.5.3 <0.6.0" amplify_secure_storage_test: path: ../../amplify_secure_storage_test aws_common: ">=0.4.0 <0.5.0" diff --git a/packages/secure_storage/amplify_secure_storage/pubspec.yaml b/packages/secure_storage/amplify_secure_storage/pubspec.yaml index 5ad3bc136a..1d9b76ecb3 100644 --- a/packages/secure_storage/amplify_secure_storage/pubspec.yaml +++ b/packages/secure_storage/amplify_secure_storage/pubspec.yaml @@ -1,6 +1,6 @@ name: amplify_secure_storage description: A package for storing secrets, intended for use in Amplify libraries. -version: 0.5.6 +version: 0.5.7 homepage: https://github.com/aws-amplify/amplify-flutter/tree/main repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/secure_storage/amplify_secure_storage issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -10,7 +10,7 @@ environment: flutter: ">=3.19.0" dependencies: - amplify_secure_storage_dart: ">=0.5.2 <0.6.0" + amplify_secure_storage_dart: ">=0.5.3 <0.6.0" async: ^2.10.0 file: ">=6.0.0 <8.0.0" flutter: diff --git a/packages/secure_storage/amplify_secure_storage_dart/CHANGELOG.md b/packages/secure_storage/amplify_secure_storage_dart/CHANGELOG.md index e3dda6d449..44f48bd25a 100644 --- a/packages/secure_storage/amplify_secure_storage_dart/CHANGELOG.md +++ b/packages/secure_storage/amplify_secure_storage_dart/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.5.3 + +- Minor bug fixes and improvements + ## 0.5.2 ### Fixes diff --git a/packages/secure_storage/amplify_secure_storage_dart/example/pubspec.yaml b/packages/secure_storage/amplify_secure_storage_dart/example/pubspec.yaml index 620e478691..f54f976ff2 100644 --- a/packages/secure_storage/amplify_secure_storage_dart/example/pubspec.yaml +++ b/packages/secure_storage/amplify_secure_storage_dart/example/pubspec.yaml @@ -10,7 +10,7 @@ environment: sdk: ^3.3.0 dependencies: - amplify_secure_storage_dart: ">=0.3.0 <0.4.0" + amplify_secure_storage_dart: ">=0.5.3 <0.6.0" example_common: path: ../../../example_common diff --git a/packages/secure_storage/amplify_secure_storage_dart/pubspec.yaml b/packages/secure_storage/amplify_secure_storage_dart/pubspec.yaml index 8a0e783407..5d2bf3a6bf 100644 --- a/packages/secure_storage/amplify_secure_storage_dart/pubspec.yaml +++ b/packages/secure_storage/amplify_secure_storage_dart/pubspec.yaml @@ -1,6 +1,6 @@ name: amplify_secure_storage_dart description: A Dart-only implementation of `amplify_secure_storage`, using `dart:ffi` for Desktop and `dart:html` for Web. -version: 0.5.2 +version: 0.5.3 homepage: https://github.com/aws-amplify/amplify-flutter/tree/main repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/secure_storage/amplify_secure_storage_dart issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -21,7 +21,7 @@ platforms: dependencies: async: ^2.10.0 - aws_common: ">=0.7.2 <0.8.0" + aws_common: ">=0.7.3 <0.8.0" built_collection: ^5.0.0 built_value: ^8.6.0 ffi: ^2.0.0 @@ -30,7 +30,7 @@ dependencies: meta: ^1.7.0 path: ">=1.8.0 <2.0.0" win32: ">=4.1.2 <6.0.0" - worker_bee: ">=0.3.2 <0.4.0" + worker_bee: ">=0.3.3 <0.4.0" dev_dependencies: amplify_lints: ">=3.1.0 <3.2.0" @@ -42,7 +42,7 @@ dev_dependencies: built_value_generator: 8.8.1 ffigen: ^9.0.0 test: ^1.22.1 - worker_bee_builder: ">=0.3.1 <0.4.0" + worker_bee_builder: ">=0.3.2 <0.4.0" flutter: assets: diff --git a/packages/smithy/smithy/CHANGELOG.md b/packages/smithy/smithy/CHANGELOG.md index 5a23818f36..d6067b0d51 100644 --- a/packages/smithy/smithy/CHANGELOG.md +++ b/packages/smithy/smithy/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.7.3 + +- Minor bug fixes and improvements + ## 0.7.2 ### Chores diff --git a/packages/smithy/smithy/pubspec.yaml b/packages/smithy/smithy/pubspec.yaml index aed7117ac4..79af956b55 100644 --- a/packages/smithy/smithy/pubspec.yaml +++ b/packages/smithy/smithy/pubspec.yaml @@ -1,6 +1,6 @@ name: smithy description: Smithy client runtime for Dart with common utilities for I/O and serialization. -version: 0.7.2 +version: 0.7.3 homepage: https://github.com/aws-amplify/amplify-flutter/tree/main repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/smithy/smithy issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -10,7 +10,7 @@ environment: dependencies: async: ^2.10.0 - aws_common: ">=0.7.2 <0.8.0" + aws_common: ">=0.7.3 <0.8.0" built_collection: ^5.0.0 built_value: ^8.6.0 collection: ^1.15.0 diff --git a/packages/smithy/smithy_aws/CHANGELOG.md b/packages/smithy/smithy_aws/CHANGELOG.md index c074b05eb7..b910c32961 100644 --- a/packages/smithy/smithy_aws/CHANGELOG.md +++ b/packages/smithy/smithy_aws/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.7.3 + +- Minor bug fixes and improvements + ## 0.7.2 ### Chores diff --git a/packages/smithy/smithy_aws/pubspec.yaml b/packages/smithy/smithy_aws/pubspec.yaml index 4089b32481..b81cbd666c 100644 --- a/packages/smithy/smithy_aws/pubspec.yaml +++ b/packages/smithy/smithy_aws/pubspec.yaml @@ -1,6 +1,6 @@ name: smithy_aws description: Smithy runtime for AWS clients with utilities for endpoint resolution, retry behavior, and SigV4 signing. -version: 0.7.2 +version: 0.7.3 homepage: https://github.com/aws-amplify/amplify-flutter/tree/main repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/smithy/smithy_aws issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -9,8 +9,8 @@ environment: sdk: ^3.3.0 dependencies: - aws_common: ">=0.7.2 <0.8.0" - aws_signature_v4: ">=0.6.2 <0.7.0" + aws_common: ">=0.7.3 <0.8.0" + aws_signature_v4: ">=0.6.3 <0.7.0" built_collection: ^5.0.0 built_value: ^8.6.0 collection: ^1.15.0 @@ -21,7 +21,7 @@ dependencies: json_annotation: ">=4.9.0 <4.10.0" meta: ^1.7.0 path: ">=1.8.0 <2.0.0" - smithy: ">=0.7.2 <0.8.0" + smithy: ">=0.7.3 <0.8.0" xml: ">=6.3.0 <=6.5.0" dev_dependencies: diff --git a/packages/storage/amplify_storage_s3/CHANGELOG.md b/packages/storage/amplify_storage_s3/CHANGELOG.md index 1f5a0a3642..5c9f366395 100644 --- a/packages/storage/amplify_storage_s3/CHANGELOG.md +++ b/packages/storage/amplify_storage_s3/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.4.1 + +- Minor bug fixes and improvements + ## 2.4.0 - Minor bug fixes and improvements diff --git a/packages/storage/amplify_storage_s3/example/macos/Flutter/GeneratedPluginRegistrant.swift b/packages/storage/amplify_storage_s3/example/macos/Flutter/GeneratedPluginRegistrant.swift index c52c93b11a..c33812bc70 100644 --- a/packages/storage/amplify_storage_s3/example/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/packages/storage/amplify_storage_s3/example/macos/Flutter/GeneratedPluginRegistrant.swift @@ -6,6 +6,7 @@ import FlutterMacOS import Foundation import amplify_auth_cognito +import amplify_secure_storage import device_info_plus import package_info_plus import path_provider_foundation @@ -13,6 +14,7 @@ import url_launcher_macos func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { AmplifyAuthCognitoPlugin.register(with: registry.registrar(forPlugin: "AmplifyAuthCognitoPlugin")) + AmplifySecureStoragePlugin.register(with: registry.registrar(forPlugin: "AmplifySecureStoragePlugin")) DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin")) FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin")) PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) diff --git a/packages/storage/amplify_storage_s3/pubspec.yaml b/packages/storage/amplify_storage_s3/pubspec.yaml index 369da9e28e..66cc48427a 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: 2.4.0 +version: 2.4.1 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,10 +19,10 @@ platforms: web: dependencies: - amplify_core: ">=2.4.0 <2.5.0" - amplify_db_common: ">=0.4.4 <0.5.0" - amplify_storage_s3_dart: ">=0.4.4 <0.5.0" - aws_common: ">=0.7.2 <0.8.0" + amplify_core: ">=2.4.1 <2.5.0" + amplify_db_common: ">=0.4.5 <0.5.0" + amplify_storage_s3_dart: ">=0.4.5 <0.5.0" + aws_common: ">=0.7.3 <0.8.0" flutter: sdk: flutter meta: ^1.7.0 @@ -32,7 +32,7 @@ dev_dependencies: amplify_lints: ">=3.1.0 <3.2.0" amplify_test: path: ../../test/amplify_test - aws_signature_v4: ">=0.6.2 <0.7.0" + aws_signature_v4: ">=0.6.3 <0.7.0" flutter_test: sdk: flutter mocktail: ^1.0.0 diff --git a/packages/storage/amplify_storage_s3_dart/CHANGELOG.md b/packages/storage/amplify_storage_s3_dart/CHANGELOG.md index 05cb4600d6..5bdcd2ce9f 100644 --- a/packages/storage/amplify_storage_s3_dart/CHANGELOG.md +++ b/packages/storage/amplify_storage_s3_dart/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.4.5 + +- Minor bug fixes and improvements + ## 0.4.4 ### Chores diff --git a/packages/storage/amplify_storage_s3_dart/pubspec.yaml b/packages/storage/amplify_storage_s3_dart/pubspec.yaml index 144e216e91..75bc76ea93 100644 --- a/packages/storage/amplify_storage_s3_dart/pubspec.yaml +++ b/packages/storage/amplify_storage_s3_dart/pubspec.yaml @@ -1,6 +1,6 @@ name: amplify_storage_s3_dart description: A Dart-only implementation of the Amplify Storage plugin for S3. -version: 0.4.4 +version: 0.4.5 homepage: https://docs.amplify.aws/lib/q/platform/flutter/ repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/storage/amplify_storage_s3_dart issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -9,11 +9,11 @@ environment: sdk: ^3.3.0 dependencies: - amplify_core: ">=2.4.0 <2.5.0" - amplify_db_common_dart: ">=0.4.5 <0.5.0" + amplify_core: ">=2.4.1 <2.5.0" + amplify_db_common_dart: ">=0.4.6 <0.5.0" async: ^2.10.0 - aws_common: ">=0.7.2 <0.8.0" - aws_signature_v4: ">=0.6.2 <0.7.0" + aws_common: ">=0.7.3 <0.8.0" + aws_signature_v4: ">=0.6.3 <0.7.0" built_collection: ^5.0.0 built_value: ^8.6.0 drift: ">=2.18.0 <2.19.0" @@ -21,8 +21,8 @@ dependencies: json_annotation: ">=4.9.0 <4.10.0" meta: ^1.7.0 path: ">=1.8.0 <2.0.0" - smithy: ">=0.7.2 <0.8.0" - smithy_aws: ">=0.7.2 <0.8.0" + smithy: ">=0.7.3 <0.8.0" + smithy_aws: ">=0.7.3 <0.8.0" dev_dependencies: amplify_lints: ">=3.1.0 <3.2.0" diff --git a/packages/worker_bee/e2e/pubspec.yaml b/packages/worker_bee/e2e/pubspec.yaml index c3785f9b3c..020eec93f2 100644 --- a/packages/worker_bee/e2e/pubspec.yaml +++ b/packages/worker_bee/e2e/pubspec.yaml @@ -12,7 +12,7 @@ dependencies: fixnum: ^1.0.0 meta: ^1.7.0 test: ^1.22.1 - worker_bee: ">=0.3.2 <0.4.0" + worker_bee: ">=0.3.3 <0.4.0" dependency_overrides: aws_common: diff --git a/packages/worker_bee/e2e_test/pubspec.yaml b/packages/worker_bee/e2e_test/pubspec.yaml index 9fe5e81e74..8babfa1565 100644 --- a/packages/worker_bee/e2e_test/pubspec.yaml +++ b/packages/worker_bee/e2e_test/pubspec.yaml @@ -25,6 +25,6 @@ dev_dependencies: path: ../e2e meta: ^1.7.0 test: ^1.22.1 - worker_bee: ">=0.3.2 <0.4.0" + worker_bee: ">=0.3.3 <0.4.0" worker_bee_builder: path: ../worker_bee_builder diff --git a/packages/worker_bee/worker_bee/CHANGELOG.md b/packages/worker_bee/worker_bee/CHANGELOG.md index e6fd4be5c5..0344c2482b 100644 --- a/packages/worker_bee/worker_bee/CHANGELOG.md +++ b/packages/worker_bee/worker_bee/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.3.3 + +- Minor bug fixes and improvements + ## 0.3.2 - Minor bug fixes and improvements diff --git a/packages/worker_bee/worker_bee/pubspec.yaml b/packages/worker_bee/worker_bee/pubspec.yaml index b98728443f..14996fe026 100644 --- a/packages/worker_bee/worker_bee/pubspec.yaml +++ b/packages/worker_bee/worker_bee/pubspec.yaml @@ -1,6 +1,6 @@ name: worker_bee description: A cross-platform isolated worker runtime for Dart Web, VM, and Flutter. -version: 0.3.2 +version: 0.3.3 homepage: https://github.com/aws-amplify/amplify-flutter/tree/main repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/worker_bee/worker_bee issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -10,7 +10,7 @@ environment: dependencies: async: ^2.10.0 - aws_common: ">=0.7.2 <0.8.0" + aws_common: ">=0.7.3 <0.8.0" built_collection: ^5.0.0 built_value: ^8.6.0 collection: ^1.15.0 diff --git a/packages/worker_bee/worker_bee_builder/CHANGELOG.md b/packages/worker_bee/worker_bee_builder/CHANGELOG.md index 1d592ec99a..ee9f96fc47 100644 --- a/packages/worker_bee/worker_bee_builder/CHANGELOG.md +++ b/packages/worker_bee/worker_bee_builder/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.3.2 + +- Minor bug fixes and improvements + ## 0.3.1 - Minor bug fixes and improvements diff --git a/packages/worker_bee/worker_bee_builder/pubspec.yaml b/packages/worker_bee/worker_bee_builder/pubspec.yaml index 8e717d20f7..71d6560ee2 100644 --- a/packages/worker_bee/worker_bee_builder/pubspec.yaml +++ b/packages/worker_bee/worker_bee_builder/pubspec.yaml @@ -1,6 +1,6 @@ name: worker_bee_builder description: Builder package for worker_bee to quickly generate necessary boilerplate -version: 0.3.1 +version: 0.3.2 homepage: https://github.com/aws-amplify/amplify-flutter/tree/main repository: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/worker_bee/worker_bee_builder issue_tracker: https://github.com/aws-amplify/amplify-flutter/issues @@ -20,7 +20,7 @@ dependencies: source_gen: ^1.3.2 stream_channel: ^2.1.0 tuple: ^2.0.0 - worker_bee: ">=0.3.2 <0.4.0" + worker_bee: ">=0.3.3 <0.4.0" dev_dependencies: amplify_lints: ">=3.1.0 <3.2.0"