Skip to content

Commit

Permalink
Merge main into in-app-messaging/main (#10264)
Browse files Browse the repository at this point in the history
* 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
1 parent d042ce9 commit fc590d1
Show file tree
Hide file tree
Showing 130 changed files with 4,870 additions and 1,357 deletions.
166 changes: 114 additions & 52 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ executors:
xcode: 13.2.1
resource_class: large

# For RN apps that need to be upgraded before using latest iOS/macOS
macos-executor-legacy:
macos:
xcode: 11.5.0
resource_class: large

test_env_vars: &test_env_vars
environment:
NPM_REGISTRY: http://0.0.0.0:4873/
Expand Down Expand Up @@ -453,6 +447,13 @@ jobs:
sample_name: with-authenticator
spec: ui-amplify-authenticator
browser: << parameters.browser >>
- integ_test_js:
test_name: 'Sign In after Sign Up'
framework: react
category: auth
sample_name: auto-signin-after-signup
spec: auto-signin-after-signup
browser: << parameters.browser >>
integ_angular_auth:
parameters:
browser:
Expand Down Expand Up @@ -832,6 +833,23 @@ jobs:
spec: observe-query
browser: << parameters.browser >>

integ_react_datastore_schema_drift:
parameters:
browser:
type: string
executor: js-test-executor
<<: *test_env_vars
working_directory: ~/amplify-js-samples-staging/samples/react/datastore/schema-drift
steps:
- prepare_test_env
- integ_test_js:
test_name: 'DataStore - Schema Drift'
framework: react
category: datastore
sample_name: schema-drift
spec: schema-drift
browser: << parameters.browser >>

integ_react_storage:
parameters:
browser:
Expand Down Expand Up @@ -984,7 +1002,7 @@ jobs:
spec: delete-user
browser: << parameters.browser >>
integ_rn_ios_storage:
executor: macos-executor-legacy
executor: macos-executor
<<: *test_env_vars
working_directory: ~/amplify-js-samples-staging/samples/react-native/storage/StorageApp
steps:
Expand All @@ -1004,19 +1022,19 @@ jobs:
steps:
- integ_test_rn_ios

integ_rn_android_storage:
executor: macos-executor-legacy
<<: *test_env_vars
working_directory: ~/amplify-js-samples-staging/samples/react-native/storage/StorageApp
steps:
- integ_test_rn_android
# integ_rn_android_storage:
# executor: macos-executor
# <<: *test_env_vars
# working_directory: ~/amplify-js-samples-staging/samples/react-native/storage/StorageApp
# steps:
# - integ_test_rn_android

integ_rn_android_storage_multipart_progress:
executor: macos-executor-legacy
<<: *test_env_vars
working_directory: ~/amplify-js-samples-staging/samples/react-native/storage/MultiPartUploadWithProgress
steps:
- integ_test_rn_android
# integ_rn_android_storage_multipart_progress:
# executor: macos-executor
# <<: *test_env_vars
# working_directory: ~/amplify-js-samples-staging/samples/react-native/storage/MultiPartUploadWithProgress
# steps:
# - integ_test_rn_android

integ_rn_ios_datastore_sqlite_adapter:
executor: macos-executor
Expand Down Expand Up @@ -1122,6 +1140,24 @@ jobs:
spec: search-outside-map
# Temp fix:
browser: chrome

integ_next_datastore_owner_auth:
parameters:
browser:
type: string
executor: js-test-executor
<<: *test_env_vars
working_directory: ~/amplify-js-samples-staging/samples/next/datastore/owner-based-default
steps:
- prepare_test_env
- integ_test_js:
test_name: 'next owner auth'
framework: next
category: datastore
sample_name: owner-based-default
spec: next-owner-based-default
browser: << parameters.browser >>

deploy:
executor: macos-executor
working_directory: ~/amplify-js
Expand Down Expand Up @@ -1411,6 +1447,15 @@ workflows:
matrix:
parameters:
<<: *test_browsers
- integ_react_datastore_schema_drift:
requires:
- integ_setup
- build
filters:
<<: *releasable_branches
matrix:
parameters:
<<: *test_browsers
- integ_react_storage:
requires:
- integ_setup
Expand Down Expand Up @@ -1504,24 +1549,24 @@ workflows:
- build
filters:
<<: *releasable_branches
- integ_rn_android_storage:
requires:
- integ_setup
- build
filters:
<<: *releasable_branches
- integ_rn_android_storage_multipart_progress:
requires:
- integ_setup
- build
filters:
<<: *releasable_branches
- integ_rn_ios_datastore_sqlite_adapter:
requires:
- integ_setup
- build
filters:
<<: *releasable_branches
# - integ_rn_android_storage:
# requires:
# - integ_setup
# - build
# filters:
# <<: *releasable_branches
# - integ_rn_android_storage_multipart_progress:
# requires:
# - integ_setup
# - build
# filters:
# <<: *releasable_branches
# - integ_rn_ios_datastore_sqlite_adapter:
# requires:
# - integ_setup
# - build
# filters:
# <<: *releasable_branches
- integ_datastore_auth:
requires:
- integ_setup
Expand Down Expand Up @@ -1558,6 +1603,15 @@ workflows:
matrix:
parameters:
<<: *test_browsers
- integ_next_datastore_owner_auth:
requires:
- integ_setup
- build
filters:
<<: *releasable_branches
matrix:
parameters:
<<: *test_browsers
- deploy:
filters:
<<: *releasable_branches
Expand All @@ -1579,6 +1633,7 @@ workflows:
- integ_react_datastore_consecutive_saves_v2
- integ_react_datastore_observe_query
- integ_react_datastore_observe_query_v2
- integ_react_datastore_schema_drift
- integ_react_storage
- integ_react_storage_multipart_progress
- integ_react_storage_copy
Expand All @@ -1594,16 +1649,17 @@ workflows:
- integ_vue_auth
- integ_rn_ios_storage
- integ_rn_ios_storage_multipart_progress
- integ_rn_android_storage_multipart_progress
# - integ_rn_android_storage_multipart_progress
- integ_rn_ios_push_notifications
- integ_rn_android_storage
- integ_rn_ios_datastore_sqlite_adapter
# - integ_rn_android_storage
# - integ_rn_ios_datastore_sqlite_adapter
- integ_datastore_auth
- integ_datastore_auth_v2
# - integ_duplicate_packages
- integ_auth_test_cypress_no_ui
- integ_react_graphql_api
- integ_react_geo
- integ_next_datastore_owner_auth
- post_release:
filters:
branches:
Expand Down Expand Up @@ -1688,20 +1744,26 @@ workflows:
name: RN iOS - latest
framework: rn_ios
main-file-path: ./App.js
# TODO: delete next line after https://github.com/react-native-picker/picker/issues/425 is resolved
tag: 0.68.2
- getting-started-smoke-test/rn-android:
name: RN Android - latest
framework: rn_android
main-file-path: ./App.js
- getting-started-smoke-test/rn-ios:
name: RN iOS - next
framework: rn_ios
main-file-path: ./App.js
tag: next
- getting-started-smoke-test/rn-android:
name: RN Android - next
framework: rn_android
main-file-path: ./App.js
tag: next
# TODO: delete next line after https://github.com/react-native-picker/picker/issues/425 is resolved
tag: 0.68.2

# TODO: re-enable the following 2 jobs after https://github.com/react-native-picker/picker/issues/425 is resolved
# - getting-started-smoke-test/rn-ios:
# name: RN iOS - next
# framework: rn_ios
# main-file-path: ./App.js
# tag: next
# - getting-started-smoke-test/rn-android:
# name: RN Android - next
# framework: rn_android
# main-file-path: ./App.js
# tag: next
# Expo
- getting-started-smoke-test/expo:
name: Expo - latest
Expand Down Expand Up @@ -1861,7 +1923,7 @@ orbs:
- run-with-retry:
label: Scaffold App
pre-command: cd ../ && rm -rf amplify_getting_started_<< parameters.framework >>
command: npx react-native@<< parameters.tag >> init amplify_getting_started_<< parameters.framework >>
command: npx react-native@<< parameters.tag >> init amplify_getting_started_<< parameters.framework >> --version << parameters.tag >>
no_output_timeout: 10m
- run-with-retry:
label: Install Amplify dependencies
Expand Down Expand Up @@ -1913,7 +1975,7 @@ orbs:
- run-with-retry:
label: Scaffold App
pre-command: cd ../ && rm -rf amplify_getting_started_<< parameters.framework >>
command: npx react-native@<< parameters.tag >> init amplify_getting_started_<< parameters.framework >>
command: npx react-native@<< parameters.tag >> init amplify_getting_started_<< parameters.framework >> --version << parameters.tag >>
no_output_timeout: 10m
- run-with-retry:
label: Install Amplify dependencies
Expand Down
16 changes: 8 additions & 8 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@
/packages/amplify-ui-storybook @calebpollman
/packages/amplify-ui-vue @calebpollman
/packages/analytics @elorzafe
/packages/api @jamesaucode @david-mcafee
/packages/api-graphql @jamesaucode @david-mcafee
/packages/api-rest @jamesaucode @david-mcafee
/packages/auth @elorzafe @ashika01 @jamesaucode @nickarocho
/packages/api @svidgen @david-mcafee @manueliglesias @dpilch
/packages/api-graphql @svidgen @david-mcafee @manueliglesias @dpilch
/packages/api-rest @svidgen @david-mcafee @manueliglesias @dpilch
/packages/auth @elorzafe @ashika01 @jamesaucode
/packages/aws-amplify @aws-amplify/amplify-js
/packages/aws-amplify-angular @aws-amplify/amplify-js
/packages/aws-amplify-react @aws-amplify/amplify-js
/packages/aws-amplify-react-native @calebpollman @nickarocho
/packages/aws-amplify-react-native @calebpollman
/packages/aws-amplify-vue @aws-amplify/amplify-js
/packages/cache @aws-amplify/amplify-js
/packages/core @elorzafe @manueliglesias @iartemiev
/packages/datastore @svidgen @david-mcafee @manueliglesias
/packages/datastore-storage-adapter @svidgen @david-mcafee @manueliglesias
/packages/geo @TreTuna @thaddmt
/packages/datastore @svidgen @david-mcafee @manueliglesias @dpilch
/packages/datastore-storage-adapter @svidgen @david-mcafee @manueliglesias @dpilch
/packages/geo @thaddmt
/packages/interactions @katiegoines
/packages/predictions @elorzafe @stocaaro
/packages/pubsub @stocaaro @elorzafe @ashika01
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ In your sample project, you can now link specific packages
yarn link @aws-amplify/auth
```

These tests are only necessary if you’re looking to contribute a Pull Request. If you’re just playing locally you don’t need them. However if you’re contributing a Pull Request for anything other than bug fixes it would be best to validate that first because depending on the scope of the change.
Passing unit tests are only necessary if you’re looking to contribute a pull request. If you’re just playing locally, you don’t need them. However, if you’re contributing a pull request for anything other than making a change to the documentation, fixing a formatting issue in the code (i.e., white space, missing semi-colons) or another task that does not impact the functionality of the code, you will need to validate your proposed changes with passing unit tests.

**Using the setup-dev:react-native script to work with React-Native apps**

Expand All @@ -139,7 +139,7 @@ To develop locally alongside a React-Native app, make sure to,
npm run setup-dev:react-native -- --packages @aws-amplify/auth --target ~/path/to/your/rn/app/root
```

> Note: This script runs a continious job in the newly opened tabs to watch, build and copy the changes unlike the usual linking method.
> Note: This script runs a continuous job in the newly opened tabs to watch, build and copy the changes unlike the usual linking method.
The options `--packages` is used to specify single or multiple package names and the `--target` option is used to specify the path to your sample React-Native app.
Optionally, you can use the shorthands flags `-p` and `-t` for packages and target path respectively.
Expand Down
2 changes: 1 addition & 1 deletion docs/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ GEM
thread_safe (0.3.6)
typhoeus (1.4.0)
ethon (>= 0.9.0)
tzinfo (1.2.9)
tzinfo (1.2.10)
thread_safe (~> 0.1)
unf (0.1.4)
unf_ext
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"devDependencies": {
"@babel/cli": "7.17.0",
"@babel/core": "7.17.2",
"@types/lodash": "4.14.182",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@types/jest": "^24.0.18",
Expand Down Expand Up @@ -104,7 +105,8 @@
"@types/react": "16.9.10",
"terser": "4.6.7",
"npm-packlist": "1.1.12",
"error-stack-parser": "2.0.6"
"error-stack-parser": "2.0.6",
"@types/minimatch": "3.0.5"
},
"bundlewatch": {
"files": [
Expand Down
11 changes: 11 additions & 0 deletions packages/amazon-cognito-identity-js/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [5.2.10](https://github.com/aws-amplify/amplify-js/compare/amazon-cognito-identity-js@5.2.9...amazon-cognito-identity-js@5.2.10) (2022-07-07)


### Bug Fixes

* **amazon-cognito-identity-js:** Missing cognito user challenge name … ([#10047](https://github.com/aws-amplify/amplify-js/issues/10047)) ([de0441b](https://github.com/aws-amplify/amplify-js/commit/de0441b4fa67409ccbc630c42890e2c58ee779fb)), closes [#6974](https://github.com/aws-amplify/amplify-js/issues/6974)





## [5.2.9](https://github.com/aws-amplify/amplify-js/compare/amazon-cognito-identity-js@5.2.8...amazon-cognito-identity-js@5.2.9) (2022-05-23)


Expand Down
Loading

0 comments on commit fc590d1

Please sign in to comment.