Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge main into in-app-messaging/main (#10264)
* Added ExpoSQLiteAdapter and Code Sharing for common files * changes to naming and updates regarding feedback from Draft PR * remove local changes from .vscode and package.json * Apply feedback from Caleb's and Chris's Code Review * remove unused imports and warn about db errors * added @types/react-native-sqlite-storage as devDependency for improved typing * Apply feedback from Chris and fix the initial sync problem * re-order dependencies * Addressed feedback from Chris * Assign any type to Result from SQLResultSetRowList as defined in expo-sqlite docs * Seperate entrypoint for ExpoSQLiteAdapter * Apply feedback from Caleb & Chris, Remove unused variable and separate entrypoints * Remove unnecesary async, alphabetic order for import statements and npm packages, single transaction for batchSave * remove unnecessary casting * Removed version, size and description args from openDatabase as they are not being used * Removed version, size and description args from openDatabase and moved entrypoint files in folders * Add initial unit tests for ExpoSQLiteAdapter * Add more tests and change the location * Address feedback from Chris * ci: canaries rn workaround (#10020) * fix: decrease error handler verbosity on self recovering errors (#10030) restore warning message * fix: Update Auth to import JS using named export (#10033) Imports specific functions instead of the whole JS module to improve bundle size * fix(analytics): Buffer limit should be adhered to (#10015) Co-authored-by: Chris Fang <chrfang@amazon.com> * chore(CODEOWNERS): update geo category codeowners (#10048) * fix: pin vue version (#10052) * fix(amazon-cognito-identity-js): Missing cognito user challenge name … (#10047) * fix(amazon-cognito-identity-js): Missing cognito user challenge name type * fix(type): Fix other functions reported in #6974 * Update Auth units with correct ChallengeName Co-authored-by: elorzafe <elorzafe@amazon.com> * chore: preparing release * chore(release): Publish [ci skip] - amazon-cognito-identity-js@5.2.10 - @aws-amplify/ui-angular@1.0.54 - @aws-amplify/ui-components@1.9.25 - @aws-amplify/ui-react@1.2.45 - @aws-amplify/ui-storybook@2.0.45 - @aws-amplify/ui-vue@1.1.39 - @aws-amplify/analytics@5.2.12 - @aws-amplify/api-graphql@2.3.9 - @aws-amplify/api-rest@2.0.45 - @aws-amplify/api@4.0.45 - @aws-amplify/auth@4.5.9 - aws-amplify-angular@6.0.45 - aws-amplify-react@5.1.28 - aws-amplify-vue@2.1.7 - aws-amplify@4.3.27 - @aws-amplify/cache@4.0.47 - @aws-amplify/core@4.5.9 - @aws-amplify/datastore-storage-adapter@1.3.5 - @aws-amplify/datastore@3.12.2 - @aws-amplify/geo@1.3.8 - @aws-amplify/interactions@4.0.45 - @aws-amplify/predictions@4.0.45 - @aws-amplify/pubsub@4.4.6 - @aws-amplify/pushnotification@4.3.24 - @aws-amplify/storage@4.4.28 - @aws-amplify/xr@3.0.45 * chore(release): update version.ts [ci skip] * chore: add dpilch to datastore codeowners (#10031) * chore(datastore): Add schema-drift integration test (#10077) * Datastore/feat user agent suffix (#10086) * Adds suffix to user agent for calls to API initiated by DataStore * Attempts to fix first half of user agent not being sent * Makes setting of user agent header more concise * Moves appending of suffix to user agent to core library * Moves user agent suffix constant to common util in datastore * Removes unused import * Unit test for api-graphql * Pulls in user agent suffix from datastore utils class * Adds unit test for getAmplifyUserAgent with and without content * Fixes issue found while testing, line too long. * Adds test for DataStore mutation.ts * Tests user agent suffix in datastore sync * Adds user agent suffix assertion to subscription test * Fixes variable declaration: const instead of let * Removes leftover lines of code from testing objectContains * Removes code style changes unrelated to user agent suffix * Removes code style changes unrelated to user agent suffix * Removes unnecessary null value option for userAgentSuffix - undefined is sufficient * Replaces imports from lib-esm * Replaces hard-coded string in assertion with constant from util file * Moves var declaration under import * Makes test method names more descriptive Co-authored-by: Erin Beal <erinleig@amazon.com> * chore(data): update CODEOWNERS file * Update .github/CODEOWNERS Co-authored-by: Jon Wire <iambipedal@gmail.com> * fix: preserve ssr context when using DataStore (#10088) * fix: Update AmazonPersonalizeProvider Analytics typings (#10076) * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.55 - @aws-amplify/ui-components@1.9.26 - @aws-amplify/ui-react@1.2.46 - @aws-amplify/ui-storybook@2.0.46 - @aws-amplify/ui-vue@1.1.40 - @aws-amplify/analytics@5.2.13 - @aws-amplify/api-graphql@2.3.10 - @aws-amplify/api-rest@2.0.46 - @aws-amplify/api@4.0.46 - @aws-amplify/auth@4.5.10 - aws-amplify-angular@6.0.46 - aws-amplify-react@5.1.29 - aws-amplify@4.3.28 - @aws-amplify/cache@4.0.48 - @aws-amplify/core@4.5.10 - @aws-amplify/datastore-storage-adapter@1.3.6 - @aws-amplify/datastore@3.12.3 - @aws-amplify/geo@1.3.9 - @aws-amplify/interactions@4.0.46 - @aws-amplify/predictions@4.0.46 - @aws-amplify/pubsub@4.4.7 - @aws-amplify/pushnotification@4.3.25 - @aws-amplify/storage@4.4.29 - @aws-amplify/xr@3.0.46 * chore(release): update version.ts [ci skip] * Fix typo in contributing guide (#10104) * feat(@aws-amplify/storage): Access all files from S3 with List API (#10095) Co-authored-by: Aaron S <94858815+stocaaro@users.noreply.github.com> * feat(@aws-amplify/auth): Auto sign in after sign up (#10126) Fixes: #6320 #3882 #3631 #6018 Co-authored-by: Balashova <helgabalashova> Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.56 - @aws-amplify/ui-components@1.9.27 - @aws-amplify/ui-react@1.2.47 - @aws-amplify/ui-storybook@2.0.47 - @aws-amplify/ui-vue@1.1.41 - @aws-amplify/analytics@5.2.14 - @aws-amplify/api-graphql@2.3.11 - @aws-amplify/api-rest@2.0.47 - @aws-amplify/api@4.0.47 - @aws-amplify/auth@4.6.0 - aws-amplify-angular@6.0.47 - aws-amplify-react@5.1.30 - aws-amplify@4.3.29 - @aws-amplify/cache@4.0.49 - @aws-amplify/core@4.6.0 - @aws-amplify/datastore-storage-adapter@1.3.7 - @aws-amplify/datastore@3.12.4 - @aws-amplify/geo@1.3.10 - @aws-amplify/interactions@4.0.47 - @aws-amplify/predictions@4.0.47 - @aws-amplify/pubsub@4.4.8 - @aws-amplify/pushnotification@4.3.26 - @aws-amplify/storage@4.5.0 - @aws-amplify/xr@3.0.47 * chore(release): update version.ts [ci skip] * Fix grammar errors and clarify testing requirements (#10122) Co-authored-by: Aaron S <94858815+stocaaro@users.noreply.github.com> * fix(auth): Unauthenticated identity throws AuthError without user … (#10090) Co-authored-by: Aaron S <94858815+stocaaro@users.noreply.github.com> * GH-9824 - PubSub Connection state tracking for AppSyncRealtime (#10063) Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> * chore(deps): bump tzinfo from 1.2.9 to 1.2.10 in /docs (#10102) * fix(@aws-amplify/auth): fix storage bug for auto sign in value (#10139) Co-authored-by: Balashova <olybalas@98dd60782ea0.ant.amazon.com> Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.57 - @aws-amplify/ui-components@1.9.28 - @aws-amplify/ui-react@1.2.48 - @aws-amplify/ui-storybook@2.0.48 - @aws-amplify/ui-vue@1.1.42 - @aws-amplify/analytics@5.2.15 - @aws-amplify/api-graphql@2.3.12 - @aws-amplify/api-rest@2.0.48 - @aws-amplify/api@4.0.48 - @aws-amplify/auth@4.6.1 - aws-amplify-angular@6.0.48 - aws-amplify-react@5.1.31 - aws-amplify@4.3.30 - @aws-amplify/cache@4.0.50 - @aws-amplify/core@4.6.1 - @aws-amplify/datastore-storage-adapter@1.3.8 - @aws-amplify/datastore@3.12.5 - @aws-amplify/geo@1.3.11 - @aws-amplify/interactions@4.0.48 - @aws-amplify/predictions@4.0.48 - @aws-amplify/pubsub@4.4.9 - @aws-amplify/pushnotification@4.3.27 - @aws-amplify/storage@4.5.1 - @aws-amplify/xr@3.0.48 * chore(release): update version.ts [ci skip] * Revert "Merge branch 'expo-sqlite-adapter-unit-tests' into main" (#10151) This reverts commit d8637cc, reversing changes made to 186349e. * feat(@aws-amplify/core): Throw Error if body attribute passed to Sign… (#10137) * feat(@aws-amplify/core): Throw Error if body attribute passed to Signer.sign() Co-authored-by: Ahilash Sasidharan ahilashs@yahoo.com * Set space-before-function-paren to false for unit test * Make changes in response to PR comments * Make changes in response to PR comments * Find issue with unit tests * Move sign error tests into Signer-test * Set space-before-function-paren to false for unit test * Run test with space-before-function-paren set to true * Fix space before function error * Update tslint.json Set "space-before-function-paren" back to default setting. * Remove spaces before keyword "function" Return original formatting rule of no-spaces before "function" keyword. Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com> * fix(datastore): make di context fields private (#10162) * Updating config.yml to mitigate circle CI pipeline failures from outdated Xcode image (#10158) * updating config.yml for testing changes to staging * removing android integ tests for now * Update config.yml * removing code used for testing Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> * kinesis fix * update personalize type to accomodate string * Revert "update personalize type to accomodate string" This reverts commit 9326beb. * Revert "kinesis fix" This reverts commit 763609b. * fix(pubsub): Add distinct RN Reachibility implementation (#10175) * fix(pubsub): Add distinct RN Reachibility implementation * fix(PubSub): Fix monitor tests * Fix: Analytics Type issue (#10185) * kinesis fix * ci: automate GitHub releases with lerna (#10189) Co-authored-by: Sridhar <ashwsrir@bcd07413f71a.ant.amazon.com> Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> * chore: ci: Disabling integ_rn_ios_datastore_sqlite_adapter test (#10193) * Disabling integ_rn_ios_datastore_sqlite_adapter test * Update config.yml * Revert "ci: automate GitHub releases with lerna (#10189)" This reverts commit f59fa9f. * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.58 - @aws-amplify/ui-components@1.9.29 - @aws-amplify/ui-react@1.2.49 - @aws-amplify/ui-storybook@2.0.49 - @aws-amplify/ui-vue@1.1.43 - @aws-amplify/analytics@5.2.16 - @aws-amplify/api-graphql@2.3.13 - @aws-amplify/api-rest@2.0.49 - @aws-amplify/api@4.0.49 - @aws-amplify/auth@4.6.2 - aws-amplify-angular@6.0.49 - aws-amplify-react@5.1.32 - aws-amplify@4.3.31 - @aws-amplify/cache@4.0.51 - @aws-amplify/core@4.7.0 - @aws-amplify/datastore-storage-adapter@1.3.9 - @aws-amplify/datastore@3.12.6 - @aws-amplify/geo@1.3.12 - @aws-amplify/interactions@4.0.49 - @aws-amplify/predictions@4.0.49 - @aws-amplify/pubsub@4.4.10 - @aws-amplify/pushnotification@4.3.28 - @aws-amplify/storage@4.5.2 - @aws-amplify/xr@3.0.49 * chore(release): update version.ts [ci skip] * fix:(@aws-amplify/interactions): refactor-lex-v1 (#10155) * fix: An update to @types/lodash breaks the build - specify last working version to unblock (#10221) * fix(interactions): fix configure default provider (#10215) * fix(interactions): fix configure default provider * chore: pin @types/lodash version in aws-amplify-angular Co-authored-by: Sridhar <ashwsrir@bcd07413f71a.ant.amazon.com> * feat: PubSub Connection state tracking for MQTT and IoT providers (#10136) * feat: PubSub Connection state tracking for MQTT and IoT providers * fix: Add disconnect message on connection lost * fix(pubsub): Connection Ack verification bug (#10200) * fex(pubsub): Add distinct RN Reachibility implementation * fix(PubSub): Monitor tests * fix(pubsub): Connection Ack verification bug * Fix the test * fix: Add tests to cover the fixed bug * Update packages/pubsub/src/Providers/AWSAppSyncRealTimeProvider/index.ts Co-authored-by: Francisco Rodriguez <elorzafe@amazon.com> * Update packages/pubsub/__tests__/AWSAppSyncRealTimeProvider.test.ts Co-authored-by: Francisco Rodriguez <elorzafe@amazon.com> * Test fix * Fix test Co-authored-by: Francisco Rodriguez <elorzafe@amazon.com> * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.59 - @aws-amplify/ui-components@1.9.30 - @aws-amplify/ui-react@1.2.50 - @aws-amplify/ui-storybook@2.0.50 - @aws-amplify/ui-vue@1.1.44 - @aws-amplify/analytics@5.2.17 - @aws-amplify/api-graphql@2.3.14 - @aws-amplify/api-rest@2.0.50 - @aws-amplify/api@4.0.50 - @aws-amplify/auth@4.6.3 - aws-amplify-angular@6.0.50 - aws-amplify-react@5.1.33 - aws-amplify@4.3.32 - @aws-amplify/cache@4.0.52 - @aws-amplify/core@4.7.1 - @aws-amplify/datastore-storage-adapter@1.3.10 - @aws-amplify/datastore@3.12.7 - @aws-amplify/geo@1.3.13 - @aws-amplify/interactions@4.0.50 - @aws-amplify/predictions@4.0.50 - @aws-amplify/pubsub@4.5.0 - @aws-amplify/pushnotification@4.3.29 - @aws-amplify/storage@4.5.3 - @aws-amplify/xr@3.0.50 * chore(release): update version.ts [ci skip] * fix(interactions): fix addPluggable API (#10250) * fix(interactions): fix addPluggable API * fix(interactions): remove Add a invalid pluggable test Co-authored-by: Sridhar <ashwsrir@bcd07413f71a.ant.amazon.com> * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.60 - @aws-amplify/ui-components@1.9.31 - @aws-amplify/ui-react@1.2.51 - @aws-amplify/ui-storybook@2.0.51 - @aws-amplify/ui-vue@1.1.45 - @aws-amplify/analytics@5.2.18 - @aws-amplify/api-graphql@2.3.15 - @aws-amplify/api-rest@2.0.51 - @aws-amplify/api@4.0.51 - @aws-amplify/auth@4.6.4 - aws-amplify-angular@6.0.51 - aws-amplify-react@5.1.34 - aws-amplify@4.3.33 - @aws-amplify/cache@4.0.53 - @aws-amplify/core@4.7.2 - @aws-amplify/datastore-storage-adapter@1.3.11 - @aws-amplify/datastore@3.12.8 - @aws-amplify/geo@1.3.14 - @aws-amplify/interactions@4.0.51 - @aws-amplify/predictions@4.0.51 - @aws-amplify/pubsub@4.5.1 - @aws-amplify/pushnotification@4.3.30 - @aws-amplify/storage@4.5.4 - @aws-amplify/xr@3.0.51 * chore(release): update version.ts [ci skip] * chore: fixed build, minimatch dep (#10261) * feat(@aws-amplify/interactions): call onComplete callback with entire response (#10248) * feat(interactions): call onComplete callback with entire response * chore(in-app-messaging): version bump Co-authored-by: chintannp <88387035+chintannp@users.noreply.github.com> Co-authored-by: Caleb Pollman <cpollman@amazon.com> Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com> Co-authored-by: Dane Pilcher <dppilche@amazon.com> Co-authored-by: James Au <40404256+jamesaucode@users.noreply.github.com> Co-authored-by: Chris Fang <chrfang@amazon.com> Co-authored-by: Satana Charuwichitratana <satana.charu@gmail.com> Co-authored-by: elorzafe <elorzafe@amazon.com> Co-authored-by: Aaron S <stocaaro@stocad.com> Co-authored-by: aws-amplify-bot <aws@amazon.com> Co-authored-by: Michael Law <1365977+lawmicha@users.noreply.github.com> Co-authored-by: erinleigh90 <106691284+erinleigh90@users.noreply.github.com> Co-authored-by: Erin Beal <erinleig@amazon.com> Co-authored-by: David McAfee <mcafd@amazon.com> Co-authored-by: Jon Wire <iambipedal@gmail.com> Co-authored-by: Amelia Hill <49414147+amehi0index@users.noreply.github.com> Co-authored-by: Venkata Ramyasri Kota <34170013+kvramyasri7@users.noreply.github.com> Co-authored-by: Aaron S <94858815+stocaaro@users.noreply.github.com> Co-authored-by: Olya Balashova <42189299+helgabalashova@users.noreply.github.com> Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> Co-authored-by: James Au <auchu@amazon.com> Co-authored-by: Kha Truong <64438356+khatruong2009@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Balashova <olybalas@98dd60782ea0.ant.amazon.com> Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com> Co-authored-by: Katie Goines <30757403+katiegoines@users.noreply.github.com> Co-authored-by: Ashika Kasiviswanathan Arumugakarthik <akasivis@amazon.com> Co-authored-by: Ashwin Kumar <ashwinkumar2468@gmail.com> Co-authored-by: Sridhar <ashwsrir@bcd07413f71a.ant.amazon.com> Co-authored-by: Katie Goines <katiegoi@amazon.com>
- Loading branch information