Skip to content

Commit 9789413

Browse files
committed
upgrade to version 1.2.2
1 parent e2277a8 commit 9789413

File tree

29 files changed

+92
-65
lines changed

29 files changed

+92
-65
lines changed

CHANGELOG.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,22 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [1.2.1] - 2023-12-21
8+
## [1.2.2] - 2024-01-11
99

1010
### Fixed
1111

12-
- Unit tests failure due to a change in the underlying anthropic library.
12+
- Pinned `langchain-core` and `langchain-community` versions, fixing a test failure caused by unpinned versions in the `langchain` packages dependencies
13+
- Removed a race condition causing intermittent failures to deploy the UI infrastructure
14+
15+
### Security
16+
17+
- Updated Node package versions to resolve security vulnerabilities
18+
19+
## [1.2.1] - 2023-12-21
20+
21+
### Fixed
1322

23+
- Unit tests failure due to a change in the underlying anthropic library.
1424

1525
## [1.2.0] - 2023-12-18
1626

NOTICE.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ anthropic MIT
7171
anyio MIT
7272
async-timeout Apache-2.0
7373
attrs MIT
74+
awscli Apache-2.0
7475
aws-amplify Apache-2.0
7576
aws-cdk-lib Apache-2.0
7677
aws-jwt-verify Apache-2.0
@@ -89,11 +90,13 @@ certifi MPL 2.0
8990
cffi MIT
9091
charset-normalizer MIT
9192
click BSD License (BSD-3-Clause)
93+
colorama BSD License
9294
constructs Apache-2.0
9395
coverage Apache-2.0
9496
cryptography Apache-2.0 OR BSD-3-Clause
9597
dataclasses Apache-2.0
9698
dataclasses-json MIT
99+
docutils BSD License
97100
distro Apache-2.0
98101
eslint MIT
99102
exceptiongroup MIT
@@ -116,6 +119,8 @@ jmespath MIT
116119
jsonpatch BSD License
117120
jsonpointer BSD License
118121
langchain MIT
122+
langchain-community MIT
123+
langchain-core MIT
119124
langsmith MIT
120125
license-expression Apache-2.0
121126
lodash MIT
@@ -135,6 +140,7 @@ platformdirs MIT
135140
pluggy MIT
136141
portfinder MIT
137142
prettier MIT
143+
pyasn1 BSD License (BSD-2-Clause)
138144
pycparser BSD
139145
pydantic MIT
140146
pydantic_core MIT
@@ -154,6 +160,7 @@ remark-gfm MIT
154160
remark-math MIT
155161
requests Apache-2.0
156162
responses Apache-2.0
163+
rsa Apache-2.0
157164
s3transfer Apache-2.0
158165
setuptools MIT
159166
six MIT
@@ -171,6 +178,7 @@ types-PyYAML Apache-2.0
171178
typescript Apache-2.0
172179
typing-extensions Python 2.0
173180
typing-inspect MIT
181+
typing_extensions Python 2.0
174182
urllib3 MIT
175183
uuid MIT
176184
wrapt BSD License

deployment/build-s3-dist.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ set -e
4040
# Check to see if input has been provided:
4141
if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ] || [ -z "$4" ]; then
4242
echo "Please provide all required parameters for the build script"
43-
echo "For example: ./build-s3-dist.sh solutions trademarked-solution-name v1.2.1 template-bucket-name"
43+
echo "For example: ./build-s3-dist.sh solutions trademarked-solution-name v1.2.2 template-bucket-name"
4444
exit 1
4545
fi
4646

source/infrastructure/cdk.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
"app": "../pre-build-lambda-layers.sh && npx ts-node --prefer-ts-exts bin/gen-ai-app-builder.ts",
33
"watch": {
4-
"include": ["**"],
4+
"include": [
5+
"**"
6+
],
57
"exclude": [
68
"README.md",
79
"cdk*.json",
@@ -25,12 +27,16 @@
2527
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true,
2628
"@aws-cdk/core:checkSecretUsage": true,
2729
"@aws-cdk/aws-iam:minimizePolicies": true,
28-
"@aws-cdk/core:target-partitions": ["aws", "aws-cn", "aws-us-gov"],
30+
"@aws-cdk/core:target-partitions": [
31+
"aws",
32+
"aws-cn",
33+
"aws-us-gov"
34+
],
2935
"solution_id": "SO0276",
3036
"solution_name": "generative-ai-application-builder-on-aws",
31-
"solution_version": "v1.2.1",
37+
"solution_version": "v1.2.2",
3238
"app_registry_name": "GAAB",
3339
"application_type": "AWS-Solutions",
3440
"application_trademark_name": "Generative AI Application Builder on AWS"
3541
}
36-
}
42+
}

source/infrastructure/lib/framework/ui-asset.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ export abstract class UIAssets extends cdk.NestedStack {
112112
})
113113
]
114114
});
115+
customResourceWebsiteBucketPolicy.node.addDependency(staticWebsite.webS3Bucket);
115116
customResourceWebsiteBucketPolicy.attachToRole(customResourceRole);
116117

117118
const ssmParameterPolicy = new iam.Policy(this, 'SSMAccessPolicy', {

source/infrastructure/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/infrastructure/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gen-ai-app-builder-on-aws-infrastructure",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"bin": {
55
"infrastructure": "bin/gen-ai-app-builder.js"
66
},

source/infrastructure/test/mock-lambda-func/node-lambda/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/infrastructure/test/mock-lambda-func/node-lambda/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-lambda",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"description": "A mock lambda implementation for CDK infrastructure unit",
55
"main": "index.js",
66
"scripts": {
@@ -17,4 +17,4 @@
1717
"url": "https://aws.amazon.com/solutions"
1818
},
1919
"license": "Apache-2.0"
20-
}
20+
}

source/infrastructure/test/mock-lambda-func/typescript-lambda/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)