Skip to content
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

chore: aft version-bump test suite #5424

Merged
merged 10 commits into from
Sep 11, 2024
Merged

Conversation

Jordan-Nelson
Copy link
Member

@Jordan-Nelson Jordan-Nelson commented Sep 5, 2024

Description of changes:

  • Add new version bump test suite which runs against a snapshot of the Amplify Flutter mono repo

This PR re-writes the existing test suite for aft version-bump. A description of this test suite can be found here.

All but ~300 LOC added in this PR are generated. The generated changes are separated into a single commit. To view changes without that commit see https://github.com/aws-amplify/amplify-flutter/pull/5424/files/c481d8f2d7c0555873ee816dcd8b058d99134f4f

Note: This PR does not attempt to fix any of the existing issues in aft version-bump. The diffs in this PR represent the output of aft version-bump as of this PR, which means there are known defects in the diffs. For example, the diff here shows that amplify_analytics_pinpoint_dart had dependency version changes, but the package version was not updated. This is a defect that needs to be addressed in a follow up PR.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Jordan-Nelson Jordan-Nelson changed the title Chore/version bump tests chore: aft version-bump test suite Sep 5, 2024
@Jordan-Nelson Jordan-Nelson force-pushed the chore/version-bump-tests branch 2 times, most recently from 2a65995 to 65826d0 Compare September 6, 2024 15:26
@Jordan-Nelson Jordan-Nelson marked this pull request as ready for review September 9, 2024 15:17
@Jordan-Nelson Jordan-Nelson requested a review from a team as a code owner September 9, 2024 15:17
continue;
}
final path = e.path.replaceFirst(source.path, '');
logger.info('copying to ${destination.path}/$path');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
logger.info('copying to ${destination.path}/$path');
logger.verbose('copying to ${destination.path}/$path');

nit: this is cluttering the test output and I don't see the value to always include.

Future<String> runGit(Repo repo, List<String> args) async {
final result = await repo.git.runCommand(args);
final stdout = result.stdout as String;
logger.info('git ${args.join(' ')}:\n$stdout');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
logger.info('git ${args.join(' ')}:\n$stdout');
logger.verbose('git ${args.join(' ')}:\n$stdout');

Same here

});

