Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: main to api-v6 2023-08-01 (#11704)
* feat(data): add CCI config for GraphQL API optimistic UI E2E tests (#11585) * chore: update size limit that is too tight (#11652) * chore: update size limit that is too tight * chore(prediction): update size limit after custom s3 client * fix: duplicate entry in connection states (#11579) Co-authored-by: Aaron S <94858815+stocaaro@users.noreply.github.com> Co-authored-by: AllanZhengYP <zheallan@amazon.com> * fix(api-rest): refactor ajax method to not relying on side effects (#11498) * fix(api-rest): refactor ajax method to not relying on side effects the previous Signer.sign() implementation not only returns signed request, but also sets the signed headers to input request. The recent refactor makes it side-effect-less. However this change breaks RestClient.ajax() clock skew correction which relies on the x-amz-date header set by signer to the input request object to indicate the current client side time. this fix resolves #11480 * chore: Enable automatic license checking (#11604) * chore(release): Publish [ci skip] - @aws-amplify/analytics@6.4.1 - @aws-amplify/api-graphql@3.4.5 - @aws-amplify/api-rest@3.4.0 - @aws-amplify/api@5.3.5 - @aws-amplify/auth@5.5.5 - aws-amplify@5.3.5 - @aws-amplify/cache@5.1.5 - @aws-amplify/core@5.7.0 - @aws-amplify/datastore-storage-adapter@2.0.42 - @aws-amplify/datastore@4.6.5 - @aws-amplify/geo@2.2.0 - @aws-amplify/interactions@5.2.5 - @aws-amplify/notifications@1.5.0 - @aws-amplify/predictions@5.4.5 - @aws-amplify/pubsub@5.4.1 - @aws-amplify/pushnotification@5.0.39 - @aws-amplify/storage@5.8.0 * chore(release): update API docs [ci skip] * chore: Move Storage TS dependency to `devDependencies` (#11666) * chore: pin @smtihy/types to 1.1.0 to prevent build failure in TS3.8 (#11673) chore: ping @smtihy/types to 1.1.0 to prevent build failure in TS3.8 This is ok because the AWS SDK and crypto dependencies have been pinned already * chore: remove smithy resolution (#11682) * feat: custom user agent Geo changes for UI handoff (#11632) * feat: custom user agent Storage changes for UI handoff (#11627) * chore: move storage code to InternalStorage.ts * chore: update class and module name to InternalStorage and update imports * feat: add customUserAgentDetails param to public methods * feat: add customUserAgentDetails to getProperties methods, fix cancel overload * feat: make Storage extend internal storage and override public methods * feat: export InternalStorage from internals scope * feat: send user agent details from public copy api to service call * fix: add missing storage action, fix other minor issues * feat: add userAgentValue with received user agent details to AWSS3Provider options * fix: send getproperties instead of copy from getproperties method * test: update tests to handle new form of passing user agent * Revert "test: update tests to handle new form of passing user agent" This reverts commit 4bc7c48. * fix: fix jumbled StorageActions * test: update CustomUserAgent test * test: remove storageAction param and asserts from test * chore: increase bundle size limits * chore: publish feature branch for testing * Feat/custom user agent UI/inappmessaging (#11656) * chore: copy InAppMessaging to InternalInAppMessaging * feat: add customUserAgentDetails param to InternalInAppMessaging * feat: make InAppMessaging extend InternalInAppMessaging * feat: send sync userAgentDetails through to service call * fix: add SyncMessages value to InAppMessagingAction * chore: remove extra parameter from non-service-call functions * fix: fix typo in InAppMessagingAction * feat: send user agent details through identify user to service call * chore: remove unused import * feat: allow InAppMessaging to be configured independently of Notifications * test: update tests for internal changes * build: export InternalInAppMessaging from scoped path * fix: resolve bundle size * chore: bundle size settings * chore: increase bundle size limits * chore: fix typo * fix: update references to type with typo * Feat/custom user agent UI/geo (#11657) * chore: copy Geo code into InternalGeo * feat: add geo actions * feat: add customUserAgentDetails to geo provider * feat: add customUserAgentDetails to public api's and send to service calls * feat: make Geo extend InternalGeo and override public API's * build: export InternalGeo from scoped geo/internals path * chore: increase bundle size limits * chore: increase bundle size limits * feat: add user agent param to action that was missed * chore: update doc-strings with new param * Revert "Merge branch 'feat/custom-user-agent-ui/main' into feat/custom-user-agent-ui/storage" This reverts commit f0e8657, reversing changes made to ec1ed1a. * fix: remove userAgentValue from CommonStorageOptions * feat: add userAgentValue param to StorageProvider and implement * fix: update config type to param type at position * test: update test class based on changes * chore: add new param to jsdocs * chore: update comment from LastParameter (now ConfigParameter) * chore: add comment explaining StorageProviderApiOptionsIndexMap * chore: increase bundle size limits * fix: send userAgentValue through storage put and list * chore: remove outdated TODO comment * chore: increase bundle size limits * feat: custom user agent InAppMessaging changes for UI handoff (#11639) * chore: copy InAppMessaging to InternalInAppMessaging * feat: add customUserAgentDetails param to InternalInAppMessaging * feat: make InAppMessaging extend InternalInAppMessaging * feat: send sync userAgentDetails through to service call * fix: add SyncMessages value to InAppMessagingAction * chore: remove extra parameter from non-service-call functions * fix: fix typo in InAppMessagingAction * feat: send user agent details through identify user to service call * chore: remove unused import * feat: allow InAppMessaging to be configured independently of Notifications * test: update tests for internal changes * build: export InternalInAppMessaging from scoped path * fix: resolve bundle size * chore: bundle size settings * chore: increase bundle size limits * chore: fix typo * fix: update references to type with typo * chore: update jsdocs in InternalInAppMessaging * chore: increase bundle size limit * chore: shorten jsdocs comment * fix: first attempt to fix InAppMessaging internals * fix: fix internals package.json paths * test: fix import form internals * chore: increase bundle size limits * chore(release): Publish [ci skip] - @aws-amplify/analytics@6.5.0 - @aws-amplify/api-graphql@3.4.6 - @aws-amplify/api-rest@3.5.0 - @aws-amplify/api@5.4.0 - @aws-amplify/auth@5.6.0 - aws-amplify@5.3.6 - @aws-amplify/cache@5.1.6 - @aws-amplify/core@5.8.0 - @aws-amplify/datastore-storage-adapter@2.0.43 - @aws-amplify/datastore@4.7.0 - @aws-amplify/geo@2.3.0 - @aws-amplify/interactions@5.2.6 - @aws-amplify/notifications@1.6.0 - @aws-amplify/predictions@5.5.0 - @aws-amplify/pubsub@5.5.0 - @aws-amplify/pushnotification@5.0.40 - @aws-amplify/storage@5.9.0 * chore(release): update API docs [ci skip] * bumped bundle size in API category, with margin while in feature dev * re-added diagnostics and test ignore to api-graphql package.json * lowered coverage threshold for api category --------- Co-authored-by: David McAfee <mcafd@amazon.com> Co-authored-by: AllanZhengYP <zheallan@amazon.com> Co-authored-by: takpen <131546291+takpen@users.noreply.github.com> Co-authored-by: Aaron S <94858815+stocaaro@users.noreply.github.com> Co-authored-by: Jim Blanchard <jim.l.blanchard@gmail.com> Co-authored-by: aws-amplify-bot <aws@amazon.com> Co-authored-by: israx <70438514+israx@users.noreply.github.com> Co-authored-by: erinleigh90 <106691284+erinleigh90@users.noreply.github.com>
- Loading branch information