Skip to content

Commit

Permalink
feat!: Dropped support for Node.js 16 (#2394)
Browse files Browse the repository at this point in the history
  • Loading branch information
bizob2828 authored Jul 23, 2024
1 parent d22c368 commit 1870010
Show file tree
Hide file tree
Showing 47 changed files with 87 additions and 106 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16.x, 18.x, 20.x, 22.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16.x, 18.x, 20.x, 22.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16.x, 18.x, 20.x, 22.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16.x, 18.x, 20.x, 22.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16.x, 18.x, 20.x, 22.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
Expand All @@ -240,7 +240,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x, 20.x, 22.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/smoke-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x, 20.x, 22.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/versioned-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16.x, 18.x, 20.x, 22.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/versioned-security-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16.x, 18.x, 20.x, 22.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
],
"homepage": "https://github.com/newrelic/node-newrelic",
"engines": {
"node": ">=16",
"node": ">=18",
"npm": ">=6.0.0"
},
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion test/versioned/amqplib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"tests": [
{
"engines": {
"node": ">=16"
"node": ">=18"
},
"dependencies": {
"amqplib": ">=0.5.0"
Expand Down
6 changes: 3 additions & 3 deletions test/versioned/aws-sdk-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"tests": [
{
"engines": {
"node": ">=16.0"
"node": ">=18.0"
},
"dependencies": {
"aws-sdk": {
Expand All @@ -21,7 +21,7 @@
},
{
"engines": {
"node": ">=16.0"
"node": ">=18.0"
},
"dependencies": {
"aws-sdk": {
Expand All @@ -41,7 +41,7 @@
},
{
"engines": {
"node": ">=16.0"
"node": ">=18.0"
},
"dependencies": {
"aws-sdk": {
Expand Down
30 changes: 15 additions & 15 deletions test/versioned/aws-sdk-v3/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "aws-sdk-v3-tests",
"engines": {
"node": ">=16.0"
"node": ">=18.0"
},
"targets": [
{"name": "@aws-sdk/client-sqs", "minAgentVersion": "8.7.1"},
Expand All @@ -17,7 +17,7 @@
"tests": [
{
"engines": {
"node": ">=16.0"
"node": ">=18.0"
},
"dependencies": {
"@aws-sdk/client-api-gateway": {
Expand All @@ -31,7 +31,7 @@
},
{
"engines": {
"node": ">=16.0"
"node": ">=18.0"
},
"dependencies": {
"@aws-sdk/client-elasticache": {
Expand All @@ -45,7 +45,7 @@
},
{
"engines": {
"node": ">=16.0"
"node": ">=18.0"
},
"dependencies": {
"@aws-sdk/client-elastic-load-balancing": {
Expand All @@ -59,7 +59,7 @@
},
{
"engines": {
"node": ">=16.0"
"node": ">=18.0"
},
"dependencies": {
"@aws-sdk/client-lambda": {
Expand All @@ -73,7 +73,7 @@
},
{
"engines": {
"node": ">=16.0"
"node": ">=18.0"
},
"dependencies": {
"@aws-sdk/client-rds": {
Expand All @@ -87,7 +87,7 @@
},
{
"engines": {
"node": ">=16.0"
"node": ">=18.0"
},
"dependencies": {
"@aws-sdk/client-redshift": {
Expand All @@ -101,7 +101,7 @@
},
{
"engines": {
"node": ">=16.0"
"node": ">=18.0"
},
"dependencies": {
"@aws-sdk/client-rekognition": {
Expand All @@ -115,7 +115,7 @@
},
{
"engines": {
"node": ">=16.0"
"node": ">=18.0"
},
"dependencies": {
"@aws-sdk/client-s3": {
Expand All @@ -129,7 +129,7 @@
},
{
"engines": {
"node": ">=16.0"
"node": ">=18.0"
},
"dependencies": {
"@aws-sdk/client-ses": {
Expand All @@ -143,7 +143,7 @@
},
{
"engines": {
"node": ">=16.0"
"node": ">=18.0"
},
"dependencies": {
"@aws-sdk/client-sns": {
Expand All @@ -157,7 +157,7 @@
},
{
"engines": {
"node": ">=16.0"
"node": ">=18.0"
},
"dependencies": {
"@aws-sdk/client-sqs": {
Expand All @@ -171,7 +171,7 @@
},
{
"engines": {
"node": ">=16.0"
"node": ">=18.0"
},
"dependencies": {
"@aws-sdk/client-dynamodb": {
Expand All @@ -185,7 +185,7 @@
},
{
"engines": {
"node": ">=16.0"
"node": ">=18.0"
},
"dependencies": {
"@aws-sdk/util-dynamodb": "latest",
Expand All @@ -201,7 +201,7 @@
},
{
"engines": {
"node": ">=16.0"
"node": ">=18.0"
},
"dependencies": {
"@aws-sdk/client-bedrock-runtime": "^3.474.0"
Expand Down
4 changes: 2 additions & 2 deletions test/versioned/bluebird/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"tests": [
{
"engines": {
"node": ">=16"
"node": ">=18"
},
"dependencies": {
"bluebird": ">=2.0.0"
Expand All @@ -18,7 +18,7 @@
},
{
"engines": {
"node": ">=16"
"node": ">=18"
},
"dependencies": {
"bluebird": ">=3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion test/versioned/bunyan/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"tests": [
{
"engines": {
"node": ">=16"
"node": ">=18"
},
"dependencies": {
"bunyan": ">=1.8.12"
Expand Down
2 changes: 1 addition & 1 deletion test/versioned/cassandra-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"tests": [
{
"engines": {
"node": ">=16"
"node": ">=18"
},
"dependencies": {
"cassandra-driver": ">=3.4.0"
Expand Down
2 changes: 1 addition & 1 deletion test/versioned/cjs-in-esm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"tests": [
{
"engines": {
"node": ">=16.12.0"
"node": ">=18"
},
"dependencies": {
"express": "4.18.2",
Expand Down
2 changes: 1 addition & 1 deletion test/versioned/cls/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"tests": [
{
"engines": {
"node": ">=16"
"node": ">=18"
},
"dependencies": {
"continuation-local-storage": ">=3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion test/versioned/connect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"tests": [
{
"engines": {
"node": ">=16"
"node": ">=18"
},
"dependencies": {
"connect": ">=2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion test/versioned/director/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"tests": [
{
"engines": {
"node": ">=16"
"node": ">=18"
},
"dependencies": {
"director": ">=1.2.0",
Expand Down
4 changes: 2 additions & 2 deletions test/versioned/elastic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"version": "0.0.0",
"private": true,
"engines": {
"node": ">=16"
"node": ">=18"
},
"tests": [
{
"supported": false,
"comment": "Used to assert our instrumentation does not get loaded on old versions.",
"engines": {
"node": ">=16"
"node": ">=18"
},
"dependencies": {
"@elastic/elasticsearch": "7.13.0"
Expand Down
2 changes: 1 addition & 1 deletion test/versioned/esm-package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"tests": [
{
"engines": {
"node": ">=16.12.0"
"node": ">=18"
},
"dependencies": {
"parse-json": "6.0.2"
Expand Down
2 changes: 1 addition & 1 deletion test/versioned/express-esm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"tests": [
{
"engines": {
"node": ">=16.12.0"
"node": ">=18"
},
"dependencies": {
"express": ">=4.6.0",
Expand Down
2 changes: 1 addition & 1 deletion test/versioned/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"tests": [
{
"engines": {
"node": ">=16"
"node": ">=18"
},
"dependencies": {
"express": ">=4.6.0",
Expand Down
Loading

0 comments on commit 1870010

Please sign in to comment.