Skip to content

Commit

Permalink
Update to version 5.4.4
Browse files Browse the repository at this point in the history
Update to version 5.4.4
  • Loading branch information
marcburnie authored Oct 24, 2023
2 parents 09e7472 + 3801518 commit fb9c5a3
Show file tree
Hide file tree
Showing 57 changed files with 92 additions and 77 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ 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).

## [5.4.4] - 2023-10-24
### Updated
- Security patch for urllib3

### Fixed
- Fixed fulfillment throws an exception when a Preprocessing Lambda Hook is configured([issue #651](https://github.com/aws-solutions/qnabot-on-aws/issues/651))
- Improved error handling

## [5.4.3] - 2023-10-13
### Fixed
- Fixed issue where Alexa schema was not exporting the utterances list.
Expand Down
4 changes: 2 additions & 2 deletions 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 lambda/aws-sdk-layer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aws-layer",
"version": "5.4.3",
"version": "5.4.4",
"description": "QnABot Lambda aws-sdk-layer",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions 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 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": "5.4.3",
"version": "5.4.4",
"description": "QnABot Cfn Lambda Layer",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions lambda/cfn/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 lambda/cfn/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cfn",
"version": "5.4.3",
"version": "5.4.4",
"description": "QnABot Cfn Lambda",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions 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 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": "5.4.3",
"version": "5.4.4",
"description": "QnABot Common-modules-layer lambda",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions lambda/connect/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 lambda/connect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "connect",
"version": "5.4.3",
"version": "5.4.4",
"description": "Lambda function used to support the Connect setup wizard",
"repository": {
"type": "git",
Expand Down
10 changes: 5 additions & 5 deletions lambda/es-proxy-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 lambda/es-proxy-layer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "proxy-es",
"version": "5.4.3",
"version": "5.4.4",
"description": "QnABot Lambda managing querying of data store",
"main": "index.js",
"author": {
Expand Down
3 changes: 2 additions & 1 deletion lambda/export/lib/clean.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ module.exports = async function (config) {
}
config.status = 'Completed';
} catch (error) {
console.error("An error occured while cleaning S3 objects: ", error)
console.error("An error occured while cleaning S3 objects: ", error);
throw error;
}
};
3 changes: 2 additions & 1 deletion lambda/export/lib/join.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ module.exports=async function(config){
}).promise()
config.status='Clean'
} catch (error) {
console.error("An error occurred while joining parts", error)
console.error("An error occurred while joining parts", error);
throw error;
}
}
4 changes: 2 additions & 2 deletions lambda/export/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 lambda/export/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "import",
"version": "5.4.3",
"version": "5.4.4",
"description": "QnABot Lambda handling export of QIDs",
"main": "index.js",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion lambda/fulfillment/lib/middleware/2_preprocess.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ async function runPreProcessLambda(req, res) {
});
const lambdaResultReq = result.req;
const lambdaResultRes = result.res;
return { lambdaResultReq, lambdaResultRes };
return { "req": lambdaResultReq, "res": lambdaResultRes };
}
}
return { req, res };
Expand Down
3 changes: 2 additions & 1 deletion lambda/fulfillment/lib/middleware/5_assemble.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ module.exports = async function assemble(req, res) {

return { req, res };
} catch (error) {
qnabot.log('An error occured in assemble: ', error)
qnabot.log('An error occured in assemble: ', error);
throw error
}
};
3 changes: 2 additions & 1 deletion lambda/fulfillment/lib/middleware/sentiment.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ async function get_sentiment_from_comprehend(utterance) {
qnabot.log(JSON.stringify(data))
return data
} catch (error) {
qnabot.log("An error occured in detecting sentiment: ", error)
qnabot.log("An error occured in detecting sentiment: ", error);
throw error;
}
}

Expand Down
4 changes: 2 additions & 2 deletions lambda/fulfillment/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 lambda/fulfillment/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fulfillment",
"version": "5.4.3",
"version": "5.4.4",
"description": "QnABot Lambda handling fulfillment of user requests",
"main": "handler.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions lambda/genesys/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 lambda/genesys/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "genesys",
"version": "5.4.3",
"version": "5.4.4",
"description": "Lambda function used to support the Genesys setup wizard",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions lambda/import/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 lambda/import/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "import",
"version": "5.4.3",
"version": "5.4.4",
"description": "QnABot Lambda handling import of QIDs",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions lambda/js_lambda_hook_sdk/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 lambda/js_lambda_hook_sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "js_lambda_hook_sdk",
"version": "5.4.3",
"version": "5.4.4",
"description": "QnABot convienience layer, allowing users to create custom lambda hooks",
"directories": {
"lambda_hook_sdk": "lambda_hook_sdk",
Expand Down
3 changes: 2 additions & 1 deletion lambda/lex-build/lib/wait.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ module.exports=async function(status){
return response

} catch (error) {
console.error("An error invoking lambda in wait: ", error)
console.error("An error invoking lambda in wait: ", error);
throw error;
}
}
4 changes: 2 additions & 2 deletions lambda/lex-build/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 lambda/lex-build/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lex-build",
"version": "5.4.3",
"version": "5.4.4",
"description": "QnABot lambda for rebuilding Amazon Lex bots",
"main": "handler.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions lambda/proxy-es/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 lambda/proxy-es/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "proxy-es",
"version": "5.4.3",
"version": "5.4.4",
"description": "QnABot Lambda function is used to proxy request from apigateway to elasticsearch",
"main": "index.js",
"author": {
Expand Down
4 changes: 2 additions & 2 deletions lambda/qnabot-common-layer/package-lock.json

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

Loading

0 comments on commit fb9c5a3

Please sign in to comment.