Skip to content

Commit 479be5f

Browse files
authored
Upgrade to version v1.3.3
Upgrade to version v1.3.3
2 parents b59457d + 94726e2 commit 479be5f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+308
-358
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ 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.3.3] - 2024-03-28
9+
10+
### Fixed
11+
12+
- Bug with Bedrock Meta/Cohere deployments in RAG configurations ([#83](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/issues/83))
13+
14+
### Security
15+
16+
- Updated Node and Python packages to resolve vulnerabilities
17+
818
## [1.3.2] - 2024-03-07
919

1020
### Security

NOTICE.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,12 @@ isort MIT
120120
jest MIT
121121
jmespath MIT
122122
jsonpatch BSD License
123+
jsonpath-ng Apache2.0
123124
jsonpointer BSD License
124125
langchain MIT
125126
langchain-community MIT
126127
langchain-core MIT
128+
langchain-text-splitters MIT
127129
langsmith MIT
128130
license-expression Apache-2.0
129131
lodash MIT
@@ -137,10 +139,12 @@ npmlog ISC
137139
numexpr MIT
138140
numpy BSD-3-Clause
139141
openapi-schema-pydantic MIT
142+
orjson Apache-2.0, MIT
140143
packaging Apache 2.0, BSD License
141144
pathspec MPL 2.0
142145
platformdirs MIT
143146
pluggy MIT
147+
ply BSD
144148
portfinder MIT
145149
prettier MIT
146150
pyasn1 BSD License (BSD-2-Clause)
@@ -173,8 +177,7 @@ tailwindcss MIT
173177
tenacity Apache-2.0
174178
tokenizers Apache-2.0
175179
tomli MIT
176-
tqdm MIT
177-
tqdm MPL 2.0, MIT
180+
tqdm MIT, MPL 2.0
178181
ts-jest MIT
179182
ts-node MIT
180183
types-PyYAML Apache-2.0

deployment/build-s3-dist.sh

Lines changed: 10 additions & 11 deletions
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.3.2 template-bucket-name"
43+
echo "For example: ./build-s3-dist.sh solutions trademarked-solution-name v1.3.3 template-bucket-name"
4444
exit 1
4545
fi
4646

@@ -91,10 +91,10 @@ echo "setting override warning to $overrideWarningsEnabled"
9191
node_modules/aws-cdk/bin/cdk synth --quiet --asset-metdata false --path-metadata false
9292

9393
if [ $? -ne 0 ]; then
94-
echo "******************************************************************************"
95-
echo "cdk-nag found errors"
96-
echo "******************************************************************************"
97-
exit 1
94+
echo "******************************************************************************"
95+
echo "cdk-nag found errors"
96+
echo "******************************************************************************"
97+
exit 1
9898
fi
9999

100100
echo "------------------------------------------------------------------------------"
@@ -114,8 +114,7 @@ node $template_dir/cdk-solution-helper/index
114114
echo "------------------------------------------------------------------------------"
115115
echo "Updating placeholders"
116116
echo "------------------------------------------------------------------------------"
117-
for file in $template_dist_dir/*.template
118-
do
117+
for file in $template_dist_dir/*.template; do
119118
replace="s/%%BUCKET_NAME%%/$bucket_name/g"
120119
sed -i -e $replace $file
121120

@@ -134,7 +133,7 @@ echo "[Packing] Source code artifacts"
134133
echo "------------------------------------------------------------------------------"
135134
# ... For each asset.* source code artifact...
136135
cd $source_dir/infrastructure/cdk.out
137-
for d in `find . -mindepth 1 -maxdepth 1 -type d`; do
136+
for d in $(find . -mindepth 1 -maxdepth 1 -type d); do
138137
# Rename the artifact, removing the period for handler compatibility
139138
pfname="$(basename -- $d)"
140139
fname="$(echo $pfname | sed -e 's/\.//g')"
@@ -161,8 +160,8 @@ echo "---------------------------------------"
161160
echo "Printing cdk-nag reports"
162161
echo "---------------------------------------"
163162
cd $source_dir/infrastructure/cdk.out
164-
for csv in `find . -name "*.csv"`; do
163+
for csv in $(find . -name "*.csv"); do
165164
echo -e "File: $csv"
166165
echo "---------------------------------------"
167-
cat $csv | perl -pe 's/((?<=,)|(?<=^)),/ ,/g;' | column -t -s, | less -S
168-
done
166+
cat $csv | perl -pe 's/((?<=,)|(?<=^)),/ ,/g;' | column -t -s, | less -S
167+
done

source/infrastructure/cdk.json

Lines changed: 9 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",
@@ -17,7 +19,10 @@
1719
"context": {
1820
"@aws-cdk/aws-lambda:recognizeLayerVersion": true,
1921
"@aws-cdk/core:checkSecretUsage": true,
20-
"@aws-cdk/core:target-partitions": ["aws", "aws-cn"],
22+
"@aws-cdk/core:target-partitions": [
23+
"aws",
24+
"aws-cn"
25+
],
2126
"@aws-cdk-containers/ecs-service-extensions:enableDefaultLogDriver": true,
2227
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true,
2328
"@aws-cdk/aws-ecs:arnFormatIncludesClusterName": true,
@@ -57,9 +62,9 @@
5762
"@aws-cdk/aws-codepipeline-actions:useNewDefaultBranchForCodeCommitSource": true,
5863
"solution_id": "SO0276",
5964
"solution_name": "generative-ai-application-builder-on-aws",
60-
"solution_version": "v1.3.2",
65+
"solution_version": "v1.3.3",
6166
"app_registry_name": "GAAB",
6267
"application_type": "AWS-Solutions",
6368
"application_trademark_name": "Generative AI Application Builder on AWS"
6469
}
65-
}
70+
}

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.3.2",
3+
"version": "1.3.3",
44
"bin": {
55
"infrastructure": "bin/gen-ai-app-builder.js"
66
},

source/infrastructure/test/mock-lambda-func/node-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.

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.3.2",
3+
"version": "1.3.3",
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/python-lambda/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "mock-lambda-function"
3-
version = "1.3.2"
3+
version = "1.3.3"
44
authors = [ "Amazon Web Services" ]
55
description = "Mock lambda implementation to unit test infrastructure code"
66
packages = [

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)