Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into flutter-datastore-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
5d committed Apr 29, 2024
2 parents 3983918 + af4a5f7 commit cd1c885
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 25 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit cd1c885

Please sign in to comment.