Skip to content

Commit 538a197

Browse files
authored
Upgrade to version v2.0.4
Upgrade to version v2.0.4
2 parents a41cde9 + 993b7f3 commit 538a197

File tree

37 files changed

+1010
-354
lines changed

37 files changed

+1010
-354
lines changed

CHANGELOG.md

+65-59
Original file line numberDiff line numberDiff line change
@@ -5,216 +5,222 @@ 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.0.4] - 2024-09-26
9+
10+
### Security
11+
12+
- Updated node library versions to address security vulnerabilities
13+
814
## [2.0.3] - 2024-09-17
915

1016
### Fixed
1117

12-
- Resolved an issue where use case deployments would fail when manually disabling anonymous metrics via the provided CloudFormation mapping
18+
- Resolved an issue where use case deployments would fail when manually disabling anonymous metrics via the provided CloudFormation mapping
1319

1420
### Security
1521

16-
- Updated library versions to address security vulnerabilities
22+
- Updated library versions to address security vulnerabilities
1723

1824
## [2.0.2] - 2024-08-23
1925

2026
### Fixed
2127

22-
- Issue [#135](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/issues/135), added a new IAM permission for the cognito-idp:GetGroup action to the CloudFormation deployment role (used when deploying use cases). This was required due to a service change.
28+
- Issue [#135](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/issues/135), added a new IAM permission for the cognito-idp:GetGroup action to the CloudFormation deployment role (used when deploying use cases). This was required due to a service change.
2329

2430
## [2.0.1] - 2024-08-19
2531

2632
### Changed
2733

28-
- With the release of [AWS-Solutions-Constructs v2.65.0](https://github.com/awslabs/aws-solutions-constructs/tree/main/source/patterns/%40aws-solutions-constructs/aws-apigatewayv2websocket-sqs), the AWS ApiGateway websocket integration with Amazon SQS Queue is available in the library. Hence the
29-
implementation has been updated to use this construct.
34+
- With the release of [AWS-Solutions-Constructs v2.65.0](https://github.com/awslabs/aws-solutions-constructs/tree/main/source/patterns/%40aws-solutions-constructs/aws-apigatewayv2websocket-sqs), the AWS ApiGateway websocket integration with Amazon SQS Queue is available in the library. Hence the
35+
implementation has been updated to use this construct.
3036

3137
### Fixed
3238

33-
- Issue [#131](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/issues/131) which caused an issue with rendering non-S3 source URLs from vector store for a RAG based use case.
34-
- Issue [#132](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/issues/132) where configured Guardrails for Amazon Bedrock to have no effect on a use case's text input validations and output responses.
35-
- Wizard validation failure for SageMaker model selection type, that allowed user to navigate ahead even when the page had failed validations.
36-
- An AWS WAF rule that blocked larger payloads for HTTP POST request to the `/deployments` endpoint. This restricted configuring large system prompts (over 8 KB) for use case cases.
39+
- Issue [#131](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/issues/131) which caused an issue with rendering non-S3 source URLs from vector store for a RAG based use case.
40+
- Issue [#132](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/issues/132) where configured Guardrails for Amazon Bedrock to have no effect on a use case's text input validations and output responses.
41+
- Wizard validation failure for SageMaker model selection type, that allowed user to navigate ahead even when the page had failed validations.
42+
- An AWS WAF rule that blocked larger payloads for HTTP POST request to the `/deployments` endpoint. This restricted configuring large system prompts (over 8 KB) for use case cases.
3743

3844
## [2.0.0] - 2024-08-08
3945

4046
### Added
4147

42-
- Support for Knowledge Bases for Amazon Bedrock as an option for Retrieval Augmented Generation (RAG) based workflows.
43-
- Support for Identity Federation (OpenID Connect or SAML 2.0) through Amazon Cognito.
44-
- Ability to add role-based access control for Amazon Kendra for controlling access over documents that can be retrieved while using RAG based workflows.
45-
- Provisioned Throughput support for Amazon Bedrock models, allowing custom and provisioned base models to be added as the backing LLMs for the text use case.
46-
- Enhanced prompt interface, allowing fine-grained control over prompts (including disambiguation prompts for RAG), message history and input lengths.
47-
- Streamlined upgrade scripts for upgrading from v1.4.x to v2.0.0. For detailed steps, refer to the following [section](https://docs.aws.amazon.com/solutions/latest/generative-ai-application-builder-on-aws/update-the-solution.html)
48-
- Model support for Amazon Titan Text G1 - Premier
48+
- Support for Knowledge Bases for Amazon Bedrock as an option for Retrieval Augmented Generation (RAG) based workflows.
49+
- Support for Identity Federation (OpenID Connect or SAML 2.0) through Amazon Cognito.
50+
- Ability to add role-based access control for Amazon Kendra for controlling access over documents that can be retrieved while using RAG based workflows.
51+
- Provisioned Throughput support for Amazon Bedrock models, allowing custom and provisioned base models to be added as the backing LLMs for the text use case.
52+
- Enhanced prompt interface, allowing fine-grained control over prompts (including disambiguation prompts for RAG), message history and input lengths.
53+
- Streamlined upgrade scripts for upgrading from v1.4.x to v2.0.0. For detailed steps, refer to the following [section](https://docs.aws.amazon.com/solutions/latest/generative-ai-application-builder-on-aws/update-the-solution.html)
54+
- Model support for Amazon Titan Text G1 - Premier
4955

5056
### Changed
5157

52-
- Deprecated direct Anthropic and Hugging Face LLMs in favour of integrating them through Amazon Bedrock and Amazon SageMaker.
53-
- Switch login screens from amplify-ui to Cognito Hosted UI to support Identity Federation.
54-
- Switch from `webpack` to `vite` for building and packaging UI projects.
55-
- Updates to Node and Python package versions.
58+
- Deprecated direct Anthropic and Hugging Face LLMs in favour of integrating them through Amazon Bedrock and Amazon SageMaker.
59+
- Switch login screens from amplify-ui to Cognito Hosted UI to support Identity Federation.
60+
- Switch from `webpack` to `vite` for building and packaging UI projects.
61+
- Updates to Node and Python package versions.
5662

5763
## [1.4.5] - 2024-07-22
5864

5965
### Security
6066

61-
- Updated library versions to address security vulnerabilities
67+
- Updated library versions to address security vulnerabilities
6268

6369
## [1.4.4] - 2024-06-17
6470

6571
### Security
6672

67-
- Updated library versions to address security vulnerabilities
73+
- Updated library versions to address security vulnerabilities
6874

6975
## [1.4.3] - 2024-06-04
7076

7177
### Security
7278

73-
- Updated package versions to resolve vulnerabilities
79+
- Updated package versions to resolve vulnerabilities
7480

7581
## [1.4.2] - 2024-05-16
7682

7783
### Changed
7884

79-
- Switched to using `langchain-aws` library for Bedrock and SageMaker LangChain calls instead of `langchain-community`.
85+
- Switched to using `langchain-aws` library for Bedrock and SageMaker LangChain calls instead of `langchain-community`.
8086

8187
## [1.4.1] - 2024-05-07
8288

8389
### Security
8490

85-
- Updated package versions to resolve vulnerabilities
91+
- Updated package versions to resolve vulnerabilities
8692

8793
## [1.4.0] - 2024-04-04
8894

8995
### Added
9096

91-
- Support for newest Bedrock models: Anthropic Claude v3 and Mistral family of models ([#79](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/issues/79))
97+
- Support for newest Bedrock models: Anthropic Claude v3 and Mistral family of models ([#79](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/issues/79))
9298

9399
### Changed
94100

95-
- Significantly increased default prompt and chat input character limits. Should now support ~50% of the model's input prompt limit
101+
- Significantly increased default prompt and chat input character limits. Should now support ~50% of the model's input prompt limit
96102

97103
### Fixed
98104

99-
- UI input validation misaligned with backend limits ([#80](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/issues/80))
100-
- Missing hyperlink to solution landing page in README ([#65](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/pull/65))
105+
- UI input validation misaligned with backend limits ([#80](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/issues/80))
106+
- Missing hyperlink to solution landing page in README ([#65](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/pull/65))
101107

102108
### Security
103109

104-
- Updated package versions to resolve vulnerabilities
110+
- Updated package versions to resolve vulnerabilities
105111

106112
## [1.3.3] - 2024-03-28
107113

108114
### Fixed
109115

110-
- Bug with Bedrock Meta/Cohere deployments in RAG configurations ([#83](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/issues/83))
116+
- Bug with Bedrock Meta/Cohere deployments in RAG configurations ([#83](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/issues/83))
111117

112118
### Security
113119

114-
- Updated Node and Python packages to resolve vulnerabilities
120+
- Updated Node and Python packages to resolve vulnerabilities
115121

116122
## [1.3.2] - 2024-03-07
117123

118124
### Security
119125

120-
- Updated langchain package versions to resolve a vulnerability
126+
- Updated langchain package versions to resolve a vulnerability
121127

122128
## [1.3.1] - 2024-02-26
123129

124130
### Fixed
125131

126-
- Add missing IAM action required to provision users for use cases when deploying through deployment dashboard
132+
- Add missing IAM action required to provision users for use cases when deploying through deployment dashboard
127133

128134
## [1.3.0] - 2024-02-22
129135

130136
### Added
131137

132-
- Support for SageMaker as an LLM provider through SageMaker inference endpoints.
133-
- Ability to deploy both the deployment dashboard and use cases within a VPC, including bringing an existing VPC and allowing the solution to deploy one.
134-
- Option to return and display the source documents that were referenced when generating a response in RAG use cases.
135-
- New model-info API in the deployment dashboard stack which can retrieve available providers, models, and model info. Default parameters are now stored for each model and provider combination and are used to pre-populate values in the wizard.
138+
- Support for SageMaker as an LLM provider through SageMaker inference endpoints.
139+
- Ability to deploy both the deployment dashboard and use cases within a VPC, including bringing an existing VPC and allowing the solution to deploy one.
140+
- Option to return and display the source documents that were referenced when generating a response in RAG use cases.
141+
- New model-info API in the deployment dashboard stack which can retrieve available providers, models, and model info. Default parameters are now stored for each model and provider combination and are used to pre-populate values in the wizard.
136142

137143
### Changed
138144

139-
- Refactoring of UI components in the deployment dashboard.
140-
- Switch to poetry for Python package management, replacing requirements.txt files.
141-
- Updates to Node and Python package versions.
145+
- Refactoring of UI components in the deployment dashboard.
146+
- Switch to poetry for Python package management, replacing requirements.txt files.
147+
- Updates to Node and Python package versions.
142148

143149
## [1.2.3] - 2024-02-06
144150

145151
### Fixed
146152

147-
- Fix AWS IAM policy that causes use case deployments to fail when creating, updating or deleting from the deployment dashboard.
153+
- Fix AWS IAM policy that causes use case deployments to fail when creating, updating or deleting from the deployment dashboard.
148154

149155
## [1.2.2] - 2024-01-11
150156

151157
### Fixed
152158

153-
- Pinned `langchain-core` and `langchain-community` versions, fixing a test failure caused by unpinned versions in the `langchain` packages dependencies
154-
- Removed a race condition causing intermittent failures to deploy the UI infrastructure
159+
- Pinned `langchain-core` and `langchain-community` versions, fixing a test failure caused by unpinned versions in the `langchain` packages dependencies
160+
- Removed a race condition causing intermittent failures to deploy the UI infrastructure
155161

156162
### Security
157163

158-
- Updated Node package versions to resolve security vulnerabilities
164+
- Updated Node package versions to resolve security vulnerabilities
159165

160166
## [1.2.1] - 2023-12-21
161167

162168
### Fixed
163169

164-
- Unit tests failure due to a change in the underlying anthropic library.
170+
- Unit tests failure due to a change in the underlying anthropic library.
165171

166172
## [1.2.0] - 2023-12-18
167173

168174
### Added
169175

170-
- Support for Amazon Titan Text Lite, Anthropic Claude v2.1, Cohere Command models, and Meta Llama 2 Chat models
176+
- Support for Amazon Titan Text Lite, Anthropic Claude v2.1, Cohere Command models, and Meta Llama 2 Chat models
171177

172178
### Changed
173179

174-
- Increase the cap on the max number of docs retrieved in the Amazon Kendra retriever (for RAG use cases) from 5 to 100, to match the API limit
180+
- Increase the cap on the max number of docs retrieved in the Amazon Kendra retriever (for RAG use cases) from 5 to 100, to match the API limit
175181

176182
### Fixed
177183

178-
- Fix typo in UI deployment instructions (#26)
179-
- Fix bug causing failures with dictionary type advanced model parameters
180-
- Fixed bug causing erroneous error messages to appear to user in long running conversations
184+
- Fix typo in UI deployment instructions (#26)
185+
- Fix bug causing failures with dictionary type advanced model parameters
186+
- Fixed bug causing erroneous error messages to appear to user in long running conversations
181187

182188
### Security
183189

184-
- Updated Python and Node package versions to resolve security vulnerabilities
190+
- Updated Python and Node package versions to resolve security vulnerabilities
185191

186192
## [1.1.1] - 2023-11-16
187193

188194
### Fixed
189195

190-
- Remove NodeJS 16 from supported runtimes, which was not supported
196+
- Remove NodeJS 16 from supported runtimes, which was not supported
191197

192198
### Security
193199

194-
- Updated Python and Node package versions to resolve security vulnerabilities
200+
- Updated Python and Node package versions to resolve security vulnerabilities
195201

196202
## [1.1.0] - 2023-11-02
197203

198204
### Added
199205

200-
- Markdown rendering in Chat UI LLM responses
206+
- Markdown rendering in Chat UI LLM responses
201207

202208
### Changed
203209

204-
- Increased prompt and chat input limits to 2000 and 2500 characters respectively
210+
- Increased prompt and chat input limits to 2000 and 2500 characters respectively
205211

206212
### Security
207213

208-
- Updated package versions to resolve security vulnerabilities
214+
- Updated package versions to resolve security vulnerabilities
209215

210216
## [1.0.1] - 2023-10-26
211217

212218
### Security
213219

214-
- Updated package versions to resolve security vulnerabilities.
220+
- Updated package versions to resolve security vulnerabilities.
215221

216222
## [1.0.0] - 2023-10-16
217223

218224
### Added
219225

220-
- Initial Release
226+
- Initial Release

NOTICE.txt

+2
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,13 @@ This software includes third party software subject to the following copyrights:
3131
@aws-sdk/util-arn-parser Apache-2.0
3232
@aws-sdk/util-dynamodb Apache-2.0
3333
@aws-solutions-constructs/aws-apigateway-lambda Apache-2.0
34+
@aws-solutions-constructs/aws-apigatewayv2websocket-sqs Apache-2.0
3435
@aws-solutions-constructs/aws-cloudfront-s3 Apache-2.0
3536
@aws-solutions-constructs/aws-dynamodbstreams-lambda Apache-2.0
3637
@aws-solutions-constructs/aws-lambda-dynamodb Apache-2.0
3738
@aws-solutions-constructs/aws-sqs-lambda Apache-2.0
3839
@aws-solutions-constructs/aws-wafwebacl-apigateway Apache-2.0
40+
@aws-solutions-constructs/core Apache-2.0
3941
@babel/plugin-proposal-private-property-in-object MIT
4042
@cloudscape-design/code-view Apache-2.0
4143
@cloudscape-design/components Apache-2.0

deployment/build-s3-dist.sh

+1-1
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 v2.0.3 template-bucket-name"
43+
echo "For example: ./build-s3-dist.sh solutions trademarked-solution-name v2.0.4 template-bucket-name"
4444
exit 1
4545
fi
4646

source/infrastructure/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/infrastructure/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gen-ai-app-builder-on-aws-infrastructure",
3-
"version": "2.0.3",
3+
"version": "2.0.4",
44
"bin": {
55
"infrastructure": "bin/gen-ai-app-builder.js"
66
},

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

+2-2
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-lambda",
3-
"version": "2.0.3",
3+
"version": "2.0.4",
44
"description": "A mock lambda implementation for CDK infrastructure unit",
55
"main": "index.js",
66
"scripts": {

source/infrastructure/test/mock-lambda-func/python-lambda/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "mock-lambda-function"
3-
version = "2.0.3"
3+
version = "2.0.4"
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

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mock-typescript-lambda",
3-
"version": "2.0.3",
3+
"version": "2.0.4",
44
"description": "A mock lambda implementation for CDK infrastructure unit",
55
"main": "index.ts",
66
"scripts": {

0 commit comments

Comments
 (0)