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: bump ai-constructs to 1.2.3 + cdk-lib to 2.180.0 #3193

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion dependency_licenses.txt
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ limitations under the License.

-----

The following software may be included in this product: @aws-cdk/asset-awscli-v1, @aws-cdk/asset-kubectl-v20, @aws-cdk/asset-node-proxy-agent-v6, jsii, jsii-rosetta. A copy of the source code may be downloaded from https://github.com/cdklabs/awscdk-asset-awscli.git (@aws-cdk/asset-awscli-v1), https://github.com/cdklabs/awscdk-asset-kubectl.git (@aws-cdk/asset-kubectl-v20), https://github.com/cdklabs/awscdk-asset-node-proxy-agent.git (@aws-cdk/asset-node-proxy-agent-v6), https://github.com/aws/jsii-compiler.git (jsii), https://github.com/aws/jsii-rosetta.git (jsii-rosetta). This software contains the following license and notice below:
The following software may be included in this product: @aws-cdk/asset-awscli-v1, @aws-cdk/asset-node-proxy-agent-v6, jsii, jsii-rosetta. A copy of the source code may be downloaded from https://github.com/cdklabs/awscdk-asset-awscli.git (@aws-cdk/asset-awscli-v1), https://github.com/cdklabs/awscdk-asset-node-proxy-agent.git (@aws-cdk/asset-node-proxy-agent-v6), https://github.com/aws/jsii-compiler.git (jsii), https://github.com/aws/jsii-rosetta.git (jsii-rosetta). This software contains the following license and notice below:

