From a3e267efa7a93e9cbfdfd3dede60812c1556f30c Mon Sep 17 00:00:00 2001 From: Michael Law <1365977+lawmicha@users.noreply.github.com> Date: Mon, 29 Apr 2024 13:27:58 -0400 Subject: [PATCH 1/3] chore: skip report coverage (#3652) [skip ci] --- .github/workflows/unit_test.yml | 48 ++++++++++++++++----------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index 7873f7b5d8..1dbd2e4565 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -78,30 +78,30 @@ jobs: scheme: ${{ matrix.scheme }} generate_coverage_report: true - report-coverage: - name: ${{ matrix.file.scheme }} Unit Tests - needs: [unit-tests-with-coverage] - strategy: - fail-fast: false - matrix: - file: [ - { scheme: Amplify, flags: 'Amplify,unit_tests' }, - { scheme: AWSPluginsCore, flags: 'AWSPluginsCore,unit_tests' }, - { scheme: AWSAPIPlugin, flags: 'API_plugin_unit_test,unit_tests' }, - { scheme: AWSCloudWatchLoggingPlugin, flags: 'Logging_plugin_unit_test,unit_tests' }, - { scheme: AWSCognitoAuthPlugin, flags: 'Auth_plugin_unit_test,unit_tests' }, - { scheme: AWSDataStorePlugin, flags: 'DataStore_plugin_unit_test,unit_tests' }, - { scheme: AWSLocationGeoPlugin, flags: 'Geo_plugin_unit_test,unit_tests' }, - { scheme: AWSPredictionsPlugin, flags: 'Predictions_plugin_unit_test,unit_tests' }, - { scheme: AWSPinpointAnalyticsPlugin, flags: 'Analytics_plugin_unit_test,unit_tests' }, - { scheme: AWSPinpointPushNotificationsPlugin, flags: 'PushNotifications_plugin_unit_test,unit_tests' }, - { scheme: AWSS3StoragePlugin, flags: 'Storage_plugin_unit_test,unit_tests' }, - { scheme: CoreMLPredictionsPlugin, flags: 'CoreMLPredictions_plugin_unit_test,unit_tests' } - ] - uses: ./.github/workflows/upload_coverage_report.yml - with: - scheme: ${{ matrix.file.scheme }} - flags: ${{ matrix.file.flags }} + # report-coverage: + # name: ${{ matrix.file.scheme }} Unit Tests + # needs: [unit-tests-with-coverage] + # strategy: + # fail-fast: false + # matrix: + # file: [ + # { scheme: Amplify, flags: 'Amplify,unit_tests' }, + # { scheme: AWSPluginsCore, flags: 'AWSPluginsCore,unit_tests' }, + # { scheme: AWSAPIPlugin, flags: 'API_plugin_unit_test,unit_tests' }, + # { scheme: AWSCloudWatchLoggingPlugin, flags: 'Logging_plugin_unit_test,unit_tests' }, + # { scheme: AWSCognitoAuthPlugin, flags: 'Auth_plugin_unit_test,unit_tests' }, + # { scheme: AWSDataStorePlugin, flags: 'DataStore_plugin_unit_test,unit_tests' }, + # { scheme: AWSLocationGeoPlugin, flags: 'Geo_plugin_unit_test,unit_tests' }, + # { scheme: AWSPredictionsPlugin, flags: 'Predictions_plugin_unit_test,unit_tests' }, + # { scheme: AWSPinpointAnalyticsPlugin, flags: 'Analytics_plugin_unit_test,unit_tests' }, + # { scheme: AWSPinpointPushNotificationsPlugin, flags: 'PushNotifications_plugin_unit_test,unit_tests' }, + # { scheme: AWSS3StoragePlugin, flags: 'Storage_plugin_unit_test,unit_tests' }, + # { scheme: CoreMLPredictionsPlugin, flags: 'CoreMLPredictions_plugin_unit_test,unit_tests' } + # ] + # uses: ./.github/workflows/upload_coverage_report.yml + # with: + # scheme: ${{ matrix.file.scheme }} + # flags: ${{ matrix.file.flags }} unit-test-pass-confirmation: runs-on: ubuntu-latest From 87a857cde71e465f0da76068f98483e18b9a0417 Mon Sep 17 00:00:00 2001 From: aws-amplify-ops Date: Mon, 29 Apr 2024 17:58:26 +0000 Subject: [PATCH 2/3] chore: release 2.32.0 [skip ci] --- .../ServiceConfiguration/AmplifyAWSServiceConfiguration.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AmplifyPlugins/Core/AWSPluginsCore/ServiceConfiguration/AmplifyAWSServiceConfiguration.swift b/AmplifyPlugins/Core/AWSPluginsCore/ServiceConfiguration/AmplifyAWSServiceConfiguration.swift index de46ed476c..53d5a1416d 100644 --- a/AmplifyPlugins/Core/AWSPluginsCore/ServiceConfiguration/AmplifyAWSServiceConfiguration.swift +++ b/AmplifyPlugins/Core/AWSPluginsCore/ServiceConfiguration/AmplifyAWSServiceConfiguration.swift @@ -15,7 +15,7 @@ import Amplify public class AmplifyAWSServiceConfiguration { /// - Tag: AmplifyAWSServiceConfiguration.amplifyVersion - public static let amplifyVersion = "2.31.1" + public static let amplifyVersion = "2.32.0" /// - Tag: AmplifyAWSServiceConfiguration.platformName public static let platformName = "amplify-swift" From af4a5f751511fd4e6ebafbe7ae2ff902c145dfae Mon Sep 17 00:00:00 2001 From: aws-amplify-ops Date: Mon, 29 Apr 2024 18:00:02 +0000 Subject: [PATCH 3/3] chore: finalize release 2.32.0 [skip ci] --- CHANGELOG.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce92ffe40b..6849cb7ea0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## 2.32.0 (2024-04-29) + +### Features + +- **storage**: update Storage APIs with StoragePath parameter +- **Storage**: Adding integration tests for getURL, remove and list (#3584) +- **Storage**: Refactor list objects API to include `path` (#3580) +- **storage**: update storage upload APIs to use storage path (#3574) +- **Storage**: Refactor GetURL API to include `path` (#3573) +- **storage**: update storage download api (#3561) +- **storage**: refactor storage remove api by including path (#3571) +- **storage**: add new storage gen2 APIs (#3559) + +### Bug Fixes + +- **Auth**: Fixing the Gen2 json configuration used by the Authenticator (#3647) + ## 2.31.1 (2024-04-26) ### Bug Fixes