Skip to content

Commit

Permalink
feat(NODE-4436)!: update minimum supported node version (#3496)
Browse files Browse the repository at this point in the history
  • Loading branch information
durran authored Dec 21, 2022
1 parent 21db1a9 commit cca5362
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 111 deletions.
126 changes: 18 additions & 108 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2063,23 +2063,23 @@ tasks:
commands:
- func: install dependencies
vars:
NODE_LTS_NAME: erbium
NODE_LTS_NAME: fermium
- func: run unit tests
- name: run-lint-checks
tags:
- run-lint-checks
commands:
- func: install dependencies
vars:
NODE_LTS_NAME: erbium
NODE_LTS_NAME: fermium
- func: run lint checks
- name: check-types-typescript-next
tags:
- check-types-typescript-next
commands:
- func: install dependencies
vars:
NODE_LTS_NAME: erbium
NODE_LTS_NAME: fermium
- func: check types
vars:
TS_VERSION: next
Expand All @@ -2089,7 +2089,7 @@ tasks:
commands:
- func: install dependencies
vars:
NODE_LTS_NAME: erbium
NODE_LTS_NAME: fermium
- func: compile driver
vars:
TS_VERSION: current
Expand All @@ -2099,7 +2099,7 @@ tasks:
commands:
- func: install dependencies
vars:
NODE_LTS_NAME: erbium
NODE_LTS_NAME: fermium
- func: check types
vars:
TS_VERSION: current
Expand All @@ -2109,7 +2109,7 @@ tasks:
commands:
- func: install dependencies
vars:
NODE_LTS_NAME: erbium
NODE_LTS_NAME: fermium
- func: check types
vars:
TS_VERSION: 4.1.6
Expand Down Expand Up @@ -2137,7 +2137,7 @@ tasks:
commands:
- func: install dependencies
vars:
NODE_LTS_NAME: erbium
NODE_LTS_NAME: fermium
- func: bootstrap mongo-orchestration
vars:
VERSION: '5.0'
Expand All @@ -2146,15 +2146,15 @@ tasks:
- name: run-bson-ext-integration
func: run bson-ext test
vars:
NODE_LTS_NAME: erbium
NODE_LTS_NAME: fermium
TEST_NPM_SCRIPT: check:test
- name: run-bson-ext-unit
tags:
- run-custom-dependency-tests
commands:
- func: install dependencies
vars:
NODE_LTS_NAME: erbium
NODE_LTS_NAME: fermium
- func: bootstrap mongo-orchestration
vars:
VERSION: '5.0'
Expand All @@ -2163,15 +2163,15 @@ tasks:
- name: run-bson-ext-unit
func: run bson-ext test
vars:
NODE_LTS_NAME: erbium
NODE_LTS_NAME: fermium
TEST_NPM_SCRIPT: check:unit
- name: run-custom-csfle-tests-5.0-pinned-commit
tags:
- run-custom-dependency-tests
commands:
- func: install dependencies
vars:
NODE_LTS_NAME: erbium
NODE_LTS_NAME: fermium
- func: bootstrap mongo-orchestration
vars:
VERSION: '5.0'
Expand All @@ -2186,7 +2186,7 @@ tasks:
commands:
- func: install dependencies
vars:
NODE_LTS_NAME: erbium
NODE_LTS_NAME: fermium
- func: bootstrap mongo-orchestration
vars:
VERSION: '5.0'
Expand All @@ -2201,7 +2201,7 @@ tasks:
commands:
- func: install dependencies
vars:
NODE_LTS_NAME: erbium
NODE_LTS_NAME: fermium
- func: bootstrap mongo-orchestration
vars:
VERSION: rapid
Expand All @@ -2216,7 +2216,7 @@ tasks:
commands:
- func: install dependencies
vars:
NODE_LTS_NAME: erbium
NODE_LTS_NAME: fermium
- func: bootstrap mongo-orchestration
vars:
VERSION: rapid
Expand All @@ -2231,7 +2231,7 @@ tasks:
commands:
- func: install dependencies
vars:
NODE_LTS_NAME: erbium
NODE_LTS_NAME: fermium
- func: bootstrap mongo-orchestration
vars:
VERSION: latest
Expand All @@ -2246,7 +2246,7 @@ tasks:
commands:
- func: install dependencies
vars:
NODE_LTS_NAME: erbium
NODE_LTS_NAME: fermium
- func: bootstrap mongo-orchestration
vars:
VERSION: latest
Expand Down Expand Up @@ -2668,54 +2668,6 @@ buildvariants:
run_on: rhel80-large
tasks:
- run-spec-benchmark-tests
- name: rhel80-large-erbium
display_name: rhel8 Node12
run_on: rhel80-large
expansions:
NODE_LTS_NAME: erbium
CLIENT_ENCRYPTION: true
tasks:
- test-latest-server
- test-latest-replica_set
- test-latest-sharded_cluster
- test-rapid-server
- test-rapid-replica_set
- test-rapid-sharded_cluster
- test-6.0-server
- test-6.0-replica_set
- test-6.0-sharded_cluster
- test-5.0-server
- test-5.0-replica_set
- test-5.0-sharded_cluster
- test-4.4-server
- test-4.4-replica_set
- test-4.4-sharded_cluster
- test-4.2-server
- test-4.2-replica_set
- test-4.2-sharded_cluster
- test-4.0-server
- test-4.0-replica_set
- test-4.0-sharded_cluster
- test-3.6-server
- test-3.6-replica_set
- test-3.6-sharded_cluster
- test-latest-server-v1-api
- test-atlas-connectivity
- test-atlas-data-lake
- test-5.0-load-balanced
- test-6.0-load-balanced
- test-latest-load-balanced
- test-auth-kerberos
- test-auth-ldap
- test-socks5
- test-socks5-tls
- test-zstd-compression
- test-snappy-compression
- test-tls-support-latest
- test-tls-support-6.0
- test-tls-support-5.0
- test-tls-support-4.4
- test-tls-support-4.2
- name: rhel80-large-fermium
display_name: rhel8 Node14
run_on: rhel80-large
Expand Down Expand Up @@ -2899,48 +2851,6 @@ buildvariants:
- test-tls-support-5.0
- test-tls-support-4.4
- test-tls-support-4.2
- name: windows-64-vs2019-erbium
display_name: Windows (VS2019) Node12
run_on: windows-64-vs2019-large
expansions:
NODE_LTS_NAME: erbium
MSVS_VERSION: 2019
tasks:
- test-latest-server
- test-latest-replica_set
- test-latest-sharded_cluster
- test-rapid-server
- test-rapid-replica_set
- test-rapid-sharded_cluster
- test-6.0-server
- test-6.0-replica_set
- test-6.0-sharded_cluster
- test-5.0-server
- test-5.0-replica_set
- test-5.0-sharded_cluster
- test-4.4-server
- test-4.4-replica_set
- test-4.4-sharded_cluster
- test-4.2-server
- test-4.2-replica_set
- test-4.2-sharded_cluster
- test-4.0-server
- test-4.0-replica_set
- test-4.0-sharded_cluster
- test-3.6-server
- test-3.6-replica_set
- test-3.6-sharded_cluster
- test-latest-server-v1-api
- test-atlas-data-lake
- test-socks5
- test-socks5-tls
- test-zstd-compression
- test-snappy-compression
- test-tls-support-latest
- test-tls-support-6.0
- test-tls-support-5.0
- test-tls-support-4.4
- test-tls-support-4.2
- name: windows-64-vs2019-fermium
display_name: Windows (VS2019) Node14
run_on: windows-64-vs2019-large
Expand Down Expand Up @@ -3095,7 +3005,7 @@ buildvariants:
display_name: MONGODB-AWS Auth test
run_on: ubuntu1804-large
expansions:
NODE_LTS_NAME: erbium
NODE_LTS_NAME: fermium
tasks:
- aws-latest-auth-test-run-aws-auth-test-with-regular-aws-credentials
- aws-latest-auth-test-run-aws-auth-test-with-assume-role-credentials
Expand Down Expand Up @@ -3162,7 +3072,7 @@ buildvariants:
display_name: Serverless Test
run_on: rhel80-large
expansions:
NODE_LTS_NAME: erbium
NODE_LTS_NAME: fermium
tasks:
- serverless_task_group
- name: rhel8-no-auth-tests
Expand Down
1 change: 0 additions & 1 deletion .evergreen/generate_evergreen_tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ const yaml = require('js-yaml');

const MONGODB_VERSIONS = ['latest', 'rapid', '6.0', '5.0', '4.4', '4.2', '4.0', '3.6'];
const versions = [
{ codeName: 'erbium', versionNumber: 12 },
{ codeName: 'fermium', versionNumber: 14 },
{ codeName: 'gallium', versionNumber: 16 },
{ codeName: 'hydrogen', versionNumber: 18 }
Expand Down
4 changes: 4 additions & 0 deletions etc/notes/CHANGES_5.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ This means `npm` will let you know if the version of snappy you have installed i
```sh
npm install --save snappy@7
```

### Minimum supported Node version

The new minimum supported Node.js version is now 14.20.1.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
},
"license": "Apache-2.0",
"engines": {
"node": ">=12.9.0"
"node": ">=14.20.1"
},
"bugs": {
"url": "https://jira.mongodb.org/projects/NODE/issues/"
Expand Down

0 comments on commit cca5362

Please sign in to comment.