group('chore', () {
test('single amplify package', () async {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Q: Is single amplify package an accurate description for all the tests?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I should have updated that

@Jordan-Nelson Jordan-Nelson merged commit d05c017 into main Sep 11, 2024
3 checks passed
@Jordan-Nelson Jordan-Nelson deleted the chore/version-bump-tests branch September 11, 2024 16:41
khatruong2009 added a commit that referenced this pull request Sep 12, 2024
* chore(api): update endpoint config to use ApiOutputs instead of AWSApiConfig type (#5193)

* feat: bump json_annotation dependency to v4.9

* chore: update actions workflow to run aft link

* chore(secure_storage): Plugin Endorsement (#5208)

* chore(infra): bump deps (#5221)

* chore(test): use Amplify Gen 2 config in unit tests (#5205)

* chore: add testUrlScheme back to test (#5223)

* chore: add gen2 auth e2e infra (#5179)

* chore(infra): Api migrate to Gen 2 E2E

* fix: git update-index --chmod=+x

* fix: code review

* chore: port auth backend

* chore: port lambda triggers for create user and custom email sender

* chore: move utils to infra-common

* chore: compile infra common to js

* chore: update utils for js restructure, add missing deps

* chore: fix confirmation code infra

* chore: update tests to run for gen2 stacks

* chore: remove alias from custom sender lambda

* chore: fix deliveryMedium in reset password test

* chore: add phone sign in infra

* chore: rename email-sign-in

* chore: add license header

* chore: fix formatting in GH workflow

* chore: update package-lock

* chore: remove deleted file

* chore: fix formatting

* chore: update package lock

* chore: remove dup function

* chore: remove changes from merge conflicts

* chore: fix build script

* chore: fetch auth amplify_outputs

* chore: remove libgit2dart

* chore: add custom sms sender

* chore: add stack name to infra resources

* chore: pull gen2 backend for authenticator

* chore: update package-lock

* chore: move dependencies to dev_dependencies

* chore: update fetch auth session tests

* chore: separate reset pw and confirmation delivery medium

* chore: fix hanging test

* chore: rename test group

* chore: update comments, remove unused type

* chore: update package lock

---------

Co-authored-by: Elijah Quartey <[email protected]>

* chore(auth): sign-up state machine to use AmplifyOutputs instead of AmplifyConfig types (#5230)

* chore(auth): sign-in state machine to use AmplifyOutputs instead of AmplifyConfig types (#5231)

* chore(auth): fetch auth session state machine to use AmplifyOutputs instead of AmplifyConfig types (#5234)

* chore(auth): sign-out state machine to use AmplifyOutputs instead of AmplifConfig types (#5235)

* chore(actions): android emulator to start with clear cache and data (#5245)

* chore(actions): e2e android tests to run with API 34 (#5247)

* chore(infra): bump deps (#5246)

Updated
@aws-sdk/client-amplify
@aws-sdk/client-cognito-identity-provider
@aws-crypto/client-node
@aws-sdk/client-s3

* chore(auth): cognito keys to not use AmplifyConfig types (#5243)

* chore(auth): hosted ui state machine to not use AmplifyConfig types (#5254)

* fix(datastore): Clear subscriptions on Stop (#5253)

* Chore/goldens flutter lint (#5271)

* temp: generate goldens png

* test: fixing context mounted issue

* chore: add todo comment about deprecated member use

---------

Co-authored-by: Andrew Hahn <[email protected]>

* chore(infra): analytics integ test gen 2 backend (#5104)

* chore(auth): device metadata repository to use AuthOutputs instead of CognitoUserPoolConfig (#5289)

* feat(Auth): Add fetchCurrentDevice API (#5251)

feat(Auth): Add fetchCurrentDevice API (#5251)

* chore(dependencies): bump package_info_plus (#5274)

chore: bump package_info_plus

* chore: migrate sms only MFA infra to Gen 2 (#5291)

* chore: add new auth backend

* chore: add auth extension

* chore: add license headers

* chore: add mfa to env

* chore: add trigger to enable MFA

* chore: add infra for sms required

* chore: refactor tests for gen 2 backends

* chore: add backends to deploy script

* chore: package-lock for mfa-required-sms

* chore: remove bundling of @aws-crypto/client-node

* chore: fix formatting

* fix(datastore): Restart Sync Engine when network on/off (#5218)

* chore: update authenticator tests (#5296)

* chore(auth): hosted ui platforms to use AmplifyOutputs types instead of AmplifyConfig (#5273)

* chore(auth): asf context data provider to use AuthOutputs instead of CognitoUserPoolConfig (#5290)

* chore(auth): fix fetch current device test (#5297)

* fix: push notification flush events (#5215)

fix: push notification flush events (#5215)

* chore(dependencies): bump build_runner (#5300)

* chore(dependencies): bump build_runner

* chore(bump): checks package (#5305)

* chore(bump): checks package

* chore(version): Bump version

chore(): Fixed Version Bumps

chore: fixed change log

chore: fixed change log

chore: fixed change log

chore: fixed change log

* chore: manually bump amplify_db_common version

* chore(infra): Extend API key expiration (#5336)

* chore(dev): use ubuntu image from amazon ECR public gallery instead of docket hub (#5341)

* fix(api): web socket error handling (#5359)

* chore: update issue template (#5369)

* fix(datastore): FlutterSerializedModel.extractJsonValue returns `.some(nil)` instead of `nil` (#5370)

* chore: add GH actions for issue open, close, comment, label events (#5310)

* fix(secure_storage): add missing macOS plugin (#5372)

fix(secure_storage): add missing macos plugin

it's fixing #5361

* chore: update plugin registrant for example apps that depend on secure storage (#5379)

* chore(version): Bump version

### Fixes
- fix(secure_storage): add missing macOS plugin ([#5372](#5372))

Updated-Components: Secure Storage

* chore(deps): Amplify Android 2.21.1 (#5376)

* update amplify android to latest

* update amplify android to latest in notifications

* feat(aws_common): Generated new AWSService constructors (#5378)

* chore(infra): regen lock file (#5374)

* chore(auth): credential store state machine to use AuthOutputs instead of AmplifyConfig types (#5298)

* chore(api): Remove Gen 1 API backend (#5393)

* chore(datastore): Add multi auth integration tests (#5204)

* feat: move App Sync subscription headers to protocol (#5301)

* chore: move subscription headers to protocol

* fix: remove `=` from encoded headers

* chore: add comment

* chore: `aft version-bump` test suite (#5424)

* chore: add `--skip-build-version` option

* chore: use `base-ref`/`head-ref` over env vars

* chore: add new version bump test suite

* chore: remove old version bump tests

* chore: only include first change log entry

* fix: sort change types before writing to the change log

* chore: remove non essential info from diffs

* chore: generate repo snapshot

* chore: generate diff snapshots

* chore: clean up tests and test output

* chore: update `aft generate workflows`, regenerate dependabot.yaml (#5441)

* chore: skip repo snapshot in dependabot generation

* chore: regenerate dependabot.yaml

* chore: fix `aft version-bump` (#5436)

* fix: properly handle component propagation

* chore: add test for multi package update with breaking common package

---------

Co-authored-by: NikaHsn <[email protected]>
Co-authored-by: Jordan Nelson <[email protected]>
Co-authored-by: Elijah Quartey <[email protected]>
Co-authored-by: Elijah Quartey <[email protected]>
Co-authored-by: Tyler-Larkin <[email protected]>
Co-authored-by: Andrew Hahn <[email protected]>
Co-authored-by: Andrew Hahn <[email protected]>
Co-authored-by: Burak Karahan <[email protected]>
Co-authored-by: Jamil Saadeh <[email protected]>
khatruong2009 added a commit that referenced this pull request Sep 13, 2024
* chore(api): update endpoint config to use ApiOutputs instead of AWSApiConfig type (#5193)

* feat: bump json_annotation dependency to v4.9

* chore: update actions workflow to run aft link

* chore(secure_storage): Plugin Endorsement (#5208)

* chore(infra): bump deps (#5221)

* chore(test): use Amplify Gen 2 config in unit tests (#5205)

* chore: add testUrlScheme back to test (#5223)

* chore: add gen2 auth e2e infra (#5179)

* chore(infra): Api migrate to Gen 2 E2E

* fix: git update-index --chmod=+x

* fix: code review

* chore: port auth backend

* chore: port lambda triggers for create user and custom email sender

* chore: move utils to infra-common

* chore: compile infra common to js

* chore: update utils for js restructure, add missing deps

* chore: fix confirmation code infra

* chore: update tests to run for gen2 stacks

* chore: remove alias from custom sender lambda

* chore: fix deliveryMedium in reset password test

* chore: add phone sign in infra

* chore: rename email-sign-in

* chore: add license header

* chore: fix formatting in GH workflow

* chore: update package-lock

* chore: remove deleted file

* chore: fix formatting

* chore: update package lock

* chore: remove dup function

* chore: remove changes from merge conflicts

* chore: fix build script

* chore: fetch auth amplify_outputs

* chore: remove libgit2dart

* chore: add custom sms sender

* chore: add stack name to infra resources

* chore: pull gen2 backend for authenticator

* chore: update package-lock

* chore: move dependencies to dev_dependencies

* chore: update fetch auth session tests

* chore: separate reset pw and confirmation delivery medium

* chore: fix hanging test

* chore: rename test group

* chore: update comments, remove unused type

* chore: update package lock

---------

Co-authored-by: Elijah Quartey <[email protected]>

* chore(auth): sign-up state machine to use AmplifyOutputs instead of AmplifyConfig types (#5230)

* chore(auth): sign-in state machine to use AmplifyOutputs instead of AmplifyConfig types (#5231)

* chore(auth): fetch auth session state machine to use AmplifyOutputs instead of AmplifyConfig types (#5234)

* chore(auth): sign-out state machine to use AmplifyOutputs instead of AmplifConfig types (#5235)

* chore(actions): android emulator to start with clear cache and data (#5245)

* chore(actions): e2e android tests to run with API 34 (#5247)

* chore(infra): bump deps (#5246)

Updated
@aws-sdk/client-amplify
@aws-sdk/client-cognito-identity-provider
@aws-crypto/client-node
@aws-sdk/client-s3

* chore(auth): cognito keys to not use AmplifyConfig types (#5243)

* chore(auth): hosted ui state machine to not use AmplifyConfig types (#5254)

* fix(datastore): Clear subscriptions on Stop (#5253)

* Chore/goldens flutter lint (#5271)

* temp: generate goldens png

* test: fixing context mounted issue

* chore: add todo comment about deprecated member use

---------

Co-authored-by: Andrew Hahn <[email protected]>

* chore(infra): analytics integ test gen 2 backend (#5104)

* chore(auth): device metadata repository to use AuthOutputs instead of CognitoUserPoolConfig (#5289)

* feat(Auth): Add fetchCurrentDevice API (#5251)

feat(Auth): Add fetchCurrentDevice API (#5251)

* chore(dependencies): bump package_info_plus (#5274)

chore: bump package_info_plus

* chore: migrate sms only MFA infra to Gen 2 (#5291)

* chore: add new auth backend

* chore: add auth extension

* chore: add license headers

* chore: add mfa to env

* chore: add trigger to enable MFA

* chore: add infra for sms required

* chore: refactor tests for gen 2 backends

* chore: add backends to deploy script

* chore: package-lock for mfa-required-sms

* chore: remove bundling of @aws-crypto/client-node

* chore: fix formatting

* fix(datastore): Restart Sync Engine when network on/off (#5218)

* chore: update authenticator tests (#5296)

* chore(auth): hosted ui platforms to use AmplifyOutputs types instead of AmplifyConfig (#5273)

* chore(auth): asf context data provider to use AuthOutputs instead of CognitoUserPoolConfig (#5290)

* chore(auth): fix fetch current device test (#5297)

* fix: push notification flush events (#5215)

fix: push notification flush events (#5215)

* chore(dependencies): bump build_runner (#5300)

* chore(dependencies): bump build_runner

* chore(bump): checks package (#5305)

* chore(bump): checks package

* chore(version): Bump version

chore(): Fixed Version Bumps

chore: fixed change log

chore: fixed change log

chore: fixed change log

chore: fixed change log

* chore: manually bump amplify_db_common version

* chore(infra): Extend API key expiration (#5336)

* chore(dev): use ubuntu image from amazon ECR public gallery instead of docket hub (#5341)

* fix(api): web socket error handling (#5359)

* chore: update issue template (#5369)

* fix(datastore): FlutterSerializedModel.extractJsonValue returns `.some(nil)` instead of `nil` (#5370)

* chore: add GH actions for issue open, close, comment, label events (#5310)

* fix(secure_storage): add missing macOS plugin (#5372)

fix(secure_storage): add missing macos plugin

it's fixing #5361

* chore: update plugin registrant for example apps that depend on secure storage (#5379)

* chore(version): Bump version

### Fixes
- fix(secure_storage): add missing macOS plugin ([#5372](#5372))

Updated-Components: Secure Storage

* chore(deps): Amplify Android 2.21.1 (#5376)

* update amplify android to latest

* update amplify android to latest in notifications

* feat(aws_common): Generated new AWSService constructors (#5378)

* chore(infra): regen lock file (#5374)

* chore(auth): credential store state machine to use AuthOutputs instead of AmplifyConfig types (#5298)

* chore(api): Remove Gen 1 API backend (#5393)

* chore(datastore): Add multi auth integration tests (#5204)

* feat: move App Sync subscription headers to protocol (#5301)

* chore: move subscription headers to protocol

* fix: remove `=` from encoded headers

* chore: add comment

* chore: `aft version-bump` test suite (#5424)

* chore: add `--skip-build-version` option

* chore: use `base-ref`/`head-ref` over env vars

* chore: add new version bump test suite

* chore: remove old version bump tests

* chore: only include first change log entry

* fix: sort change types before writing to the change log

* chore: remove non essential info from diffs

* chore: generate repo snapshot

* chore: generate diff snapshots

* chore: clean up tests and test output

* chore: update `aft generate workflows`, regenerate dependabot.yaml (#5441)

* chore: skip repo snapshot in dependabot generation

* chore: regenerate dependabot.yaml

* chore: fix `aft version-bump` (#5436)

* fix: properly handle component propagation

* chore: add test for multi package update with breaking common package

* chore(auth): re-generate auth cognito sdk for email mfa

---------

Co-authored-by: Jordan Nelson <[email protected]>
Co-authored-by: Elijah Quartey <[email protected]>
Co-authored-by: Elijah Quartey <[email protected]>
Co-authored-by: Tyler-Larkin <[email protected]>
Co-authored-by: Andrew Hahn <[email protected]>
Co-authored-by: Kha Truong <[email protected]>
Co-authored-by: Andrew Hahn <[email protected]>
Co-authored-by: Burak Karahan <[email protected]>
Co-authored-by: Jamil Saadeh <[email protected]>
Co-authored-by: Nika Hassani <[email protected]>
khatruong2009 added a commit that referenced this pull request Sep 18, 2024
* chore(api): update endpoint config to use ApiOutputs instead of AWSApiConfig type (#5193)

* feat: bump json_annotation dependency to v4.9

* chore: update actions workflow to run aft link

* chore(secure_storage): Plugin Endorsement (#5208)

* chore(infra): bump deps (#5221)

* chore(test): use Amplify Gen 2 config in unit tests (#5205)

* chore: add testUrlScheme back to test (#5223)

* chore: add gen2 auth e2e infra (#5179)

* chore(infra): Api migrate to Gen 2 E2E

* fix: git update-index --chmod=+x

* fix: code review

* chore: port auth backend

* chore: port lambda triggers for create user and custom email sender

* chore: move utils to infra-common

* chore: compile infra common to js

* chore: update utils for js restructure, add missing deps

* chore: fix confirmation code infra

* chore: update tests to run for gen2 stacks

* chore: remove alias from custom sender lambda

* chore: fix deliveryMedium in reset password test

* chore: add phone sign in infra

* chore: rename email-sign-in

* chore: add license header

* chore: fix formatting in GH workflow

* chore: update package-lock

* chore: remove deleted file

* chore: fix formatting

* chore: update package lock

* chore: remove dup function

* chore: remove changes from merge conflicts

* chore: fix build script

* chore: fetch auth amplify_outputs

* chore: remove libgit2dart

* chore: add custom sms sender

* chore: add stack name to infra resources

* chore: pull gen2 backend for authenticator

* chore: update package-lock

* chore: move dependencies to dev_dependencies

* chore: update fetch auth session tests

* chore: separate reset pw and confirmation delivery medium

* chore: fix hanging test

* chore: rename test group

* chore: update comments, remove unused type

* chore: update package lock

---------

Co-authored-by: Elijah Quartey <[email protected]>

* chore(auth): sign-up state machine to use AmplifyOutputs instead of AmplifyConfig types (#5230)

* chore(auth): sign-in state machine to use AmplifyOutputs instead of AmplifyConfig types (#5231)

* chore(auth): fetch auth session state machine to use AmplifyOutputs instead of AmplifyConfig types (#5234)

* chore(auth): sign-out state machine to use AmplifyOutputs instead of AmplifConfig types (#5235)

* chore(actions): android emulator to start with clear cache and data (#5245)

* chore(actions): e2e android tests to run with API 34 (#5247)

* chore(infra): bump deps (#5246)

Updated
@aws-sdk/client-amplify
@aws-sdk/client-cognito-identity-provider
@aws-crypto/client-node
@aws-sdk/client-s3

* chore(auth): cognito keys to not use AmplifyConfig types (#5243)

* chore(auth): hosted ui state machine to not use AmplifyConfig types (#5254)

* fix(datastore): Clear subscriptions on Stop (#5253)

* Chore/goldens flutter lint (#5271)

* temp: generate goldens png

* test: fixing context mounted issue

* chore: add todo comment about deprecated member use

---------

Co-authored-by: Andrew Hahn <[email protected]>

* chore(infra): analytics integ test gen 2 backend (#5104)

* chore(auth): device metadata repository to use AuthOutputs instead of CognitoUserPoolConfig (#5289)

* feat(Auth): Add fetchCurrentDevice API (#5251)

feat(Auth): Add fetchCurrentDevice API (#5251)

* chore(dependencies): bump package_info_plus (#5274)

chore: bump package_info_plus

* chore: migrate sms only MFA infra to Gen 2 (#5291)

* chore: add new auth backend

* chore: add auth extension

* chore: add license headers

* chore: add mfa to env

* chore: add trigger to enable MFA

* chore: add infra for sms required

* chore: refactor tests for gen 2 backends

* chore: add backends to deploy script

* chore: package-lock for mfa-required-sms

* chore: remove bundling of @aws-crypto/client-node

* chore: fix formatting

* fix(datastore): Restart Sync Engine when network on/off (#5218)

* chore: update authenticator tests (#5296)

* chore(auth): hosted ui platforms to use AmplifyOutputs types instead of AmplifyConfig (#5273)

* chore(auth): asf context data provider to use AuthOutputs instead of CognitoUserPoolConfig (#5290)

* chore(auth): fix fetch current device test (#5297)

* fix: push notification flush events (#5215)

fix: push notification flush events (#5215)

* chore(dependencies): bump build_runner (#5300)

* chore(dependencies): bump build_runner

* chore(bump): checks package (#5305)

* chore(bump): checks package

* chore(version): Bump version

chore(): Fixed Version Bumps

chore: fixed change log

chore: fixed change log

chore: fixed change log

chore: fixed change log

* chore: manually bump amplify_db_common version

* chore(infra): Extend API key expiration (#5336)

* chore(dev): use ubuntu image from amazon ECR public gallery instead of docket hub (#5341)

* fix(api): web socket error handling (#5359)

* chore: update issue template (#5369)

* fix(datastore): FlutterSerializedModel.extractJsonValue returns `.some(nil)` instead of `nil` (#5370)

* chore: add GH actions for issue open, close, comment, label events (#5310)

* fix(secure_storage): add missing macOS plugin (#5372)

fix(secure_storage): add missing macos plugin

it's fixing #5361

* chore: update plugin registrant for example apps that depend on secure storage (#5379)

* chore(version): Bump version

- fix(secure_storage): add missing macOS plugin ([#5372](#5372))

Updated-Components: Secure Storage

* chore(deps): Amplify Android 2.21.1 (#5376)

* update amplify android to latest

* update amplify android to latest in notifications

* feat(aws_common): Generated new AWSService constructors (#5378)

* chore(infra): regen lock file (#5374)

* chore(auth): credential store state machine to use AuthOutputs instead of AmplifyConfig types (#5298)

* chore(api): Remove Gen 1 API backend (#5393)

* chore(datastore): Add multi auth integration tests (#5204)

* feat: move App Sync subscription headers to protocol (#5301)

* chore: move subscription headers to protocol

* fix: remove `=` from encoded headers

* chore: add comment

* chore: `aft version-bump` test suite (#5424)

* chore: add `--skip-build-version` option

* chore: use `base-ref`/`head-ref` over env vars

* chore: add new version bump test suite

* chore: remove old version bump tests

* chore: only include first change log entry

* fix: sort change types before writing to the change log

* chore: remove non essential info from diffs

* chore: generate repo snapshot

* chore: generate diff snapshots

* chore: clean up tests and test output

* chore: update `aft generate workflows`, regenerate dependabot.yaml (#5441)

* chore: skip repo snapshot in dependabot generation

* chore: regenerate dependabot.yaml

* chore: fix `aft version-bump` (#5436)

* fix: properly handle component propagation

* chore: add test for multi package update with breaking common package

---------

Co-authored-by: NikaHsn <[email protected]>
Co-authored-by: Jordan Nelson <[email protected]>
Co-authored-by: Elijah Quartey <[email protected]>
Co-authored-by: Elijah Quartey <[email protected]>
Co-authored-by: Tyler-Larkin <[email protected]>
Co-authored-by: Andrew Hahn <[email protected]>
Co-authored-by: Andrew Hahn <[email protected]>
Co-authored-by: Burak Karahan <[email protected]>
Co-authored-by: Jamil Saadeh <[email protected]>
khatruong2009 added a commit that referenced this pull request Sep 18, 2024
* chore(api): update endpoint config to use ApiOutputs instead of AWSApiConfig type (#5193)

* feat: bump json_annotation dependency to v4.9

* chore: update actions workflow to run aft link

* chore(secure_storage): Plugin Endorsement (#5208)

* chore(infra): bump deps (#5221)

* chore(test): use Amplify Gen 2 config in unit tests (#5205)

* chore: add testUrlScheme back to test (#5223)

* chore: add gen2 auth e2e infra (#5179)

* chore(infra): Api migrate to Gen 2 E2E

* fix: git update-index --chmod=+x

* fix: code review

* chore: port auth backend

* chore: port lambda triggers for create user and custom email sender

* chore: move utils to infra-common

* chore: compile infra common to js

* chore: update utils for js restructure, add missing deps

* chore: fix confirmation code infra

* chore: update tests to run for gen2 stacks

* chore: remove alias from custom sender lambda

* chore: fix deliveryMedium in reset password test

* chore: add phone sign in infra

* chore: rename email-sign-in

* chore: add license header

* chore: fix formatting in GH workflow

* chore: update package-lock

* chore: remove deleted file

* chore: fix formatting

* chore: update package lock

* chore: remove dup function

* chore: remove changes from merge conflicts

* chore: fix build script

* chore: fetch auth amplify_outputs

* chore: remove libgit2dart

* chore: add custom sms sender

* chore: add stack name to infra resources

* chore: pull gen2 backend for authenticator

* chore: update package-lock

* chore: move dependencies to dev_dependencies

* chore: update fetch auth session tests

* chore: separate reset pw and confirmation delivery medium

* chore: fix hanging test

* chore: rename test group

* chore: update comments, remove unused type

* chore: update package lock

---------

Co-authored-by: Elijah Quartey <[email protected]>

* chore(auth): sign-up state machine to use AmplifyOutputs instead of AmplifyConfig types (#5230)

* chore(auth): sign-in state machine to use AmplifyOutputs instead of AmplifyConfig types (#5231)

* chore(auth): fetch auth session state machine to use AmplifyOutputs instead of AmplifyConfig types (#5234)

* chore(auth): sign-out state machine to use AmplifyOutputs instead of AmplifConfig types (#5235)

* chore(actions): android emulator to start with clear cache and data (#5245)

* chore(actions): e2e android tests to run with API 34 (#5247)

* chore(infra): bump deps (#5246)

Updated
@aws-sdk/client-amplify
@aws-sdk/client-cognito-identity-provider
@aws-crypto/client-node
@aws-sdk/client-s3

* chore(auth): cognito keys to not use AmplifyConfig types (#5243)

* chore(auth): hosted ui state machine to not use AmplifyConfig types (#5254)

* fix(datastore): Clear subscriptions on Stop (#5253)

* Chore/goldens flutter lint (#5271)

* temp: generate goldens png

* test: fixing context mounted issue

* chore: add todo comment about deprecated member use

---------

Co-authored-by: Andrew Hahn <[email protected]>

* chore(infra): analytics integ test gen 2 backend (#5104)

* chore(auth): device metadata repository to use AuthOutputs instead of CognitoUserPoolConfig (#5289)

* feat(Auth): Add fetchCurrentDevice API (#5251)

feat(Auth): Add fetchCurrentDevice API (#5251)

* chore(dependencies): bump package_info_plus (#5274)

chore: bump package_info_plus

* chore: migrate sms only MFA infra to Gen 2 (#5291)

* chore: add new auth backend

* chore: add auth extension

* chore: add license headers

* chore: add mfa to env

* chore: add trigger to enable MFA

* chore: add infra for sms required

* chore: refactor tests for gen 2 backends

* chore: add backends to deploy script

* chore: package-lock for mfa-required-sms

* chore: remove bundling of @aws-crypto/client-node

* chore: fix formatting

* fix(datastore): Restart Sync Engine when network on/off (#5218)

* chore: update authenticator tests (#5296)

* chore(auth): hosted ui platforms to use AmplifyOutputs types instead of AmplifyConfig (#5273)

* chore(auth): asf context data provider to use AuthOutputs instead of CognitoUserPoolConfig (#5290)

* chore(auth): fix fetch current device test (#5297)

* fix: push notification flush events (#5215)

fix: push notification flush events (#5215)

* chore(dependencies): bump build_runner (#5300)

* chore(dependencies): bump build_runner

* chore(bump): checks package (#5305)

* chore(bump): checks package

* chore(version): Bump version

chore(): Fixed Version Bumps

chore: fixed change log

chore: fixed change log

chore: fixed change log

chore: fixed change log

* chore: manually bump amplify_db_common version

* chore(infra): Extend API key expiration (#5336)

* chore(dev): use ubuntu image from amazon ECR public gallery instead of docket hub (#5341)

* fix(api): web socket error handling (#5359)

* chore: update issue template (#5369)

* fix(datastore): FlutterSerializedModel.extractJsonValue returns `.some(nil)` instead of `nil` (#5370)

* chore: add GH actions for issue open, close, comment, label events (#5310)

* fix(secure_storage): add missing macOS plugin (#5372)

fix(secure_storage): add missing macos plugin

it's fixing #5361

* chore: update plugin registrant for example apps that depend on secure storage (#5379)

* chore(version): Bump version

- fix(secure_storage): add missing macOS plugin ([#5372](#5372))

Updated-Components: Secure Storage

* chore(deps): Amplify Android 2.21.1 (#5376)

* update amplify android to latest

* update amplify android to latest in notifications

* feat(aws_common): Generated new AWSService constructors (#5378)

* chore(infra): regen lock file (#5374)

* chore(auth): credential store state machine to use AuthOutputs instead of AmplifyConfig types (#5298)

* chore(api): Remove Gen 1 API backend (#5393)

* chore(datastore): Add multi auth integration tests (#5204)

* feat: move App Sync subscription headers to protocol (#5301)

* chore: move subscription headers to protocol

* fix: remove `=` from encoded headers

* chore: add comment

* chore: `aft version-bump` test suite (#5424)

* chore: add `--skip-build-version` option

* chore: use `base-ref`/`head-ref` over env vars

* chore: add new version bump test suite

* chore: remove old version bump tests

* chore: only include first change log entry

* fix: sort change types before writing to the change log

* chore: remove non essential info from diffs

* chore: generate repo snapshot

* chore: generate diff snapshots

* chore: clean up tests and test output

* chore: update `aft generate workflows`, regenerate dependabot.yaml (#5441)

* chore: skip repo snapshot in dependabot generation

* chore: regenerate dependabot.yaml

* chore: fix `aft version-bump` (#5436)

* fix: properly handle component propagation

* chore: add test for multi package update with breaking common package

---------

Co-authored-by: NikaHsn <[email protected]>
Co-authored-by: Jordan Nelson <[email protected]>
Co-authored-by: Elijah Quartey <[email protected]>
Co-authored-by: Elijah Quartey <[email protected]>
Co-authored-by: Tyler-Larkin <[email protected]>
Co-authored-by: Andrew Hahn <[email protected]>
Co-authored-by: Andrew Hahn <[email protected]>
Co-authored-by: Burak Karahan <[email protected]>
Co-authored-by: Jamil Saadeh <[email protected]>
khatruong2009 added a commit that referenced this pull request Sep 18, 2024
* chore(api): update endpoint config to use ApiOutputs instead of AWSApiConfig type (#5193)

* feat: bump json_annotation dependency to v4.9

* chore: update actions workflow to run aft link

* chore(secure_storage): Plugin Endorsement (#5208)

* chore(infra): bump deps (#5221)

* chore(test): use Amplify Gen 2 config in unit tests (#5205)

* chore: add testUrlScheme back to test (#5223)

* chore: add gen2 auth e2e infra (#5179)

* chore(infra): Api migrate to Gen 2 E2E

* fix: git update-index --chmod=+x

* fix: code review

* chore: port auth backend

* chore: port lambda triggers for create user and custom email sender

* chore: move utils to infra-common

* chore: compile infra common to js

* chore: update utils for js restructure, add missing deps

* chore: fix confirmation code infra

* chore: update tests to run for gen2 stacks

* chore: remove alias from custom sender lambda

* chore: fix deliveryMedium in reset password test

* chore: add phone sign in infra

* chore: rename email-sign-in

* chore: add license header

* chore: fix formatting in GH workflow

* chore: update package-lock

* chore: remove deleted file

* chore: fix formatting

* chore: update package lock

* chore: remove dup function

* chore: remove changes from merge conflicts

* chore: fix build script

* chore: fetch auth amplify_outputs

* chore: remove libgit2dart

* chore: add custom sms sender

* chore: add stack name to infra resources

* chore: pull gen2 backend for authenticator

* chore: update package-lock

* chore: move dependencies to dev_dependencies

* chore: update fetch auth session tests

* chore: separate reset pw and confirmation delivery medium

* chore: fix hanging test

* chore: rename test group

* chore: update comments, remove unused type

* chore: update package lock

---------

Co-authored-by: Elijah Quartey <[email protected]>

* chore(auth): sign-up state machine to use AmplifyOutputs instead of AmplifyConfig types (#5230)

* chore(auth): sign-in state machine to use AmplifyOutputs instead of AmplifyConfig types (#5231)

* chore(auth): fetch auth session state machine to use AmplifyOutputs instead of AmplifyConfig types (#5234)

* chore(auth): sign-out state machine to use AmplifyOutputs instead of AmplifConfig types (#5235)

* chore(actions): android emulator to start with clear cache and data (#5245)

* chore(actions): e2e android tests to run with API 34 (#5247)

* chore(infra): bump deps (#5246)

Updated
@aws-sdk/client-amplify
@aws-sdk/client-cognito-identity-provider
@aws-crypto/client-node
@aws-sdk/client-s3

* chore(auth): cognito keys to not use AmplifyConfig types (#5243)

* chore(auth): hosted ui state machine to not use AmplifyConfig types (#5254)

* fix(datastore): Clear subscriptions on Stop (#5253)

* Chore/goldens flutter lint (#5271)

* temp: generate goldens png

* test: fixing context mounted issue

* chore: add todo comment about deprecated member use

---------

Co-authored-by: Andrew Hahn <[email protected]>

* chore(infra): analytics integ test gen 2 backend (#5104)

* chore(auth): device metadata repository to use AuthOutputs instead of CognitoUserPoolConfig (#5289)

* feat(Auth): Add fetchCurrentDevice API (#5251)

feat(Auth): Add fetchCurrentDevice API (#5251)

* chore(dependencies): bump package_info_plus (#5274)

chore: bump package_info_plus

* chore: migrate sms only MFA infra to Gen 2 (#5291)

* chore: add new auth backend

* chore: add auth extension

* chore: add license headers

* chore: add mfa to env

* chore: add trigger to enable MFA

* chore: add infra for sms required

* chore: refactor tests for gen 2 backends

* chore: add backends to deploy script

* chore: package-lock for mfa-required-sms

* chore: remove bundling of @aws-crypto/client-node

* chore: fix formatting

* fix(datastore): Restart Sync Engine when network on/off (#5218)

* chore: update authenticator tests (#5296)

* chore(auth): hosted ui platforms to use AmplifyOutputs types instead of AmplifyConfig (#5273)

* chore(auth): asf context data provider to use AuthOutputs instead of CognitoUserPoolConfig (#5290)

* chore(auth): fix fetch current device test (#5297)

* fix: push notification flush events (#5215)

fix: push notification flush events (#5215)

* chore(dependencies): bump build_runner (#5300)

* chore(dependencies): bump build_runner

* chore(bump): checks package (#5305)

* chore(bump): checks package

* chore(version): Bump version

chore(): Fixed Version Bumps

chore: fixed change log

chore: fixed change log

chore: fixed change log

chore: fixed change log

* chore: manually bump amplify_db_common version

* chore(infra): Extend API key expiration (#5336)

* chore(dev): use ubuntu image from amazon ECR public gallery instead of docket hub (#5341)

* fix(api): web socket error handling (#5359)

* chore: update issue template (#5369)

* fix(datastore): FlutterSerializedModel.extractJsonValue returns `.some(nil)` instead of `nil` (#5370)

* chore: add GH actions for issue open, close, comment, label events (#5310)

* fix(secure_storage): add missing macOS plugin (#5372)

fix(secure_storage): add missing macos plugin

it's fixing #5361

* chore: update plugin registrant for example apps that depend on secure storage (#5379)

* chore(version): Bump version

### Fixes
- fix(secure_storage): add missing macOS plugin ([#5372](#5372))

Updated-Components: Secure Storage

* chore(deps): Amplify Android 2.21.1 (#5376)

* update amplify android to latest

* update amplify android to latest in notifications

* feat(aws_common): Generated new AWSService constructors (#5378)

* chore(infra): regen lock file (#5374)

* chore(auth): credential store state machine to use AuthOutputs instead of AmplifyConfig types (#5298)

* chore(api): Remove Gen 1 API backend (#5393)

* chore(datastore): Add multi auth integration tests (#5204)

* feat: move App Sync subscription headers to protocol (#5301)

* chore: move subscription headers to protocol

* fix: remove `=` from encoded headers

* chore: add comment

* chore: `aft version-bump` test suite (#5424)

* chore: add `--skip-build-version` option

* chore: use `base-ref`/`head-ref` over env vars

* chore: add new version bump test suite

* chore: remove old version bump tests

* chore: only include first change log entry

* fix: sort change types before writing to the change log

* chore: remove non essential info from diffs

* chore: generate repo snapshot

* chore: generate diff snapshots

* chore: clean up tests and test output

* chore: update `aft generate workflows`, regenerate dependabot.yaml (#5441)

* chore: skip repo snapshot in dependabot generation

* chore: regenerate dependabot.yaml

* chore: fix `aft version-bump` (#5436)

* fix: properly handle component propagation

* chore: add test for multi package update with breaking common package

* chore(auth): re-generate auth cognito sdk for email mfa

---------

Co-authored-by: Jordan Nelson <[email protected]>
Co-authored-by: Elijah Quartey <[email protected]>
Co-authored-by: Elijah Quartey <[email protected]>
Co-authored-by: Tyler-Larkin <[email protected]>
Co-authored-by: Andrew Hahn <[email protected]>
Co-authored-by: Kha Truong <[email protected]>
Co-authored-by: Andrew Hahn <[email protected]>
Co-authored-by: Burak Karahan <[email protected]>
Co-authored-by: Jamil Saadeh <[email protected]>
Co-authored-by: Nika Hassani <[email protected]>
khatruong2009 added a commit that referenced this pull request Sep 25, 2024
* chore(api): update endpoint config to use ApiOutputs instead of AWSApiConfig type (#5193)

* feat: bump json_annotation dependency to v4.9

* chore: update actions workflow to run aft link

* chore(secure_storage): Plugin Endorsement (#5208)

* chore(infra): bump deps (#5221)

* chore(test): use Amplify Gen 2 config in unit tests (#5205)

* chore: add testUrlScheme back to test (#5223)

* chore: add gen2 auth e2e infra (#5179)

* chore(infra): Api migrate to Gen 2 E2E

* fix: git update-index --chmod=+x

* fix: code review

* chore: port auth backend

* chore: port lambda triggers for create user and custom email sender

* chore: move utils to infra-common

* chore: compile infra common to js

* chore: update utils for js restructure, add missing deps

* chore: fix confirmation code infra

* chore: update tests to run for gen2 stacks

* chore: remove alias from custom sender lambda

* chore: fix deliveryMedium in reset password test

* chore: add phone sign in infra

* chore: rename email-sign-in

* chore: add license header

* chore: fix formatting in GH workflow

* chore: update package-lock

* chore: remove deleted file

* chore: fix formatting

* chore: update package lock

* chore: remove dup function

* chore: remove changes from merge conflicts

* chore: fix build script

* chore: fetch auth amplify_outputs

* chore: remove libgit2dart

* chore: add custom sms sender

* chore: add stack name to infra resources

* chore: pull gen2 backend for authenticator

* chore: update package-lock

* chore: move dependencies to dev_dependencies

* chore: update fetch auth session tests

* chore: separate reset pw and confirmation delivery medium

* chore: fix hanging test

* chore: rename test group

* chore: update comments, remove unused type

* chore: update package lock

---------

Co-authored-by: Elijah Quartey <[email protected]>

* chore(auth): sign-up state machine to use AmplifyOutputs instead of AmplifyConfig types (#5230)

* chore(auth): sign-in state machine to use AmplifyOutputs instead of AmplifyConfig types (#5231)

* chore(auth): fetch auth session state machine to use AmplifyOutputs instead of AmplifyConfig types (#5234)

* chore(auth): sign-out state machine to use AmplifyOutputs instead of AmplifConfig types (#5235)

* chore(actions): android emulator to start with clear cache and data (#5245)

* chore(actions): e2e android tests to run with API 34 (#5247)

* chore(infra): bump deps (#5246)

Updated
@aws-sdk/client-amplify
@aws-sdk/client-cognito-identity-provider
@aws-crypto/client-node
@aws-sdk/client-s3

* chore(auth): cognito keys to not use AmplifyConfig types (#5243)

* chore(auth): hosted ui state machine to not use AmplifyConfig types (#5254)

* fix(datastore): Clear subscriptions on Stop (#5253)

* Chore/goldens flutter lint (#5271)

* temp: generate goldens png

* test: fixing context mounted issue

* chore: add todo comment about deprecated member use

---------

Co-authored-by: Andrew Hahn <[email protected]>

* chore(infra): analytics integ test gen 2 backend (#5104)

* chore(auth): device metadata repository to use AuthOutputs instead of CognitoUserPoolConfig (#5289)

* feat(Auth): Add fetchCurrentDevice API (#5251)

feat(Auth): Add fetchCurrentDevice API (#5251)

* chore(dependencies): bump package_info_plus (#5274)

chore: bump package_info_plus

* chore: migrate sms only MFA infra to Gen 2 (#5291)

* chore: add new auth backend

* chore: add auth extension

* chore: add license headers

* chore: add mfa to env

* chore: add trigger to enable MFA

* chore: add infra for sms required

* chore: refactor tests for gen 2 backends

* chore: add backends to deploy script

* chore: package-lock for mfa-required-sms

* chore: remove bundling of @aws-crypto/client-node

* chore: fix formatting

* fix(datastore): Restart Sync Engine when network on/off (#5218)

* chore: update authenticator tests (#5296)

* chore(auth): hosted ui platforms to use AmplifyOutputs types instead of AmplifyConfig (#5273)

* chore(auth): asf context data provider to use AuthOutputs instead of CognitoUserPoolConfig (#5290)

* chore(auth): fix fetch current device test (#5297)

* fix: push notification flush events (#5215)

fix: push notification flush events (#5215)

* chore(dependencies): bump build_runner (#5300)

* chore(dependencies): bump build_runner

* chore(bump): checks package (#5305)

* chore(bump): checks package

* chore(version): Bump version

chore(): Fixed Version Bumps

chore: fixed change log

chore: fixed change log

chore: fixed change log

chore: fixed change log

* chore: manually bump amplify_db_common version

* chore(infra): Extend API key expiration (#5336)

* chore(dev): use ubuntu image from amazon ECR public gallery instead of docket hub (#5341)

* fix(api): web socket error handling (#5359)

* chore: update issue template (#5369)

* fix(datastore): FlutterSerializedModel.extractJsonValue returns `.some(nil)` instead of `nil` (#5370)

* chore: add GH actions for issue open, close, comment, label events (#5310)

* fix(secure_storage): add missing macOS plugin (#5372)

fix(secure_storage): add missing macos plugin

it's fixing #5361

* chore: update plugin registrant for example apps that depend on secure storage (#5379)

* chore(version): Bump version

- fix(secure_storage): add missing macOS plugin ([#5372](#5372))

Updated-Components: Secure Storage

* chore(deps): Amplify Android 2.21.1 (#5376)

* update amplify android to latest

* update amplify android to latest in notifications

* feat(aws_common): Generated new AWSService constructors (#5378)

* chore(infra): regen lock file (#5374)

* chore(auth): credential store state machine to use AuthOutputs instead of AmplifyConfig types (#5298)

* chore(api): Remove Gen 1 API backend (#5393)

* chore(datastore): Add multi auth integration tests (#5204)

* feat: move App Sync subscription headers to protocol (#5301)

* chore: move subscription headers to protocol

* fix: remove `=` from encoded headers

* chore: add comment

* chore: `aft version-bump` test suite (#5424)

* chore: add `--skip-build-version` option

* chore: use `base-ref`/`head-ref` over env vars

* chore: add new version bump test suite

* chore: remove old version bump tests

* chore: only include first change log entry

* fix: sort change types before writing to the change log

* chore: remove non essential info from diffs

* chore: generate repo snapshot

* chore: generate diff snapshots

* chore: clean up tests and test output

* chore: update `aft generate workflows`, regenerate dependabot.yaml (#5441)

* chore: skip repo snapshot in dependabot generation

* chore: regenerate dependabot.yaml

* chore: fix `aft version-bump` (#5436)

* fix: properly handle component propagation

* chore: add test for multi package update with breaking common package

---------

Co-authored-by: NikaHsn <[email protected]>
Co-authored-by: Jordan Nelson <[email protected]>
Co-authored-by: Elijah Quartey <[email protected]>
Co-authored-by: Elijah Quartey <[email protected]>
Co-authored-by: Tyler-Larkin <[email protected]>
Co-authored-by: Andrew Hahn <[email protected]>
Co-authored-by: Andrew Hahn <[email protected]>
Co-authored-by: Burak Karahan <[email protected]>
Co-authored-by: Jamil Saadeh <[email protected]>
khatruong2009 added a commit that referenced this pull request Sep 25, 2024
* chore(api): update endpoint config to use ApiOutputs instead of AWSApiConfig type (#5193)

* feat: bump json_annotation dependency to v4.9

* chore: update actions workflow to run aft link

* chore(secure_storage): Plugin Endorsement (#5208)

* chore(infra): bump deps (#5221)

* chore(test): use Amplify Gen 2 config in unit tests (#5205)

* chore: add testUrlScheme back to test (#5223)

* chore: add gen2 auth e2e infra (#5179)

* chore(infra): Api migrate to Gen 2 E2E

* fix: git update-index --chmod=+x

* fix: code review

* chore: port auth backend

* chore: port lambda triggers for create user and custom email sender

* chore: move utils to infra-common

* chore: compile infra common to js

* chore: update utils for js restructure, add missing deps

* chore: fix confirmation code infra

* chore: update tests to run for gen2 stacks

* chore: remove alias from custom sender lambda

* chore: fix deliveryMedium in reset password test

* chore: add phone sign in infra

* chore: rename email-sign-in

* chore: add license header

* chore: fix formatting in GH workflow

* chore: update package-lock

* chore: remove deleted file

* chore: fix formatting

* chore: update package lock

* chore: remove dup function

* chore: remove changes from merge conflicts

* chore: fix build script

* chore: fetch auth amplify_outputs

* chore: remove libgit2dart

* chore: add custom sms sender

* chore: add stack name to infra resources

* chore: pull gen2 backend for authenticator

* chore: update package-lock

* chore: move dependencies to dev_dependencies

* chore: update fetch auth session tests

* chore: separate reset pw and confirmation delivery medium

* chore: fix hanging test

* chore: rename test group

* chore: update comments, remove unused type

* chore: update package lock

---------

Co-authored-by: Elijah Quartey <[email protected]>

* chore(auth): sign-up state machine to use AmplifyOutputs instead of AmplifyConfig types (#5230)

* chore(auth): sign-in state machine to use AmplifyOutputs instead of AmplifyConfig types (#5231)

* chore(auth): fetch auth session state machine to use AmplifyOutputs instead of AmplifyConfig types (#5234)

* chore(auth): sign-out state machine to use AmplifyOutputs instead of AmplifConfig types (#5235)

* chore(actions): android emulator to start with clear cache and data (#5245)

* chore(actions): e2e android tests to run with API 34 (#5247)

* chore(infra): bump deps (#5246)

Updated
@aws-sdk/client-amplify
@aws-sdk/client-cognito-identity-provider
@aws-crypto/client-node
@aws-sdk/client-s3

* chore(auth): cognito keys to not use AmplifyConfig types (#5243)

* chore(auth): hosted ui state machine to not use AmplifyConfig types (#5254)

* fix(datastore): Clear subscriptions on Stop (#5253)

* Chore/goldens flutter lint (#5271)

* temp: generate goldens png

* test: fixing context mounted issue

* chore: add todo comment about deprecated member use

---------

Co-authored-by: Andrew Hahn <[email protected]>

* chore(infra): analytics integ test gen 2 backend (#5104)

* chore(auth): device metadata repository to use AuthOutputs instead of CognitoUserPoolConfig (#5289)

* feat(Auth): Add fetchCurrentDevice API (#5251)

feat(Auth): Add fetchCurrentDevice API (#5251)

* chore(dependencies): bump package_info_plus (#5274)

chore: bump package_info_plus

* chore: migrate sms only MFA infra to Gen 2 (#5291)

* chore: add new auth backend

* chore: add auth extension

* chore: add license headers

* chore: add mfa to env

* chore: add trigger to enable MFA

* chore: add infra for sms required

* chore: refactor tests for gen 2 backends

* chore: add backends to deploy script

* chore: package-lock for mfa-required-sms

* chore: remove bundling of @aws-crypto/client-node

* chore: fix formatting

* fix(datastore): Restart Sync Engine when network on/off (#5218)

* chore: update authenticator tests (#5296)

* chore(auth): hosted ui platforms to use AmplifyOutputs types instead of AmplifyConfig (#5273)

* chore(auth): asf context data provider to use AuthOutputs instead of CognitoUserPoolConfig (#5290)

* chore(auth): fix fetch current device test (#5297)

* fix: push notification flush events (#5215)

fix: push notification flush events (#5215)

* chore(dependencies): bump build_runner (#5300)

* chore(dependencies): bump build_runner

* chore(bump): checks package (#5305)

* chore(bump): checks package

* chore(version): Bump version

chore(): Fixed Version Bumps

chore: fixed change log

chore: fixed change log

chore: fixed change log

chore: fixed change log

* chore: manually bump amplify_db_common version

* chore(infra): Extend API key expiration (#5336)

* chore(dev): use ubuntu image from amazon ECR public gallery instead of docket hub (#5341)

* fix(api): web socket error handling (#5359)

* chore: update issue template (#5369)

* fix(datastore): FlutterSerializedModel.extractJsonValue returns `.some(nil)` instead of `nil` (#5370)

* chore: add GH actions for issue open, close, comment, label events (#5310)

* fix(secure_storage): add missing macOS plugin (#5372)

fix(secure_storage): add missing macos plugin

it's fixing #5361

* chore: update plugin registrant for example apps that depend on secure storage (#5379)

* chore(version): Bump version

- fix(secure_storage): add missing macOS plugin ([#5372](#5372))

Updated-Components: Secure Storage

* chore(deps): Amplify Android 2.21.1 (#5376)

* update amplify android to latest

* update amplify android to latest in notifications

* feat(aws_common): Generated new AWSService constructors (#5378)

* chore(infra): regen lock file (#5374)

* chore(auth): credential store state machine to use AuthOutputs instead of AmplifyConfig types (#5298)

* chore(api): Remove Gen 1 API backend (#5393)

* chore(datastore): Add multi auth integration tests (#5204)

* feat: move App Sync subscription headers to protocol (#5301)

* chore: move subscription headers to protocol

* fix: remove `=` from encoded headers

* chore: add comment

* chore: `aft version-bump` test suite (#5424)

* chore: add `--skip-build-version` option

* chore: use `base-ref`/`head-ref` over env vars

* chore: add new version bump test suite

* chore: remove old version bump tests

* chore: only include first change log entry

* fix: sort change types before writing to the change log

* chore: remove non essential info from diffs

* chore: generate repo snapshot

* chore: generate diff snapshots

* chore: clean up tests and test output

* chore: update `aft generate workflows`, regenerate dependabot.yaml (#5441)

* chore: skip repo snapshot in dependabot generation

* chore: regenerate dependabot.yaml

* chore: fix `aft version-bump` (#5436)

* fix: properly handle component propagation

* chore: add test for multi package update with breaking common package

---------

Co-authored-by: NikaHsn <[email protected]>
Co-authored-by: Jordan Nelson <[email protected]>
Co-authored-by: Elijah Quartey <[email protected]>
Co-authored-by: Elijah Quartey <[email protected]>
Co-authored-by: Tyler-Larkin <[email protected]>
Co-authored-by: Andrew Hahn <[email protected]>
Co-authored-by: Andrew Hahn <[email protected]>
Co-authored-by: Burak Karahan <[email protected]>
Co-authored-by: Jamil Saadeh <[email protected]>
khatruong2009 added a commit that referenced this pull request Sep 25, 2024
* chore(api): update endpoint config to use ApiOutputs instead of AWSApiConfig type (#5193)

* feat: bump json_annotation dependency to v4.9

* chore: update actions workflow to run aft link

* chore(secure_storage): Plugin Endorsement (#5208)

* chore(infra): bump deps (#5221)

* chore(test): use Amplify Gen 2 config in unit tests (#5205)

* chore: add testUrlScheme back to test (#5223)

* chore: add gen2 auth e2e infra (#5179)

* chore(infra): Api migrate to Gen 2 E2E

* fix: git update-index --chmod=+x

* fix: code review

* chore: port auth backend

* chore: port lambda triggers for create user and custom email sender

* chore: move utils to infra-common

* chore: compile infra common to js

* chore: update utils for js restructure, add missing deps

* chore: fix confirmation code infra

* chore: update tests to run for gen2 stacks

* chore: remove alias from custom sender lambda

* chore: fix deliveryMedium in reset password test

* chore: add phone sign in infra

* chore: rename email-sign-in

* chore: add license header

* chore: fix formatting in GH workflow

* chore: update package-lock

* chore: remove deleted file

* chore: fix formatting

* chore: update package lock

* chore: remove dup function

* chore: remove changes from merge conflicts

* chore: fix build script

* chore: fetch auth amplify_outputs

* chore: remove libgit2dart

* chore: add custom sms sender

* chore: add stack name to infra resources

* chore: pull gen2 backend for authenticator

* chore: update package-lock

* chore: move dependencies to dev_dependencies

* chore: update fetch auth session tests

* chore: separate reset pw and confirmation delivery medium

* chore: fix hanging test

* chore: rename test group

* chore: update comments, remove unused type

* chore: update package lock

---------

Co-authored-by: Elijah Quartey <[email protected]>

* chore(auth): sign-up state machine to use AmplifyOutputs instead of AmplifyConfig types (#5230)

* chore(auth): sign-in state machine to use AmplifyOutputs instead of AmplifyConfig types (#5231)

* chore(auth): fetch auth session state machine to use AmplifyOutputs instead of AmplifyConfig types (#5234)

* chore(auth): sign-out state machine to use AmplifyOutputs instead of AmplifConfig types (#5235)

* chore(actions): android emulator to start with clear cache and data (#5245)

* chore(actions): e2e android tests to run with API 34 (#5247)

* chore(infra): bump deps (#5246)

Updated
@aws-sdk/client-amplify
@aws-sdk/client-cognito-identity-provider
@aws-crypto/client-node
@aws-sdk/client-s3

* chore(auth): cognito keys to not use AmplifyConfig types (#5243)

* chore(auth): hosted ui state machine to not use AmplifyConfig types (#5254)

* fix(datastore): Clear subscriptions on Stop (#5253)

* Chore/goldens flutter lint (#5271)

* temp: generate goldens png

* test: fixing context mounted issue

* chore: add todo comment about deprecated member use

---------

Co-authored-by: Andrew Hahn <[email protected]>

* chore(infra): analytics integ test gen 2 backend (#5104)

* chore(auth): device metadata repository to use AuthOutputs instead of CognitoUserPoolConfig (#5289)

* feat(Auth): Add fetchCurrentDevice API (#5251)

feat(Auth): Add fetchCurrentDevice API (#5251)

* chore(dependencies): bump package_info_plus (#5274)

chore: bump package_info_plus

* chore: migrate sms only MFA infra to Gen 2 (#5291)

* chore: add new auth backend

* chore: add auth extension

* chore: add license headers

* chore: add mfa to env

* chore: add trigger to enable MFA

* chore: add infra for sms required

* chore: refactor tests for gen 2 backends

* chore: add backends to deploy script

* chore: package-lock for mfa-required-sms

* chore: remove bundling of @aws-crypto/client-node

* chore: fix formatting

* fix(datastore): Restart Sync Engine when network on/off (#5218)

* chore: update authenticator tests (#5296)

* chore(auth): hosted ui platforms to use AmplifyOutputs types instead of AmplifyConfig (#5273)

* chore(auth): asf context data provider to use AuthOutputs instead of CognitoUserPoolConfig (#5290)

* chore(auth): fix fetch current device test (#5297)

* fix: push notification flush events (#5215)

fix: push notification flush events (#5215)

* chore(dependencies): bump build_runner (#5300)

* chore(dependencies): bump build_runner

* chore(bump): checks package (#5305)

* chore(bump): checks package

* chore(version): Bump version

chore(): Fixed Version Bumps

chore: fixed change log

chore: fixed change log

chore: fixed change log

chore: fixed change log

* chore: manually bump amplify_db_common version

* chore(infra): Extend API key expiration (#5336)

* chore(dev): use ubuntu image from amazon ECR public gallery instead of docket hub (#5341)

* fix(api): web socket error handling (#5359)

* chore: update issue template (#5369)

* fix(datastore): FlutterSerializedModel.extractJsonValue returns `.some(nil)` instead of `nil` (#5370)

* chore: add GH actions for issue open, close, comment, label events (#5310)

* fix(secure_storage): add missing macOS plugin (#5372)

fix(secure_storage): add missing macos plugin

it's fixing #5361

* chore: update plugin registrant for example apps that depend on secure storage (#5379)

* chore(version): Bump version

### Fixes
- fix(secure_storage): add missing macOS plugin ([#5372](#5372))

Updated-Components: Secure Storage

* chore(deps): Amplify Android 2.21.1 (#5376)

* update amplify android to latest

* update amplify android to latest in notifications

* feat(aws_common): Generated new AWSService constructors (#5378)

* chore(infra): regen lock file (#5374)

* chore(auth): credential store state machine to use AuthOutputs instead of AmplifyConfig types (#5298)

* chore(api): Remove Gen 1 API backend (#5393)

* chore(datastore): Add multi auth integration tests (#5204)

* feat: move App Sync subscription headers to protocol (#5301)

* chore: move subscription headers to protocol

* fix: remove `=` from encoded headers

* chore: add comment

* chore: `aft version-bump` test suite (#5424)

* chore: add `--skip-build-version` option

* chore: use `base-ref`/`head-ref` over env vars

* chore: add new version bump test suite

* chore: remove old version bump tests

* chore: only include first change log entry

* fix: sort change types before writing to the change log

* chore: remove non essential info from diffs

* chore: generate repo snapshot

* chore: generate diff snapshots

* chore: clean up tests and test output

* chore: update `aft generate workflows`, regenerate dependabot.yaml (#5441)

* chore: skip repo snapshot in dependabot generation

* chore: regenerate dependabot.yaml

* chore: fix `aft version-bump` (#5436)

* fix: properly handle component propagation

* chore: add test for multi package update with breaking common package

* chore(auth): re-generate auth cognito sdk for email mfa

---------

Co-authored-by: Jordan Nelson <[email protected]>
Co-authored-by: Elijah Quartey <[email protected]>
Co-authored-by: Elijah Quartey <[email protected]>
Co-authored-by: Tyler-Larkin <[email protected]>
Co-authored-by: Andrew Hahn <[email protected]>
Co-authored-by: Kha Truong <[email protected]>
Co-authored-by: Andrew Hahn <[email protected]>
Co-authored-by: Burak Karahan <[email protected]>
Co-authored-by: Jamil Saadeh <[email protected]>
Co-authored-by: Nika Hassani <[email protected]>
khatruong2009 added a commit that referenced this pull request Oct 2, 2024
* chore(api): update endpoint config to use ApiOutputs instead of AWSApiConfig type (#5193)

* feat: bump json_annotation dependency to v4.9

* chore: update actions workflow to run aft link

* chore(secure_storage): Plugin Endorsement (#5208)

* chore(infra): bump deps (#5221)

* chore(test): use Amplify Gen 2 config in unit tests (#5205)

* chore: add testUrlScheme back to test (#5223)

* chore: add gen2 auth e2e infra (#5179)

* chore(infra): Api migrate to Gen 2 E2E

* fix: git update-index --chmod=+x

* fix: code review

* chore: port auth backend

* chore: port lambda triggers for create user and custom email sender

* chore: move utils to infra-common

* chore: compile infra common to js

* chore: update utils for js restructure, add missing deps

* chore: fix confirmation code infra

* chore: update tests to run for gen2 stacks

* chore: remove alias from custom sender lambda

* chore: fix deliveryMedium in reset password test

* chore: add phone sign in infra

* chore: rename email-sign-in

* chore: add license header

* chore: fix formatting in GH workflow

* chore: update package-lock

* chore: remove deleted file

* chore: fix formatting

* chore: update package lock

* chore: remove dup function

* chore: remove changes from merge conflicts

* chore: fix build script

* chore: fetch auth amplify_outputs

* chore: remove libgit2dart

* chore: add custom sms sender

* chore: add stack name to infra resources

* chore: pull gen2 backend for authenticator

* chore: update package-lock

* chore: move dependencies to dev_dependencies

* chore: update fetch auth session tests

* chore: separate reset pw and confirmation delivery medium

* chore: fix hanging test

* chore: rename test group

* chore: update comments, remove unused type

* chore: update package lock

---------

Co-authored-by: Elijah Quartey <[email protected]>

* chore(auth): sign-up state machine to use AmplifyOutputs instead of AmplifyConfig types (#5230)

* chore(auth): sign-in state machine to use AmplifyOutputs instead of AmplifyConfig types (#5231)

* chore(auth): fetch auth session state machine to use AmplifyOutputs instead of AmplifyConfig types (#5234)

* chore(auth): sign-out state machine to use AmplifyOutputs instead of AmplifConfig types (#5235)

* chore(actions): android emulator to start with clear cache and data (#5245)

* chore(actions): e2e android tests to run with API 34 (#5247)

* chore(infra): bump deps (#5246)

Updated
@aws-sdk/client-amplify
@aws-sdk/client-cognito-identity-provider
@aws-crypto/client-node
@aws-sdk/client-s3

* chore(auth): cognito keys to not use AmplifyConfig types (#5243)

* chore(auth): hosted ui state machine to not use AmplifyConfig types (#5254)

* fix(datastore): Clear subscriptions on Stop (#5253)

* Chore/goldens flutter lint (#5271)

* temp: generate goldens png

* test: fixing context mounted issue

* chore: add todo comment about deprecated member use

---------

Co-authored-by: Andrew Hahn <[email protected]>

* chore(infra): analytics integ test gen 2 backend (#5104)

* chore(auth): device metadata repository to use AuthOutputs instead of CognitoUserPoolConfig (#5289)

* feat(Auth): Add fetchCurrentDevice API (#5251)

feat(Auth): Add fetchCurrentDevice API (#5251)

* chore(dependencies): bump package_info_plus (#5274)

chore: bump package_info_plus

* chore: migrate sms only MFA infra to Gen 2 (#5291)

* chore: add new auth backend

* chore: add auth extension

* chore: add license headers

* chore: add mfa to env

* chore: add trigger to enable MFA

* chore: add infra for sms required

* chore: refactor tests for gen 2 backends

* chore: add backends to deploy script

* chore: package-lock for mfa-required-sms

* chore: remove bundling of @aws-crypto/client-node

* chore: fix formatting

* fix(datastore): Restart Sync Engine when network on/off (#5218)

* chore: update authenticator tests (#5296)

* chore(auth): hosted ui platforms to use AmplifyOutputs types instead of AmplifyConfig (#5273)

* chore(auth): asf context data provider to use AuthOutputs instead of CognitoUserPoolConfig (#5290)

* chore(auth): fix fetch current device test (#5297)

* fix: push notification flush events (#5215)

fix: push notification flush events (#5215)

* chore(dependencies): bump build_runner (#5300)

* chore(dependencies): bump build_runner

* chore(bump): checks package (#5305)

* chore(bump): checks package

* chore(version): Bump version

chore(): Fixed Version Bumps

chore: fixed change log

chore: fixed change log

chore: fixed change log

chore: fixed change log

* chore: manually bump amplify_db_common version

* chore(infra): Extend API key expiration (#5336)

* chore(dev): use ubuntu image from amazon ECR public gallery instead of docket hub (#5341)

* fix(api): web socket error handling (#5359)

* chore: update issue template (#5369)

* fix(datastore): FlutterSerializedModel.extractJsonValue returns `.some(nil)` instead of `nil` (#5370)

* chore: add GH actions for issue open, close, comment, label events (#5310)

* fix(secure_storage): add missing macOS plugin (#5372)

fix(secure_storage): add missing macos plugin

it's fixing #5361

* chore: update plugin registrant for example apps that depend on secure storage (#5379)

* chore(version): Bump version

- fix(secure_storage): add missing macOS plugin ([#5372](#5372))

Updated-Components: Secure Storage

* chore(deps): Amplify Android 2.21.1 (#5376)

* update amplify android to latest

* update amplify android to latest in notifications

* feat(aws_common): Generated new AWSService constructors (#5378)

* chore(infra): regen lock file (#5374)

* chore(auth): credential store state machine to use AuthOutputs instead of AmplifyConfig types (#5298)

* chore(api): Remove Gen 1 API backend (#5393)

* chore(datastore): Add multi auth integration tests (#5204)

* feat: move App Sync subscription headers to protocol (#5301)

* chore: move subscription headers to protocol

* fix: remove `=` from encoded headers

* chore: add comment

* chore: `aft version-bump` test suite (#5424)

* chore: add `--skip-build-version` option

* chore: use `base-ref`/`head-ref` over env vars

* chore: add new version bump test suite

* chore: remove old version bump tests

* chore: only include first change log entry

* fix: sort change types before writing to the change log

* chore: remove non essential info from diffs

* chore: generate repo snapshot

* chore: generate diff snapshots

* chore: clean up tests and test output

* chore: update `aft generate workflows`, regenerate dependabot.yaml (#5441)

* chore: skip repo snapshot in dependabot generation

* chore: regenerate dependabot.yaml

* chore: fix `aft version-bump` (#5436)

* fix: properly handle component propagation

* chore: add test for multi package update with breaking common package

---------

Co-authored-by: NikaHsn <[email protected]>
Co-authored-by: Jordan Nelson <[email protected]>
Co-authored-by: Elijah Quartey <[email protected]>
Co-authored-by: Elijah Quartey <[email protected]>
Co-authored-by: Tyler-Larkin <[email protected]>
Co-authored-by: Andrew Hahn <[email protected]>
Co-authored-by: Andrew Hahn <[email protected]>
Co-authored-by: Burak Karahan <[email protected]>
Co-authored-by: Jamil Saadeh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants