Skip to content

Merge Gen 2 Migration changes to Dev #14195

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

Open
wants to merge 597 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
597 commits
Select commit Hold shift + click to select a range
566f887
fix: lint errors in gen2 codegen
Jan 16, 2025
d01253a
Merge pull request #14070 from aws-amplify/gen2-migrations-execute
abhi7cr Jan 16, 2025
40b1730
fix: choose current env, update gitignore for gen2, derive fn name fr…
Jan 16, 2025
8380bb0
fix: lint in migrations package
Jan 17, 2025
dd75bfd
fix: auth definition fetcher test
Jan 17, 2025
6b7bf79
fix: add progress bar for gen 2 codegen
Jan 17, 2025
dd4389c
Merge pull request #14074 from aws-amplify/gen2-migrations-execute
abhi7cr Jan 17, 2025
26fd22b
fix: orphaned functions, import auth
Jan 29, 2025
74c6647
fix: remove extraneous deps
Jan 29, 2025
afb1136
fix: function migration adapter category
Jan 29, 2025
443a4a4
fix: revert lock file to remote
Jan 29, 2025
ad176cd
Merge branch 'migrations' into gen2-migrations-execute
Jan 29, 2025
dfc8898
fix: update lock file
Jan 29, 2025
1038d85
fix: gen1 function adapter test
Jan 29, 2025
8464c01
fix: lint errros and warnings in amplify-migration
Jan 29, 2025
7520e27
fix: dedupe lock, update api md
Jan 29, 2025
8f1ede1
export types needed in gen1 fn adapter
Jan 29, 2025
0b390a3
fix: use older version of ora to keep it consistent with other packages
Jan 30, 2025
783f33f
fix: remove ora mock
Jan 30, 2025
8715df1
revert ora deps
Jan 30, 2025
2699ee2
fix: delete extraneous map file
Jan 30, 2025
c37c53d
merge from dev
Feb 5, 2025
4fb77af
fix: merge issues
Feb 5, 2025
2c7b28b
merge from dev
Feb 6, 2025
910c67c
fix: dedupe lock file
Feb 6, 2025
351d7b2
fix: lint & api md
Feb 6, 2025
38ac5c8
fix: touch npm package to fix version mismatch
Feb 6, 2025
13d3842
fix: update lock
Feb 6, 2025
6f894d4
fix: undo refactor changes as part of merge from dev
Feb 7, 2025
ff3c0be
fix: undo refactor related changes
Feb 7, 2025
ebfe782
fix: update comment in cli-npm package to force version bump
Feb 7, 2025
c0e7dfb
feat: bump version
Feb 7, 2025
c3d97b9
Merge pull request #14098 from aws-amplify/migrations-merge-from-dev
abhi7cr Feb 7, 2025
4a69096
Merge branch 'migrations' into gen2-migrations-execute
Feb 7, 2025
6a437e3
feat: include all envs in gen 2 data codegen (#14087)
Feb 7, 2025
36d6735
Merge pull request #14088 from aws-amplify/gen2-migrations-execute
abhi7cr Feb 8, 2025
9f2752b
feat: add refactor operation to gen2 migration
Feb 11, 2025
6d2274f
chore: remove commented code
Feb 11, 2025
03ff6ae
fix: update lock file
Feb 11, 2025
de4e633
Merge branch 'migrations' into gen2-migrations-execute
Feb 11, 2025
72d2c39
fix: update lock file
Feb 11, 2025
15f8cbe
fix(migrate-template-gen): support Get:Att in output resolver for roles
Feb 11, 2025
8f9bef1
fix(migrate-template-gen): lint, api extract
Feb 11, 2025
790a290
fix(migrate-template-gen): no need to reconstruct arn for iam role ou…
Feb 11, 2025
20c575c
fix: update API.md
Feb 11, 2025
a9b2e5a
fix(migrate-template-gen): don't generate README on failure
Feb 11, 2025
4461333
fix: update API.md
Feb 11, 2025
753e773
Merge pull request #14101 from aws-amplify/gen2-migrations-execute
abhi7cr Feb 11, 2025
fe6d637
fix: temporary increase to binary size to unblock migrations testing
Feb 12, 2025
0961888
fix: increase size for other operating systems
Feb 12, 2025
8a8b3e8
Merge pull request #14105 from aws-amplify/temp-inc-bin-size-migrations
abhi7cr Feb 12, 2025
687bf5e
chore(release): Publish tagged release beta-latest
Feb 12, 2025
b6c738a
refactor: use array table map and change property name (#14107)
Feb 13, 2025
59e6a01
fix: added dynamic reference to the env name in backend.ts and fixed …
bzsurbhi Feb 13, 2025
3e1eb6c
chore: addressed minor comments
bzsurbhi Feb 13, 2025
2784c17
Merge pull request #14108 from bzsurbhi/migrations
bzsurbhi Feb 13, 2025
0d5c59f
fix: conditional data codegen, phone attribute
Feb 13, 2025
4dfc7e0
fix(migrate-template-gen): add support for refactoring native client
Feb 13, 2025
971a0c8
fix(migrate-template-gen): lint errors in category template generator…
Feb 14, 2025
7b80870
chore: remove commented line
Feb 14, 2025
00de376
fix(migrate-template-gen): extract conditionals into variables
Feb 14, 2025
beab831
Merge pull request #14109 from aws-amplify/gen2-migrations-execute
abhi7cr Feb 14, 2025
dc953af
fix: add tag to force deployment post refactor in gen2 codegen
Feb 14, 2025
203425d
fix: add tags only for auth or storage categories
Feb 14, 2025
e96db12
Merge pull request #14110 from aws-amplify/gen2-migrations-execute
abhi7cr Feb 14, 2025
bf08c08
chore(release): Publish tagged release next
Feb 14, 2025
466e6c7
fix(migrate): set CLI_ENV to production for usage metrics, emit error…
Feb 14, 2025
b62b487
fix(migrate): remove migration dir if exists prior to rename
Feb 14, 2025
5855d14
Merge pull request #14111 from aws-amplify/gen2-migrations-execute
abhi7cr Feb 15, 2025
e697c6b
chore(release): Publish tagged release next-1
Feb 17, 2025
38eed7e
feat(migrate): add revert, userpool group refactor
Feb 24, 2025
0cd9423
fix(migrate-template-gen): update API.md
Feb 24, 2025
3c01f6e
chore(migrate-template-gen): simplify revert and execute flow
Feb 24, 2025
43c8274
chore(migrate-template-gen): refactor mapping for resource types with…
Feb 24, 2025
c433194
chore(migrate-template-gen): remove unused imports
Feb 24, 2025
70406a3
fix(migrate-template-gen): update API.md
Feb 24, 2025
0f9950d
chore(migrate-template-gen): mark setRegion as private
Feb 24, 2025
519d4d5
chore(migrate-template-gen): refactor updateCategoryStackMap to suppo…
Feb 24, 2025
98dced2
fix(migrate): lint errors
Feb 24, 2025
7b10b3b
fix(migrate): remove unused import in test
Feb 24, 2025
d52dfe0
Merge branch 'migrations' into gen2-migrations-execute
Feb 24, 2025
9564e16
fix(migrate-template-gen): clone array before reverse
Feb 24, 2025
787f118
fix: update lock file
Feb 24, 2025
49e1bc4
fix: dedupe lock file
Feb 24, 2025
efb07d0
fix(migrate): update e2e core version
Feb 24, 2025
094feed
chore: copy schema in data/resource.ts and add dynamic env variable
bzsurbhi Feb 24, 2025
f524945
fix: graphql-transformer dependency
Feb 24, 2025
904e58f
fix: remove enableGen2Migration flag in util-mock
Feb 24, 2025
a3c75b3
fix(migrate): lint errors
Feb 25, 2025
4040dd4
feat: bump version
Feb 25, 2025
a810d50
fix: update transformer version in util-mock
Feb 25, 2025
b5b83b3
fix(migrate): use latest cli-internal version
Feb 25, 2025
e4800f6
Merge pull request #14122 from aws-amplify/migrations-merge-dev
abhi7cr Feb 25, 2025
3f0990a
merge from migrations
Feb 25, 2025
9a42e41
fix(migrate-template-gen): remove public modifier for describeStack
Feb 25, 2025
74d87c9
fix(migrate): run prettier
Feb 25, 2025
a7d3f92
fix(migrate-template-gen): remove unused enum member
Feb 25, 2025
dffc611
fix(migrate-template-gen): add explicit public modifier for describeS…
Feb 25, 2025
13e68f1
fix(migrate-template-gen): format error
Feb 25, 2025
ac24dd8
Merge pull request #14120 from aws-amplify/gen2-migrations-execute
abhi7cr Feb 25, 2025
8ce4718
chore(release): Publish tagged release next-2
Feb 26, 2025
d2c556d
chore: use gen 1 data migrations tagged release
Mar 4, 2025
6b05371
Merge pull request #14130 from aws-amplify/gen1-migrations-data
abhi7cr Mar 4, 2025
fdbac82
chore(release): Publish tagged release next-3
Mar 5, 2025
31d11ec
chore: refresh lockfile
Mar 6, 2025
2064a13
chore: refresh lockfile
Mar 7, 2025
78e2d6f
Merge pull request #14132 from aws-amplify/refresh-lockfile
abhi7cr Mar 7, 2025
caac9f4
chore: use production version of api category (#14131)
Mar 7, 2025
1431f3b
chore: addressed comments
bzsurbhi Mar 11, 2025
3638145
chore: commit yarn.locj
bzsurbhi Mar 11, 2025
40ecd58
Merge branch 'aws-amplify:migrations' into migrations
bzsurbhi Mar 11, 2025
3575232
chore: remove unused dependency
bzsurbhi Mar 12, 2025
195e910
chore: ran yarn install
bzsurbhi Mar 12, 2025
a6a3606
chore: ran yarn dedupe
bzsurbhi Mar 12, 2025
07899bb
Merge pull request #14123 from bzsurbhi/migrations
abhi7cr Mar 12, 2025
67fac5b
chore(release): Publish tagged release next-4
Mar 12, 2025
4d4434f
fix: update amplify.yml file with the gen2 command
bzsurbhi Mar 13, 2025
5a985f0
fix(migrate-template-gen): return early if output is not Fn:GetAtt or…
Mar 13, 2025
cdc08b5
Merge pull request #14137 from aws-amplify/gen2-migrations-execute
abhi7cr Mar 13, 2025
9fc8294
fix(amplify-gen2-codegen): add node 20 and 22 version support for fun…
Mar 14, 2025
213e052
test(amplify-gen2-codegen): add unsupported nodejs function
Mar 14, 2025
91486f1
fix(amplify-gen2-codegen): skip setting runtime for unsupported runti…
Mar 14, 2025
f3dd623
Merge pull request #14140 from aws-amplify/gen2-migrations-execute
abhi7cr Mar 15, 2025
416d561
fix: update data prop names (#14139)
Mar 17, 2025
8bd4496
chore: updated the gen2 command
bzsurbhi Mar 17, 2025
6a024a8
chore: updated data definition fetcher to include the api category ch…
bzsurbhi Mar 18, 2025
419d7ca
chore: added >0 check
bzsurbhi Mar 18, 2025
d4ba56a
Merge pull request #14136 from bzsurbhi/migrations
abhi7cr Mar 19, 2025
fe4acd4
chore(release): Publish tagged release next-5
Mar 19, 2025
2b1d203
fix: add idp codegen and fix a couple of minor bugs
bzsurbhi Mar 19, 2025
06a7495
chore: minor refactor
bzsurbhi Mar 20, 2025
a51c8f5
Merge pull request #14143 from bzsurbhi/migrations
abhi7cr Mar 20, 2025
0f50d1c
fix: migration qa feedback
Mar 20, 2025
aaf6dba
fix(amplify-gen2-codegen): remove extraneous newline
Mar 21, 2025
c7aa90a
chore(amplify-gen2-codegen): run prettier
Mar 21, 2025
e4e37c8
Merge pull request #14145 from aws-amplify/gen2-migrations-execute
abhi7cr Mar 21, 2025
bf8a71d
chore(release): Publish tagged release next-6
Mar 21, 2025
1e25182
fix: codegen custom resources and added function scheduling
bzsurbhi Apr 2, 2025
341cdb1
fix: add domain removal statement
Apr 2, 2025
f4cffdb
chore: merge from migrations branch
Apr 2, 2025
7c5abf3
fix: remove s3 deletion policy
Apr 2, 2025
a4647df
fix: added error handling
bzsurbhi Apr 2, 2025
d7433bd
test: bring back UserPoolDomain removal assertion
Apr 3, 2025
5b91485
fix: remove extraneous provider setup code
Apr 3, 2025
9e655bf
Merge pull request #14157 from aws-amplify/gen2-migrations-execute
abhi7cr Apr 3, 2025
c723dac
chore: refactor
bzsurbhi Apr 4, 2025
b56171e
fix: fixed test
bzsurbhi Apr 4, 2025
2d72d51
feat(migrate): remove gen1 config files in prepare command
Apr 4, 2025
5e3371a
chore: minor fixes
bzsurbhi Apr 7, 2025
949f60a
Merge pull request #14156 from bzsurbhi/migrations
abhi7cr Apr 7, 2025
45627e0
Merge branch 'migrations' into gen2-migrations-execute
abhi7cr Apr 7, 2025
6c1c0d2
Update command-handler.test.ts
abhi7cr Apr 7, 2025
cf02483
Update command-handler.test.ts
abhi7cr Apr 7, 2025
c03e8d6
Update command-handler.test.ts
abhi7cr Apr 7, 2025
8aded35
Update command-handler.test.ts
abhi7cr Apr 8, 2025
80d8458
Update command-handler.test.ts
abhi7cr Apr 8, 2025
0fa33c6
Merge pull request #14166 from aws-amplify/gen2-migrations-execute
abhi7cr Apr 8, 2025
f12636c
fix(migrate-template-gen): replace console logs with ora for async tasks
Apr 14, 2025
dd19e48
chore: update lock file
Apr 14, 2025
1926c8b
fix(migrate-template-gen): add start call for ora
Apr 14, 2025
67bdea6
Merge pull request #14173 from aws-amplify/gen2-migrations-execute
abhi7cr Apr 14, 2025
1fc7caa
fix: merge from dev
Apr 15, 2025
6c7680b
Update README.md
bzsurbhi Apr 15, 2025
6db0e3b
Update cfn-output-resolver.ts
bzsurbhi Apr 16, 2025
5018ef2
Update API.md
bzsurbhi Apr 16, 2025
54d8ca7
Update synthesizer.test.ts
bzsurbhi Apr 16, 2025
9b1e793
Update synthesizer.ts
bzsurbhi Apr 16, 2025
6ef9d4d
Update index.ts
bzsurbhi Apr 16, 2025
0067988
Update API.md
bzsurbhi Apr 16, 2025
7c519df
Update category-template-generator.test.ts
bzsurbhi Apr 16, 2025
b1993b9
Update category-template-generator.ts
bzsurbhi Apr 16, 2025
99b5b87
Update index.ts
bzsurbhi Apr 16, 2025
b5c4e54
Update cfn-output-resolver.test.ts
bzsurbhi Apr 16, 2025
da74663
Update template-generator.test.ts
bzsurbhi Apr 16, 2025
a2adafe
Update template-generator.ts
bzsurbhi Apr 16, 2025
499add0
Update types.ts
bzsurbhi Apr 16, 2025
f4433dc
Update execute_command.ts
bzsurbhi Apr 16, 2025
fab0221
Update command-handlers.ts
bzsurbhi Apr 16, 2025
8b86ef2
Merge branch 'migrations' into migrations
bzsurbhi Apr 16, 2025
aac338a
Merge pull request #14176 from bzsurbhi/migrations
abhi7cr Apr 16, 2025
ab1c284
chore: updated terser-webpack-plugin and css-minimizer-webpack-plugin
Feb 21, 2025
6b524a2
chore: bumped workbox-webpack-plugin
Feb 21, 2025
380c3ab
feat!: Update node to 22 (#14121)
sobolk Feb 24, 2025
18043c3
chore: updates lerna to most recent version (#14134)
ShadowCat567 Mar 11, 2025
5174dd9
chore(deps): bump axios from 1.7.4 to 1.8.2 in /scripts
dependabot[bot] Mar 11, 2025
d1b7896
chore(deps): bump aws-cdk-lib from 2.177.0 to 2.184.0 (#14147)
dependabot[bot] Mar 24, 2025
9bff1a2
chore(deps): bump tar-fs from 2.1.1 to 2.1.2 (#14149)
dependabot[bot] Mar 31, 2025
eb2a89f
chore(deps): bump aws-cdk-lib from 2.184.1 to 2.187.0 (#14154)
dependabot[bot] Apr 9, 2025
8a0d1f5
chore(deps): bump aws-cdk-lib from 2.184.1 to 2.187.0 (#14170)
Amplifiyer Apr 9, 2025
c17c7e8
chore: upgrade data packages (#14162)
Apr 10, 2025
15d5860
chore: upgrade aws-cdk to 2.187.0 in custom resource migration tests …
Amplifiyer Apr 10, 2025
c1ff1a4
Merge branch 'migrations' into gen2-migrations-execute
Apr 16, 2025
000d660
fix: refactor customResourceMappings in execute command
Apr 17, 2025
fdb2079
fix: lock file
Apr 17, 2025
fde06aa
fix: import path for types
Apr 17, 2025
699f9e7
fix: update lock file
Apr 17, 2025
9779979
chore: update API.md, gen2 codegen cdk-lib minor version
Apr 17, 2025
4d95f90
chore: update yarn.lock
Apr 17, 2025
c36be0f
fix: versions in cli-core
Apr 17, 2025
00fc019
chore: update API.md
Apr 17, 2025
00b25b7
fix: lint errors
Apr 17, 2025
0173f7f
fix(migrate): add validation for path after file://
Apr 17, 2025
9a4e1b6
Merge pull request #14177 from aws-amplify/gen2-migrations-execute
abhi7cr Apr 17, 2025
dd6f36f
chore: update API.md
Apr 18, 2025
3f0713b
fix: add amplify data as a dependency to amplify-gen2-codegen
Apr 18, 2025
a9c772a
fix: use non-tagged package versions
Apr 18, 2025
4b74382
fix: lint errors, add type gauard for auth output
Apr 18, 2025
d071100
Merge pull request #14179 from aws-amplify/gen2-migrations-execute
abhi7cr Apr 18, 2025
199b138
fix: custom resource error handling, formatting messages
Apr 18, 2025
3c124b9
Merge pull request #14181 from aws-amplify/gen2-migrations-execute
abhi7cr Apr 18, 2025
7b2b987
chore(release): Publish tagged release next-7
Apr 19, 2025
84e1933
fix(migrate-template-gen): initialize non-custom category generator w…
Apr 21, 2025
7de7495
chore: temporarily undo updation of gen2 codegen
Apr 21, 2025
46352d2
Merge pull request #14182 from aws-amplify/gen2-migrations-execute
abhi7cr Apr 21, 2025
c9b6148
chore(release): Publish tagged release next-8
Apr 21, 2025
bc7010a
fix(migrate): codegen triggers created outside of standard triggers flow
Apr 22, 2025
971a535
chore: undo gen2-codegen package upgrade for migration e2e
Apr 22, 2025
8741187
fix: remove extraneous console log
Apr 22, 2025
06121b2
Merge pull request #14187 from aws-amplify/gen2-migrations-execute
abhi7cr Apr 22, 2025
af01ce7
chore(release): Publish tagged release next-9
Apr 22, 2025
2f87078
fix: remove extraneous console log
Apr 22, 2025
23230da
fix: merge from migrations
Apr 23, 2025
ae6021e
chore: remove unused variable
Apr 23, 2025
094e7a7
fix: lint errors in migration e2e
Apr 23, 2025
19ba7cf
Merge pull request #14189 from aws-amplify/gen2-migrations-execute
abhi7cr Apr 23, 2025
2bb3d39
chore(release): Publish tagged release next-10
Apr 24, 2025
f96799f
fix: revert gen2 migration e2e test
Apr 24, 2025
b48839d
Merge pull request #14190 from aws-amplify/gen2-migrations-execute
abhi7cr Apr 24, 2025
c269607
chore: remove extraneous assert
Apr 24, 2025
8a0f334
Merge pull request #14191 from aws-amplify/gen2-migrations-execute
abhi7cr Apr 24, 2025
8c1d484
test: add gen2 migrations e2e tests to pipeline
Apr 24, 2025
7be1ad2
test: add function to run e2e migration tests
Apr 24, 2025
1ee3c31
fix: batch identifier
Apr 25, 2025
d2c2fe8
Merge pull request #14192 from aws-amplify/gen2-migrations-execute
abhi7cr Apr 25, 2025
94638c1
fix: merge from dev
Apr 25, 2025
13d51a4
fix: merge from migrations
Apr 25, 2025
8bb071b
fix: update lock file
Apr 28, 2025
a996997
Merge pull request #14193 from aws-amplify/gen2-migrations-execute
abhi7cr Apr 28, 2025
4b75048
fix: update lock file for cli-core
Apr 28, 2025
94e3bec
Merge pull request #14194 from aws-amplify/gen2-migrations-execute
abhi7cr Apr 28, 2025
74b58eb
fix: migration test file extension
Apr 29, 2025
ee5a251
fix(amplify-migration-e2e): account for stack already deleted before …
Apr 29, 2025
a150cdd
fix: add junit xml to .gitignore
Apr 29, 2025
8d15e7a
test: update gen2 gitignore
Apr 29, 2025
04a08d6
fix: remove junit.xml
Apr 29, 2025
2abc883
Merge pull request #14196 from aws-amplify/gen2-migrations-execute
abhi7cr Apr 29, 2025
54b1c07
chore: remove migration package from cli tsconfig as its a standalone…
Apr 29, 2025
9e7a3cd
fix: depend on upb for gen2 migration test
Apr 29, 2025
69a4d9c
Merge pull request #14197 from aws-amplify/gen2-migrations-execute
abhi7cr Apr 29, 2025
84b8b9e
chore(release): Publish tagged release next-11
May 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .circleci/local_publish_helpers_codebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,29 @@ function runE2eTestCb {
fi
}

function runGen2MigrationsE2ETestCb {
_setupCoverage
FAILED_TEST_REGEX_FILE="./amplify-migration-e2e-reports/amplify-migration-e2e-failed-test.txt"

if [ -f $FAILED_TEST_REGEX_FILE ]; then
# read the content of failed tests
failedTests=$(<$FAILED_TEST_REGEX_FILE)
if [[ ! -z "$DISABLE_COVERAGE" ]]; then
echo Running WITHOUT coverage
yarn e2e-migration --forceExit --no-cache --maxWorkers=4 $TEST_SUITE -t "$failedTests"
else
NODE_V8_COVERAGE=$E2E_TEST_COVERAGE_DIR yarn e2e-migration --forceExit --no-cache --maxWorkers=4 $TEST_SUITE -t "$failedTests"
fi
else
if [[ ! -z "$DISABLE_COVERAGE" ]]; then
echo Running WITHOUT coverage
yarn e2e-migration --forceExit --no-cache --maxWorkers=4 $TEST_SUITE
else
NODE_V8_COVERAGE=$E2E_TEST_COVERAGE_DIR yarn e2e-migration --forceExit --no-cache --maxWorkers=4 $TEST_SUITE
fi
fi
}

function _setupCoverage {
_teardownCoverage
echo "Setup Coverage ($E2E_TEST_COVERAGE_DIR)"
Expand Down
21 changes: 20 additions & 1 deletion .eslint-dictionary.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"amplifymeta",
"amplifyrc",
"amplifytools",
"ampx",
"ansi",
"apigateway",
"apigw",
Expand Down Expand Up @@ -49,6 +50,7 @@
"axios",
"babelrc",
"backend",
"backends",
"balancer",
"basedir",
"birthdate",
Expand All @@ -60,6 +62,7 @@
"bugfix",
"buildable",
"buildspec",
"bundler",
"callout",
"camelcase",
"cancellable",
Expand All @@ -85,6 +88,7 @@
"cname",
"codebase",
"codegen",
"codegentest",
"codepipeline",
"codesuite",
"cognito",
Expand Down Expand Up @@ -125,6 +129,7 @@
"doctype",
"dotenv",
"dotnet",
"downloader",
"durations",
"dynamodb",
"ecluster",
Expand All @@ -134,6 +139,7 @@
"ejs",
"elasticsearch",
"emacs",
"enablegen2migration",
"endian",
"enode",
"entrypoint",
Expand All @@ -142,7 +148,9 @@
"enums",
"epath",
"errno",
"esbuild",
"esri",
"esModuleInterop",
"etag",
"execa",
"executables",
Expand All @@ -160,6 +168,7 @@
"frontend",
"frontends",
"fsext",
"fullname",
"func",
"funcs",
"generatable",
Expand Down Expand Up @@ -256,6 +265,7 @@
"multifactor",
"multipart",
"mutex",
"mygen2app",
"namespace",
"netcoreapp",
"netmask",
Expand Down Expand Up @@ -329,6 +339,8 @@
"regenerator",
"regexes",
"rekognition",
"renderer",
"renderers",
"repo",
"reqheaders",
"resolvers",
Expand All @@ -340,6 +352,7 @@
"runnable",
"runtimes",
"sagemaker",
"saml",
"scannable",
"schemadeployer",
"schemas",
Expand Down Expand Up @@ -375,6 +388,7 @@
"syncable",
"tablename",
"tailwindcss",
"templategen",
"testother",
"testschemadeployer",
"textract",
Expand All @@ -398,6 +412,7 @@
"ulid",
"unauth",
"uncompiled",
"uncommented",
"unicode",
"unix",
"unlink",
Expand All @@ -410,10 +425,12 @@
"unstaged",
"unsubstituted",
"untyped",
"unzipper",
"updateamplify",
"uploader",
"upsert",
"upvotes",
"uris",
"urlencoded",
"urls",
"userpool",
Expand All @@ -426,6 +443,7 @@
"venv",
"verificationbucket",
"versioned",
"versioning",
"vert",
"virtualenv",
"vpc",
Expand All @@ -449,5 +467,6 @@
"yarnrc",
"yesno",
"yyyymmddhhmmss",
"zoneinfo"
"zoneinfo",
"yargs"
]
6 changes: 6 additions & 0 deletions codebuild_specs/e2e_workflow_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,12 @@ batch:
compute-type: BUILD_GENERAL1_LARGE
depend-on:
- upb
- identifier: gen2_migrations_e2e_test
buildspec: codebuild_specs/run_gen2_migrations_e2e_tests_linux.yml
depend-on:
- upb
env:
compute-type: BUILD_GENERAL1_LARGE
- identifier: cleanup_resources
buildspec: codebuild_specs/cleanup_resources.yml
depend-on:
Expand Down
6 changes: 6 additions & 0 deletions codebuild_specs/e2e_workflow_generated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,12 @@ batch:
compute-type: BUILD_GENERAL1_LARGE
depend-on:
- upb
- identifier: gen2_migrations_e2e_test
buildspec: codebuild_specs/run_gen2_migrations_e2e_tests_linux.yml
depend-on:
- upb
env:
compute-type: BUILD_GENERAL1_LARGE
- identifier: cleanup_resources
buildspec: codebuild_specs/cleanup_resources.yml
depend-on:
Expand Down
55 changes: 55 additions & 0 deletions codebuild_specs/run_gen2_migrations_e2e_tests_linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
version: 0.2
env:
shell: bash
variables:
E2E_TEST_COVERAGE_DIR: node_v8_coverage
CI: true
CIRCLECI: true
IS_AMPLIFY_CI: true
# mock values to test artifact scanning
ENV_VAR_WITH_SECRETS: 'MOCK_ENV_VAR_FOR_SCANNING_SECRETS'
MOCK_ENV_VAR_FOR_SCANNING_SECRETS: 'abc123xyz'

# mock values for credentials below
FACEBOOK_APP_ID: 'fbAppId'
FACEBOOK_APP_SECRET: 'fbAppSecret'
GOOGLE_APP_ID: 'gglAppID'
GOOGLE_APP_SECRET: 'gglAppSecret'
AMAZON_APP_ID: 'amaznAppID'
AMAZON_APP_SECRET: 'amaznAppID'
APPLE_APP_ID: 'com.fake.app'
APPLE_TEAM_ID: '2QLEWNDK6K'
APPLE_KEY_ID: '2QLZXKYJ8J'
# mock value, Cognito validates the private key, this is an invalidated key.
APPLE_PRIVATE_KEY_2: '----BEGIN PRIVATE KEY-----MIGTAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBHkwdwIBAQQgIltgNsTgTfSzUadYiCS0VYtDDMFln/J8i1yJsSIw5g+gCgYIKoZIzj0DAQehRANCAASI8E0L/DhR/mIfTT07v3VwQu6q8I76lgn7kFhT0HvWoLuHKGQFcFkXXCgztgBrprzd419mUChAnKE6y89bWcNw----END PRIVATE KEY----'
phases:
build:
commands:
# you can provide a codebuild source version to use old cache and skip all other jobs :)
- export NODE_OPTIONS=--max-old-space-size=4096
- export AMPLIFY_DIR=$CODEBUILD_SRC_DIR/out
- export AMPLIFY_PATH=$CODEBUILD_SRC_DIR/out/amplify-pkg-linux-x64
- echo $AMPLIFY_DIR
- echo $AMPLIFY_PATH
- npm install -g ts-node
- source ./shared-scripts.sh && _runGen2MigrationE2ETestsLinux
post_build:
commands:
- source ./shared-scripts.sh && _convertCoverage # && _uploadCoverageLinux (disabled while troubleshooting E2E test failures during initial CodeBuild setup)
- source ./shared-scripts.sh && _scanArtifacts
- source ./shared-scripts.sh && _uploadReportsToS3 $CODEBUILD_SOURCE_VERSION $CODEBUILD_BATCH_BUILD_IDENTIFIER amplify-migration-e2e
artifacts:
files:
- '$E2E_TEST_COVERAGE_DIR/*'
- amplify-migration-e2e-reports/*
base-directory: packages/amplify-migration-e2e/
reports:
e2e-reports:
files:
- '*.xml'
file-format: 'JUNITXML'
base-directory: '$CODEBUILD_SRC_DIR/packages/amplify-migration-e2e/junit'
e2e-coverage-report:
files:
- 'packages/amplify-migration-e2e/coverage/clover.xml'
file-format: CLOVERXML
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = {
'packages/amplify-e2e-core/',
'packages/amplify-e2e-tests/',
'packages/amplify-console-integration-tests/',
'packages/amplify-migration-e2e/src/__tests__',
'packages/graphql-transformers-e2e-tests/',
'packages/amplify-util-mock/src/__e2e__/',
'packages/amplify-ui-tests/',
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"coverage": "codecov || exit 0",
"deep-clean-install": "yarn verdaccio-clean && yarn cache clean && yarn clean && git clean -fdx -e .vscode -e .env && yarn",
"e2e": "lerna run e2e",
"e2e-migration": "lerna run e2e-migration",
"extract-api": "lerna run extract-api --concurrency 4",
"extract-formatting-changes": "yarn ts-node ./scripts/extract-formatting-changes.ts",
"finish-release": "ts-node ./scripts/finish-release.ts",
Expand Down
8 changes: 8 additions & 0 deletions packages/amplify-app/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [5.0.43-next-11.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/amplify-app@5.0.42-next-7.0...@aws-amplify/amplify-app@5.0.43-next-11.0) (2025-05-01)

**Note:** Version bump only for package @aws-amplify/amplify-app





## [5.0.42](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/amplify-app@5.0.41...@aws-amplify/amplify-app@5.0.42) (2025-04-17)

**Note:** Version bump only for package @aws-amplify/amplify-app
Expand Down
6 changes: 3 additions & 3 deletions packages/amplify-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-amplify/amplify-app",
"version": "5.0.42",
"version": "5.0.43-next-11.0",
"description": "Amplify CLI",
"repository": {
"type": "git",
Expand Down Expand Up @@ -28,8 +28,8 @@
"dependencies": {
"@aws-amplify/amplify-frontend-android": "3.5.8",
"@aws-amplify/amplify-frontend-flutter": "1.4.7",
"@aws-amplify/amplify-frontend-ios": "3.7.12",
"@aws-amplify/amplify-frontend-javascript": "3.10.22",
"@aws-amplify/amplify-frontend-ios": "3.7.13-next-11.0",
"@aws-amplify/amplify-frontend-javascript": "3.10.23-next-11.0",
"chalk": "^4.1.1",
"execa": "^5.1.1",
"fs-extra": "^8.1.0",
Expand Down
8 changes: 8 additions & 0 deletions packages/amplify-appsync-simulator/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.16.13-next-11.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/amplify-appsync-simulator@2.16.12-next-7.0...@aws-amplify/amplify-appsync-simulator@2.16.13-next-11.0) (2025-05-01)

**Note:** Version bump only for package @aws-amplify/amplify-appsync-simulator





## [2.16.12](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/amplify-appsync-simulator@2.16.11...@aws-amplify/amplify-appsync-simulator@2.16.12) (2025-04-17)

**Note:** Version bump only for package @aws-amplify/amplify-appsync-simulator
Expand Down
8 changes: 4 additions & 4 deletions packages/amplify-appsync-simulator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-amplify/amplify-appsync-simulator",
"version": "2.16.12",
"version": "2.16.13-next-11.0",
"description": "An AppSync Simulator to test AppSync API.",
"repository": {
"type": "git",
Expand Down Expand Up @@ -30,11 +30,11 @@
"extract-api": "ts-node ../../scripts/extract-api.ts"
},
"dependencies": {
"@aws-amplify/amplify-cli-core": "4.4.1",
"@aws-amplify/amplify-cli-core": "4.4.2-next-11.0",
"@aws-amplify/amplify-prompts": "2.8.6",
"@graphql-tools/schema": "^8.3.1",
"@graphql-tools/utils": "^8.5.1",
"amplify-velocity-template": "1.4.15",
"amplify-velocity-template": "1.4.16-next-11.0",
"aws-sdk": "^2.1464.0",
"chalk": "^4.1.1",
"cors": "^2.8.5",
Expand All @@ -58,7 +58,7 @@
"ws": "^8.5.0"
},
"devDependencies": {
"@aws-amplify/amplify-graphiql-explorer": "2.6.1",
"@aws-amplify/amplify-graphiql-explorer": "2.6.2-next-11.0",
"@types/cors": "^2.8.6",
"@types/express": "^4.17.3",
"@types/node": "^12.12.6",
Expand Down
8 changes: 8 additions & 0 deletions packages/amplify-category-analytics/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [5.0.42-next-11.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/amplify-category-analytics@5.0.41-next-7.0...@aws-amplify/amplify-category-analytics@5.0.42-next-11.0) (2025-05-01)

**Note:** Version bump only for package @aws-amplify/amplify-category-analytics





## [5.0.41](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/amplify-category-analytics@5.0.40...@aws-amplify/amplify-category-analytics@5.0.41) (2025-04-17)

**Note:** Version bump only for package @aws-amplify/amplify-category-analytics
Expand Down
6 changes: 3 additions & 3 deletions packages/amplify-category-analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-amplify/amplify-category-analytics",
"version": "5.0.41",
"version": "5.0.42-next-11.0",
"description": "amplify-cli analytics plugin",
"repository": {
"type": "git",
Expand All @@ -25,8 +25,8 @@
"extract-api": "ts-node ../../scripts/extract-api.ts"
},
"dependencies": {
"@aws-amplify/amplify-cli-core": "4.4.1",
"@aws-amplify/amplify-environment-parameters": "1.9.19",
"@aws-amplify/amplify-cli-core": "4.4.2-next-11.0",
"@aws-amplify/amplify-environment-parameters": "1.9.20-next-11.0",
"@aws-amplify/amplify-prompts": "2.8.6",
"fs-extra": "^8.1.0",
"uuid": "^8.3.2"
Expand Down
11 changes: 11 additions & 0 deletions packages/amplify-category-auth/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.

## [3.7.22-next-11.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/amplify-category-auth@3.7.21-next-7.0...@aws-amplify/amplify-category-auth@3.7.22-next-11.0) (2025-05-01)


### Bug Fixes

* pin CDK version again ([#14186](https://github.com/aws-amplify/amplify-cli/issues/14186)) ([ef7f5eb](https://github.com/aws-amplify/amplify-cli/commit/ef7f5ebe0136049865554c6ec0235abc9b816fea))





## [3.7.21](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/amplify-category-auth@3.7.20...@aws-amplify/amplify-category-auth@3.7.21) (2025-04-17)

**Note:** Version bump only for package @aws-amplify/amplify-category-auth
Expand Down
Loading