Skip to content

Commit ef35af9

Browse files
authored
Merge pull request #642 from amplify-education/feature/AT-12763-release-8.0.0
Release 8.0.0
2 parents 0b4f288 + 137d183 commit ef35af9

File tree

31 files changed

+6492
-24127
lines changed

31 files changed

+6492
-24127
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node-version: [ 14.x, 16.x, 18.x, 20.x ]
13+
node-version: [ 16.x, 18.x, 20.x, 22.x ]
1414
steps:
1515
- uses: actions/checkout@v4
1616
- name: Use Node.js ${{ matrix.node-version }}

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [8.0.0] - 2024-11-20
8+
9+
### Changed
10+
- Dropped Serverless V2 support.
11+
- Dropped Node14 support.
12+
- Updated packages.
713

814
## [7.4.0] - 2024-08-28
915

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# serverless-domain-manager
2-
[![serverless](http://public.serverless.com/badges/v3.svg)](http://www.serverless.com)
2+
[![serverless](http://public.serverless.com/badges/v3.svg)](https://www.serverless.com/plugins/serverless-domain-manager)
33
[![npm version](https://badge.fury.io/js/serverless-domain-manager.svg)](https://badge.fury.io/js/serverless-domain-manager)
44
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/amplify-education/serverless-domain-manager/main/LICENSE)
55
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/235fe249b8354a3db0cc5926dba47899)](https://www.codacy.com/gh/amplify-education/serverless-domain-manager/dashboard?utm_source=github.com&utm_medium=referral&utm_content=amplify-education/serverless-domain-manager&utm_campaign=Badge_Grade)

package-lock.json

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

package.json

Lines changed: 34 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "serverless-domain-manager",
3-
"version": "7.4.0",
3+
"version": "8.0.0",
44
"engines": {
5-
"node": ">=14"
5+
"node": ">=16"
66
},
77
"description": "Serverless plugin for managing custom domains with API Gateways.",
88
"author": "Amplify Education Inc",
@@ -49,47 +49,49 @@
4949
]
5050
},
5151
"devDependencies": {
52-
"@types/mocha": "^10.0.6",
53-
"@types/node": "^20.11.24",
54-
"@types/randomstring": "^1.1.12",
52+
"@types/chai": "^4.3.20",
53+
"@types/chai-spies": "^1.0.6",
54+
"@types/mocha": "^10.0.9",
55+
"@types/node": "^22.9.0",
56+
"@types/randomstring": "^1.3.0",
5557
"@types/shelljs": "^0.8.15",
56-
"aws-sdk-client-mock": "^3.0.1",
57-
"chai": "^4.4.1",
58+
"@typescript-eslint/eslint-plugin": "^8.14.0",
59+
"@typescript-eslint/parser": "^8.14.0",
60+
"aws-sdk-client-mock": "^4.1.0",
61+
"chai": "^4.5.0",
5862
"chai-spies": "^1.1.0",
59-
"eslint": "^7.32.0",
60-
"eslint-config-standard": "^16.0.3",
61-
"eslint-plugin-import": "^2.29.1",
63+
"eslint": "^8.57.1",
64+
"eslint-config-standard": "^17.1.0",
65+
"eslint-plugin-import": "^2.31.0",
6266
"eslint-plugin-node": "^11.1.0",
63-
"eslint-plugin-promise": "^5.2.0",
64-
"@typescript-eslint/parser": "^5.62.0",
65-
"@typescript-eslint/eslint-plugin": "^5.62.0",
66-
"mocha": "^10.3.0",
67+
"eslint-plugin-promise": "^6.6.0",
68+
"mocha": "^10.8.2",
6769
"mocha-param": "^2.0.1",
68-
"nyc": "^15.1.0",
70+
"nyc": "^17.1.0",
6971
"randomstring": "^1.3.0",
70-
"serverless": "^3.38.0",
71-
"serverless-plugin-split-stacks": "^1.13.0",
72+
"serverless": "4.2.5",
73+
"serverless-plugin-split-stacks": "^1.14.0",
7274
"shelljs": "^0.8.5",
7375
"ts-node": "^10.9.2",
74-
"typescript": "^5.1.6 && <5.2"
76+
"typescript": "^5.6.3"
7577
},
7678
"dependencies": {
77-
"@aws-sdk/client-acm": "^3.635.0",
78-
"@aws-sdk/client-api-gateway": "^3.635.0",
79-
"@aws-sdk/client-apigatewayv2": "^3.635.0",
80-
"@aws-sdk/client-cloudformation": "^3.635.0",
81-
"@aws-sdk/client-route-53": "^3.635.0",
82-
"@aws-sdk/client-s3": "^3.635.0",
83-
"@aws-sdk/credential-providers": "^3.635.0",
84-
"@smithy/config-resolver": "^2.2.0",
85-
"@smithy/node-config-provider": "^2.3.0",
86-
"@smithy/node-http-handler": "^2.5.0",
87-
"@smithy/smithy-client": "^2.5.1",
88-
"@smithy/types": "^2.12.0",
89-
"@smithy/util-retry": "^2.2.0",
79+
"@aws-sdk/client-acm": "^3.693.0",
80+
"@aws-sdk/client-api-gateway": "^3.693.0",
81+
"@aws-sdk/client-apigatewayv2": "^3.693.0",
82+
"@aws-sdk/client-cloudformation": "^3.693.0",
83+
"@aws-sdk/client-route-53": "^3.693.0",
84+
"@aws-sdk/client-s3": "^3.693.0",
85+
"@aws-sdk/credential-providers": "^3.693.0",
86+
"@smithy/config-resolver": "^3.0.12",
87+
"@smithy/node-config-provider": "^3.1.11",
88+
"@smithy/node-http-handler": "^3.3.1",
89+
"@smithy/smithy-client": "^3.4.4",
90+
"@smithy/types": "^3.7.1",
91+
"@smithy/util-retry": "^3.0.10",
9092
"proxy-agent": "^6.4.0"
9193
},
9294
"peerDependencies": {
93-
"serverless": ">=2.60"
95+
"serverless": ">=3"
9496
}
9597
}

src/globals.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default class Globals {
4848
public static CFFuncNames = {
4949
fnImport: "Fn::ImportValue",
5050
ref: "Ref"
51-
}
51+
};
5252

5353
/* eslint camelcase: ["error", {allow: ["^tls_"]}] */
5454
public static tlsVersions = {

src/models/api-gateway-map.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
class ApiGatewayMap {
2-
public apiId: string;
3-
public basePath: string;
4-
public stage: string;
5-
public apiMappingId: string | null;
2+
public apiId: string;
3+
public basePath: string;
4+
public stage: string;
5+
public apiMappingId: string | null;
66

7-
constructor (apiId: string, basePath: string, stage: string, apiMappingId: string | null) {
8-
this.apiId = apiId;
9-
this.basePath = basePath;
10-
this.stage = stage;
11-
this.apiMappingId = apiMappingId;
12-
}
7+
constructor (apiId: string, basePath: string, stage: string, apiMappingId: string | null) {
8+
this.apiId = apiId;
9+
this.basePath = basePath;
10+
this.stage = stage;
11+
this.apiMappingId = apiMappingId;
12+
}
1313
}
1414

1515
export = ApiGatewayMap;

test/integration-tests/basic/apigateway-with-export/serverless.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# APIGateway with export outputs
22
service: ${env:PLUGIN_IDENTIFIER}-apigateway-with-export-${env:RANDOM_STRING}
33

4+
frameworkVersion: "4.2.5"
5+
46
provider:
57
name: aws
68
iam:
79
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
8-
runtime: nodejs16.x
10+
runtime: nodejs18.x
911
region: us-west-2
1012
endpointType: REGIONAL
1113
stage: test

test/integration-tests/basic/apigateway-with-import/serverless.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# APIGateway with import other CloudFormation stack outputs
22
service: ${env:PLUGIN_IDENTIFIER}-apigateway-with-import-${env:RANDOM_STRING}
33

4+
frameworkVersion: "4.2.5"
5+
46
provider:
57
name: aws
68
iam:
79
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
8-
runtime: nodejs16.x
10+
runtime: nodejs18.x
911
region: us-west-2
1012
stage: test
1113
apiGateway:

test/integration-tests/basic/basepath-mapping/serverless.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
# Enabled and testing basepath mapping
22
service: ${env:PLUGIN_IDENTIFIER}-basepath-mapping-${env:RANDOM_STRING}
3+
4+
frameworkVersion: "4.2.5"
5+
36
provider:
47
name: aws
58
iam:
69
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
7-
runtime: nodejs16.x
10+
runtime: nodejs18.x
811
region: us-west-2
912
stage: test
1013
stackTags:

0 commit comments

Comments
 (0)