Skip to content

Commit

Permalink
Merge pull request #784 from aws-solutions/feature/v6.1.5
Browse files Browse the repository at this point in the history
Update to version v6.1.5
  • Loading branch information
jangidms authored Nov 20, 2024
2 parents 9d4f54e + 4adfb64 commit a334225
Show file tree
Hide file tree
Showing 52 changed files with 525 additions and 2,020 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [6.1.5] - 2024-11-20

### Security
- Patched langchain, cross-spawn & elliptic vulnerability

## [6.1.4] - 2024-10-31

### Fixed
Expand Down
2 changes: 2 additions & 0 deletions NOTICE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1575,7 +1575,9 @@ abort-controller under the MIT license.
url under the MIT license.
sax under the ISC license.
@langchain/core under the MIT license.
@langchain/textsplitters under the MIT license.
openai under the Apache-2.0 license.
mustache under the MIT license.

********************
OPEN SOURCE LICENSES
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ As QnABot evolves over the years, it makes use of various services and functiona
_Note: **Deployable solution versions** refers to the ability to deploy the version of QnABot in their AWS accounts. **Actively supported versions** for QnABot is only available for the latest version of QnABot._
### Deployable Versions
- [v6.1.5](https://github.com/aws-solutions/qnabot-on-aws/releases/tag/v6.1.5) - [Public](https://solutions-reference.s3.amazonaws.com/qnabot-on-aws/v6.1.5/qnabot-on-aws-main.template)/[VPC](https://solutions-reference.s3.amazonaws.com/qnabot-on-aws/v6.1.5/qnabot-on-aws-vpc.template)
- [v6.1.4](https://github.com/aws-solutions/qnabot-on-aws/releases/tag/v6.1.4) - [Public](https://solutions-reference.s3.amazonaws.com/qnabot-on-aws/v6.1.4/qnabot-on-aws-main.template)/[VPC](https://solutions-reference.s3.amazonaws.com/qnabot-on-aws/v6.1.4/qnabot-on-aws-vpc.template)
- [v6.1.3](https://github.com/aws-solutions/qnabot-on-aws/releases/tag/v6.1.3) - [Public](https://solutions-reference.s3.amazonaws.com/qnabot-on-aws/v6.1.3/qnabot-on-aws-main.template)/[VPC](https://solutions-reference.s3.amazonaws.com/qnabot-on-aws/v6.1.3/qnabot-on-aws-vpc.template)
- [v6.1.2](https://github.com/aws-solutions/qnabot-on-aws/releases/tag/v6.1.2) - [Public](https://solutions-reference.s3.amazonaws.com/qnabot-on-aws/v6.1.2/qnabot-on-aws-main.template)/[VPC](https://solutions-reference.s3.amazonaws.com/qnabot-on-aws/v6.1.2/qnabot-on-aws-vpc.template)
Expand Down
2 changes: 1 addition & 1 deletion source/cli/aws_solutions/qnabot/cli/qnabot_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@click.pass_context
def cli(ctx) -> None:
os.environ["SOLUTION_ID"] = "SO0189"
os.environ["SOLUTION_VERSION"] = "v6.1.4"
os.environ["SOLUTION_VERSION"] = "v6.1.5"


@cli.command("import")
Expand Down
4 changes: 2 additions & 2 deletions source/lambda/aws-sdk-layer/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion source/lambda/aws-sdk-layer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aws-layer",
"version": "6.1.4",
"version": "6.1.5",
"description": "QnABot Lambda aws-sdk-layer",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions source/lambda/cfn-lambda-layer/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion source/lambda/cfn-lambda-layer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cfn-lambda-layer",
"version": "6.1.4",
"version": "6.1.5",
"description": "QnABot Cfn Lambda Layer",
"main": "index.js",
"scripts": {
Expand Down
11 changes: 6 additions & 5 deletions source/lambda/cfn/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion source/lambda/cfn/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cfn",
"version": "6.1.4",
"version": "6.1.5",
"description": "QnABot Cfn Lambda",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -35,6 +35,7 @@
},
"overrides": {
"async": "^2.6.4",
"cross-spawn": "7.0.6",
"qs@<6.5.3": "^6.5.3",
"sinon": "^19.0.2",
"micromatch": "^4.0.8"
Expand Down
4 changes: 2 additions & 2 deletions source/lambda/common-modules-layer/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion source/lambda/common-modules-layer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "common-modules-layer",
"version": "6.1.4",
"version": "6.1.5",
"description": "QnABot Common-modules-layer lambda",
"main": "index.js",
"scripts": {
Expand Down
19 changes: 10 additions & 9 deletions source/lambda/connect/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion source/lambda/connect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "connect",
"version": "6.1.4",
"version": "6.1.5",
"description": "Lambda function used to support the Connect setup wizard",
"repository": {
"type": "git",
Expand All @@ -24,6 +24,7 @@
"jest": "^29.7.0"
},
"overrides": {
"cross-spawn": "^7.0.6",
"micromatch": "^4.0.8"
}
}
1 change: 1 addition & 0 deletions source/lambda/es-proxy-layer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ $(DST): $(RESOURCES)
npm install -production
mkdir ./nodejs
mv node_modules ./nodejs/node_modules
rm -r $(DST) || true
zip -r $(DST) .
2 changes: 1 addition & 1 deletion source/lambda/es-proxy-layer/lib/llm.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const qnabot = require('qnabot/logging');
const region = process.env.AWS_REGION || 'us-east-1';

const { ChatMessageHistory, BufferMemory } = require('langchain/memory');
const { PromptTemplate } = require('langchain/prompts');
const { PromptTemplate } = require('@langchain/core/prompts');
const { createTruncatedPrompt } = require('./truncate');
const { invokeBedrockModel } = require('./bedrock/bedrockModels');
const { sanitize } = require('./sanitizeOutput');
Expand Down
Loading

0 comments on commit a334225

Please sign in to comment.