Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Commit 57373cb

Browse files
committed
Release 1.1.0. Refer CHANGELOG for details
1 parent 328664d commit 57373cb

File tree

12 files changed

+343
-310
lines changed

12 files changed

+343
-310
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
**/Pipfile.lock
1010
**/source/Pipfile.lock
1111
**/source/*/Pipfile.lock
12+
deployment/aws-connect-vm.yaml
13+
source/aws-connect-vm-portal/build/**
1214

1315
# dependencies
1416
**/node_modules

CHANGELOG.md

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,29 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
## [1.1.0] - 2022-08-31
7+
### Changed
8+
- Updated all dependencies in `source/aws-connect-vm-serverless/pom.xml`
9+
- Updated `AWS Lambda` runtime to `nodejs16.x` in all templates
10+
- `deployment/aws-connect-vm.template`
11+
- `deployment/cloudfront.template`
12+
- `deployment/copy-artifacts.template`
13+
- `deployment/voicemail-for-amazon-connect.template`
14+
- `source/aws-connect-vm-serverless/serverless.yml`
15+
- Updated serverless framework `v1` to `v3`
16+
- removed `serverless-pseudo-parameters` from plugin and changes pseudo params format
17+
- added `apiKeys` under `Resources` section of `source/aws-connect-vm-serverless/serverless.yml`
18+
- Changed all parameter references from `#` (serverless v1) to `$` (serverless v3)
19+
- changed `source/tools/transform.py` to remove conditions not needed for 2 resources due to the `apiKeys` change
20+
- Bumping up dependencies in `source/aws-connect-vm-serverless/package.json` to remove vulnerabilities
21+
- Changes to fix missing value of `SECRET_ARN` from `TranscriptionEvents`, and adding `secretsmanager:GetValue` permissions to `TranscriptionEventsIamRole` in `source/aws-connect-vm-serverless/serverless.yml`
22+
- Fixed bug where voicemail is not sent for only sms in `source/aws-connect-vm-serverless/src/service/notification.service.js`
23+
- Add the `QueueTypes` parm to `ListQueues` to reduce number of items returned in `source/aws-connect-vm-serverless/src/service/contact-flow.service.js`
24+
- Merged in the following PRs:
25+
- Remove newline character (https://github.com/amazon-connect/voicemail-for-amazon-connect/pull/27)
26+
- Bump junit version (https://github.com/amazon-connect/voicemail-for-amazon-connect/pull/39)
27+
- Improved error handling of many users (https://github.com/amazon-connect/voicemail-for-amazon-connect/pull/52)
28+
- Use regional domain name for S3 (https://github.com/amazon-connect/voicemail-for-amazon-connect/pull/48)
629
## [1.0.5] - 2022-02-09
730
### Changed
831
- Bumped `amazon-kinesis-video-streams-parser-library` to `1.2.0`
@@ -16,15 +39,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1639
- Bumped `log4j-core` to `2.17.0`
1740
- Bumped `log4j-api` to `2.17.0`
1841

19-
## [1.0.4] - 2021-12-21
20-
### Changed
21-
- Bumped `amazon-kinesis-video-streams-parser-library` to `1.1.0`
22-
- Bumped `slf4j-api` to `1.7.32`
23-
- Bumped `slf4j-simple` to `1.7.32`
24-
- Bumped `aws-lambda-java-log4j2` to `1.3.0`
25-
- Bumped `log4j-core` to `2.17.0`
26-
- Bumped `log4j-api` to `2.17.0`
27-
2842
## [1.0.3] - 2021-07-30
2943
### Changed
3044
- Bumped nodejs10.X to nodejs12.X in all the relevant assets

deployment/aws-connect-vm.template

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"Arn"
2323
]
2424
},
25-
"Runtime": "nodejs12.x",
25+
"Runtime": "nodejs16.x",
2626
"Timeout": 30,
2727
"Description": "AWS Lambda Function that will be triggered when records are written into the ContactVoicemail Table.\n",
2828
"Environment": {
@@ -92,7 +92,7 @@
9292
"Arn"
9393
]
9494
},
95-
"Runtime": "nodejs12.x",
95+
"Runtime": "nodejs16.x",
9696
"Timeout": 30,
9797
"Description": "AWS Lambda Function that will be triggered when transcription status changes.",
9898
"Environment": {
@@ -156,7 +156,7 @@
156156
"Arn"
157157
]
158158
},
159-
"Runtime": "nodejs12.x",
159+
"Runtime": "nodejs16.x",
160160
"Timeout": 30,
161161
"Description": "AWS Lambda Function that will be triggered when dialog flow needs to get agent's information based on phone extension",
162162
"Environment": {
@@ -208,7 +208,7 @@
208208
"Arn"
209209
]
210210
},
211-
"Runtime": "nodejs12.x",
211+
"Runtime": "nodejs16.x",
212212
"Timeout": 30,
213213
"Environment": {
214214
"Variables": {
@@ -268,7 +268,7 @@
268268
"Arn"
269269
]
270270
},
271-
"Runtime": "nodejs12.x",
271+
"Runtime": "nodejs16.x",
272272
"Timeout": 30,
273273
"Environment": {
274274
"Variables": {
@@ -319,7 +319,7 @@
319319
"Arn"
320320
]
321321
},
322-
"Runtime": "nodejs12.x",
322+
"Runtime": "nodejs16.x",
323323
"Timeout": 30,
324324
"Environment": {
325325
"Variables": {
@@ -370,7 +370,7 @@
370370
"Arn"
371371
]
372372
},
373-
"Runtime": "nodejs12.x",
373+
"Runtime": "nodejs16.x",
374374
"Timeout": 30,
375375
"Environment": {
376376
"Variables": {
@@ -421,7 +421,7 @@
421421
"Arn"
422422
]
423423
},
424-
"Runtime": "nodejs12.x",
424+
"Runtime": "nodejs16.x",
425425
"Timeout": 30,
426426
"Environment": {
427427
"Variables": {
@@ -472,7 +472,7 @@
472472
"Arn"
473473
]
474474
},
475-
"Runtime": "nodejs12.x",
475+
"Runtime": "nodejs16.x",
476476
"Timeout": 30,
477477
"Environment": {
478478
"Variables": {
@@ -526,7 +526,7 @@
526526
"Arn"
527527
]
528528
},
529-
"Runtime": "nodejs12.x",
529+
"Runtime": "nodejs16.x",
530530
"Timeout": 30,
531531
"Environment": {
532532
"Variables": {
@@ -580,7 +580,7 @@
580580
"Arn"
581581
]
582582
},
583-
"Runtime": "nodejs12.x",
583+
"Runtime": "nodejs16.x",
584584
"Timeout": 30,
585585
"Environment": {
586586
"Variables": {
@@ -712,7 +712,7 @@
712712
"Arn"
713713
]
714714
},
715-
"Runtime": "nodejs12.x",
715+
"Runtime": "nodejs16.x",
716716
"Timeout": 60,
717717
"Environment": {
718718
"Variables": {
@@ -772,7 +772,7 @@
772772
"Arn"
773773
]
774774
},
775-
"Runtime": "nodejs12.x",
775+
"Runtime": "nodejs16.x",
776776
"Timeout": 900,
777777
"Environment": {
778778
"Variables": {

deployment/cloudfront.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Resources:
227227
Handler: handler/cloudfront-helper.handler
228228
MemorySize: 256
229229
Role: !GetAtt CloudfrontHelperRole.Arn
230-
Runtime: nodejs12.x
230+
Runtime: nodejs16.x
231231
Timeout: 300
232232
CloudfrontHelperRole:
233233
Properties:

deployment/copy-artifacts.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Resources:
107107
Handler: handler/copy-artifacts-helper.handler
108108
MemorySize: 256
109109
Role: !GetAtt CopyArtifactsHelperRole.Arn
110-
Runtime: nodejs12.x
110+
Runtime: nodejs16.x
111111
Timeout: 300
112112
CopyArtifactsHelperRole:
113113
Properties:

deployment/voicemail-for-amazon-connect.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ Resources:
420420
Handler: handler/solution-helper.handler
421421
MemorySize: 256
422422
Role: !GetAtt SolutionHelperRole.Arn
423-
Runtime: nodejs12.x
423+
Runtime: nodejs16.x
424424
Timeout: 300
425425

426426
SolutionUuid:
Lines changed: 65 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,66 @@
11
{
2-
"name": "aws-connect-vm-portal",
3-
"version": "0.1.0",
4-
"private": true,
5-
"dependencies": {
6-
"@material-ui/core": "^4.5.1",
7-
"@material-ui/icons": "^4.5.1",
8-
"@types/jest": "^24.0.19",
9-
"@types/material-ui": "^0.21.7",
10-
"@types/node": "^12.11.1",
11-
"@types/react": "^16.9.9",
12-
"@types/react-dom": "^16.9.2",
13-
"@types/react-redux": "^7.1.5",
14-
"@types/react-router": "^5.1.2",
15-
"@types/react-router-dom": "^5.1.0",
16-
"@types/redux-thunk": "^2.1.0",
17-
"@types/request-promise": "^4.1.44",
18-
"awesome-phonenumber": "^2.20.0",
19-
"aws-amplify": "^2.2.1",
20-
"aws-amplify-react": "^3.1.2",
21-
"classnames": "^2.2.6",
22-
"history": "^4.10.1",
23-
"material-ui-phone-number": "^2.2.2",
24-
"prop-types": "^15.7.2",
25-
"react": "^16.12.0",
26-
"react-dom": "^16.10.2",
27-
"react-redux": "^7.1.1",
28-
"react-router": "^5.1.2",
29-
"react-router-dom": "^5.1.2",
30-
"react-scripts": "3.2.0",
31-
"redux": "^4.0.4",
32-
"redux-thunk": "^2.3.0",
33-
"request": "^2.88.0",
34-
"request-promise": "^4.2.4",
35-
"typescript": "^3.6.4"
36-
},
37-
"scripts": {
38-
"build": "sh -ac '. ./env/.env.prod; npx react-scripts build'",
39-
"deploy:dev": "pipenv run deploy_dev && sh -ac '. ./env/.env.dev; react-scripts build' && node ./scripts/uploader --stage dev --verbose",
40-
"deploy:prod": "pipenv run deploy_prod && sh -ac '. ./env/.env.prod; react-scripts build' && node ./scripts/uploader --stage prod --verbose",
41-
"modify:build": "node ./scripts/modify_build.js"
42-
},
43-
"eslintConfig": {
44-
"extends": "react-app"
45-
},
46-
"browserslist": {
47-
"production": [
48-
">0.2%",
49-
"not dead",
50-
"not op_mini all"
51-
],
52-
"development": [
53-
"last 1 chrome version",
54-
"last 1 firefox version",
55-
"last 1 safari version"
56-
]
57-
},
58-
"devDependencies": {
59-
"aws-sdk": "^2.555.0",
60-
"colors": "^1.4.0",
61-
"command-line-args": "^5.1.1",
62-
"command-line-usage": "^6.0.2",
63-
"remote-redux-devtools": "^0.5.16",
64-
"replace-in-file": "^5.0.2"
65-
}
66-
}
2+
"name": "aws-connect-vm-portal",
3+
"version": "0.1.0",
4+
"private": true,
5+
"dependencies": {
6+
"@material-ui/core": "^4.5.1",
7+
"@material-ui/icons": "^4.5.1",
8+
"@types/jest": "^24.0.19",
9+
"@types/material-ui": "^0.21.7",
10+
"@types/node": "^12.11.1",
11+
"@types/react": "^16.9.9",
12+
"@types/react-dom": "^16.9.2",
13+
"@types/react-redux": "^7.1.5",
14+
"@types/react-router": "^5.1.2",
15+
"@types/react-router-dom": "^5.1.0",
16+
"@types/redux-thunk": "^2.1.0",
17+
"@types/request-promise": "^4.1.44",
18+
"awesome-phonenumber": "^2.20.0",
19+
"aws-amplify": "^2.2.1",
20+
"aws-amplify-react": "^3.1.2",
21+
"classnames": "^2.2.6",
22+
"history": "^4.10.1",
23+
"material-ui-phone-number": "^2.2.2",
24+
"prop-types": "^15.7.2",
25+
"react": "^16.12.0",
26+
"react-dom": "^16.10.2",
27+
"react-redux": "^7.1.1",
28+
"react-router": "^5.1.2",
29+
"react-router-dom": "^5.1.2",
30+
"react-scripts": "3.2.0",
31+
"redux": "^4.0.4",
32+
"redux-thunk": "^2.3.0",
33+
"request": "^2.88.0",
34+
"request-promise": "^4.2.4",
35+
"typescript": "^3.6.4"
36+
},
37+
"scripts": {
38+
"build": "sh -ac '. ./env/.env.prod; npx react-scripts build'",
39+
"deploy:dev": "pipenv run deploy_dev && sh -ac '. ./env/.env.dev; react-scripts build' && node ./scripts/uploader --stage dev --verbose",
40+
"deploy:prod": "pipenv run deploy_prod && sh -ac '. ./env/.env.prod; react-scripts build' && node ./scripts/uploader --stage prod --verbose",
41+
"modify:build": "node ./scripts/modify_build.js"
42+
},
43+
"eslintConfig": {
44+
"extends": "react-app"
45+
},
46+
"browserslist": {
47+
"production": [
48+
">0.2%",
49+
"not dead",
50+
"not op_mini all"
51+
],
52+
"development": [
53+
"last 1 chrome version",
54+
"last 1 firefox version",
55+
"last 1 safari version"
56+
]
57+
},
58+
"devDependencies": {
59+
"aws-sdk": "^2.555.0",
60+
"colors": "^1.4.0",
61+
"command-line-args": "^5.1.1",
62+
"command-line-usage": "^6.0.2",
63+
"remote-redux-devtools": "^0.5.16",
64+
"replace-in-file": "^5.0.2"
65+
}
66+
}

source/aws-connect-vm-portal/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"resolveJsonModule": true,
1818
"isolatedModules": true,
1919
"noEmit": true,
20-
"jsx": "react"
20+
"jsx": "react",
21+
"noFallthroughCasesInSwitch": true
2122
},
2223
"include": [
2324
"src"

0 commit comments

Comments
 (0)