Skip to content

Commit

Permalink
Merge pull request #769 from aws-solutions/feature/v6.1.1
Browse files Browse the repository at this point in the history
Update to version v6.1.1
  • Loading branch information
abhirpat authored Sep 26, 2024
2 parents 03d1a06 + 54503ec commit 717ca94
Show file tree
Hide file tree
Showing 62 changed files with 1,700 additions and 1,037 deletions.
113 changes: 113 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
build

codescan-*

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/
py_modules/
crhelper*/
model_repo/
.pytest_cache/
__pycache__/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

build
source/config.json
**/.DS_Store
.idea/

# ignore VS Code specific configs and environments
.devcontainer/
.vscode/
utilities/migration.md

# Temporary folders and backup files
tmp/
temp/
*.bak

# derived build assets
**/deployment/global-s3-assets
**/deployment/regional-s3-assets
**/deployment/open-source

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
**/coverage/
**/coverage-reports/
lcov.info
lib-cov
.nyc_output
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
**/.venv-test/

docs/excel_import/~$sample.xlsx
.nightswatch/functional/files/~$import-pass.xlsx
.nightswatch/functional/files/~$import-fail.xlsx

# pipenv lock files
Pipfile
Pipfile.lock

# We are using default .viperlightrc. No need to keep this in the repo.
.viperlightrc
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,22 @@
{
"text": "Not interested",
"value": "Not interested"
},
{
"text": "This is a placeholder button",
"value": "N/A"
},
{
"text": "This is a placeholder button",
"value": "N/A"
},
{
"text": "This is a placeholder button",
"value": "N/A"
},
{
"text": "This to test that 6 button show",
"value": "N/A"
}
],
"subTitle": "Echo Show",
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ 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.1] - 2024-09-26

### Fixed

- Added back .gitignore to fix custom deployment issues through github repo
- Improved performance of lambda invocation from frontend to save settings faster
- Fixed bug that limited response card buttons to only 5 buttons [Issue #765](https://github.com/aws-solutions/qnabot-on-aws/issues/765)
- Security patch for body-parser, micromatch, path-to-regexp, and webpack
- Added support for crawled links in Bedrock Knowledge Base to be shown as referenced links
- Fixed an issue where the context is expanded by default and can't be closed when Knowledge Base returns lists in the response
- Fixed limit on import file sizes [Issue #766](https://github.com/aws-solutions/qnabot-on-aws/issues/766)

## [6.1.0] - 2024-08-29

### Added
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,9 @@ pytest -v
Power users interested in releasing a custom QnABot can use the following instructions for publishing the deployment artifacts available to external users.
Create an S3 bucket to host the templates from (see $DIST_OUTPUT_BUCKET below). You will also need regional buckets for each region your users will deploy from. The regional buckets must be named $DIST_OUTPUT_BUCKET-$AWS_REGION. You will need to provide appropriate access permissions to the buckets for your targeted users. Please refer to the below links for buckets security and access control best practices:
- https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html#access-control-block-public-access-policy-status
- https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-best-practices.html
- https://docs.aws.amazon.com/AmazonS3/latest/userguide/security.html
- [Performing block public access operations on an access point](https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-accesshtml#access-control-block-public-access-policy-status)
- [Amazon S3 Access Management](https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-best-practices.html)
- [Amazon S3 security](https://docs.aws.amazon.com/AmazonS3/latest/userguide/security.html)
**NOTE: All buckets must have versioning enabled, otherwise the stack will fail to deploy.**
Expand Down 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.1](https://github.com/aws-solutions/qnabot-on-aws/releases/tag/v6.1.1) - [Public](https://solutions-reference.s3.amazonaws.com/qnabot-on-aws/v6.1.1/qnabot-on-aws-main.template)/[VPC](https://solutions-reference.s3.amazonaws.com/qnabot-on-aws/v6.1.1/qnabot-on-aws-vpc.template)
- [v6.1.0](https://github.com/aws-solutions/qnabot-on-aws/releases/tag/v6.1.0) - [Public](https://solutions-reference.s3.amazonaws.com/qnabot-on-aws/v6.1.0/qnabot-on-aws-main.template)/[VPC](https://solutions-reference.s3.amazonaws.com/qnabot-on-aws/v6.1.0/qnabot-on-aws-vpc.template)
- [v6.0.3](https://github.com/aws-solutions/qnabot-on-aws/releases/tag/v6.0.3) - [Public](https://solutions-reference.s3.amazonaws.com/qnabot-on-aws/v6.0.3/qnabot-on-aws-main.template)/[VPC](https://solutions-reference.s3.amazonaws.com/qnabot-on-aws/v6.0.3/qnabot-on-aws-vpc.template)
- [v6.0.2](https://github.com/aws-solutions/qnabot-on-aws/releases/tag/v6.0.2) - [Public](https://solutions-reference.s3.amazonaws.com/qnabot-on-aws/v6.0.2/qnabot-on-aws-main.template)/[VPC](https://solutions-reference.s3.amazonaws.com/qnabot-on-aws/v6.0.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 @@ -23,7 +23,7 @@
@click.pass_context
def cli(ctx) -> None:
os.environ["SOLUTION_ID"] = "SO0189"
os.environ["SOLUTION_VERSION"] = "v6.1.0"
os.environ["SOLUTION_VERSION"] = "v6.1.1"


@cli.command("import")
Expand Down
40 changes: 0 additions & 40 deletions source/config.json

This file was deleted.

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.0",
"version": "6.1.1",
"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.0",
"version": "6.1.1",
"description": "QnABot Cfn Lambda Layer",
"main": "index.js",
"scripts": {
Expand Down
Loading

0 comments on commit 717ca94

Please sign in to comment.