Skip to content

Commit d8b1f8b

Browse files
authored
Changes for version v2.1.3
Update to version v2.1.3
2 parents 83792b3 + 26cb9cd commit d8b1f8b

File tree

58 files changed

+339
-352
lines changed

Some content is hidden

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

58 files changed

+339
-352
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,19 @@ 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.1.3] - 2025-01-30
9+
10+
### Fixed
11+
12+
- Fixed a bug where source documents were not displaying when streaming was disabled ([#164](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/issues/164)).
13+
- Fixed a bug where the prompt editing disable feature would result in UI failures ([#165](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/issues/165)).
14+
- Fixed a bug where a new conversation was created whenever a Chat error occurs ([#166](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/issues/166)).
15+
- Fixed annoymized metrics collection by updating to supported timeframe of every 3 hours
16+
17+
### Security
18+
19+
- Updated package versions to address security vulnerabilities
20+
821
## [2.1.2] - 2025-01-14
922

1023
### Security

source/infrastructure/lib/utils/constants.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44

55
import * as lambda from 'aws-cdk-lib/aws-lambda';
66
import * as logs from 'aws-cdk-lib/aws-logs';
7+
import { Duration } from 'aws-cdk-lib';
78

8-
export const ANONYMOUS_METRICS_SCHEDULE = 'rate(1 day)';
9+
export const ANONYMOUS_METRICS_SCHEDULE = Duration.hours(3);
910

1011
export const PLACEHOLDER_EMAIL = '[email protected]';
1112
export const INTERNAL_EMAIL_DOMAIN = 'amazon';

source/infrastructure/lib/utils/custom-infra-setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export class CustomInfraSetup extends Construct {
143143

144144
// eventbridge rule to the default event-bus to push anonymous metrics
145145
const rule = new events.Rule(this, 'MetricsPublishFrequency', {
146-
schedule: events.Schedule.expression(ANONYMOUS_METRICS_SCHEDULE)
146+
schedule: events.Schedule.rate(ANONYMOUS_METRICS_SCHEDULE)
147147
});
148148
(rule.node.tryFindChild('Resource') as cdk.CfnCustomResource).cfnOptions.condition =
149149
props.sendAnonymousMetricsCondition;

source/infrastructure/package-lock.json

Lines changed: 32 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/infrastructure/package.json

Lines changed: 2 additions & 2 deletions
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.1.2",
3+
"version": "2.1.3",
44
"bin": {
55
"infrastructure": "bin/gen-ai-app-builder.js"
66
},
@@ -43,7 +43,7 @@
4343
"@types/node": "^22.10.1",
4444
"@types/npmlog": "^7.0.0",
4545
"@types/uuid": "^10.0.0",
46-
"aws-cdk": "^2.172.0",
46+
"aws-cdk": "^2.177.0",
4747
"aws-cdk-lib": "^2.172.0",
4848
"cdk": "^2.172.0",
4949
"cdk-nag": "^2.34.21",

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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-lambda",
3-
"version": "2.1.2",
3+
"version": "2.1.3",
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "mock-lambda-function"
3-
version = "2.1.2"
3+
version = "2.1.3"
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

Lines changed: 2 additions & 2 deletions
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

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

0 commit comments

Comments
 (0)