Skip to content

Commit 09e8dd8

Browse files
authored
feat(v8): Bump minimum Node Version to 14 (#10527)
ref #9827 Drops support for node 8, 10, 12. Does not change Next.js tests, as we can look at that in #9838
1 parent c23715a commit 09e8dd8

File tree

52 files changed

+81
-233
lines changed

Some content is hidden

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

52 files changed

+81
-233
lines changed

.github/ISSUE_TEMPLATE/flaky.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ body:
1818
id: job-name
1919
attributes:
2020
label: Name of Job
21-
placeholder: Build & Test / Nextjs (Node 10) Tests
21+
placeholder: Build & Test / Nextjs (Node 14) Tests
2222
description: name of job as reported in the status report
2323
validations:
2424
required: true

.github/workflows/build.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ jobs:
523523
strategy:
524524
fail-fast: false
525525
matrix:
526-
node: [8, 10, 12, 14, 16, 18, 20, 21]
526+
node: [14, 16, 18, 20, 21]
527527
steps:
528528
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
529529
uses: actions/checkout@v4
@@ -540,9 +540,7 @@ jobs:
540540
- name: Run tests
541541
env:
542542
NODE_VERSION: ${{ matrix.node }}
543-
run: |
544-
[[ $NODE_VERSION == 8 ]] && yarn add --dev --ignore-engines --ignore-scripts --ignore-workspace-root-check [email protected]
545-
yarn test-ci-node
543+
run: yarn test-ci-node
546544
- name: Compute test coverage
547545
uses: codecov/codecov-action@v4
548546
with:
@@ -874,7 +872,7 @@ jobs:
874872
strategy:
875873
fail-fast: false
876874
matrix:
877-
node: [10, 12, 14, 16, 18, 20, 21]
875+
node: [14, 16, 18, 20, 21]
878876
typescript:
879877
- false
880878
include:

dev-packages/node-integration-tests/suites/express/tracing-experimental/test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import { conditionalTest } from '../../../utils';
21
import { cleanupChildProcesses, createRunner } from '../../../utils/runner';
32

4-
conditionalTest({ min: 14 })('express tracing experimental', () => {
3+
describe('express tracing experimental', () => {
54
afterAll(() => {
65
cleanupChildProcesses();
76
});

dev-packages/node-integration-tests/suites/tracing-experimental/apollo-graphql/test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import { conditionalTest } from '../../../utils';
21
import { createRunner } from '../../../utils/runner';
32

4-
conditionalTest({ min: 14 })('GraphQL/Apollo Tests', () => {
3+
describe('GraphQL/Apollo Tests', () => {
54
test('CJS - should instrument GraphQL queries used from Apollo Server.', done => {
65
const EXPECTED_TRANSACTION = {
76
transaction: 'Test Transaction',

dev-packages/node-integration-tests/suites/tracing-experimental/hapi/test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import { conditionalTest } from '../../../utils';
21
import { cleanupChildProcesses, createRunner } from '../../../utils/runner';
32

43
jest.setTimeout(20000);
54

6-
conditionalTest({ min: 14 })('hapi auto-instrumentation', () => {
5+
describe('hapi auto-instrumentation', () => {
76
afterAll(async () => {
87
cleanupChildProcesses();
98
});

dev-packages/node-integration-tests/suites/tracing-experimental/mongodb/test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import { MongoMemoryServer } from 'mongodb-memory-server-global';
22

3-
import { conditionalTest } from '../../../utils';
43
import { cleanupChildProcesses, createRunner } from '../../../utils/runner';
54

65
jest.setTimeout(20000);
76

8-
conditionalTest({ min: 14 })('MongoDB experimental Test', () => {
7+
describe('MongoDB experimental Test', () => {
98
let mongoServer: MongoMemoryServer;
109

1110
beforeAll(async () => {

dev-packages/node-integration-tests/suites/tracing-experimental/mongoose/test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import { MongoMemoryServer } from 'mongodb-memory-server-global';
22

3-
import { conditionalTest } from '../../../utils';
43
import { cleanupChildProcesses, createRunner } from '../../../utils/runner';
54

65
jest.setTimeout(20000);
76

8-
conditionalTest({ min: 14 })('Mongoose experimental Test', () => {
7+
describe('Mongoose experimental Test', () => {
98
let mongoServer: MongoMemoryServer;
109

1110
beforeAll(async () => {

dev-packages/node-integration-tests/suites/tracing-experimental/mysql/test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import { conditionalTest } from '../../../utils';
21
import { cleanupChildProcesses, createRunner } from '../../../utils/runner';
32

4-
conditionalTest({ min: 14 })('mysql auto instrumentation', () => {
3+
describe('mysql auto instrumentation', () => {
54
afterAll(() => {
65
cleanupChildProcesses();
76
});

dev-packages/node-integration-tests/suites/tracing-experimental/mysql2/test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import { conditionalTest } from '../../../utils';
21
import { cleanupChildProcesses, createRunner } from '../../../utils/runner';
32

4-
conditionalTest({ min: 14 })('mysql2 auto instrumentation', () => {
3+
describe('mysql2 auto instrumentation', () => {
54
afterAll(() => {
65
cleanupChildProcesses();
76
});

dev-packages/node-integration-tests/suites/tracing-experimental/postgres/test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import { conditionalTest } from '../../../utils';
21
import { createRunner } from '../../../utils/runner';
32

4-
conditionalTest({ min: 14 })('postgres auto instrumentation', () => {
3+
describe('postgres auto instrumentation', () => {
54
test('should auto-instrument `pg` package', done => {
65
const EXPECTED_TRANSACTION = {
76
transaction: 'Test Transaction',

0 commit comments

Comments
 (0)