Skip to content

Commit

Permalink
chore: end support for Node.js 16.x (#6775)
Browse files Browse the repository at this point in the history
* feat: end support for Node.js 16.x

* chore(package.json): bump engines to node >= 18

* chore(codegen): update smithy hash for dropping Node.js 16 support

* chore(clients): codegen update packages for Node.js 16 end of support

* chore: build fixes

* chore(util-dynamodb): fix types

* fix: set typescript version for api-extractor

---------

Co-authored-by: George Fu <[email protected]>
  • Loading branch information
siddsriv and kuhe authored Jan 6, 2025
1 parent cdd7ff7 commit 997e37d
Show file tree
Hide file tree
Showing 1,436 changed files with 28,395 additions and 26,312 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,10 @@ minor version, e.g. 3.200.0 -> 3.201.0.

## <a id="nodejs-versions"></a> Node.js versions

v3.723.0 and higher requires Node.js >= 18.

v3.567.0 and higher requires Node.js >= 16.

v3.201.0 and higher requires Node.js >= 14.

v3.46.0 to v3.200.0 requires Node.js >= 12.
Expand Down
58 changes: 29 additions & 29 deletions clients/client-accessanalyzer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,45 +33,45 @@
"@aws-sdk/util-endpoints": "*",
"@aws-sdk/util-user-agent-browser": "*",
"@aws-sdk/util-user-agent-node": "*",
"@smithy/config-resolver": "^3.0.13",
"@smithy/core": "^2.5.5",
"@smithy/fetch-http-handler": "^4.1.2",
"@smithy/hash-node": "^3.0.11",
"@smithy/invalid-dependency": "^3.0.11",
"@smithy/middleware-content-length": "^3.0.13",
"@smithy/middleware-endpoint": "^3.2.6",
"@smithy/middleware-retry": "^3.0.31",
"@smithy/middleware-serde": "^3.0.11",
"@smithy/middleware-stack": "^3.0.11",
"@smithy/node-config-provider": "^3.1.12",
"@smithy/node-http-handler": "^3.3.2",
"@smithy/protocol-http": "^4.1.8",
"@smithy/smithy-client": "^3.5.1",
"@smithy/types": "^3.7.2",
"@smithy/url-parser": "^3.0.11",
"@smithy/util-base64": "^3.0.0",
"@smithy/util-body-length-browser": "^3.0.0",
"@smithy/util-body-length-node": "^3.0.0",
"@smithy/util-defaults-mode-browser": "^3.0.31",
"@smithy/util-defaults-mode-node": "^3.0.31",
"@smithy/util-endpoints": "^2.1.7",
"@smithy/util-middleware": "^3.0.11",
"@smithy/util-retry": "^3.0.11",
"@smithy/util-utf8": "^3.0.0",
"@smithy/config-resolver": "^4.0.0",
"@smithy/core": "^3.0.0",
"@smithy/fetch-http-handler": "^5.0.0",
"@smithy/hash-node": "^4.0.0",
"@smithy/invalid-dependency": "^4.0.0",
"@smithy/middleware-content-length": "^4.0.0",
"@smithy/middleware-endpoint": "^4.0.0",
"@smithy/middleware-retry": "^4.0.0",
"@smithy/middleware-serde": "^4.0.0",
"@smithy/middleware-stack": "^4.0.0",
"@smithy/node-config-provider": "^4.0.0",
"@smithy/node-http-handler": "^4.0.0",
"@smithy/protocol-http": "^5.0.0",
"@smithy/smithy-client": "^4.0.0",
"@smithy/types": "^4.0.0",
"@smithy/url-parser": "^4.0.0",
"@smithy/util-base64": "^4.0.0",
"@smithy/util-body-length-browser": "^4.0.0",
"@smithy/util-body-length-node": "^4.0.0",
"@smithy/util-defaults-mode-browser": "^4.0.0",
"@smithy/util-defaults-mode-node": "^4.0.0",
"@smithy/util-endpoints": "^3.0.0",
"@smithy/util-middleware": "^4.0.0",
"@smithy/util-retry": "^4.0.0",
"@smithy/util-utf8": "^4.0.0",
"@types/uuid": "^9.0.1",
"tslib": "^2.6.2",
"uuid": "^9.0.1"
},
"devDependencies": {
"@tsconfig/node16": "16.1.3",
"@types/node": "^16.18.96",
"@tsconfig/node18": "18.2.4",
"@types/node": "^18.19.69",
"concurrently": "7.0.0",
"downlevel-dts": "0.10.1",
"rimraf": "3.0.2",
"typescript": "~4.9.5"
"typescript": "~5.2.2"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"typesVersions": {
"<4.0": {
Expand Down
1 change: 1 addition & 0 deletions clients/client-accessanalyzer/tsconfig.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"compilerOptions": {
"lib": ["dom"],
"module": "esnext",
"moduleResolution": "bundler",
"outDir": "dist-es"
}
}
2 changes: 1 addition & 1 deletion clients/client-accessanalyzer/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node16/tsconfig.json",
"extends": "@tsconfig/node18/tsconfig.json",
"compilerOptions": {
"downlevelIteration": true,
"importHelpers": true,
Expand Down
58 changes: 29 additions & 29 deletions clients/client-account/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,43 +33,43 @@
"@aws-sdk/util-endpoints": "*",
"@aws-sdk/util-user-agent-browser": "*",
"@aws-sdk/util-user-agent-node": "*",
"@smithy/config-resolver": "^3.0.13",
"@smithy/core": "^2.5.5",
"@smithy/fetch-http-handler": "^4.1.2",
"@smithy/hash-node": "^3.0.11",
"@smithy/invalid-dependency": "^3.0.11",
"@smithy/middleware-content-length": "^3.0.13",
"@smithy/middleware-endpoint": "^3.2.6",
"@smithy/middleware-retry": "^3.0.31",
"@smithy/middleware-serde": "^3.0.11",
"@smithy/middleware-stack": "^3.0.11",
"@smithy/node-config-provider": "^3.1.12",
"@smithy/node-http-handler": "^3.3.2",
"@smithy/protocol-http": "^4.1.8",
"@smithy/smithy-client": "^3.5.1",
"@smithy/types": "^3.7.2",
"@smithy/url-parser": "^3.0.11",
"@smithy/util-base64": "^3.0.0",
"@smithy/util-body-length-browser": "^3.0.0",
"@smithy/util-body-length-node": "^3.0.0",
"@smithy/util-defaults-mode-browser": "^3.0.31",
"@smithy/util-defaults-mode-node": "^3.0.31",
"@smithy/util-endpoints": "^2.1.7",
"@smithy/util-middleware": "^3.0.11",
"@smithy/util-retry": "^3.0.11",
"@smithy/util-utf8": "^3.0.0",
"@smithy/config-resolver": "^4.0.0",
"@smithy/core": "^3.0.0",
"@smithy/fetch-http-handler": "^5.0.0",
"@smithy/hash-node": "^4.0.0",
"@smithy/invalid-dependency": "^4.0.0",
"@smithy/middleware-content-length": "^4.0.0",
"@smithy/middleware-endpoint": "^4.0.0",
"@smithy/middleware-retry": "^4.0.0",
"@smithy/middleware-serde": "^4.0.0",
"@smithy/middleware-stack": "^4.0.0",
"@smithy/node-config-provider": "^4.0.0",
"@smithy/node-http-handler": "^4.0.0",
"@smithy/protocol-http": "^5.0.0",
"@smithy/smithy-client": "^4.0.0",
"@smithy/types": "^4.0.0",
"@smithy/url-parser": "^4.0.0",
"@smithy/util-base64": "^4.0.0",
"@smithy/util-body-length-browser": "^4.0.0",
"@smithy/util-body-length-node": "^4.0.0",
"@smithy/util-defaults-mode-browser": "^4.0.0",
"@smithy/util-defaults-mode-node": "^4.0.0",
"@smithy/util-endpoints": "^3.0.0",
"@smithy/util-middleware": "^4.0.0",
"@smithy/util-retry": "^4.0.0",
"@smithy/util-utf8": "^4.0.0",
"tslib": "^2.6.2"
},
"devDependencies": {
"@tsconfig/node16": "16.1.3",
"@types/node": "^16.18.96",
"@tsconfig/node18": "18.2.4",
"@types/node": "^18.19.69",
"concurrently": "7.0.0",
"downlevel-dts": "0.10.1",
"rimraf": "3.0.2",
"typescript": "~4.9.5"
"typescript": "~5.2.2"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"typesVersions": {
"<4.0": {
Expand Down
1 change: 1 addition & 0 deletions clients/client-account/tsconfig.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"compilerOptions": {
"lib": ["dom"],
"module": "esnext",
"moduleResolution": "bundler",
"outDir": "dist-es"
}
}
2 changes: 1 addition & 1 deletion clients/client-account/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node16/tsconfig.json",
"extends": "@tsconfig/node18/tsconfig.json",
"compilerOptions": {
"downlevelIteration": true,
"importHelpers": true,
Expand Down
60 changes: 30 additions & 30 deletions clients/client-acm-pca/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,44 +33,44 @@
"@aws-sdk/util-endpoints": "*",
"@aws-sdk/util-user-agent-browser": "*",
"@aws-sdk/util-user-agent-node": "*",
"@smithy/config-resolver": "^3.0.13",
"@smithy/core": "^2.5.5",
"@smithy/fetch-http-handler": "^4.1.2",
"@smithy/hash-node": "^3.0.11",
"@smithy/invalid-dependency": "^3.0.11",
"@smithy/middleware-content-length": "^3.0.13",
"@smithy/middleware-endpoint": "^3.2.6",
"@smithy/middleware-retry": "^3.0.31",
"@smithy/middleware-serde": "^3.0.11",
"@smithy/middleware-stack": "^3.0.11",
"@smithy/node-config-provider": "^3.1.12",
"@smithy/node-http-handler": "^3.3.2",
"@smithy/protocol-http": "^4.1.8",
"@smithy/smithy-client": "^3.5.1",
"@smithy/types": "^3.7.2",
"@smithy/url-parser": "^3.0.11",
"@smithy/util-base64": "^3.0.0",
"@smithy/util-body-length-browser": "^3.0.0",
"@smithy/util-body-length-node": "^3.0.0",
"@smithy/util-defaults-mode-browser": "^3.0.31",
"@smithy/util-defaults-mode-node": "^3.0.31",
"@smithy/util-endpoints": "^2.1.7",
"@smithy/util-middleware": "^3.0.11",
"@smithy/util-retry": "^3.0.11",
"@smithy/util-utf8": "^3.0.0",
"@smithy/util-waiter": "^3.2.0",
"@smithy/config-resolver": "^4.0.0",
"@smithy/core": "^3.0.0",
"@smithy/fetch-http-handler": "^5.0.0",
"@smithy/hash-node": "^4.0.0",
"@smithy/invalid-dependency": "^4.0.0",
"@smithy/middleware-content-length": "^4.0.0",
"@smithy/middleware-endpoint": "^4.0.0",
"@smithy/middleware-retry": "^4.0.0",
"@smithy/middleware-serde": "^4.0.0",
"@smithy/middleware-stack": "^4.0.0",
"@smithy/node-config-provider": "^4.0.0",
"@smithy/node-http-handler": "^4.0.0",
"@smithy/protocol-http": "^5.0.0",
"@smithy/smithy-client": "^4.0.0",
"@smithy/types": "^4.0.0",
"@smithy/url-parser": "^4.0.0",
"@smithy/util-base64": "^4.0.0",
"@smithy/util-body-length-browser": "^4.0.0",
"@smithy/util-body-length-node": "^4.0.0",
"@smithy/util-defaults-mode-browser": "^4.0.0",
"@smithy/util-defaults-mode-node": "^4.0.0",
"@smithy/util-endpoints": "^3.0.0",
"@smithy/util-middleware": "^4.0.0",
"@smithy/util-retry": "^4.0.0",
"@smithy/util-utf8": "^4.0.0",
"@smithy/util-waiter": "^4.0.0",
"tslib": "^2.6.2"
},
"devDependencies": {
"@tsconfig/node16": "16.1.3",
"@types/node": "^16.18.96",
"@tsconfig/node18": "18.2.4",
"@types/node": "^18.19.69",
"concurrently": "7.0.0",
"downlevel-dts": "0.10.1",
"rimraf": "3.0.2",
"typescript": "~4.9.5"
"typescript": "~5.2.2"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"typesVersions": {
"<4.0": {
Expand Down
1 change: 1 addition & 0 deletions clients/client-acm-pca/tsconfig.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"compilerOptions": {
"lib": ["dom"],
"module": "esnext",
"moduleResolution": "bundler",
"outDir": "dist-es"
}
}
2 changes: 1 addition & 1 deletion clients/client-acm-pca/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node16/tsconfig.json",
"extends": "@tsconfig/node18/tsconfig.json",
"compilerOptions": {
"downlevelIteration": true,
"importHelpers": true,
Expand Down
60 changes: 30 additions & 30 deletions clients/client-acm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,44 +33,44 @@
"@aws-sdk/util-endpoints": "*",
"@aws-sdk/util-user-agent-browser": "*",
"@aws-sdk/util-user-agent-node": "*",
"@smithy/config-resolver": "^3.0.13",
"@smithy/core": "^2.5.5",
"@smithy/fetch-http-handler": "^4.1.2",
"@smithy/hash-node": "^3.0.11",
"@smithy/invalid-dependency": "^3.0.11",
"@smithy/middleware-content-length": "^3.0.13",
"@smithy/middleware-endpoint": "^3.2.6",
"@smithy/middleware-retry": "^3.0.31",
"@smithy/middleware-serde": "^3.0.11",
"@smithy/middleware-stack": "^3.0.11",
"@smithy/node-config-provider": "^3.1.12",
"@smithy/node-http-handler": "^3.3.2",
"@smithy/protocol-http": "^4.1.8",
"@smithy/smithy-client": "^3.5.1",
"@smithy/types": "^3.7.2",
"@smithy/url-parser": "^3.0.11",
"@smithy/util-base64": "^3.0.0",
"@smithy/util-body-length-browser": "^3.0.0",
"@smithy/util-body-length-node": "^3.0.0",
"@smithy/util-defaults-mode-browser": "^3.0.31",
"@smithy/util-defaults-mode-node": "^3.0.31",
"@smithy/util-endpoints": "^2.1.7",
"@smithy/util-middleware": "^3.0.11",
"@smithy/util-retry": "^3.0.11",
"@smithy/util-utf8": "^3.0.0",
"@smithy/util-waiter": "^3.2.0",
"@smithy/config-resolver": "^4.0.0",
"@smithy/core": "^3.0.0",
"@smithy/fetch-http-handler": "^5.0.0",
"@smithy/hash-node": "^4.0.0",
"@smithy/invalid-dependency": "^4.0.0",
"@smithy/middleware-content-length": "^4.0.0",
"@smithy/middleware-endpoint": "^4.0.0",
"@smithy/middleware-retry": "^4.0.0",
"@smithy/middleware-serde": "^4.0.0",
"@smithy/middleware-stack": "^4.0.0",
"@smithy/node-config-provider": "^4.0.0",
"@smithy/node-http-handler": "^4.0.0",
"@smithy/protocol-http": "^5.0.0",
"@smithy/smithy-client": "^4.0.0",
"@smithy/types": "^4.0.0",
"@smithy/url-parser": "^4.0.0",
"@smithy/util-base64": "^4.0.0",
"@smithy/util-body-length-browser": "^4.0.0",
"@smithy/util-body-length-node": "^4.0.0",
"@smithy/util-defaults-mode-browser": "^4.0.0",
"@smithy/util-defaults-mode-node": "^4.0.0",
"@smithy/util-endpoints": "^3.0.0",
"@smithy/util-middleware": "^4.0.0",
"@smithy/util-retry": "^4.0.0",
"@smithy/util-utf8": "^4.0.0",
"@smithy/util-waiter": "^4.0.0",
"tslib": "^2.6.2"
},
"devDependencies": {
"@tsconfig/node16": "16.1.3",
"@types/node": "^16.18.96",
"@tsconfig/node18": "18.2.4",
"@types/node": "^18.19.69",
"concurrently": "7.0.0",
"downlevel-dts": "0.10.1",
"rimraf": "3.0.2",
"typescript": "~4.9.5"
"typescript": "~5.2.2"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"typesVersions": {
"<4.0": {
Expand Down
1 change: 1 addition & 0 deletions clients/client-acm/tsconfig.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"compilerOptions": {
"lib": ["dom"],
"module": "esnext",
"moduleResolution": "bundler",
"outDir": "dist-es"
}
}
2 changes: 1 addition & 1 deletion clients/client-acm/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node16/tsconfig.json",
"extends": "@tsconfig/node18/tsconfig.json",
"compilerOptions": {
"downlevelIteration": true,
"importHelpers": true,
Expand Down
Loading

0 comments on commit 997e37d

Please sign in to comment.