Apache License
Version 2.0, January 2004
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@
"**/istanbul/async": "^2.6.4",
"**/jake/async": "^2.6.4",
"**/nth-check": "^2.0.1",
"aws-cdk-lib": "^2.177.0",
"aws-cdk-lib": "^2.180.0",
"lodash": "^4.17.21",
"node-fetch": "^2.6.7",
"cross-fetch": "^2.2.6",
Expand Down
45 changes: 3 additions & 42 deletions packages/amplify-data-construct/.jsii
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
]
},
"bundled": {
"@aws-amplify/ai-constructs": "^1.2.2",
"@aws-amplify/ai-constructs": "^1.2.3",
"@aws-amplify/backend-output-schemas": "^1.0.0",
"@aws-amplify/backend-output-storage": "^1.0.0",
"@aws-amplify/graphql-auth-transformer": "4.1.12",
Expand Down Expand Up @@ -133,7 +133,7 @@
},
"dependencies": {
"@aws-amplify/graphql-api-construct": "1.18.8",
"aws-cdk-lib": "^2.177.0",
"aws-cdk-lib": "^2.180.0",
"constructs": "^10.3.0"
},
"dependencyClosure": {
Expand Down Expand Up @@ -170,32 +170,6 @@
}
}
},
"@aws-cdk/asset-kubectl-v20": {
"targets": {
"dotnet": {
"namespace": "Amazon.CDK.Asset.KubectlV20",
"packageId": "Amazon.CDK.Asset.KubectlV20"
},
"go": {
"moduleName": "github.com/cdklabs/awscdk-asset-kubectl-go",
"packageName": "kubectlv20"
},
"java": {
"maven": {
"artifactId": "cdk-asset-kubectl-v20",
"groupId": "software.amazon.awscdk"
},
"package": "software.amazon.awscdk.cdk.asset.kubectl.v20"
},
"js": {
"npm": "@aws-cdk/asset-kubectl-v20"
},
"python": {
"distName": "aws-cdk.asset-kubectl-v20",
"module": "aws_cdk.asset_kubectl_v20"
}
}
},
"@aws-cdk/asset-node-proxy-agent-v6": {
"targets": {
"dotnet": {
Expand Down Expand Up @@ -3948,19 +3922,6 @@
}
}
},
"aws-cdk-lib.lambda_layer_kubectl": {
"targets": {
"dotnet": {
"namespace": "Amazon.CDK.LambdaLayer.Kubectl"
},
"java": {
"package": "software.amazon.awscdk.lambdalayer.kubectl"
},
"python": {
"module": "aws_cdk.lambda_layer_kubectl"
}
}
},
"aws-cdk-lib.lambda_layer_node_proxy_agent": {
"targets": {
"dotnet": {
Expand Down Expand Up @@ -4107,5 +4068,5 @@
},
"types": {},
"version": "1.14.8",
"fingerprint": "rZWy+a/CElQLDjCmKd6hg0FYzJry9GFG+Gx8i2GudXk="
"fingerprint": "RMIIf0UXIQIiA3r2kV7aJbct8Z+aIkHwwBbGY1UAp+I="
}
6 changes: 3 additions & 3 deletions packages/amplify-data-construct/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
"zod"
],
"dependencies": {
"@aws-amplify/ai-constructs": "^1.2.2",
"@aws-amplify/ai-constructs": "^1.2.3",
"@aws-amplify/backend-output-schemas": "^1.0.0",
"@aws-amplify/backend-output-storage": "^1.0.0",
"@aws-amplify/graphql-api-construct": "1.18.8",
Expand Down Expand Up @@ -288,7 +288,7 @@
"devDependencies": {
"@types/fs-extra": "^8.0.1",
"@types/node": "^18.0.0",
"aws-cdk-lib": "2.177.0",
"aws-cdk-lib": "2.180.0",
"constructs": "10.3.0",
"jsii": "^5.4.23",
"jsii-pacmak": "^1.84.0",
Expand All @@ -297,7 +297,7 @@
"ts-node": "^8.10.1"
},
"peerDependencies": {
"aws-cdk-lib": "^2.177.0",
"aws-cdk-lib": "^2.180.0",
"constructs": "^10.3.0"
},
"stability": "stable",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@aws-amplify/graphql-transformer-interfaces": "4.2.3",
"@aws-amplify/graphql-validate-transformer": "1.0.0",
"@types/node": "^18.0.0",
"aws-cdk-lib": "2.177.0",
"aws-cdk-lib": "2.180.0",
"constructs": "10.3.0",
"ts-node": "^8.10.2"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`CDK GraphQL Transformer CDK base case - aws-cdk-lib@2.177.0 1`] = `
exports[`CDK GraphQL Transformer CDK base case - aws-cdk-lib@2.180.0 1`] = `
Object {
"body": Object {
"data": Object {
Expand All @@ -14,7 +14,7 @@ Object {
}
`;

exports[`CDK GraphQL Transformer CDK base case - aws-cdk-lib@2.177.0 2`] = `
exports[`CDK GraphQL Transformer CDK base case - aws-cdk-lib@2.180.0 2`] = `
Object {
"body": Object {
"data": Object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ describe('CDK Auth Modes', () => {
test('Can be invoked with Admin Roles defined', async () => {
const templatePath = path.resolve(path.join(__dirname, 'backends', 'admin-role'));
const name = await initCDKProject(projRoot, templatePath, {
cdkVersion: '2.177.0', // Explicitly declaring this, since this version needs to match cognito idp
cdkVersion: '2.180.0', // Explicitly declaring this, since this version needs to match cognito idp
additionalDependencies: [
'esbuild', // required to bundle the lambda function
'@aws-cdk/aws-cognito-identitypool-alpha@2.177.0-alpha.0', // using alpha cognito idp resource for auth config
'@aws-cdk/aws-cognito-identitypool-alpha@2.180.0-alpha.0', // using alpha cognito idp resource for auth config
'@aws-crypto/sha256-js', // All remaining deps are required for the lambda to sign the request to appsync
'@aws-sdk/credential-provider-node',
'@aws-sdk/protocol-http',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('CDK GraphQL Transformer', () => {
deleteProjectDir(projRoot);
});

['2.177.0', 'latest'].forEach((cdkVersion) => {
['2.180.0', 'latest'].forEach((cdkVersion) => {
test(`CDK base case - aws-cdk-lib@${cdkVersion}`, async () => {
const templatePath = path.resolve(path.join(__dirname, 'backends', 'base-cdk'));
const name = await initCDKProject(projRoot, templatePath, { cdkVersion });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('Data Construct', () => {
deleteProjectDir(projRoot);
});

['2.177.0', 'latest'].forEach((cdkVersion) => {
['2.180.0', 'latest'].forEach((cdkVersion) => {
test(`Data Construct - aws-cdk-lib@${cdkVersion}`, async () => {
const templatePath = path.resolve(path.join(__dirname, 'backends', 'data-construct'));
const name = await initCDKProject(projRoot, templatePath, { cdkVersion, construct: 'Data' });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export type InitCDKProjectProps = {
* @returns a promise which resolves to the stack name
*/
export const initCDKProject = async (cwd: string, templatePath: string, props?: InitCDKProjectProps): Promise<string> => {
const { cdkVersion = '2.177.0', additionalDependencies = [] } = props ?? {};
const { cdkVersion = '2.180.0', additionalDependencies = [] } = props ?? {};

await spawn(getNpxPath(), ['cdk', 'init', 'app', '--language', 'typescript'], {
cwd,
Expand Down
45 changes: 3 additions & 42 deletions packages/amplify-graphql-api-construct/.jsii
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
]
},
"bundled": {
"@aws-amplify/ai-constructs": "^1.2.2",
"@aws-amplify/ai-constructs": "^1.2.3",
"@aws-amplify/backend-output-schemas": "^1.0.0",
"@aws-amplify/backend-output-storage": "^1.0.0",
"@aws-amplify/graphql-auth-transformer": "4.1.12",
Expand Down Expand Up @@ -132,7 +132,7 @@
"zod": "^3.22.2"
},
"dependencies": {
"aws-cdk-lib": "^2.177.0",
"aws-cdk-lib": "^2.180.0",
"constructs": "^10.3.0"
},
"dependencyClosure": {
Expand Down Expand Up @@ -162,32 +162,6 @@
}
}
},
"@aws-cdk/asset-kubectl-v20": {
"targets": {
"dotnet": {
"namespace": "Amazon.CDK.Asset.KubectlV20",
"packageId": "Amazon.CDK.Asset.KubectlV20"
},
"go": {
"moduleName": "github.com/cdklabs/awscdk-asset-kubectl-go",
"packageName": "kubectlv20"
},
"java": {
"maven": {
"artifactId": "cdk-asset-kubectl-v20",
"groupId": "software.amazon.awscdk"
},
"package": "software.amazon.awscdk.cdk.asset.kubectl.v20"
},
"js": {
"npm": "@aws-cdk/asset-kubectl-v20"
},
"python": {
"distName": "aws-cdk.asset-kubectl-v20",
"module": "aws_cdk.asset_kubectl_v20"
}
}
},
"@aws-cdk/asset-node-proxy-agent-v6": {
"targets": {
"dotnet": {
Expand Down Expand Up @@ -3940,19 +3914,6 @@
}
}
},
"aws-cdk-lib.lambda_layer_kubectl": {
"targets": {
"dotnet": {
"namespace": "Amazon.CDK.LambdaLayer.Kubectl"
},
"java": {
"package": "software.amazon.awscdk.lambdalayer.kubectl"
},
"python": {
"module": "aws_cdk.lambda_layer_kubectl"
}
}
},
"aws-cdk-lib.lambda_layer_node_proxy_agent": {
"targets": {
"dotnet": {
Expand Down Expand Up @@ -9445,5 +9406,5 @@
}
},
"version": "1.18.8",
"fingerprint": "hYt0AjiITxUODUTW9sDyUQLngu9UQVT3B67KSbXO7FE="
"fingerprint": "O/IEvSUR+5TneoIA9zpmK12AP8+RWrVqq5ZfG0sPi4E="
}
6 changes: 3 additions & 3 deletions packages/amplify-graphql-api-construct/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
"zod"
],
"dependencies": {
"@aws-amplify/ai-constructs": "^1.2.2",
"@aws-amplify/ai-constructs": "^1.2.3",
"@aws-amplify/backend-output-schemas": "^1.0.0",
"@aws-amplify/backend-output-storage": "^1.0.0",
"@aws-amplify/graphql-auth-transformer": "4.1.12",
Expand Down Expand Up @@ -289,7 +289,7 @@
"@aws-amplify/graphql-transformer-test-utils": "1.0.13",
"@types/fs-extra": "^8.0.1",
"@types/node": "^18.0.0",
"aws-cdk-lib": "2.177.0",
"aws-cdk-lib": "2.180.0",
"constructs": "10.3.0",
"jsii": "^5.4.23",
"jsii-docgen": "9.1.2",
Expand All @@ -299,7 +299,7 @@
"ts-node": "^8.10.1"
},
"peerDependencies": {
"aws-cdk-lib": "^2.177.0",
"aws-cdk-lib": "^2.180.0",
"constructs": "^10.3.0"
},
"stability": "stable",
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-graphql-auth-transformer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@types/node": "^18.0.0"
},
"peerDependencies": {
"aws-cdk-lib": "^2.177.0",
"aws-cdk-lib": "^2.180.0",
"constructs": "^10.3.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"extract-api": "ts-node ../../scripts/extract-api.ts"
},
"dependencies": {
"@aws-amplify/ai-constructs": "^1.2.2",
"@aws-amplify/ai-constructs": "^1.2.3",
"@aws-amplify/graphql-directives": "2.6.1",
"@aws-amplify/graphql-index-transformer": "3.0.14",
"@aws-amplify/graphql-model-transformer": "3.1.6",
Expand All @@ -43,7 +43,7 @@
"esbuild": "^0.25.0"
},
"peerDependencies": {
"aws-cdk-lib": "^2.177.0",
"aws-cdk-lib": "^2.180.0",
"constructs": "^10.3.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@aws-amplify/graphql-transformer-test-utils": "1.0.13"
},
"peerDependencies": {
"aws-cdk-lib": "^2.177.0",
"aws-cdk-lib": "^2.180.0",
"constructs": "^10.3.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@aws-amplify/graphql-transformer-test-utils": "1.0.13"
},
"peerDependencies": {
"aws-cdk-lib": "^2.177.0",
"aws-cdk-lib": "^2.180.0",
"constructs": "^10.3.0"
}
}
2 changes: 1 addition & 1 deletion packages/amplify-graphql-http-transformer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@aws-amplify/graphql-transformer-test-utils": "1.0.13"
},
"peerDependencies": {
"aws-cdk-lib": "^2.177.0",
"aws-cdk-lib": "^2.180.0",
"constructs": "^10.3.0"
}
}
2 changes: 1 addition & 1 deletion packages/amplify-graphql-index-transformer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@aws-amplify/graphql-transformer-test-utils": "1.0.13"
},
"peerDependencies": {
"aws-cdk-lib": "^2.177.0",
"aws-cdk-lib": "^2.180.0",
"constructs": "^10.3.0"
}
}
2 changes: 1 addition & 1 deletion packages/amplify-graphql-model-transformer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"graphql-transformer-common": "5.1.2"
},
"peerDependencies": {
"aws-cdk-lib": "^2.177.0",
"aws-cdk-lib": "^2.180.0",
"constructs": "^10.3.0"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"graphql-transformer-common": "5.1.2"
},
"peerDependencies": {
"aws-cdk-lib": "^2.177.0",
"aws-cdk-lib": "^2.180.0",
"constructs": "^10.3.0"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"graphql-transformer-common": "5.1.2"
},
"peerDependencies": {
"aws-cdk-lib": "^2.177.0",
"aws-cdk-lib": "^2.180.0",
"constructs": "^10.3.0"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@aws-amplify/graphql-transformer-test-utils": "1.0.13"
},
"peerDependencies": {
"aws-cdk-lib": "^2.177.0",
"aws-cdk-lib": "^2.180.0",
"constructs": "^10.3.0"
}
}
Loading
Loading