Skip to content

Commit f3f0ea6

Browse files
authored
Deprecate Node.js 16.x (#624)
1 parent 9a14428 commit f3f0ea6

File tree

84 files changed

+23
-3508
lines changed

Some content is hidden

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

84 files changed

+23
-3508
lines changed

Diff for: .github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v3
1515

16-
- name: Set up Node 16.14
16+
- name: Set up Node 18.12
1717
uses: actions/setup-node@v3
1818
with:
19-
node-version: 16.14
19+
node-version: 18.12
2020

2121
- name: Get yarn cache directory path
2222
id: yarn-cache-dir-path
@@ -44,7 +44,7 @@ jobs:
4444
strategy:
4545
max-parallel: 4
4646
matrix:
47-
node-version: [16.14, 18.12, 20.9, 22.11]
47+
node-version: [18.12, 20.9, 22.11]
4848
steps:
4949
- name: Checkout
5050
uses: actions/checkout@v3

Diff for: .github/workflows/update-deps.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
- uses: actions/setup-node@v3
1616
with:
17-
node-version: "16.x"
17+
node-version: "18.x"
1818

1919
- name: Update Dependencies
2020
run: |

Diff for: .gitlab/datasources/runtimes.yaml

-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
runtimes:
2-
- name: "node16"
3-
node_version: "16.14"
4-
node_major_version: "16"
52
- name: "node18"
63
node_version: "18.12"
74
node_major_version: "18"

Diff for: .gitlab/scripts/publish_layers.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
set -e
1111

1212
# Available runtimes: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
13-
AWS_CLI_NODE_VERSIONS=("nodejs16.x" "nodejs18.x" "nodejs20.x" "nodejs22.x")
14-
LAYER_PATHS=(".layers/datadog_lambda_node16.14.zip" ".layers/datadog_lambda_node18.12.zip" ".layers/datadog_lambda_node20.9.zip" ".layers/datadog_lambda_node22.11.zip")
15-
LAYERS=("Datadog-Node16-x" "Datadog-Node18-x" "Datadog-Node20-x" "Datadog-Node22-x")
16-
NODE_VERSIONS=("16.14" "18.12" "20.9" "22.11")
13+
AWS_CLI_NODE_VERSIONS=("nodejs18.x" "nodejs20.x" "nodejs22.x")
14+
LAYER_PATHS=(".layers/datadog_lambda_node18.12.zip" ".layers/datadog_lambda_node20.9.zip" ".layers/datadog_lambda_node22.11.zip")
15+
LAYERS=("Datadog-Node18-x" "Datadog-Node20-x" "Datadog-Node22-x")
16+
NODE_VERSIONS=("18.12" "20.9" "22.11")
1717
STAGES=('prod', 'sandbox', 'staging')
1818

1919
printf "Starting script...\n\n"

Diff for: README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Slack](https://chat.datadoghq.com/badge.svg?bg=632CA6)](https://chat.datadoghq.com/)
77
[![License](https://img.shields.io/badge/license-Apache--2.0-blue)](https://github.com/DataDog/datadog-lambda-js/blob/main/LICENSE)
88

9-
Datadog Lambda Library for Node.js (16.x, 18.x, and 20.x) enables enhanced Lambda metrics, distributed tracing, and custom metric submission from AWS Lambda functions.
9+
Datadog Lambda Library for Node.js (18.x, 20.x, and 22.x) enables enhanced Lambda metrics, distributed tracing, and custom metric submission from AWS Lambda functions.
1010

1111
## Installation
1212

@@ -52,6 +52,10 @@ The 6.x.x release introduces support for the node 16 runtime and esm modules.
5252

5353
The 7.x.x release drops support for Node12, and upgrades dd-trace-js to version 3.x
5454

55+
### 8.x.x
56+
57+
The 8.x.x release drops support for Node14, and upgrades dd-trace-js to version 4.x
58+
5559
### 9.x.x
5660
The 9.x.x release changed how Lambda's traceID is hashed if the incoming payload contains Step Functions context object. This change only affects those who uses inject Step Functions context object into Lambda payload.
5761

Diff for: integration_tests/snapshots/logs/async-metrics_node16.log

-293
This file was deleted.

0 commit comments

Comments
 (0)