Skip to content
This repository was archived by the owner on Dec 30, 2024. It is now read-only.

Commit c74d76f

Browse files
authored
Merge pull request #145 from aws-solutions/develop
Update to version v2.3.0
2 parents 66ea2aa + 3212123 commit c74d76f

File tree

90 files changed

+9834
-9366
lines changed

Some content is hidden

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

90 files changed

+9834
-9366
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@ 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+
## [2.3.0] - 2024-03-12
9+
10+
### Updated
11+
- Updated Python Lambda function runtime to Python 3.11
12+
- Updated Node Lambda function runtime to NodeJS 20
13+
- Patch security vulnerabilities
14+
- Updated outdated libraries and dependencies
15+
- Replaced deprecated url.parse with URL constructor
16+
- Updated AppRegistry Resource logical Id creation logic to generate consistent Ids
17+
- Updated QuickSight template to remove Twitter references
18+
19+
### Fixed
20+
- Updated QuickSight template to fix issue with platform menu on Topic Analysis page
21+
- Fixed connection timeout issue when uploading images on S3
22+
823
## [2.2.1] - 2023-10-18
924

1025
### Security

NOTICE.txt

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,17 @@ attrs under MIT License
2626
aws-cdk-lib under Apache License 2.0
2727
aws-sdk-client-mock under MIT License
2828
aws-solutions-constructs under Apache License 2.0
29+
@aws-sdk/client-firehose under Apache License Version 2.0
30+
@aws-sdk/client-sfn under Apache License Version 2.0
31+
@aws-sdk/client-dynamodb under Apache License Version 2.0
32+
@aws-sdk/client-eventbridge under Apache License Version 2.0
33+
@aws-sdk/client-kinesis under Apache License Version 2.0
34+
@aws-sdk/client-ssm under Apache License Version 2.0
35+
@aws-sdk/client-comprehend under Apache License Version 2.0
36+
@aws-sdk/client-rekognition under Apache License Version 2.0
37+
@aws-sdk/client-s3 under Apache License Version 2.0
38+
@aws-sdk/lib-storage under Apache License Version 2.0
39+
@aws-sdk/client-translate under Apache License Version 2.0
2940
boolean.py under BSD-2-Clause
3041
boto3 under Apache License 2.0
3142
botocore under Apache License 2.0
@@ -36,7 +47,6 @@ chai under MIT license
3647
constructs under Apache License 2.0
3748
coverage under Apache License 2.0
3849
crhelper under Apache License 2.0
39-
crypto under ISC
4050
cryptography under Apache Software License, BSD License (Apache License 2.0 OR BSD-3-Clause)
4151
et-xmlfile under MIT License
4252
exceptiongroup under MIT License
@@ -94,4 +104,6 @@ uritemplate under Apache Software License, BSD License (BSD 3-Clause License or
94104
websocket-client under Apache License 2.0
95105
Werkzeug under BSD License
96106
xmltodict under MIT License
97-
107+
colorama under BSD License
108+
docutils under BSD License
109+
awscli under Apache License 2.0

deployment/build-s3-dist.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ echo "--------------------------------------------------------------------------
122122
echo "[Install] Installing CDK $cdk_version"
123123
echo "------------------------------------------------------------------------------"
124124

125-
npm install aws-cdk@$cdk_version
125+
npm install -g aws-cdk@$cdk_version
126126

127127
## Option to suppress the Override Warning messages while synthesizing using CDK
128128
export overrideWarningsEnabled=false
@@ -180,6 +180,14 @@ do
180180
sed -i -e $replace $file
181181
done
182182

183+
## Replacing logical id of ServiceCatalogAppRegistry::ResourceAssociation resource to previous values to allow stack upgrades
184+
template_file=$template_dist_dir/discovering-hot-topics-using-machine-learning.template
185+
sed -i -e "s/AppRegistryResourceAssociationb45d1e4178a976D755C8/AppRegistryResourceAssociationcc06d03324874db1a6662e1611406807903F5030/1" $template_file
186+
sed -i -e "s/AppRegistryResourceAssociationc490c813979fC5E92A98/AppRegistryResourceAssociationd4f559e6fc5240f3bc3592f30e56951f0AE36CD8/1" $template_file
187+
sed -i -e "s/AppRegistryResourceAssociation666daa84115cEE166A87/AppRegistryResourceAssociation8e08b310e72540d5946fc04ccdda0abc66C36D1C/1" $template_file
188+
sed -i -e "s/AppRegistryResourceAssociationac1ddf3fb67759A3BEE9/AppRegistryResourceAssociationa01d8973655b4b9db7b61a97d80e97a4A72685A3/1" $template_file
189+
sed -i -e "s/AppRegistryResourceAssociationd047beaf2b8e83CF3FB5/AppRegistryResourceAssociationc4eb0c6a4488492999f9a7a6c8818dbcEC354414/1" $template_file
190+
183191
echo "------------------------------------------------------------------------------"
184192
echo "[Packing] Source code artifacts"
185193
echo "------------------------------------------------------------------------------"

source/bin/discovering-hot-topics-app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const dht = new DiscoveringHotTopicsStack(app, 'discovering-hot-topics-using-mac
2929
});
3030

3131
NagSuppressions.addStackSuppressions(dht, [
32-
{ id: 'AwsSolutions-L1', reason: 'Lambda running on Node are already on latest runtime (NodeJs18). Python lambda runtime is planned to be upgraded in future release' },
32+
{ id: 'AwsSolutions-L1', reason: 'Lambda running on Node are already on latest runtime (NodeJs20). Python lambda runtime is Python 3.11' },
3333
{ id: 'AwsSolutions-IAM5', reason: 'All IAM policies defined in this solution grant only least-privilege permissions. Wild card for resources is used only for services which do not have a resource arn (Comprehend, Xray, Regoknition, Translate, State Machine) ' }
3434
], true);
3535

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
moto==4.1.10
2-
pytest==7.3.1
3-
pytest-cov==4.1.0
1+
moto==4.2.13
2+
pytest~=7.4.2
3+
pytest-cov~=4.1.0
44
botocore
5-
mock==5.0.2
6-
responses==0.23.1
5+
mock~=5.1.0
6+
responses~=0.23.3
77
-e ../layers/python_lambda_layer
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
feedparser
2-
tldextract
1+
feedparser~=6.0.10
2+
tldextract~=5.0.0
33
urllib3<2

0 commit comments

Comments
 (0)