Skip to content

Commit cca5362

Browse files
authored
feat(NODE-4436)!: update minimum supported node version (#3496)
1 parent 21db1a9 commit cca5362

File tree

5 files changed

+24
-111
lines changed

5 files changed

+24
-111
lines changed

.evergreen/config.yml

+18-108
Original file line numberDiff line numberDiff line change
@@ -2063,23 +2063,23 @@ tasks:
20632063
commands:
20642064
- func: install dependencies
20652065
vars:
2066-
NODE_LTS_NAME: erbium
2066+
NODE_LTS_NAME: fermium
20672067
- func: run unit tests
20682068
- name: run-lint-checks
20692069
tags:
20702070
- run-lint-checks
20712071
commands:
20722072
- func: install dependencies
20732073
vars:
2074-
NODE_LTS_NAME: erbium
2074+
NODE_LTS_NAME: fermium
20752075
- func: run lint checks
20762076
- name: check-types-typescript-next
20772077
tags:
20782078
- check-types-typescript-next
20792079
commands:
20802080
- func: install dependencies
20812081
vars:
2082-
NODE_LTS_NAME: erbium
2082+
NODE_LTS_NAME: fermium
20832083
- func: check types
20842084
vars:
20852085
TS_VERSION: next
@@ -2089,7 +2089,7 @@ tasks:
20892089
commands:
20902090
- func: install dependencies
20912091
vars:
2092-
NODE_LTS_NAME: erbium
2092+
NODE_LTS_NAME: fermium
20932093
- func: compile driver
20942094
vars:
20952095
TS_VERSION: current
@@ -2099,7 +2099,7 @@ tasks:
20992099
commands:
21002100
- func: install dependencies
21012101
vars:
2102-
NODE_LTS_NAME: erbium
2102+
NODE_LTS_NAME: fermium
21032103
- func: check types
21042104
vars:
21052105
TS_VERSION: current
@@ -2109,7 +2109,7 @@ tasks:
21092109
commands:
21102110
- func: install dependencies
21112111
vars:
2112-
NODE_LTS_NAME: erbium
2112+
NODE_LTS_NAME: fermium
21132113
- func: check types
21142114
vars:
21152115
TS_VERSION: 4.1.6
@@ -2137,7 +2137,7 @@ tasks:
21372137
commands:
21382138
- func: install dependencies
21392139
vars:
2140-
NODE_LTS_NAME: erbium
2140+
NODE_LTS_NAME: fermium
21412141
- func: bootstrap mongo-orchestration
21422142
vars:
21432143
VERSION: '5.0'
@@ -2146,15 +2146,15 @@ tasks:
21462146
- name: run-bson-ext-integration
21472147
func: run bson-ext test
21482148
vars:
2149-
NODE_LTS_NAME: erbium
2149+
NODE_LTS_NAME: fermium
21502150
TEST_NPM_SCRIPT: check:test
21512151
- name: run-bson-ext-unit
21522152
tags:
21532153
- run-custom-dependency-tests
21542154
commands:
21552155
- func: install dependencies
21562156
vars:
2157-
NODE_LTS_NAME: erbium
2157+
NODE_LTS_NAME: fermium
21582158
- func: bootstrap mongo-orchestration
21592159
vars:
21602160
VERSION: '5.0'
@@ -2163,15 +2163,15 @@ tasks:
21632163
- name: run-bson-ext-unit
21642164
func: run bson-ext test
21652165
vars:
2166-
NODE_LTS_NAME: erbium
2166+
NODE_LTS_NAME: fermium
21672167
TEST_NPM_SCRIPT: check:unit
21682168
- name: run-custom-csfle-tests-5.0-pinned-commit
21692169
tags:
21702170
- run-custom-dependency-tests
21712171
commands:
21722172
- func: install dependencies
21732173
vars:
2174-
NODE_LTS_NAME: erbium
2174+
NODE_LTS_NAME: fermium
21752175
- func: bootstrap mongo-orchestration
21762176
vars:
21772177
VERSION: '5.0'
@@ -2186,7 +2186,7 @@ tasks:
21862186
commands:
21872187
- func: install dependencies
21882188
vars:
2189-
NODE_LTS_NAME: erbium
2189+
NODE_LTS_NAME: fermium
21902190
- func: bootstrap mongo-orchestration
21912191
vars:
21922192
VERSION: '5.0'
@@ -2201,7 +2201,7 @@ tasks:
22012201
commands:
22022202
- func: install dependencies
22032203
vars:
2204-
NODE_LTS_NAME: erbium
2204+
NODE_LTS_NAME: fermium
22052205
- func: bootstrap mongo-orchestration
22062206
vars:
22072207
VERSION: rapid
@@ -2216,7 +2216,7 @@ tasks:
22162216
commands:
22172217
- func: install dependencies
22182218
vars:
2219-
NODE_LTS_NAME: erbium
2219+
NODE_LTS_NAME: fermium
22202220
- func: bootstrap mongo-orchestration
22212221
vars:
22222222
VERSION: rapid
@@ -2231,7 +2231,7 @@ tasks:
22312231
commands:
22322232
- func: install dependencies
22332233
vars:
2234-
NODE_LTS_NAME: erbium
2234+
NODE_LTS_NAME: fermium
22352235
- func: bootstrap mongo-orchestration
22362236
vars:
22372237
VERSION: latest
@@ -2246,7 +2246,7 @@ tasks:
22462246
commands:
22472247
- func: install dependencies
22482248
vars:
2249-
NODE_LTS_NAME: erbium
2249+
NODE_LTS_NAME: fermium
22502250
- func: bootstrap mongo-orchestration
22512251
vars:
22522252
VERSION: latest
@@ -2668,54 +2668,6 @@ buildvariants:
26682668
run_on: rhel80-large
26692669
tasks:
26702670
- run-spec-benchmark-tests
2671-
- name: rhel80-large-erbium
2672-
display_name: rhel8 Node12
2673-
run_on: rhel80-large
2674-
expansions:
2675-
NODE_LTS_NAME: erbium
2676-
CLIENT_ENCRYPTION: true
2677-
tasks:
2678-
- test-latest-server
2679-
- test-latest-replica_set
2680-
- test-latest-sharded_cluster
2681-
- test-rapid-server
2682-
- test-rapid-replica_set
2683-
- test-rapid-sharded_cluster
2684-
- test-6.0-server
2685-
- test-6.0-replica_set
2686-
- test-6.0-sharded_cluster
2687-
- test-5.0-server
2688-
- test-5.0-replica_set
2689-
- test-5.0-sharded_cluster
2690-
- test-4.4-server
2691-
- test-4.4-replica_set
2692-
- test-4.4-sharded_cluster
2693-
- test-4.2-server
2694-
- test-4.2-replica_set
2695-
- test-4.2-sharded_cluster
2696-
- test-4.0-server
2697-
- test-4.0-replica_set
2698-
- test-4.0-sharded_cluster
2699-
- test-3.6-server
2700-
- test-3.6-replica_set
2701-
- test-3.6-sharded_cluster
2702-
- test-latest-server-v1-api
2703-
- test-atlas-connectivity
2704-
- test-atlas-data-lake
2705-
- test-5.0-load-balanced
2706-
- test-6.0-load-balanced
2707-
- test-latest-load-balanced
2708-
- test-auth-kerberos
2709-
- test-auth-ldap
2710-
- test-socks5
2711-
- test-socks5-tls
2712-
- test-zstd-compression
2713-
- test-snappy-compression
2714-
- test-tls-support-latest
2715-
- test-tls-support-6.0
2716-
- test-tls-support-5.0
2717-
- test-tls-support-4.4
2718-
- test-tls-support-4.2
27192671
- name: rhel80-large-fermium
27202672
display_name: rhel8 Node14
27212673
run_on: rhel80-large
@@ -2899,48 +2851,6 @@ buildvariants:
28992851
- test-tls-support-5.0
29002852
- test-tls-support-4.4
29012853
- test-tls-support-4.2
2902-
- name: windows-64-vs2019-erbium
2903-
display_name: Windows (VS2019) Node12
2904-
run_on: windows-64-vs2019-large
2905-
expansions:
2906-
NODE_LTS_NAME: erbium
2907-
MSVS_VERSION: 2019
2908-
tasks:
2909-
- test-latest-server
2910-
- test-latest-replica_set
2911-
- test-latest-sharded_cluster
2912-
- test-rapid-server
2913-
- test-rapid-replica_set
2914-
- test-rapid-sharded_cluster
2915-
- test-6.0-server
2916-
- test-6.0-replica_set
2917-
- test-6.0-sharded_cluster
2918-
- test-5.0-server
2919-
- test-5.0-replica_set
2920-
- test-5.0-sharded_cluster
2921-
- test-4.4-server
2922-
- test-4.4-replica_set
2923-
- test-4.4-sharded_cluster
2924-
- test-4.2-server
2925-
- test-4.2-replica_set
2926-
- test-4.2-sharded_cluster
2927-
- test-4.0-server
2928-
- test-4.0-replica_set
2929-
- test-4.0-sharded_cluster
2930-
- test-3.6-server
2931-
- test-3.6-replica_set
2932-
- test-3.6-sharded_cluster
2933-
- test-latest-server-v1-api
2934-
- test-atlas-data-lake
2935-
- test-socks5
2936-
- test-socks5-tls
2937-
- test-zstd-compression
2938-
- test-snappy-compression
2939-
- test-tls-support-latest
2940-
- test-tls-support-6.0
2941-
- test-tls-support-5.0
2942-
- test-tls-support-4.4
2943-
- test-tls-support-4.2
29442854
- name: windows-64-vs2019-fermium
29452855
display_name: Windows (VS2019) Node14
29462856
run_on: windows-64-vs2019-large
@@ -3095,7 +3005,7 @@ buildvariants:
30953005
display_name: MONGODB-AWS Auth test
30963006
run_on: ubuntu1804-large
30973007
expansions:
3098-
NODE_LTS_NAME: erbium
3008+
NODE_LTS_NAME: fermium
30993009
tasks:
31003010
- aws-latest-auth-test-run-aws-auth-test-with-regular-aws-credentials
31013011
- aws-latest-auth-test-run-aws-auth-test-with-assume-role-credentials
@@ -3162,7 +3072,7 @@ buildvariants:
31623072
display_name: Serverless Test
31633073
run_on: rhel80-large
31643074
expansions:
3165-
NODE_LTS_NAME: erbium
3075+
NODE_LTS_NAME: fermium
31663076
tasks:
31673077
- serverless_task_group
31683078
- name: rhel8-no-auth-tests

.evergreen/generate_evergreen_tasks.js

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ const yaml = require('js-yaml');
33

44
const MONGODB_VERSIONS = ['latest', 'rapid', '6.0', '5.0', '4.4', '4.2', '4.0', '3.6'];
55
const versions = [
6-
{ codeName: 'erbium', versionNumber: 12 },
76
{ codeName: 'fermium', versionNumber: 14 },
87
{ codeName: 'gallium', versionNumber: 16 },
98
{ codeName: 'hydrogen', versionNumber: 18 }

etc/notes/CHANGES_5.0.0.md

+4
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,7 @@ This means `npm` will let you know if the version of snappy you have installed i
2424
```sh
2525
npm install --save snappy@7
2626
```
27+
28+
### Minimum supported Node version
29+
30+
The new minimum supported Node.js version is now 14.20.1.

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
},
9393
"license": "Apache-2.0",
9494
"engines": {
95-
"node": ">=12.9.0"
95+
"node": ">=14.20.1"
9696
},
9797
"bugs": {
9898
"url": "https://jira.mongodb.org/projects/NODE/issues/"

0 commit comments

Comments
 (0)