Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add `S3PathResolver` chore: update `getUrl` and `getProperties` API chore: update S3UploadTask chore: fix tests chore: validate storage path chore: add tests for S3PathResolver feat: Gen 2 Upload APIs (#4542) * feat: add path parameter and made key optional Co-Authored-By: Jordan Nelson <[email protected]> * chore: added/modified unit tests and added a missing deprecation tag Co-Authored-By: Jordan Nelson <[email protected]> * chore: added extra assert statement to make sure users don't put in both path and key into upload method Co-Authored-By: Jordan Nelson <[email protected]> * chore: add ignore statements to ignore key deprecated warnings * chore: add ignore statements for deprecated members --------- Co-authored-by: Jordan Nelson <[email protected]> chore: refactor StoragePath (#4544) chore: remove `key` from public APIs chore: update tests to adjust for using path chore: fix lint issues chore: fix formatting chore: fix test chore: remove lint ignored chore: update comment chore: remove unused method chore: skip tests other than main chore: update generated code chore: add leading `/` feat(storage): copy and move APIs (#4569) * chore: update copy api * chore: update integ tests for copy * chore: removed unused code * chore: add back test chore: update download apis to use path (#4561) * chore: add `StoragePath` * chore: add `S3PathResolver` * chore: update `getUrl` and `getProperties` API * chore: update S3UploadTask * chore: fix tests * chore: validate storage path * chore: add tests for S3PathResolver * feat: Gen 2 Upload APIs (#4542) * feat: add path parameter and made key optional Co-Authored-By: Jordan Nelson <[email protected]> * chore: added/modified unit tests and added a missing deprecation tag Co-Authored-By: Jordan Nelson <[email protected]> * chore: added extra assert statement to make sure users don't put in both path and key into upload method Co-Authored-By: Jordan Nelson <[email protected]> * chore: add ignore statements to ignore key deprecated warnings * chore: add ignore statements for deprecated members --------- Co-authored-by: Jordan Nelson <[email protected]> * chore: refactor StoragePath (#4544) * chore: remove `key` from public APIs * chore: update tests to adjust for using path * chore: fix lint issues * chore: fix formatting * chore: fix test * chore: remove lint ignored * chore: update comment * chore: remove unused method * chore: update download apis to use path * chore: skip tests other than main * chore: run dart format on both files that are receiving analyze warnings * chore: used dart fix to add trailing commas * chore: fixed formatting * chore: run format on test files * chore: fix formatting in integration tests * chore: update generated code * chore: add leading `/` * chore: remove access level from e2e test * fix(auth): device metadata migration (#4503) * merge main * chore: added a bracket and removed new keywords * chore: changed signature of deleteLegacyDeviceSecrets and regenerated pigeons. Changed legacysecrethandler.kt file to .txt to "comment" it out * chore: run dart format on generated file * chore: migrateLegacyDeviceSecrets now gets called before deleteLegacyCredentials. Cognito_device_secrets return type fixed * chore: add delete and fetch methods to the cognito swift file * fix: various issues with implementation * chore: fix lint issues * test: update test to include mfa and token refresh * chore: use coroutines, add plugin * chore: remove generate code in iOS * chore: fetch asf deviceId from shared prefs directly * chore: update error name * chore: remove native auth plugin * chore: remove old legacy handler * chore: remove check for null device metadata * chore: flatten nested if statements * chore: remove unused type --------- Co-authored-by: Kha Truong <[email protected]> * fix(auth): Allow retries with verifyTotpSetup() (#4532) * chore(version): cherry pick Bump version (#4545) * fix(auth): verifyTotp throw EnableSoftwareTokenMfaException (#4558) * chore(version): cherry pick Bump version (#4560) * chore: Update BUG-REPORT.yaml (#4568) * fix: correct `package_info_plus` version constraint (#4583) chore: fix version constraint * feat(storage): copy and move APIs (#4569) * chore: update copy api * chore: update integ tests for copy * chore: removed unused code * chore: add back test * chore: update download apis to use path * chore: remove duplicate code from rebase * chore: removed random text file * chore: remove commented code * chore: fix failing tests * chore: update options, tests * chore: update options classes * chore: add back temp dir * chore: fix integ test * chore: add skip back to io specific test * chore: skip test set up in configs other than main --------- Co-authored-by: Jordan Nelson <[email protected]> Co-authored-by: Jordan Nelson <[email protected]> Co-authored-by: Jordan Nelson <[email protected]> Co-authored-by: Elijah Quartey <[email protected]> feat(storage): update `remove` and `removeMany` APIs (#4593) * chore: update removeMany API * chore: update remove api, tests * chore: handle leading slash * test: update e2e tests * chore: update sample app * chore: fix comment * chore: add doc comment * chore: update path validation logic * chore: remove leading `/` from tests * chore: add `/` back to `StoragePathValidationException` test * chore: update tests * chore: remove leading `/` * chore: update tests chore: remove unused types and constructors, use consistent naming (#4603) * chore: remove unused types and properties * fix: set path of S3Item in download file * chore: use consistent naming when resolving path * chore: update path resolution in tests * fix: update where leading `/` is added for getUrl feat: update list API (#4600) * feat: list API init commit * chore: removed / from beginning of paths * chore: fix formatting * chore: fix formatting and tests * chore: fix formatting in storage_s3_service_test.dart * chore: remove commented code and and / before paths * Apply suggestions from code review Co-authored-by: Jordan Nelson <[email protected]> * chore: remove accessLevel from StorageListOptions * chore: removed prefix formatter and fixed formatting * chore: removed unused field * chore: remove prefix resolver and fix classes * chore: change variable name Co-Authored-By: Jordan Nelson <[email protected]> * chore: fix formatting * chore: add deleted documentation back in * chore: fixed comment placement --------- Co-authored-by: Jordan Nelson <[email protected]> Co-authored-by: Jordan Nelson <[email protected]> chore(storage): cleanup and enable tests (#4617) * chore: update canary tests * chore: remove `StorageOperationOptions` * chore: remove access level from examples * chore: update doc comment * chore: enable transfer acceleration tests * chore: update not found message * chore: update `S3PathResolver` doc comments * fix: copy impl * chore: remove skips from tests * chore: add back other env to integ tests * chore: remove targetIdentityId from `S3ListOptions` * chore: remove try/catch from test * chore: update formatting * chore: update copy test Update packages/storage/amplify_storage_s3/example/integration_test/use_case_test.dart chore: add space back to test path chore: update path in test chore: clean up example app chore: rename `withIdentityId` to `fromIdentityId` chore: add validation for empty path chore: add tests for path resolver chore: remove reference to CLI in doc comment chore: add comment to `StoragePathFromIdentityId` chore: revert public API changes in s3 list result chore: use `resolvePaths` in copy API chore: update error handling for identityId chore: undo changes to type cast in html download file chore: fix failing copy tests chore: update doc comment Co-authored-by: NikaHsn <[email protected]>
- Loading branch information