-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(@aws-amplify/geo): searchForSuggestions API #9516
Conversation
This pull request introduces 1 alert when merging 7014997 into ee83e73 - view on LGTM.com new alerts:
|
Codecov Report
@@ Coverage Diff @@
## main #9516 +/- ##
==========================================
+ Coverage 78.27% 78.29% +0.02%
==========================================
Files 250 250
Lines 18226 18258 +32
Branches 3917 3927 +10
==========================================
+ Hits 14266 14296 +30
- Misses 3830 3832 +2
Partials 130 130
Continue to review full report at Codecov.
|
This pull request introduces 1 alert when merging 0f45133 into 3f8b838 - view on LGTM.com new alerts:
|
0f45133
to
3491536
Compare
This pull request introduces 1 alert when merging 3491536 into 3f8b838 - view on LGTM.com new alerts:
|
* feat(@aws-amplify/datastore): ObserveQuery performance and type enhancements (#9141) * feat(@aws-amplify/datastore): constrain ObserveQuery options with explicit Type, add time interval/limit Promise race * feat(@aws-amplify/datastore): address PR callouts * feat(@aws-amplify/datastore): abstract SubscriptionBuffer to util class (TODO: add unit test) * feat(@aws-amplify/datastore): add unit test for util class * remove .only from test * feat(@aws-amplify/datastore): address PR callouts * remove .only from describe block * feat(@aws-amplify/datastore): PR-callouts, adjust naming conventions Co-authored-by: Sam Martinez <samlmar@amazon.com> * fix(@aws-amplify/pushnotification): tap on notification opens the app when it is a killed state (#9055) * feat: new script to improve local dev experience for RN * feat: rn local dev script * docs: adds the needed documentation for running the local rn dev script * fix: pr review changes, formatting and code clean up * fix: refactored the open tab function and minor code cleanup * refactor: utility functions for lerna and wml cmd formation and added comments * fix: attempt to fix the lgtm bot issue to sanitized the path input * fix: attempt 2 to build cmds after sanitizing the path * fix: attempt three at solving the bot warning, sanatizes alias,npm bin and cd commands * refactor * fix: attempt four at fixing the lgtm warning * fix: clearer documentation on the usage of the script * refactor: change get delay and open new tab names * refactor: changed all caps wording to camel case for gotopackageroot element * feat: all flag to indicate script should use all supported packages * fix: adds a new UI packages list that is used to change their package name to directory name used in wml * refactor: adds a clear note to indicate script is different from the linking method of development * fix:handle reactContext is null by listening to changes * refactor: rephrase comment Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> * refactor: emitNotificationOpened has been refactored to a new function and other nits * fix: adds an intent parameter to emitNotificationOpenedEvent * refactor: makes variables final Co-authored-by: Manoj NB <manojnb@amazon.com> Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> Co-authored-by: Sam Martinez <samlmar@amazon.com> Co-authored-by: Ashish Nanda <ashish.nanda.5591@gmail.com> * feat(amplify-js): add CD support (#9171) * fix: AWSAppSyncRealTimeProvider websocket init fix * Revert "fix: AWSAppSyncRealTimeProvider websocket init fix" This reverts commit 13e776e. * fix: AWSAppSyncRealTimeProvider websocket init fix (#9200) * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.33 - @aws-amplify/ui-components@1.9.4 - @aws-amplify/ui-react@1.2.24 - @aws-amplify/ui-storybook@2.0.24 - @aws-amplify/ui-vue@1.1.18 - @aws-amplify/analytics@5.1.4 - @aws-amplify/api-graphql@2.2.13 - @aws-amplify/api-rest@2.0.24 - @aws-amplify/api@4.0.24 - @aws-amplify/auth@4.3.14 - aws-amplify-angular@6.0.24 - aws-amplify-react-native@6.0.1 - aws-amplify-react@5.1.7 - aws-amplify@4.3.6 - @aws-amplify/cache@4.0.26 - @aws-amplify/core@4.3.6 - @aws-amplify/datastore-storage-adapter@1.1.12 - @aws-amplify/datastore@3.6.0 - @aws-amplify/geo@1.1.6 - @aws-amplify/interactions@4.0.24 - @aws-amplify/predictions@4.0.24 - @aws-amplify/pubsub@4.2.0 - @aws-amplify/pushnotification@4.3.3 - @aws-amplify/storage@4.4.7 - @aws-amplify/xr@3.0.24 * chore(release): update version.ts [ci skip] * fix(@aws-amplify/pushnotification): Upgrade Firebase Android package (#9191) * feat: new script to improve local dev experience for RN * feat: rn local dev script * docs: adds the needed documentation for running the local rn dev script * fix: pr review changes, formatting and code clean up * fix: refactored the open tab function and minor code cleanup * refactor: utility functions for lerna and wml cmd formation and added comments * fix: attempt to fix the lgtm bot issue to sanitized the path input * fix: attempt 2 to build cmds after sanitizing the path * fix: attempt three at solving the bot warning, sanatizes alias,npm bin and cd commands * refactor * fix: attempt four at fixing the lgtm warning * fix: clearer documentation on the usage of the script * refactor: change get delay and open new tab names * refactor: changed all caps wording to camel case for gotopackageroot element * feat: all flag to indicate script should use all supported packages * fix: adds a new UI packages list that is used to change their package name to directory name used in wml * refactor: adds a clear note to indicate script is different from the linking method of development * chore: upgrade firebase package and made required changes to getToken and onNewToken * refactor: review comments, added exception handling to get token * Apply suggestions from code review Co-authored-by: Sam Martinez <sammartinez19@gmail.com> Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> * refactor: formatting updates * refactor: formatting updates * remove react event listener so no multiples are registered and adds an error callback to get token Co-authored-by: Manoj NB <manojnb@amazon.com> Co-authored-by: Ashish Nanda <ashish.nanda.5591@gmail.com> Co-authored-by: Caleb Pollman <cpollman1@gmail.com> Co-authored-by: Sam Martinez <sammartinez19@gmail.com> Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.34 - @aws-amplify/ui-components@1.9.5 - @aws-amplify/ui-react@1.2.25 - @aws-amplify/ui-storybook@2.0.25 - @aws-amplify/ui-vue@1.1.19 - @aws-amplify/analytics@5.1.5 - @aws-amplify/api-graphql@2.2.14 - @aws-amplify/api-rest@2.0.25 - @aws-amplify/api@4.0.25 - @aws-amplify/auth@4.3.15 - aws-amplify-angular@6.0.25 - aws-amplify-react@5.1.8 - aws-amplify@4.3.7 - @aws-amplify/cache@4.0.27 - @aws-amplify/core@4.3.7 - @aws-amplify/datastore-storage-adapter@1.1.13 - @aws-amplify/datastore@3.6.1 - @aws-amplify/geo@1.1.7 - @aws-amplify/interactions@4.0.25 - @aws-amplify/predictions@4.0.25 - @aws-amplify/pubsub@4.2.1 - @aws-amplify/pushnotification@4.3.4 - @aws-amplify/storage@4.4.8 - @aws-amplify/xr@3.0.25 * chore(release): update version.ts [ci skip] * feat(@aws-amplify/datastore): hasOne CRUD improvements (#9239) * fix(geo): update client-location to fix tslib issue (#9247) #8967 * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.35 - @aws-amplify/ui-components@1.9.6 - @aws-amplify/ui-react@1.2.26 - @aws-amplify/ui-storybook@2.0.26 - @aws-amplify/ui-vue@1.1.20 - @aws-amplify/analytics@5.1.6 - @aws-amplify/api-graphql@2.2.15 - @aws-amplify/api-rest@2.0.26 - @aws-amplify/api@4.0.26 - @aws-amplify/auth@4.3.16 - aws-amplify-angular@6.0.26 - aws-amplify-react@5.1.9 - aws-amplify@4.3.8 - @aws-amplify/cache@4.0.28 - @aws-amplify/core@4.3.8 - @aws-amplify/datastore-storage-adapter@1.2.0 - @aws-amplify/datastore@3.7.0 - @aws-amplify/geo@1.1.8 - @aws-amplify/interactions@4.0.26 - @aws-amplify/predictions@4.0.26 - @aws-amplify/pubsub@4.2.2 - @aws-amplify/pushnotification@4.3.5 - @aws-amplify/storage@4.4.9 - @aws-amplify/xr@3.0.26 * chore(release): update version.ts [ci skip] * chore(@aws-amplify/datastore): bump dexie packages (#9262) * chore: mark ui packages as private (#9251) * fix(@aws-amplify/datastore): belongsTo bug (#9268) * fix(@aws-amplify/core): Use undefined for default sequence token with CloudWatch logging (#9181) Co-authored-by: Aaron Michael Lamb <aarolamb@amazon.com> Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com> * chore(@aws-amplify/analytics): Changed a couple file in dos format to unix (#9199) * dos->unix Co-authored-by: Sam Martinez <sammartinez19@gmail.com> Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com> * fix(@aws-amplify/datastore): consecutive saves with timestamps (#9298) * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.36 - @aws-amplify/ui-components@1.9.7 - @aws-amplify/ui-react@1.2.27 - @aws-amplify/ui-storybook@2.0.27 - @aws-amplify/ui-vue@1.1.21 - @aws-amplify/ui@2.0.4 - @aws-amplify/analytics@5.1.7 - @aws-amplify/api-graphql@2.2.16 - @aws-amplify/api-rest@2.0.27 - @aws-amplify/api@4.0.27 - @aws-amplify/auth@4.3.17 - aws-amplify-angular@6.0.27 - aws-amplify-react@5.1.10 - aws-amplify-vue@2.1.6 - aws-amplify@4.3.9 - @aws-amplify/cache@4.0.29 - @aws-amplify/core@4.3.9 - @aws-amplify/datastore-storage-adapter@1.2.1 - @aws-amplify/datastore@3.7.1 - @aws-amplify/geo@1.1.9 - @aws-amplify/interactions@4.0.27 - @aws-amplify/predictions@4.0.27 - @aws-amplify/pubsub@4.2.3 - @aws-amplify/pushnotification@4.3.6 - @aws-amplify/storage@4.4.10 - @aws-amplify/xr@3.0.27 * chore(release): update version.ts [ci skip] * fix(@aws-amplify/amplify-ui): change private property to false in package.json (#9303) Resolving an issue with installing the library * chore: preparing release * fix(@aws-amplify/amplify-ui): remove private prop from package.json (#9304) * fix(@aws-amplify/amplify-ui): change private property to false in package.json * fix(@aws-amplify/amplify-ui): remove private property from package.json Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> * fix(@aws-amplify/amplify-ui): remove private prop from package.json (#9304) * fix(@aws-amplify/amplify-ui): change private property to false in package.json * fix(@aws-amplify/amplify-ui): remove private property from package.json Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.37 - @aws-amplify/ui-components@1.9.8 - @aws-amplify/ui-react@1.2.28 - @aws-amplify/ui-storybook@2.0.28 - @aws-amplify/ui-vue@1.1.22 - @aws-amplify/ui@2.0.5 - @aws-amplify/analytics@5.1.8 - @aws-amplify/api-graphql@2.2.17 - @aws-amplify/api-rest@2.0.28 - @aws-amplify/api@4.0.28 - @aws-amplify/auth@4.3.18 - aws-amplify-angular@6.0.28 - aws-amplify-react@5.1.11 - aws-amplify@4.3.10 - @aws-amplify/cache@4.0.30 - @aws-amplify/core@4.3.10 - @aws-amplify/datastore-storage-adapter@1.2.2 - @aws-amplify/datastore@3.7.2 - @aws-amplify/geo@1.1.10 - @aws-amplify/interactions@4.0.28 - @aws-amplify/predictions@4.0.28 - @aws-amplify/pubsub@4.2.4 - @aws-amplify/pushnotification@4.3.7 - @aws-amplify/storage@4.4.11 - @aws-amplify/xr@3.0.28 * chore(release): update version.ts [ci skip] * fix(@aws-amplify/datastore): fixes observeQuery in local-only mode (#9300) * fix(@aws-amplify/pushnotification): make eligible variables final (#9301) Co-authored-by: Manoj NB <manojnb@amazon.com> Co-authored-by: Caleb Pollman <cpollman1@gmail.com> * fix(@aws-amplify/aws-amplify-react-native): fix dev build for Windows (#9341) * fix(@aws-amplify/api-graphql): Fix webpack build (#9358) * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.38 - @aws-amplify/ui-components@1.9.9 - @aws-amplify/ui-react@1.2.29 - @aws-amplify/ui-storybook@2.0.29 - @aws-amplify/ui-vue@1.1.23 - @aws-amplify/analytics@5.1.9 - @aws-amplify/api-graphql@2.2.18 - @aws-amplify/api-rest@2.0.29 - @aws-amplify/api@4.0.29 - @aws-amplify/auth@4.3.19 - aws-amplify-angular@6.0.29 - aws-amplify-react-native@6.0.2 - aws-amplify-react@5.1.12 - aws-amplify@4.3.11 - @aws-amplify/cache@4.0.31 - @aws-amplify/core@4.3.11 - @aws-amplify/datastore-storage-adapter@1.2.3 - @aws-amplify/datastore@3.7.3 - @aws-amplify/geo@1.1.11 - @aws-amplify/interactions@4.0.29 - @aws-amplify/predictions@4.0.29 - @aws-amplify/pubsub@4.2.5 - @aws-amplify/pushnotification@4.3.8 - @aws-amplify/storage@4.4.12 - @aws-amplify/xr@3.0.29 * chore(release): update version.ts [ci skip] * Fix typo in comment (psuedo) (#9389) * fix(amazon-cognito-identity-js): added missing method param (#9276) added missing method param for updateAttributes(...) method fixes: #9275 * chore: add transformer v2 DataStore integ tests to CCI pipeline (#9354) * modify config.yml to add v2 tests to pipeline * comment out all non-v2 jobs for quick iteration * needs integ_setup job * modify v2 sample app path names for CCI * re-enable auth v1 owner-and-group-same-model-default integ test for regression validation * re-enable auth v1 owner-and-group-same-model-default integ test for regression validation * re-enable auth tests * enable v1 datastore integ tests * fix(@aws-amplify/datastore): consecutive saves with timestamps (#9298) * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.36 - @aws-amplify/ui-components@1.9.7 - @aws-amplify/ui-react@1.2.27 - @aws-amplify/ui-storybook@2.0.27 - @aws-amplify/ui-vue@1.1.21 - @aws-amplify/ui@2.0.4 - @aws-amplify/analytics@5.1.7 - @aws-amplify/api-graphql@2.2.16 - @aws-amplify/api-rest@2.0.27 - @aws-amplify/api@4.0.27 - @aws-amplify/auth@4.3.17 - aws-amplify-angular@6.0.27 - aws-amplify-react@5.1.10 - aws-amplify-vue@2.1.6 - aws-amplify@4.3.9 - @aws-amplify/cache@4.0.29 - @aws-amplify/core@4.3.9 - @aws-amplify/datastore-storage-adapter@1.2.1 - @aws-amplify/datastore@3.7.1 - @aws-amplify/geo@1.1.9 - @aws-amplify/interactions@4.0.27 - @aws-amplify/predictions@4.0.27 - @aws-amplify/pubsub@4.2.3 - @aws-amplify/pushnotification@4.3.6 - @aws-amplify/storage@4.4.10 - @aws-amplify/xr@3.0.27 * chore(release): update version.ts [ci skip] * fix(@aws-amplify/amplify-ui): change private property to false in package.json (#9303) Resolving an issue with installing the library * chore: preparing release * fix(@aws-amplify/amplify-ui): remove private prop from package.json (#9304) * fix(@aws-amplify/amplify-ui): change private property to false in package.json * fix(@aws-amplify/amplify-ui): remove private property from package.json Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.37 - @aws-amplify/ui-components@1.9.8 - @aws-amplify/ui-react@1.2.28 - @aws-amplify/ui-storybook@2.0.28 - @aws-amplify/ui-vue@1.1.22 - @aws-amplify/ui@2.0.5 - @aws-amplify/analytics@5.1.8 - @aws-amplify/api-graphql@2.2.17 - @aws-amplify/api-rest@2.0.28 - @aws-amplify/api@4.0.28 - @aws-amplify/auth@4.3.18 - aws-amplify-angular@6.0.28 - aws-amplify-react@5.1.11 - aws-amplify@4.3.10 - @aws-amplify/cache@4.0.30 - @aws-amplify/core@4.3.10 - @aws-amplify/datastore-storage-adapter@1.2.2 - @aws-amplify/datastore@3.7.2 - @aws-amplify/geo@1.1.10 - @aws-amplify/interactions@4.0.28 - @aws-amplify/predictions@4.0.28 - @aws-amplify/pubsub@4.2.4 - @aws-amplify/pushnotification@4.3.7 - @aws-amplify/storage@4.4.11 - @aws-amplify/xr@3.0.28 * chore(release): update version.ts [ci skip] * fix(@aws-amplify/datastore): fixes observeQuery in local-only mode (#9300) * uncomment tests, prepare for main pipeline addition * add v2 tests to deploy job * add observe query integ tests to the pipeline * add SQLite adapter e2e test to pipeline Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com> Co-authored-by: aws-amplify-bot <aws@amazon.com> Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> * ci: upgrade macOS executors (#9431) * fix(@aws-amplify/core): use empty string as translation (#9403) * fix for using empty string as translation * Update I18n.ts strict inequality with undefined for the dictionary values Co-authored-by: Eddy Varela <eddvar@amazon.com> Co-authored-by: Nick Arocho <16296496+nickarocho@users.noreply.github.com> * Revert "fix(@aws-amplify/core): use empty string as translation (#9403)" (#9436) This reverts commit 512fd99. * chore: preparing release * fix(aws-amplify-angular): removed old zone package (#9437) * chore: preparing release (#9441) Co-authored-by: James Au <40404256+jamesaucode@users.noreply.github.com> * chore(release): Publish [ci skip] - amazon-cognito-identity-js@5.2.4 - @aws-amplify/ui-angular@1.0.39 - @aws-amplify/ui-components@1.9.10 - @aws-amplify/ui-react@1.2.30 - @aws-amplify/ui-storybook@2.0.30 - @aws-amplify/ui-vue@1.1.24 - @aws-amplify/analytics@5.1.10 - @aws-amplify/api-graphql@2.2.19 - @aws-amplify/api-rest@2.0.30 - @aws-amplify/api@4.0.30 - @aws-amplify/auth@4.3.20 - aws-amplify-angular@6.0.30 - aws-amplify-react@5.1.13 - aws-amplify@4.3.12 - @aws-amplify/cache@4.0.32 - @aws-amplify/core@4.3.12 - @aws-amplify/datastore-storage-adapter@1.2.4 - @aws-amplify/datastore@3.7.4 - @aws-amplify/geo@1.1.12 - @aws-amplify/interactions@4.0.30 - @aws-amplify/predictions@4.0.30 - @aws-amplify/pubsub@4.2.6 - @aws-amplify/pushnotification@4.3.9 - @aws-amplify/storage@4.4.13 - @aws-amplify/xr@3.0.30 * chore(release): update version.ts [ci skip] * chore(amplify-js): consolidate react-native dependencies (#9451) * Revert "chore(amplify-js): consolidate react-native dependencies (#9451)" (#9473) This reverts commit d304f94. * fix: Fix CircleCI integration tests (#9500) * fix: pin jsdoc version (#9510) The latest jsdoc requires node >= 14. Pinning it to an older version to avoid upgrading our docker images' node version. * fix(geo): remove 'ensure to' from error message * chore(geo): remove file that's no longer used * chore(geo): fix type comment * fix(geo): error if mutually exclusive options are given * test(@aws-amplify/geo): fix failing tests * chore(amplify-js): consolidate react-native dependencies (#9521) * feat(@aws-amplify/auth): Delete user API exposed (#9428) * fix for using empty string as translation * feat(@aws-amplify/auth): delete user poc * reverting internationalization commit * adding hub event * addressing feedback and beginning unit tests * added unit tests within suite for deleteUser API call * removing zone dependency to fix failing builds * integ test commit * fix e2e for delete user * adding branch for deleteUser in sample staging repo * pinning jsdoc dependency * one more time * adding fixes for hosted ui * preventing signout race condition * fixing circle ci * hot fix * circle ci configured for deleteUser * fixing pr comments * changing tests and updating circle ci * reverting circle ci config * adding integ tests * staging url * removing comments * empty commit * rerun integ test * remove deploy and post release step * run only delete user test * correct config * rerun integ test * uncomment test * fix unit test * final auth * revert i18N change * addressing pr comments * resolving promise * remove missed signout * ts nit Co-authored-by: yanakatty <yu@yanakatty.com> Co-authored-by: Ashika Kasiviswanathan Arumugakarthik <akasivis@amazon.com> * chore: preparing release * chore(release): Publish [ci skip] - amazon-cognito-identity-js@5.2.5 - @aws-amplify/ui-angular@1.0.40 - @aws-amplify/ui-components@1.9.11 - @aws-amplify/ui-react@1.2.31 - @aws-amplify/ui-storybook@2.0.31 - @aws-amplify/ui-vue@1.1.25 - @aws-amplify/analytics@5.1.11 - @aws-amplify/api-graphql@2.2.20 - @aws-amplify/api-rest@2.0.31 - @aws-amplify/api@4.0.31 - @aws-amplify/auth@4.4.0 - aws-amplify-angular@6.0.31 - aws-amplify-react@5.1.14 - aws-amplify@4.3.13 - @aws-amplify/cache@4.0.33 - @aws-amplify/core@4.3.13 - @aws-amplify/datastore-storage-adapter@1.2.5 - @aws-amplify/datastore@3.7.5 - @aws-amplify/geo@1.1.13 - @aws-amplify/interactions@4.0.31 - @aws-amplify/predictions@4.0.31 - @aws-amplify/pubsub@4.2.7 - @aws-amplify/pushnotification@4.3.10 - @aws-amplify/storage@4.4.14 - @aws-amplify/xr@3.0.31 * chore(release): update version.ts [ci skip] * chore(react-native): upgrade React Native devDependency version to ^0.64.1 (#9525) * upgrade next version to ^11.1.3 for security patch (#9533) * import React Native headers from <React/*.h> (#9387) This ensures compatibility with Expo SDK 44. see expo/expo#15622 (comment) Co-authored-by: Caleb Pollman <cpollman1@gmail.com> Co-authored-by: KJ(Kaijie) Huang <kaijih@amazon.com> * fix(datastore): correctly apply config values (#9542) * feat(@aws-amplify/geo): searchForSuggestions API (#9516) * feat(geo): searchForSuggestions initial implementation * chore(@aws-amplify/geo): update dependencies * chore(@aws-amplify/geo): update test strings * test(@aws-amplify/geo): update searchForSuggestion tests * added missing import * fix tests broken by merge Co-authored-by: Nick Arocho <16296496+nickarocho@users.noreply.github.com> Co-authored-by: Sam Martinez <samlmar@amazon.com> Co-authored-by: ManojNB <manojnb95@gmail.com> Co-authored-by: Manoj NB <manojnb@amazon.com> Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> Co-authored-by: Ashish Nanda <ashish.nanda.5591@gmail.com> Co-authored-by: David McAfee <mcafd@amazon.com> Co-authored-by: aws-amplify-bot <aws@amazon.com> Co-authored-by: Caleb Pollman <cpollman1@gmail.com> Co-authored-by: Sam Martinez <sammartinez19@gmail.com> Co-authored-by: Ashika Kasiviswanathan Arumugakarthik <akasivis@amazon.com> Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com> Co-authored-by: Tré Ammatuna <16496746+TreTuna@users.noreply.github.com> Co-authored-by: William Lee <43682783+wlee221@users.noreply.github.com> Co-authored-by: Aaron Lamb <aaronlamb93@gmail.com> Co-authored-by: Aaron Michael Lamb <aarolamb@amazon.com> Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com> Co-authored-by: James Au <40404256+jamesaucode@users.noreply.github.com> Co-authored-by: Nick Arocho <nicaroch@amazon.com> Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> Co-authored-by: Katie Goines <katiegoi@amazon.com> Co-authored-by: Bruno P. Kinoshita <kinow@users.noreply.github.com> Co-authored-by: Arthur Brandstetter <31988348+brandart@users.noreply.github.com> Co-authored-by: Yusuke Yanaka <yu@yanakatty.com> Co-authored-by: Eddy Varela <eddvar@amazon.com> Co-authored-by: Tré Ammatuna <tretuna@amazon.com> Co-authored-by: hkjpotato <hkjpotato@gmail.com> Co-authored-by: KJ(Kaijie) Huang <kaijih@amazon.com> Co-authored-by: Manuel Schiller <meisterpink@gmail.com>
…ery, TS fixes (#9195) * feat(@aws-amplify/datastore): ObserveQuery performance and type enhancements (#9141) * feat(@aws-amplify/datastore): constrain ObserveQuery options with explicit Type, add time interval/limit Promise race * feat(@aws-amplify/datastore): address PR callouts * feat(@aws-amplify/datastore): abstract SubscriptionBuffer to util class (TODO: add unit test) * feat(@aws-amplify/datastore): add unit test for util class * remove .only from test * feat(@aws-amplify/datastore): address PR callouts * remove .only from describe block * feat(@aws-amplify/datastore): PR-callouts, adjust naming conventions Co-authored-by: Sam Martinez <samlmar@amazon.com> * fix(@aws-amplify/pushnotification): tap on notification opens the app when it is a killed state (#9055) * feat: new script to improve local dev experience for RN * feat: rn local dev script * docs: adds the needed documentation for running the local rn dev script * fix: pr review changes, formatting and code clean up * fix: refactored the open tab function and minor code cleanup * refactor: utility functions for lerna and wml cmd formation and added comments * fix: attempt to fix the lgtm bot issue to sanitized the path input * fix: attempt 2 to build cmds after sanitizing the path * fix: attempt three at solving the bot warning, sanatizes alias,npm bin and cd commands * refactor * fix: attempt four at fixing the lgtm warning * fix: clearer documentation on the usage of the script * refactor: change get delay and open new tab names * refactor: changed all caps wording to camel case for gotopackageroot element * feat: all flag to indicate script should use all supported packages * fix: adds a new UI packages list that is used to change their package name to directory name used in wml * refactor: adds a clear note to indicate script is different from the linking method of development * fix:handle reactContext is null by listening to changes * refactor: rephrase comment Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> * refactor: emitNotificationOpened has been refactored to a new function and other nits * fix: adds an intent parameter to emitNotificationOpenedEvent * refactor: makes variables final Co-authored-by: Manoj NB <manojnb@amazon.com> Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> Co-authored-by: Sam Martinez <samlmar@amazon.com> Co-authored-by: Ashish Nanda <ashish.nanda.5591@gmail.com> * feat(amplify-js): add CD support (#9171) * fix: AWSAppSyncRealTimeProvider websocket init fix * Revert "fix: AWSAppSyncRealTimeProvider websocket init fix" This reverts commit 13e776e. * fix: AWSAppSyncRealTimeProvider websocket init fix (#9200) * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.33 - @aws-amplify/ui-components@1.9.4 - @aws-amplify/ui-react@1.2.24 - @aws-amplify/ui-storybook@2.0.24 - @aws-amplify/ui-vue@1.1.18 - @aws-amplify/analytics@5.1.4 - @aws-amplify/api-graphql@2.2.13 - @aws-amplify/api-rest@2.0.24 - @aws-amplify/api@4.0.24 - @aws-amplify/auth@4.3.14 - aws-amplify-angular@6.0.24 - aws-amplify-react-native@6.0.1 - aws-amplify-react@5.1.7 - aws-amplify@4.3.6 - @aws-amplify/cache@4.0.26 - @aws-amplify/core@4.3.6 - @aws-amplify/datastore-storage-adapter@1.1.12 - @aws-amplify/datastore@3.6.0 - @aws-amplify/geo@1.1.6 - @aws-amplify/interactions@4.0.24 - @aws-amplify/predictions@4.0.24 - @aws-amplify/pubsub@4.2.0 - @aws-amplify/pushnotification@4.3.3 - @aws-amplify/storage@4.4.7 - @aws-amplify/xr@3.0.24 * chore(release): update version.ts [ci skip] * fix(@aws-amplify/pushnotification): Upgrade Firebase Android package (#9191) * feat: new script to improve local dev experience for RN * feat: rn local dev script * docs: adds the needed documentation for running the local rn dev script * fix: pr review changes, formatting and code clean up * fix: refactored the open tab function and minor code cleanup * refactor: utility functions for lerna and wml cmd formation and added comments * fix: attempt to fix the lgtm bot issue to sanitized the path input * fix: attempt 2 to build cmds after sanitizing the path * fix: attempt three at solving the bot warning, sanatizes alias,npm bin and cd commands * refactor * fix: attempt four at fixing the lgtm warning * fix: clearer documentation on the usage of the script * refactor: change get delay and open new tab names * refactor: changed all caps wording to camel case for gotopackageroot element * feat: all flag to indicate script should use all supported packages * fix: adds a new UI packages list that is used to change their package name to directory name used in wml * refactor: adds a clear note to indicate script is different from the linking method of development * chore: upgrade firebase package and made required changes to getToken and onNewToken * refactor: review comments, added exception handling to get token * Apply suggestions from code review Co-authored-by: Sam Martinez <sammartinez19@gmail.com> Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> * refactor: formatting updates * refactor: formatting updates * remove react event listener so no multiples are registered and adds an error callback to get token Co-authored-by: Manoj NB <manojnb@amazon.com> Co-authored-by: Ashish Nanda <ashish.nanda.5591@gmail.com> Co-authored-by: Caleb Pollman <cpollman1@gmail.com> Co-authored-by: Sam Martinez <sammartinez19@gmail.com> Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.34 - @aws-amplify/ui-components@1.9.5 - @aws-amplify/ui-react@1.2.25 - @aws-amplify/ui-storybook@2.0.25 - @aws-amplify/ui-vue@1.1.19 - @aws-amplify/analytics@5.1.5 - @aws-amplify/api-graphql@2.2.14 - @aws-amplify/api-rest@2.0.25 - @aws-amplify/api@4.0.25 - @aws-amplify/auth@4.3.15 - aws-amplify-angular@6.0.25 - aws-amplify-react@5.1.8 - aws-amplify@4.3.7 - @aws-amplify/cache@4.0.27 - @aws-amplify/core@4.3.7 - @aws-amplify/datastore-storage-adapter@1.1.13 - @aws-amplify/datastore@3.6.1 - @aws-amplify/geo@1.1.7 - @aws-amplify/interactions@4.0.25 - @aws-amplify/predictions@4.0.25 - @aws-amplify/pubsub@4.2.1 - @aws-amplify/pushnotification@4.3.4 - @aws-amplify/storage@4.4.8 - @aws-amplify/xr@3.0.25 * chore(release): update version.ts [ci skip] * feat(@aws-amplify/datastore): hasOne CRUD improvements (#9239) * fix(geo): update client-location to fix tslib issue (#9247) #8967 * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.35 - @aws-amplify/ui-components@1.9.6 - @aws-amplify/ui-react@1.2.26 - @aws-amplify/ui-storybook@2.0.26 - @aws-amplify/ui-vue@1.1.20 - @aws-amplify/analytics@5.1.6 - @aws-amplify/api-graphql@2.2.15 - @aws-amplify/api-rest@2.0.26 - @aws-amplify/api@4.0.26 - @aws-amplify/auth@4.3.16 - aws-amplify-angular@6.0.26 - aws-amplify-react@5.1.9 - aws-amplify@4.3.8 - @aws-amplify/cache@4.0.28 - @aws-amplify/core@4.3.8 - @aws-amplify/datastore-storage-adapter@1.2.0 - @aws-amplify/datastore@3.7.0 - @aws-amplify/geo@1.1.8 - @aws-amplify/interactions@4.0.26 - @aws-amplify/predictions@4.0.26 - @aws-amplify/pubsub@4.2.2 - @aws-amplify/pushnotification@4.3.5 - @aws-amplify/storage@4.4.9 - @aws-amplify/xr@3.0.26 * chore(release): update version.ts [ci skip] * chore(@aws-amplify/datastore): bump dexie packages (#9262) * chore: mark ui packages as private (#9251) * fix(@aws-amplify/datastore): belongsTo bug (#9268) * fix(@aws-amplify/core): Use undefined for default sequence token with CloudWatch logging (#9181) Co-authored-by: Aaron Michael Lamb <aarolamb@amazon.com> Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com> * chore(@aws-amplify/analytics): Changed a couple file in dos format to unix (#9199) * dos->unix Co-authored-by: Sam Martinez <sammartinez19@gmail.com> Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com> * fix(@aws-amplify/datastore): consecutive saves with timestamps (#9298) * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.36 - @aws-amplify/ui-components@1.9.7 - @aws-amplify/ui-react@1.2.27 - @aws-amplify/ui-storybook@2.0.27 - @aws-amplify/ui-vue@1.1.21 - @aws-amplify/ui@2.0.4 - @aws-amplify/analytics@5.1.7 - @aws-amplify/api-graphql@2.2.16 - @aws-amplify/api-rest@2.0.27 - @aws-amplify/api@4.0.27 - @aws-amplify/auth@4.3.17 - aws-amplify-angular@6.0.27 - aws-amplify-react@5.1.10 - aws-amplify-vue@2.1.6 - aws-amplify@4.3.9 - @aws-amplify/cache@4.0.29 - @aws-amplify/core@4.3.9 - @aws-amplify/datastore-storage-adapter@1.2.1 - @aws-amplify/datastore@3.7.1 - @aws-amplify/geo@1.1.9 - @aws-amplify/interactions@4.0.27 - @aws-amplify/predictions@4.0.27 - @aws-amplify/pubsub@4.2.3 - @aws-amplify/pushnotification@4.3.6 - @aws-amplify/storage@4.4.10 - @aws-amplify/xr@3.0.27 * chore(release): update version.ts [ci skip] * fix(@aws-amplify/amplify-ui): change private property to false in package.json (#9303) Resolving an issue with installing the library * chore: preparing release * fix(@aws-amplify/amplify-ui): remove private prop from package.json (#9304) * fix(@aws-amplify/amplify-ui): change private property to false in package.json * fix(@aws-amplify/amplify-ui): remove private property from package.json Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> * fix(@aws-amplify/amplify-ui): remove private prop from package.json (#9304) * fix(@aws-amplify/amplify-ui): change private property to false in package.json * fix(@aws-amplify/amplify-ui): remove private property from package.json Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.37 - @aws-amplify/ui-components@1.9.8 - @aws-amplify/ui-react@1.2.28 - @aws-amplify/ui-storybook@2.0.28 - @aws-amplify/ui-vue@1.1.22 - @aws-amplify/ui@2.0.5 - @aws-amplify/analytics@5.1.8 - @aws-amplify/api-graphql@2.2.17 - @aws-amplify/api-rest@2.0.28 - @aws-amplify/api@4.0.28 - @aws-amplify/auth@4.3.18 - aws-amplify-angular@6.0.28 - aws-amplify-react@5.1.11 - aws-amplify@4.3.10 - @aws-amplify/cache@4.0.30 - @aws-amplify/core@4.3.10 - @aws-amplify/datastore-storage-adapter@1.2.2 - @aws-amplify/datastore@3.7.2 - @aws-amplify/geo@1.1.10 - @aws-amplify/interactions@4.0.28 - @aws-amplify/predictions@4.0.28 - @aws-amplify/pubsub@4.2.4 - @aws-amplify/pushnotification@4.3.7 - @aws-amplify/storage@4.4.11 - @aws-amplify/xr@3.0.28 * chore(release): update version.ts [ci skip] * fix(@aws-amplify/datastore): fixes observeQuery in local-only mode (#9300) * fix(@aws-amplify/pushnotification): make eligible variables final (#9301) Co-authored-by: Manoj NB <manojnb@amazon.com> Co-authored-by: Caleb Pollman <cpollman1@gmail.com> * fix(@aws-amplify/aws-amplify-react-native): fix dev build for Windows (#9341) * fix(@aws-amplify/api-graphql): Fix webpack build (#9358) * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.38 - @aws-amplify/ui-components@1.9.9 - @aws-amplify/ui-react@1.2.29 - @aws-amplify/ui-storybook@2.0.29 - @aws-amplify/ui-vue@1.1.23 - @aws-amplify/analytics@5.1.9 - @aws-amplify/api-graphql@2.2.18 - @aws-amplify/api-rest@2.0.29 - @aws-amplify/api@4.0.29 - @aws-amplify/auth@4.3.19 - aws-amplify-angular@6.0.29 - aws-amplify-react-native@6.0.2 - aws-amplify-react@5.1.12 - aws-amplify@4.3.11 - @aws-amplify/cache@4.0.31 - @aws-amplify/core@4.3.11 - @aws-amplify/datastore-storage-adapter@1.2.3 - @aws-amplify/datastore@3.7.3 - @aws-amplify/geo@1.1.11 - @aws-amplify/interactions@4.0.29 - @aws-amplify/predictions@4.0.29 - @aws-amplify/pubsub@4.2.5 - @aws-amplify/pushnotification@4.3.8 - @aws-amplify/storage@4.4.12 - @aws-amplify/xr@3.0.29 * chore(release): update version.ts [ci skip] * Fix typo in comment (psuedo) (#9389) * fix(amazon-cognito-identity-js): added missing method param (#9276) added missing method param for updateAttributes(...) method fixes: #9275 * chore: add transformer v2 DataStore integ tests to CCI pipeline (#9354) * modify config.yml to add v2 tests to pipeline * comment out all non-v2 jobs for quick iteration * needs integ_setup job * modify v2 sample app path names for CCI * re-enable auth v1 owner-and-group-same-model-default integ test for regression validation * re-enable auth v1 owner-and-group-same-model-default integ test for regression validation * re-enable auth tests * enable v1 datastore integ tests * fix(@aws-amplify/datastore): consecutive saves with timestamps (#9298) * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.36 - @aws-amplify/ui-components@1.9.7 - @aws-amplify/ui-react@1.2.27 - @aws-amplify/ui-storybook@2.0.27 - @aws-amplify/ui-vue@1.1.21 - @aws-amplify/ui@2.0.4 - @aws-amplify/analytics@5.1.7 - @aws-amplify/api-graphql@2.2.16 - @aws-amplify/api-rest@2.0.27 - @aws-amplify/api@4.0.27 - @aws-amplify/auth@4.3.17 - aws-amplify-angular@6.0.27 - aws-amplify-react@5.1.10 - aws-amplify-vue@2.1.6 - aws-amplify@4.3.9 - @aws-amplify/cache@4.0.29 - @aws-amplify/core@4.3.9 - @aws-amplify/datastore-storage-adapter@1.2.1 - @aws-amplify/datastore@3.7.1 - @aws-amplify/geo@1.1.9 - @aws-amplify/interactions@4.0.27 - @aws-amplify/predictions@4.0.27 - @aws-amplify/pubsub@4.2.3 - @aws-amplify/pushnotification@4.3.6 - @aws-amplify/storage@4.4.10 - @aws-amplify/xr@3.0.27 * chore(release): update version.ts [ci skip] * fix(@aws-amplify/amplify-ui): change private property to false in package.json (#9303) Resolving an issue with installing the library * chore: preparing release * fix(@aws-amplify/amplify-ui): remove private prop from package.json (#9304) * fix(@aws-amplify/amplify-ui): change private property to false in package.json * fix(@aws-amplify/amplify-ui): remove private property from package.json Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.37 - @aws-amplify/ui-components@1.9.8 - @aws-amplify/ui-react@1.2.28 - @aws-amplify/ui-storybook@2.0.28 - @aws-amplify/ui-vue@1.1.22 - @aws-amplify/ui@2.0.5 - @aws-amplify/analytics@5.1.8 - @aws-amplify/api-graphql@2.2.17 - @aws-amplify/api-rest@2.0.28 - @aws-amplify/api@4.0.28 - @aws-amplify/auth@4.3.18 - aws-amplify-angular@6.0.28 - aws-amplify-react@5.1.11 - aws-amplify@4.3.10 - @aws-amplify/cache@4.0.30 - @aws-amplify/core@4.3.10 - @aws-amplify/datastore-storage-adapter@1.2.2 - @aws-amplify/datastore@3.7.2 - @aws-amplify/geo@1.1.10 - @aws-amplify/interactions@4.0.28 - @aws-amplify/predictions@4.0.28 - @aws-amplify/pubsub@4.2.4 - @aws-amplify/pushnotification@4.3.7 - @aws-amplify/storage@4.4.11 - @aws-amplify/xr@3.0.28 * chore(release): update version.ts [ci skip] * fix(@aws-amplify/datastore): fixes observeQuery in local-only mode (#9300) * uncomment tests, prepare for main pipeline addition * add v2 tests to deploy job * add observe query integ tests to the pipeline * add SQLite adapter e2e test to pipeline Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com> Co-authored-by: aws-amplify-bot <aws@amazon.com> Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> * ci: upgrade macOS executors (#9431) * fix(@aws-amplify/core): use empty string as translation (#9403) * fix for using empty string as translation * Update I18n.ts strict inequality with undefined for the dictionary values Co-authored-by: Eddy Varela <eddvar@amazon.com> Co-authored-by: Nick Arocho <16296496+nickarocho@users.noreply.github.com> * Revert "fix(@aws-amplify/core): use empty string as translation (#9403)" (#9436) This reverts commit 512fd99. * chore: preparing release * fix(aws-amplify-angular): removed old zone package (#9437) * chore: preparing release (#9441) Co-authored-by: James Au <40404256+jamesaucode@users.noreply.github.com> * chore(release): Publish [ci skip] - amazon-cognito-identity-js@5.2.4 - @aws-amplify/ui-angular@1.0.39 - @aws-amplify/ui-components@1.9.10 - @aws-amplify/ui-react@1.2.30 - @aws-amplify/ui-storybook@2.0.30 - @aws-amplify/ui-vue@1.1.24 - @aws-amplify/analytics@5.1.10 - @aws-amplify/api-graphql@2.2.19 - @aws-amplify/api-rest@2.0.30 - @aws-amplify/api@4.0.30 - @aws-amplify/auth@4.3.20 - aws-amplify-angular@6.0.30 - aws-amplify-react@5.1.13 - aws-amplify@4.3.12 - @aws-amplify/cache@4.0.32 - @aws-amplify/core@4.3.12 - @aws-amplify/datastore-storage-adapter@1.2.4 - @aws-amplify/datastore@3.7.4 - @aws-amplify/geo@1.1.12 - @aws-amplify/interactions@4.0.30 - @aws-amplify/predictions@4.0.30 - @aws-amplify/pubsub@4.2.6 - @aws-amplify/pushnotification@4.3.9 - @aws-amplify/storage@4.4.13 - @aws-amplify/xr@3.0.30 * chore(release): update version.ts [ci skip] * chore(amplify-js): consolidate react-native dependencies (#9451) * Revert "chore(amplify-js): consolidate react-native dependencies (#9451)" (#9473) This reverts commit d304f94. * fix: Fix CircleCI integration tests (#9500) * fix: pin jsdoc version (#9510) The latest jsdoc requires node >= 14. Pinning it to an older version to avoid upgrading our docker images' node version. * fix(geo): remove 'ensure to' from error message * chore(geo): remove file that's no longer used * chore(geo): fix type comment * fix(geo): error if mutually exclusive options are given * test(@aws-amplify/geo): fix failing tests * chore(amplify-js): consolidate react-native dependencies (#9521) * feat(@aws-amplify/auth): Delete user API exposed (#9428) * fix for using empty string as translation * feat(@aws-amplify/auth): delete user poc * reverting internationalization commit * adding hub event * addressing feedback and beginning unit tests * added unit tests within suite for deleteUser API call * removing zone dependency to fix failing builds * integ test commit * fix e2e for delete user * adding branch for deleteUser in sample staging repo * pinning jsdoc dependency * one more time * adding fixes for hosted ui * preventing signout race condition * fixing circle ci * hot fix * circle ci configured for deleteUser * fixing pr comments * changing tests and updating circle ci * reverting circle ci config * adding integ tests * staging url * removing comments * empty commit * rerun integ test * remove deploy and post release step * run only delete user test * correct config * rerun integ test * uncomment test * fix unit test * final auth * revert i18N change * addressing pr comments * resolving promise * remove missed signout * ts nit Co-authored-by: yanakatty <yu@yanakatty.com> Co-authored-by: Ashika Kasiviswanathan Arumugakarthik <akasivis@amazon.com> * chore: preparing release * chore(release): Publish [ci skip] - amazon-cognito-identity-js@5.2.5 - @aws-amplify/ui-angular@1.0.40 - @aws-amplify/ui-components@1.9.11 - @aws-amplify/ui-react@1.2.31 - @aws-amplify/ui-storybook@2.0.31 - @aws-amplify/ui-vue@1.1.25 - @aws-amplify/analytics@5.1.11 - @aws-amplify/api-graphql@2.2.20 - @aws-amplify/api-rest@2.0.31 - @aws-amplify/api@4.0.31 - @aws-amplify/auth@4.4.0 - aws-amplify-angular@6.0.31 - aws-amplify-react@5.1.14 - aws-amplify@4.3.13 - @aws-amplify/cache@4.0.33 - @aws-amplify/core@4.3.13 - @aws-amplify/datastore-storage-adapter@1.2.5 - @aws-amplify/datastore@3.7.5 - @aws-amplify/geo@1.1.13 - @aws-amplify/interactions@4.0.31 - @aws-amplify/predictions@4.0.31 - @aws-amplify/pubsub@4.2.7 - @aws-amplify/pushnotification@4.3.10 - @aws-amplify/storage@4.4.14 - @aws-amplify/xr@3.0.31 * chore(release): update version.ts [ci skip] * chore(react-native): upgrade React Native devDependency version to ^0.64.1 (#9525) * upgrade next version to ^11.1.3 for security patch (#9533) * import React Native headers from <React/*.h> (#9387) This ensures compatibility with Expo SDK 44. see expo/expo#15622 (comment) Co-authored-by: Caleb Pollman <cpollman1@gmail.com> Co-authored-by: KJ(Kaijie) Huang <kaijih@amazon.com> * fix(datastore): correctly apply config values (#9542) * feat(@aws-amplify/geo): searchForSuggestions API (#9516) * feat(geo): searchForSuggestions initial implementation * chore(@aws-amplify/geo): update dependencies * chore(@aws-amplify/geo): update test strings * test(@aws-amplify/geo): update searchForSuggestion tests * added missing import * added baseline observeQuery tests; prep for nested predicate observeQuery testing * adjust test titles * observeQuery test for isSync status * test: observeQuery behavior after isSynced; also simple predicate case * rebased * observeQuery hasMany test; test cleanup and completness * cleanup; harden has many predicate selection * copy instead of mutate observe messages * fixed rebase mistake * fixed types * fixed modelinit and copyof typing * renames; cruft cleanup * fixed LGTM, removed unused import * yet another attempt to fix TS errors ... * set alwaysStrict to find TS errors locally, fixed TS errors * fix: TS casting errors in sync engine * upgrade dexie * stash TS strictness fixes * fixed all TS erros?git add .?? * fixed TS for ds sqlite adapter * removed accidentally added tsconfig * fixed LGTM unused variable inits * comment cleanup * Update packages/datastore/__tests__/DataStore.ts Co-authored-by: Nick Arocho <16296496+nickarocho@users.noreply.github.com> * removed some cruft * revert superfluous null check; more error message details * fixed tests after rebase * cruft cleanup Co-authored-by: Nick Arocho <16296496+nickarocho@users.noreply.github.com> Co-authored-by: Sam Martinez <samlmar@amazon.com> Co-authored-by: ManojNB <manojnb95@gmail.com> Co-authored-by: Manoj NB <manojnb@amazon.com> Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> Co-authored-by: Ashish Nanda <ashish.nanda.5591@gmail.com> Co-authored-by: David McAfee <mcafd@amazon.com> Co-authored-by: aws-amplify-bot <aws@amazon.com> Co-authored-by: Caleb Pollman <cpollman1@gmail.com> Co-authored-by: Sam Martinez <sammartinez19@gmail.com> Co-authored-by: Ashika Kasiviswanathan Arumugakarthik <akasivis@amazon.com> Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com> Co-authored-by: Tré Ammatuna <16496746+TreTuna@users.noreply.github.com> Co-authored-by: William Lee <43682783+wlee221@users.noreply.github.com> Co-authored-by: Aaron Lamb <aaronlamb93@gmail.com> Co-authored-by: Aaron Michael Lamb <aarolamb@amazon.com> Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com> Co-authored-by: James Au <40404256+jamesaucode@users.noreply.github.com> Co-authored-by: Nick Arocho <nicaroch@amazon.com> Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> Co-authored-by: Katie Goines <katiegoi@amazon.com> Co-authored-by: Bruno P. Kinoshita <kinow@users.noreply.github.com> Co-authored-by: Arthur Brandstetter <31988348+brandart@users.noreply.github.com> Co-authored-by: Yusuke Yanaka <yu@yanakatty.com> Co-authored-by: Eddy Varela <eddvar@amazon.com> Co-authored-by: Tré Ammatuna <tretuna@amazon.com> Co-authored-by: hkjpotato <hkjpotato@gmail.com> Co-authored-by: KJ(Kaijie) Huang <kaijih@amazon.com> Co-authored-by: Manuel Schiller <meisterpink@gmail.com>
* feat(@aws-amplify/datastore): ObserveQuery performance and type enhancements (#9141) * feat(@aws-amplify/datastore): constrain ObserveQuery options with explicit Type, add time interval/limit Promise race * feat(@aws-amplify/datastore): address PR callouts * feat(@aws-amplify/datastore): abstract SubscriptionBuffer to util class (TODO: add unit test) * feat(@aws-amplify/datastore): add unit test for util class * remove .only from test * feat(@aws-amplify/datastore): address PR callouts * remove .only from describe block * feat(@aws-amplify/datastore): PR-callouts, adjust naming conventions Co-authored-by: Sam Martinez <samlmar@amazon.com> * fix(@aws-amplify/pushnotification): tap on notification opens the app when it is a killed state (#9055) * feat: new script to improve local dev experience for RN * feat: rn local dev script * docs: adds the needed documentation for running the local rn dev script * fix: pr review changes, formatting and code clean up * fix: refactored the open tab function and minor code cleanup * refactor: utility functions for lerna and wml cmd formation and added comments * fix: attempt to fix the lgtm bot issue to sanitized the path input * fix: attempt 2 to build cmds after sanitizing the path * fix: attempt three at solving the bot warning, sanatizes alias,npm bin and cd commands * refactor * fix: attempt four at fixing the lgtm warning * fix: clearer documentation on the usage of the script * refactor: change get delay and open new tab names * refactor: changed all caps wording to camel case for gotopackageroot element * feat: all flag to indicate script should use all supported packages * fix: adds a new UI packages list that is used to change their package name to directory name used in wml * refactor: adds a clear note to indicate script is different from the linking method of development * fix:handle reactContext is null by listening to changes * refactor: rephrase comment Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> * refactor: emitNotificationOpened has been refactored to a new function and other nits * fix: adds an intent parameter to emitNotificationOpenedEvent * refactor: makes variables final Co-authored-by: Manoj NB <manojnb@amazon.com> Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> Co-authored-by: Sam Martinez <samlmar@amazon.com> Co-authored-by: Ashish Nanda <ashish.nanda.5591@gmail.com> * feat(amplify-js): add CD support (#9171) * fix: AWSAppSyncRealTimeProvider websocket init fix * Revert "fix: AWSAppSyncRealTimeProvider websocket init fix" This reverts commit 13e776e. * fix: AWSAppSyncRealTimeProvider websocket init fix (#9200) * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.33 - @aws-amplify/ui-components@1.9.4 - @aws-amplify/ui-react@1.2.24 - @aws-amplify/ui-storybook@2.0.24 - @aws-amplify/ui-vue@1.1.18 - @aws-amplify/analytics@5.1.4 - @aws-amplify/api-graphql@2.2.13 - @aws-amplify/api-rest@2.0.24 - @aws-amplify/api@4.0.24 - @aws-amplify/auth@4.3.14 - aws-amplify-angular@6.0.24 - aws-amplify-react-native@6.0.1 - aws-amplify-react@5.1.7 - aws-amplify@4.3.6 - @aws-amplify/cache@4.0.26 - @aws-amplify/core@4.3.6 - @aws-amplify/datastore-storage-adapter@1.1.12 - @aws-amplify/datastore@3.6.0 - @aws-amplify/geo@1.1.6 - @aws-amplify/interactions@4.0.24 - @aws-amplify/predictions@4.0.24 - @aws-amplify/pubsub@4.2.0 - @aws-amplify/pushnotification@4.3.3 - @aws-amplify/storage@4.4.7 - @aws-amplify/xr@3.0.24 * chore(release): update version.ts [ci skip] * fix(@aws-amplify/pushnotification): Upgrade Firebase Android package (#9191) * feat: new script to improve local dev experience for RN * feat: rn local dev script * docs: adds the needed documentation for running the local rn dev script * fix: pr review changes, formatting and code clean up * fix: refactored the open tab function and minor code cleanup * refactor: utility functions for lerna and wml cmd formation and added comments * fix: attempt to fix the lgtm bot issue to sanitized the path input * fix: attempt 2 to build cmds after sanitizing the path * fix: attempt three at solving the bot warning, sanatizes alias,npm bin and cd commands * refactor * fix: attempt four at fixing the lgtm warning * fix: clearer documentation on the usage of the script * refactor: change get delay and open new tab names * refactor: changed all caps wording to camel case for gotopackageroot element * feat: all flag to indicate script should use all supported packages * fix: adds a new UI packages list that is used to change their package name to directory name used in wml * refactor: adds a clear note to indicate script is different from the linking method of development * chore: upgrade firebase package and made required changes to getToken and onNewToken * refactor: review comments, added exception handling to get token * Apply suggestions from code review Co-authored-by: Sam Martinez <sammartinez19@gmail.com> Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> * refactor: formatting updates * refactor: formatting updates * remove react event listener so no multiples are registered and adds an error callback to get token Co-authored-by: Manoj NB <manojnb@amazon.com> Co-authored-by: Ashish Nanda <ashish.nanda.5591@gmail.com> Co-authored-by: Caleb Pollman <cpollman1@gmail.com> Co-authored-by: Sam Martinez <sammartinez19@gmail.com> Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.34 - @aws-amplify/ui-components@1.9.5 - @aws-amplify/ui-react@1.2.25 - @aws-amplify/ui-storybook@2.0.25 - @aws-amplify/ui-vue@1.1.19 - @aws-amplify/analytics@5.1.5 - @aws-amplify/api-graphql@2.2.14 - @aws-amplify/api-rest@2.0.25 - @aws-amplify/api@4.0.25 - @aws-amplify/auth@4.3.15 - aws-amplify-angular@6.0.25 - aws-amplify-react@5.1.8 - aws-amplify@4.3.7 - @aws-amplify/cache@4.0.27 - @aws-amplify/core@4.3.7 - @aws-amplify/datastore-storage-adapter@1.1.13 - @aws-amplify/datastore@3.6.1 - @aws-amplify/geo@1.1.7 - @aws-amplify/interactions@4.0.25 - @aws-amplify/predictions@4.0.25 - @aws-amplify/pubsub@4.2.1 - @aws-amplify/pushnotification@4.3.4 - @aws-amplify/storage@4.4.8 - @aws-amplify/xr@3.0.25 * chore(release): update version.ts [ci skip] * feat(@aws-amplify/datastore): hasOne CRUD improvements (#9239) * fix(geo): update client-location to fix tslib issue (#9247) #8967 * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.35 - @aws-amplify/ui-components@1.9.6 - @aws-amplify/ui-react@1.2.26 - @aws-amplify/ui-storybook@2.0.26 - @aws-amplify/ui-vue@1.1.20 - @aws-amplify/analytics@5.1.6 - @aws-amplify/api-graphql@2.2.15 - @aws-amplify/api-rest@2.0.26 - @aws-amplify/api@4.0.26 - @aws-amplify/auth@4.3.16 - aws-amplify-angular@6.0.26 - aws-amplify-react@5.1.9 - aws-amplify@4.3.8 - @aws-amplify/cache@4.0.28 - @aws-amplify/core@4.3.8 - @aws-amplify/datastore-storage-adapter@1.2.0 - @aws-amplify/datastore@3.7.0 - @aws-amplify/geo@1.1.8 - @aws-amplify/interactions@4.0.26 - @aws-amplify/predictions@4.0.26 - @aws-amplify/pubsub@4.2.2 - @aws-amplify/pushnotification@4.3.5 - @aws-amplify/storage@4.4.9 - @aws-amplify/xr@3.0.26 * chore(release): update version.ts [ci skip] * chore(@aws-amplify/datastore): bump dexie packages (#9262) * chore: mark ui packages as private (#9251) * fix(@aws-amplify/datastore): belongsTo bug (#9268) * fix(@aws-amplify/core): Use undefined for default sequence token with CloudWatch logging (#9181) Co-authored-by: Aaron Michael Lamb <aarolamb@amazon.com> Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com> * chore(@aws-amplify/analytics): Changed a couple file in dos format to unix (#9199) * dos->unix Co-authored-by: Sam Martinez <sammartinez19@gmail.com> Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com> * fix(@aws-amplify/datastore): consecutive saves with timestamps (#9298) * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.36 - @aws-amplify/ui-components@1.9.7 - @aws-amplify/ui-react@1.2.27 - @aws-amplify/ui-storybook@2.0.27 - @aws-amplify/ui-vue@1.1.21 - @aws-amplify/ui@2.0.4 - @aws-amplify/analytics@5.1.7 - @aws-amplify/api-graphql@2.2.16 - @aws-amplify/api-rest@2.0.27 - @aws-amplify/api@4.0.27 - @aws-amplify/auth@4.3.17 - aws-amplify-angular@6.0.27 - aws-amplify-react@5.1.10 - aws-amplify-vue@2.1.6 - aws-amplify@4.3.9 - @aws-amplify/cache@4.0.29 - @aws-amplify/core@4.3.9 - @aws-amplify/datastore-storage-adapter@1.2.1 - @aws-amplify/datastore@3.7.1 - @aws-amplify/geo@1.1.9 - @aws-amplify/interactions@4.0.27 - @aws-amplify/predictions@4.0.27 - @aws-amplify/pubsub@4.2.3 - @aws-amplify/pushnotification@4.3.6 - @aws-amplify/storage@4.4.10 - @aws-amplify/xr@3.0.27 * chore(release): update version.ts [ci skip] * fix(@aws-amplify/amplify-ui): change private property to false in package.json (#9303) Resolving an issue with installing the library * chore: preparing release * fix(@aws-amplify/amplify-ui): remove private prop from package.json (#9304) * fix(@aws-amplify/amplify-ui): change private property to false in package.json * fix(@aws-amplify/amplify-ui): remove private property from package.json Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> * fix(@aws-amplify/amplify-ui): remove private prop from package.json (#9304) * fix(@aws-amplify/amplify-ui): change private property to false in package.json * fix(@aws-amplify/amplify-ui): remove private property from package.json Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.37 - @aws-amplify/ui-components@1.9.8 - @aws-amplify/ui-react@1.2.28 - @aws-amplify/ui-storybook@2.0.28 - @aws-amplify/ui-vue@1.1.22 - @aws-amplify/ui@2.0.5 - @aws-amplify/analytics@5.1.8 - @aws-amplify/api-graphql@2.2.17 - @aws-amplify/api-rest@2.0.28 - @aws-amplify/api@4.0.28 - @aws-amplify/auth@4.3.18 - aws-amplify-angular@6.0.28 - aws-amplify-react@5.1.11 - aws-amplify@4.3.10 - @aws-amplify/cache@4.0.30 - @aws-amplify/core@4.3.10 - @aws-amplify/datastore-storage-adapter@1.2.2 - @aws-amplify/datastore@3.7.2 - @aws-amplify/geo@1.1.10 - @aws-amplify/interactions@4.0.28 - @aws-amplify/predictions@4.0.28 - @aws-amplify/pubsub@4.2.4 - @aws-amplify/pushnotification@4.3.7 - @aws-amplify/storage@4.4.11 - @aws-amplify/xr@3.0.28 * chore(release): update version.ts [ci skip] * fix(@aws-amplify/datastore): fixes observeQuery in local-only mode (#9300) * fix(@aws-amplify/pushnotification): make eligible variables final (#9301) Co-authored-by: Manoj NB <manojnb@amazon.com> Co-authored-by: Caleb Pollman <cpollman1@gmail.com> * fix(@aws-amplify/aws-amplify-react-native): fix dev build for Windows (#9341) * fix(@aws-amplify/api-graphql): Fix webpack build (#9358) * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.38 - @aws-amplify/ui-components@1.9.9 - @aws-amplify/ui-react@1.2.29 - @aws-amplify/ui-storybook@2.0.29 - @aws-amplify/ui-vue@1.1.23 - @aws-amplify/analytics@5.1.9 - @aws-amplify/api-graphql@2.2.18 - @aws-amplify/api-rest@2.0.29 - @aws-amplify/api@4.0.29 - @aws-amplify/auth@4.3.19 - aws-amplify-angular@6.0.29 - aws-amplify-react-native@6.0.2 - aws-amplify-react@5.1.12 - aws-amplify@4.3.11 - @aws-amplify/cache@4.0.31 - @aws-amplify/core@4.3.11 - @aws-amplify/datastore-storage-adapter@1.2.3 - @aws-amplify/datastore@3.7.3 - @aws-amplify/geo@1.1.11 - @aws-amplify/interactions@4.0.29 - @aws-amplify/predictions@4.0.29 - @aws-amplify/pubsub@4.2.5 - @aws-amplify/pushnotification@4.3.8 - @aws-amplify/storage@4.4.12 - @aws-amplify/xr@3.0.29 * chore(release): update version.ts [ci skip] * Fix typo in comment (psuedo) (#9389) * fix(amazon-cognito-identity-js): added missing method param (#9276) added missing method param for updateAttributes(...) method fixes: #9275 * chore: add transformer v2 DataStore integ tests to CCI pipeline (#9354) * modify config.yml to add v2 tests to pipeline * comment out all non-v2 jobs for quick iteration * needs integ_setup job * modify v2 sample app path names for CCI * re-enable auth v1 owner-and-group-same-model-default integ test for regression validation * re-enable auth v1 owner-and-group-same-model-default integ test for regression validation * re-enable auth tests * enable v1 datastore integ tests * fix(@aws-amplify/datastore): consecutive saves with timestamps (#9298) * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.36 - @aws-amplify/ui-components@1.9.7 - @aws-amplify/ui-react@1.2.27 - @aws-amplify/ui-storybook@2.0.27 - @aws-amplify/ui-vue@1.1.21 - @aws-amplify/ui@2.0.4 - @aws-amplify/analytics@5.1.7 - @aws-amplify/api-graphql@2.2.16 - @aws-amplify/api-rest@2.0.27 - @aws-amplify/api@4.0.27 - @aws-amplify/auth@4.3.17 - aws-amplify-angular@6.0.27 - aws-amplify-react@5.1.10 - aws-amplify-vue@2.1.6 - aws-amplify@4.3.9 - @aws-amplify/cache@4.0.29 - @aws-amplify/core@4.3.9 - @aws-amplify/datastore-storage-adapter@1.2.1 - @aws-amplify/datastore@3.7.1 - @aws-amplify/geo@1.1.9 - @aws-amplify/interactions@4.0.27 - @aws-amplify/predictions@4.0.27 - @aws-amplify/pubsub@4.2.3 - @aws-amplify/pushnotification@4.3.6 - @aws-amplify/storage@4.4.10 - @aws-amplify/xr@3.0.27 * chore(release): update version.ts [ci skip] * fix(@aws-amplify/amplify-ui): change private property to false in package.json (#9303) Resolving an issue with installing the library * chore: preparing release * fix(@aws-amplify/amplify-ui): remove private prop from package.json (#9304) * fix(@aws-amplify/amplify-ui): change private property to false in package.json * fix(@aws-amplify/amplify-ui): remove private property from package.json Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.37 - @aws-amplify/ui-components@1.9.8 - @aws-amplify/ui-react@1.2.28 - @aws-amplify/ui-storybook@2.0.28 - @aws-amplify/ui-vue@1.1.22 - @aws-amplify/ui@2.0.5 - @aws-amplify/analytics@5.1.8 - @aws-amplify/api-graphql@2.2.17 - @aws-amplify/api-rest@2.0.28 - @aws-amplify/api@4.0.28 - @aws-amplify/auth@4.3.18 - aws-amplify-angular@6.0.28 - aws-amplify-react@5.1.11 - aws-amplify@4.3.10 - @aws-amplify/cache@4.0.30 - @aws-amplify/core@4.3.10 - @aws-amplify/datastore-storage-adapter@1.2.2 - @aws-amplify/datastore@3.7.2 - @aws-amplify/geo@1.1.10 - @aws-amplify/interactions@4.0.28 - @aws-amplify/predictions@4.0.28 - @aws-amplify/pubsub@4.2.4 - @aws-amplify/pushnotification@4.3.7 - @aws-amplify/storage@4.4.11 - @aws-amplify/xr@3.0.28 * chore(release): update version.ts [ci skip] * fix(@aws-amplify/datastore): fixes observeQuery in local-only mode (#9300) * uncomment tests, prepare for main pipeline addition * add v2 tests to deploy job * add observe query integ tests to the pipeline * add SQLite adapter e2e test to pipeline Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com> Co-authored-by: aws-amplify-bot <aws@amazon.com> Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> * ci: upgrade macOS executors (#9431) * fix(@aws-amplify/core): use empty string as translation (#9403) * fix for using empty string as translation * Update I18n.ts strict inequality with undefined for the dictionary values Co-authored-by: Eddy Varela <eddvar@amazon.com> Co-authored-by: Nick Arocho <16296496+nickarocho@users.noreply.github.com> * Revert "fix(@aws-amplify/core): use empty string as translation (#9403)" (#9436) This reverts commit 512fd99. * chore: preparing release * fix(aws-amplify-angular): removed old zone package (#9437) * chore: preparing release (#9441) Co-authored-by: James Au <40404256+jamesaucode@users.noreply.github.com> * chore(release): Publish [ci skip] - amazon-cognito-identity-js@5.2.4 - @aws-amplify/ui-angular@1.0.39 - @aws-amplify/ui-components@1.9.10 - @aws-amplify/ui-react@1.2.30 - @aws-amplify/ui-storybook@2.0.30 - @aws-amplify/ui-vue@1.1.24 - @aws-amplify/analytics@5.1.10 - @aws-amplify/api-graphql@2.2.19 - @aws-amplify/api-rest@2.0.30 - @aws-amplify/api@4.0.30 - @aws-amplify/auth@4.3.20 - aws-amplify-angular@6.0.30 - aws-amplify-react@5.1.13 - aws-amplify@4.3.12 - @aws-amplify/cache@4.0.32 - @aws-amplify/core@4.3.12 - @aws-amplify/datastore-storage-adapter@1.2.4 - @aws-amplify/datastore@3.7.4 - @aws-amplify/geo@1.1.12 - @aws-amplify/interactions@4.0.30 - @aws-amplify/predictions@4.0.30 - @aws-amplify/pubsub@4.2.6 - @aws-amplify/pushnotification@4.3.9 - @aws-amplify/storage@4.4.13 - @aws-amplify/xr@3.0.30 * chore(release): update version.ts [ci skip] * chore(amplify-js): consolidate react-native dependencies (#9451) * Revert "chore(amplify-js): consolidate react-native dependencies (#9451)" (#9473) This reverts commit d304f94. * fix: Fix CircleCI integration tests (#9500) * fix: pin jsdoc version (#9510) The latest jsdoc requires node >= 14. Pinning it to an older version to avoid upgrading our docker images' node version. * fix(geo): remove 'ensure to' from error message * chore(geo): remove file that's no longer used * chore(geo): fix type comment * fix(geo): error if mutually exclusive options are given * test(@aws-amplify/geo): fix failing tests * chore(amplify-js): consolidate react-native dependencies (#9521) * feat(@aws-amplify/auth): Delete user API exposed (#9428) * fix for using empty string as translation * feat(@aws-amplify/auth): delete user poc * reverting internationalization commit * adding hub event * addressing feedback and beginning unit tests * added unit tests within suite for deleteUser API call * removing zone dependency to fix failing builds * integ test commit * fix e2e for delete user * adding branch for deleteUser in sample staging repo * pinning jsdoc dependency * one more time * adding fixes for hosted ui * preventing signout race condition * fixing circle ci * hot fix * circle ci configured for deleteUser * fixing pr comments * changing tests and updating circle ci * reverting circle ci config * adding integ tests * staging url * removing comments * empty commit * rerun integ test * remove deploy and post release step * run only delete user test * correct config * rerun integ test * uncomment test * fix unit test * final auth * revert i18N change * addressing pr comments * resolving promise * remove missed signout * ts nit Co-authored-by: yanakatty <yu@yanakatty.com> Co-authored-by: Ashika Kasiviswanathan Arumugakarthik <akasivis@amazon.com> * chore: preparing release * chore(release): Publish [ci skip] - amazon-cognito-identity-js@5.2.5 - @aws-amplify/ui-angular@1.0.40 - @aws-amplify/ui-components@1.9.11 - @aws-amplify/ui-react@1.2.31 - @aws-amplify/ui-storybook@2.0.31 - @aws-amplify/ui-vue@1.1.25 - @aws-amplify/analytics@5.1.11 - @aws-amplify/api-graphql@2.2.20 - @aws-amplify/api-rest@2.0.31 - @aws-amplify/api@4.0.31 - @aws-amplify/auth@4.4.0 - aws-amplify-angular@6.0.31 - aws-amplify-react@5.1.14 - aws-amplify@4.3.13 - @aws-amplify/cache@4.0.33 - @aws-amplify/core@4.3.13 - @aws-amplify/datastore-storage-adapter@1.2.5 - @aws-amplify/datastore@3.7.5 - @aws-amplify/geo@1.1.13 - @aws-amplify/interactions@4.0.31 - @aws-amplify/predictions@4.0.31 - @aws-amplify/pubsub@4.2.7 - @aws-amplify/pushnotification@4.3.10 - @aws-amplify/storage@4.4.14 - @aws-amplify/xr@3.0.31 * chore(release): update version.ts [ci skip] * chore(react-native): upgrade React Native devDependency version to ^0.64.1 (#9525) * upgrade next version to ^11.1.3 for security patch (#9533) * import React Native headers from <React/*.h> (#9387) This ensures compatibility with Expo SDK 44. see expo/expo#15622 (comment) Co-authored-by: Caleb Pollman <cpollman1@gmail.com> Co-authored-by: KJ(Kaijie) Huang <kaijih@amazon.com> * fix(datastore): correctly apply config values (#9542) * feat(@aws-amplify/geo): searchForSuggestions API (#9516) * feat(geo): searchForSuggestions initial implementation * chore(@aws-amplify/geo): update dependencies * chore(@aws-amplify/geo): update test strings * test(@aws-amplify/geo): update searchForSuggestion tests * added missing import * Revert "Merge branch 'datastore-laziness' into datastore-laziness" This reverts commit 20d803c, reversing changes made to c50e13f. Co-authored-by: Nick Arocho <16296496+nickarocho@users.noreply.github.com> Co-authored-by: Sam Martinez <samlmar@amazon.com> Co-authored-by: ManojNB <manojnb95@gmail.com> Co-authored-by: Manoj NB <manojnb@amazon.com> Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> Co-authored-by: Ashish Nanda <ashish.nanda.5591@gmail.com> Co-authored-by: David McAfee <mcafd@amazon.com> Co-authored-by: aws-amplify-bot <aws@amazon.com> Co-authored-by: Caleb Pollman <cpollman1@gmail.com> Co-authored-by: Sam Martinez <sammartinez19@gmail.com> Co-authored-by: Ashika Kasiviswanathan Arumugakarthik <akasivis@amazon.com> Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com> Co-authored-by: Tré Ammatuna <16496746+TreTuna@users.noreply.github.com> Co-authored-by: William Lee <43682783+wlee221@users.noreply.github.com> Co-authored-by: Aaron Lamb <aaronlamb93@gmail.com> Co-authored-by: Aaron Michael Lamb <aarolamb@amazon.com> Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com> Co-authored-by: James Au <40404256+jamesaucode@users.noreply.github.com> Co-authored-by: Nick Arocho <nicaroch@amazon.com> Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> Co-authored-by: Katie Goines <katiegoi@amazon.com> Co-authored-by: Bruno P. Kinoshita <kinow@users.noreply.github.com> Co-authored-by: Arthur Brandstetter <31988348+brandart@users.noreply.github.com> Co-authored-by: Yusuke Yanaka <yu@yanakatty.com> Co-authored-by: Eddy Varela <eddvar@amazon.com> Co-authored-by: Tré Ammatuna <tretuna@amazon.com> Co-authored-by: hkjpotato <hkjpotato@gmail.com> Co-authored-by: KJ(Kaijie) Huang <kaijih@amazon.com> Co-authored-by: Manuel Schiller <meisterpink@gmail.com>
* chore(amazon-cognito-identity-js): Relicense to Apache-2.0 (#9632) * chore(amazon-cognito-identity-js): 3p licenses Clarified third-party licenses in amazon-cognito-identity-js * chore(amazon-cognito-identity-js): relicense Relicensed amazon-cognito-identity-js from the proprietary Amazon Software License (AmzSL) to the open source Apache License 2.0, consistent with the rest of the Amplify for JavaScript project. * ci: update cypress docker image for firefox (#9676) * fix(@aws-amplify/auth): Invalid session cleanup (#9628) Co-authored-by: Francisco Rodriguez <elorzafe@amazon.com> * refactor(amplify-js/scripts): replace npm-exec alias with npx, move watchman cmd into the script and remove unnecessary steps in the contribution guide (#9579) * refactor: replace npm-exec with npx and remove step 2 in guide * refactor: remove commented code * refactor: grammar correction * refactor: move watchman command into the script and update guide * typo Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> * expanding the link to more words Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> * rephrasing Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> * Added a note on having watchman installed * removes conflicts * rephrases the note Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> Co-authored-by: Manoj NB <manojnb@amazon.com> Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> * chore: preparing release * chore(release): Publish [ci skip] - amazon-cognito-identity-js@5.2.8 - @aws-amplify/ui-angular@1.0.43 - @aws-amplify/ui-components@1.9.14 - @aws-amplify/ui-react@1.2.34 - @aws-amplify/ui-storybook@2.0.34 - @aws-amplify/ui-vue@1.1.28 - @aws-amplify/analytics@5.2.1 - @aws-amplify/api-graphql@2.2.23 - @aws-amplify/api-rest@2.0.34 - @aws-amplify/api@4.0.34 - @aws-amplify/auth@4.4.3 - aws-amplify-angular@6.0.34 - aws-amplify-react@5.1.17 - aws-amplify@4.3.16 - @aws-amplify/cache@4.0.36 - @aws-amplify/core@4.4.1 - @aws-amplify/datastore-storage-adapter@1.2.8 - @aws-amplify/datastore@3.7.8 - @aws-amplify/geo@1.2.2 - @aws-amplify/interactions@4.0.34 - @aws-amplify/predictions@4.0.34 - @aws-amplify/pubsub@4.2.10 - @aws-amplify/pushnotification@4.3.13 - @aws-amplify/storage@4.4.17 - @aws-amplify/xr@3.0.34 * chore(release): update version.ts [ci skip] * chore(data): update API docs (#9690) * fix(pushnotification/android): return just the error message rather than the whole exception (#9641) Co-authored-by: Manoj NB <manojnb@amazon.com> Co-authored-by: Caleb Pollman <cpollman@amazon.com> * fix(@aws-amplify/datastore): fix mutations to retry indefinitely on network error (#9724) * Use custom retry strategy in outbox processing - Export `jitteredBackoff` from core - Define custom strategy extending `jitteredBackoff` that retries indefinitely for network errors * typo fix, testing for safe jittered backoff * updated axios packet loss test * Update packages/datastore/src/sync/processors/mutation.ts Co-authored-by: Manuel Iglesias <6154160+manueliglesias@users.noreply.github.com> * updated 20500 literal to show the math Co-authored-by: Manuel Iglesias <6154160+manueliglesias@users.noreply.github.com> * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.44 - @aws-amplify/ui-components@1.9.15 - @aws-amplify/ui-react@1.2.35 - @aws-amplify/ui-storybook@2.0.35 - @aws-amplify/ui-vue@1.1.29 - @aws-amplify/analytics@5.2.2 - @aws-amplify/api-graphql@2.2.24 - @aws-amplify/api-rest@2.0.35 - @aws-amplify/api@4.0.35 - @aws-amplify/auth@4.4.4 - aws-amplify-angular@6.0.35 - aws-amplify-react@5.1.18 - aws-amplify@4.3.17 - @aws-amplify/cache@4.0.37 - @aws-amplify/core@4.4.2 - @aws-amplify/datastore-storage-adapter@1.2.9 - @aws-amplify/datastore@3.7.9 - @aws-amplify/geo@1.2.3 - @aws-amplify/interactions@4.0.35 - @aws-amplify/predictions@4.0.35 - @aws-amplify/pubsub@4.2.11 - @aws-amplify/pushnotification@4.3.14 - @aws-amplify/storage@4.4.18 - @aws-amplify/xr@3.0.35 * chore(release): update version.ts [ci skip] * fix(storage): axios handler error handling fix (#9587) * feat: PubSub Add Options objects for all Providers and fix: Spelling error and deprecation of old exports (#9683) * fix: Spelling error and add deprecation warnings to deprecated interfaces * feat: PubSub - Add options extensions for each provider * fix(withAuthenticator): RN Set default usernameAttributes to username and autofill the username in ConfirmSignUp Page. (#9723) * Set default usernameAttributes to username and autofill the username in ConfirmSignUp page * Set default usernameAttributes in the Authenticator Component Co-authored-by: Caleb Pollman <cpollman@amazon.com> * fix: upgrade CircleCI Cypress image to 12.22.8 (#9744) * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.45 - @aws-amplify/ui-components@1.9.16 - @aws-amplify/ui-react@1.2.36 - @aws-amplify/ui-storybook@2.0.36 - @aws-amplify/ui-vue@1.1.30 - @aws-amplify/analytics@5.2.3 - @aws-amplify/api-graphql@2.3.0 - @aws-amplify/api-rest@2.0.36 - @aws-amplify/api@4.0.36 - @aws-amplify/auth@4.5.0 - aws-amplify-angular@6.0.36 - aws-amplify-react-native@6.0.4 - aws-amplify-react@5.1.19 - aws-amplify@4.3.18 - @aws-amplify/cache@4.0.38 - @aws-amplify/core@4.5.0 - @aws-amplify/datastore-storage-adapter@1.2.10 - @aws-amplify/datastore@3.8.0 - @aws-amplify/geo@1.2.4 - @aws-amplify/interactions@4.0.36 - @aws-amplify/predictions@4.0.36 - @aws-amplify/pubsub@4.3.0 - @aws-amplify/pushnotification@4.3.15 - @aws-amplify/storage@4.4.19 - @aws-amplify/xr@3.0.36 * chore(release): update version.ts [ci skip] * feat: update DataStore observe / observeQuery to return all fields in local update snapshot (#9556) * address PR feedback * test(DataStore): add observe unit tests Co-authored-by: Jon Wire <iambipedal@gmail.com> * update types for internal / external subscription messages; minor update to datastore 'observe' * chore(data): format DataStore with Prettier * Revert "feat(@aws-amplify/geo): searchForSuggestions API (#9516)" (#9747) This reverts commit bb60060. * chore: update .github/CODEOWNERS (#9740) Co-authored-by: Caleb Pollman <cpollman@amazon.com> * fix: upgraded commonmarker in Gemfile (#9692) * upgraded commonmarker * after running yarn docs * Revert "after running yarn docs" This reverts commit e8c813c. Co-authored-by: David McAfee <mcafd@amazon.com> * feat(@aws-amplify/geo): add geofence APIs (#9743) * feat(@aws-amplify/geo): add geofence APIs (#9278) * feat(@aws-amplify/geo): verify coordinates * chore(@aws-amplify/geo): remove unused file * feat(@aws-amplify/geo): add initial types for geofences * chore(@aws-amplify/geo): add types and validation utils * feat(@aws-amplify/geo): add createGeofence to provider * feat(@aws-amplify/geo): add createGeofence to Geo * fix(@aws-amplify/geo): remove bad import * fix(@aws-amplify/geo): update jsdoc on createGeofence Co-authored-by: Amplifiyer <51211245+Amplifiyer@users.noreply.github.com> * fix(@aws-amplify/geo): update jsdoc on createGeofence in provider Co-authored-by: Amplifiyer <51211245+Amplifiyer@users.noreply.github.com> * fix(@aws-amplify/geo): update error message for bad polygon Co-authored-by: Amplifiyer <51211245+Amplifiyer@users.noreply.github.com> * fix(@aws-amplify/geo): first update from PR comments * fix(@aws-amplify/geo): update #2 from PR comments * fix(@aws-amplify/geo): update types and batch calls * Update packages/geo/src/types/Geo.ts Co-authored-by: Amplifiyer <51211245+Amplifiyer@users.noreply.github.com> * fix(geo): update types from PR feedback * chore(geo): add error handling on failed API call * test(geo): add test for batch API calls * test(geo): add test for bad api call in createGeofences feat(geo): add getGeofence api (#9309) * feat(@aws-amplify/geo): verify coordinates * chore(@aws-amplify/geo): add types and validation utils * feat(@aws-amplify/geo): add createGeofence to provider * feat(@aws-amplify/geo): add createGeofence to provider * feat(geo): add getGeofence api * chore(geo): combine some try/catch blocks * chore(geo): add > to jsdoc comment feat(geo): add listGeofences api (#9310) feat(geo): add updateGeofences api (#9312) * feat(geo): add listGeofences api * feat(geo): add initial updateGeofences api * refactor(geo): optimize _batchPutGeofence function feat(geo): add deleteGeofences api (#9314) * feat(@aws-amplify/geo): verify coordinates * feat(geo): batch deleteGeofences call * chore(geo): fix issue with response refactor(geo): update loggers and remove unused code refactor(geo): create/updateGeofences => saveGeofences chore(geo): split out testData and testFunctions * fix(geo): update validations and error messages (#9670) * chore(geo): remove unused `logger` function * fix(geo): update validation error messages * fix(geo): add validation for empty input arrays * fix(geo): polygon if statement and nits * fix(geo): get rid of that really bad extra space in comment * fix(geo): fix nextToken type * fix(geo): fix missspelling * fix(geo): update batch array naming and types * fix(geo): add GeofenceId type * fix(geo): add test for tooManyVertices * fix: PubSub - Resolve ts strict errors in the root import object (#9733) fix: PubSub - Resolve ts strict errors in the PubSub root file * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.46 - @aws-amplify/ui-components@1.9.17 - @aws-amplify/ui-react@1.2.37 - @aws-amplify/ui-storybook@2.0.37 - @aws-amplify/ui-vue@1.1.31 - @aws-amplify/analytics@5.2.4 - @aws-amplify/api-graphql@2.3.1 - @aws-amplify/api-rest@2.0.37 - @aws-amplify/api@4.0.37 - @aws-amplify/auth@4.5.1 - aws-amplify-angular@6.0.37 - aws-amplify-react@5.1.20 - aws-amplify@4.3.19 - @aws-amplify/cache@4.0.39 - @aws-amplify/core@4.5.1 - @aws-amplify/datastore-storage-adapter@1.2.11 - @aws-amplify/datastore@3.9.0 - @aws-amplify/geo@1.3.0 - @aws-amplify/interactions@4.0.37 - @aws-amplify/predictions@4.0.37 - @aws-amplify/pubsub@4.3.1 - @aws-amplify/pushnotification@4.3.16 - @aws-amplify/storage@4.4.20 - @aws-amplify/xr@3.0.37 * chore(release): update version.ts [ci skip] * fix(pushnotification): onTap of notification after the app is killed in Android Oreo or higher (#9729) * fix: make the notification open intent explicit * remove irrelavant gradle changes Co-authored-by: Manoj NB <manojnb@amazon.com> Co-authored-by: Caleb Pollman <cpollman@amazon.com> * fix: PubSub - Resolve ts strict errors in the MqttOverWSProvider (#9732) * fix: PubSub - Resolve ts strict errors in the AWSAppSyncRealTimeProvider (#9731) * fix: PubSub - Resolve ts strict errors in the AWSAppSyncRealTimeProvider * feat(data): Datastore Docs (#9753) * fix(pushnotification): unused and androidX imports (#9708) Resolves #8023 Co-authored-by: ManojNB <manojnb95@gmail.com> * gem update (#9808) * chore: preparing release * chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.47 - @aws-amplify/ui-components@1.9.18 - @aws-amplify/ui-react@1.2.38 - @aws-amplify/ui-storybook@2.0.38 - @aws-amplify/ui-vue@1.1.32 - @aws-amplify/analytics@5.2.5 - @aws-amplify/api-graphql@2.3.2 - @aws-amplify/api-rest@2.0.38 - @aws-amplify/api@4.0.38 - @aws-amplify/auth@4.5.2 - aws-amplify-angular@6.0.38 - aws-amplify-react@5.1.21 - aws-amplify@4.3.20 - @aws-amplify/cache@4.0.40 - @aws-amplify/core@4.5.2 - @aws-amplify/datastore-storage-adapter@1.2.12 - @aws-amplify/datastore@3.10.0 - @aws-amplify/geo@1.3.1 - @aws-amplify/interactions@4.0.38 - @aws-amplify/predictions@4.0.38 - @aws-amplify/pubsub@4.3.2 - @aws-amplify/pushnotification@4.3.17 - @aws-amplify/storage@4.4.21 - @aws-amplify/xr@3.0.38 * chore(release): update version.ts [ci skip] * fix(@aws-amplify/datastore-storage-adapter): SQLite adapter NULL handling and mutation queue management bugs (#9813) * experimenting with sqlite adapter tests * seemingly working react-native-sqlite-storage mock * stash * checkpoint: found a combo that creates rogue mutations * successfully detecting the mutation discrepency in jest * replicated sqlite test for rogue mutations to indexeddb * stash * fix: outbox handling, sqlite adapter null comparison handling * expanded test coverage for adapter comparison operators * cleanup sqlite adapter test file * cleanup debugging cruft * trying to make sqlite3 bin work * another attempt to make sqlite3 work * seeing if we can shorten sqlite3 build step * cruft cleanup, comment update * fix tslint and package version errors * chore: fixed sqlite testing adapter, add sanity checks for batchSave, batchQuery (#9823) * fix: sqlite mock, add sanity checks for batchSave, batchQuery * chore: remove inadvertent VS Code auto-import * test fix: ensure there's sql in the test log to assert on Co-authored-by: Andrew Jorgensen <ajorgens@amazon.com> Co-authored-by: Tré Ammatuna <16496746+TreTuna@users.noreply.github.com> Co-authored-by: James Au <40404256+jamesaucode@users.noreply.github.com> Co-authored-by: Francisco Rodriguez <elorzafe@amazon.com> Co-authored-by: ManojNB <manojnb95@gmail.com> Co-authored-by: Manoj NB <manojnb@amazon.com> Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> Co-authored-by: ArkamJ <arkamj@amazon.com> Co-authored-by: aws-amplify-bot <aws@amazon.com> Co-authored-by: David McAfee <mcafd@amazon.com> Co-authored-by: Caleb Pollman <cpollman@amazon.com> Co-authored-by: Manuel Iglesias <6154160+manueliglesias@users.noreply.github.com> Co-authored-by: Nick Arocho <nicaroch@amazon.com> Co-authored-by: Aaron S <94858815+stocaaro@users.noreply.github.com> Co-authored-by: chintannp <88387035+chintannp@users.noreply.github.com> Co-authored-by: ArkamJ <67259466+ArkamJ@users.noreply.github.com> Co-authored-by: James Au <auchu@amazon.com> Co-authored-by: Simon-TechForm <73996878+Simon-TechForm@users.noreply.github.com> Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com> Co-authored-by: Ashika Kasiviswanathan Arumugakarthik <akasivis@amazon.com>
This pull request has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Description of changes
searchForSuggestions
that takes in a search text, with optional parameters, and returns an array of strings matching the results from calls to Amazon Location ServiceSearchPlaceIndexForSuggestions
API.search for
starbucks
search for
star
search for
amazon
Description of how you validated changes
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.