Skip to content

Commit d9caec6

Browse files
committed
feat(NODE-6884): remove support for 4.0
1 parent ae61756 commit d9caec6

File tree

6 files changed

+7
-444
lines changed

6 files changed

+7
-444
lines changed

.evergreen/ci_matrix_constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const MONGODB_VERSIONS = ['latest', 'rapid', '8.0', '7.0', '6.0', '5.0', '4.4', '4.2', '4.0'];
1+
const MONGODB_VERSIONS = ['latest', 'rapid', '8.0', '7.0', '6.0', '5.0', '4.4', '4.2'];
22
const versions = [
33
{ codeName: 'gallium', versionNumber: 16, npmVersion: 9 },
44
{ codeName: 'hydrogen', versionNumber: 18, npmVersion: 10 },

.evergreen/config.yml

Lines changed: 0 additions & 123 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,51 +1292,6 @@ tasks:
12921292
- func: install dependencies
12931293
- func: bootstrap mongo-orchestration
12941294
- func: run tests
1295-
- name: test-4.0-server
1296-
tags:
1297-
- '4.0'
1298-
- server
1299-
commands:
1300-
- command: expansions.update
1301-
type: setup
1302-
params:
1303-
updates:
1304-
- {key: VERSION, value: '4.0'}
1305-
- {key: TOPOLOGY, value: server}
1306-
- {key: AUTH, value: auth}
1307-
- func: install dependencies
1308-
- func: bootstrap mongo-orchestration
1309-
- func: run tests
1310-
- name: test-4.0-replica_set
1311-
tags:
1312-
- '4.0'
1313-
- replica_set
1314-
commands:
1315-
- command: expansions.update
1316-
type: setup
1317-
params:
1318-
updates:
1319-
- {key: VERSION, value: '4.0'}
1320-
- {key: TOPOLOGY, value: replica_set}
1321-
- {key: AUTH, value: auth}
1322-
- func: install dependencies
1323-
- func: bootstrap mongo-orchestration
1324-
- func: run tests
1325-
- name: test-4.0-sharded_cluster
1326-
tags:
1327-
- '4.0'
1328-
- sharded_cluster
1329-
commands:
1330-
- command: expansions.update
1331-
type: setup
1332-
params:
1333-
updates:
1334-
- {key: VERSION, value: '4.0'}
1335-
- {key: TOPOLOGY, value: sharded_cluster}
1336-
- {key: AUTH, value: auth}
1337-
- func: install dependencies
1338-
- func: bootstrap mongo-orchestration
1339-
- func: run tests
13401295
- name: test-latest-server-v1-api
13411296
tags:
13421297
- latest
@@ -2682,54 +2637,6 @@ tasks:
26822637
- func: install dependencies
26832638
- func: bootstrap mongo-orchestration
26842639
- func: run tests
2685-
- name: test-4.0-server-noauth
2686-
tags:
2687-
- '4.0'
2688-
- server
2689-
- noauth
2690-
commands:
2691-
- command: expansions.update
2692-
type: setup
2693-
params:
2694-
updates:
2695-
- {key: VERSION, value: '4.0'}
2696-
- {key: TOPOLOGY, value: server}
2697-
- {key: AUTH, value: noauth}
2698-
- func: install dependencies
2699-
- func: bootstrap mongo-orchestration
2700-
- func: run tests
2701-
- name: test-4.0-replica_set-noauth
2702-
tags:
2703-
- '4.0'
2704-
- replica_set
2705-
- noauth
2706-
commands:
2707-
- command: expansions.update
2708-
type: setup
2709-
params:
2710-
updates:
2711-
- {key: VERSION, value: '4.0'}
2712-
- {key: TOPOLOGY, value: replica_set}
2713-
- {key: AUTH, value: noauth}
2714-
- func: install dependencies
2715-
- func: bootstrap mongo-orchestration
2716-
- func: run tests
2717-
- name: test-4.0-sharded_cluster-noauth
2718-
tags:
2719-
- '4.0'
2720-
- sharded_cluster
2721-
- noauth
2722-
commands:
2723-
- command: expansions.update
2724-
type: setup
2725-
params:
2726-
updates:
2727-
- {key: VERSION, value: '4.0'}
2728-
- {key: TOPOLOGY, value: sharded_cluster}
2729-
- {key: AUTH, value: noauth}
2730-
- func: install dependencies
2731-
- func: bootstrap mongo-orchestration
2732-
- func: run tests
27332640
- name: test-lambda-example
27342641
tags:
27352642
- latest
@@ -3195,9 +3102,6 @@ buildvariants:
31953102
- test-4.2-server
31963103
- test-4.2-replica_set
31973104
- test-4.2-sharded_cluster
3198-
- test-4.0-server
3199-
- test-4.0-replica_set
3200-
- test-4.0-sharded_cluster
32013105
- test-latest-server-v1-api
32023106
- test-x509-authentication
32033107
- test-atlas-connectivity
@@ -3255,9 +3159,6 @@ buildvariants:
32553159
- test-4.2-server
32563160
- test-4.2-replica_set
32573161
- test-4.2-sharded_cluster
3258-
- test-4.0-server
3259-
- test-4.0-replica_set
3260-
- test-4.0-sharded_cluster
32613162
- test-latest-server-v1-api
32623163
- test-x509-authentication
32633164
- test-atlas-connectivity
@@ -3315,9 +3216,6 @@ buildvariants:
33153216
- test-4.2-server
33163217
- test-4.2-replica_set
33173218
- test-4.2-sharded_cluster
3318-
- test-4.0-server
3319-
- test-4.0-replica_set
3320-
- test-4.0-sharded_cluster
33213219
- test-latest-server-v1-api
33223220
- test-x509-authentication
33233221
- test-atlas-connectivity
@@ -3375,9 +3273,6 @@ buildvariants:
33753273
- test-4.2-server
33763274
- test-4.2-replica_set
33773275
- test-4.2-sharded_cluster
3378-
- test-4.0-server
3379-
- test-4.0-replica_set
3380-
- test-4.0-sharded_cluster
33813276
- test-latest-server-v1-api
33823277
- test-x509-authentication
33833278
- test-atlas-connectivity
@@ -3433,9 +3328,6 @@ buildvariants:
34333328
- test-4.2-server
34343329
- test-4.2-replica_set
34353330
- test-4.2-sharded_cluster
3436-
- test-4.0-server
3437-
- test-4.0-replica_set
3438-
- test-4.0-sharded_cluster
34393331
- test-latest-server-v1-api
34403332
- test-x509-authentication
34413333
- test-atlas-connectivity
@@ -3492,9 +3384,6 @@ buildvariants:
34923384
- test-4.2-server
34933385
- test-4.2-replica_set
34943386
- test-4.2-sharded_cluster
3495-
- test-4.0-server
3496-
- test-4.0-replica_set
3497-
- test-4.0-sharded_cluster
34983387
- test-latest-server-v1-api
34993388
- test-socks5
35003389
- test-socks5-tls
@@ -3541,9 +3430,6 @@ buildvariants:
35413430
- test-4.2-server
35423431
- test-4.2-replica_set
35433432
- test-4.2-sharded_cluster
3544-
- test-4.0-server
3545-
- test-4.0-replica_set
3546-
- test-4.0-sharded_cluster
35473433
- test-latest-server-v1-api
35483434
- test-socks5
35493435
- test-socks5-tls
@@ -3590,9 +3476,6 @@ buildvariants:
35903476
- test-4.2-server
35913477
- test-4.2-replica_set
35923478
- test-4.2-sharded_cluster
3593-
- test-4.0-server
3594-
- test-4.0-replica_set
3595-
- test-4.0-sharded_cluster
35963479
- test-latest-server-v1-api
35973480
- test-socks5
35983481
- test-socks5-tls
@@ -3639,9 +3522,6 @@ buildvariants:
36393522
- test-4.2-server
36403523
- test-4.2-replica_set
36413524
- test-4.2-sharded_cluster
3642-
- test-4.0-server
3643-
- test-4.0-replica_set
3644-
- test-4.0-sharded_cluster
36453525
- test-latest-server-v1-api
36463526
- test-socks5
36473527
- test-socks5-tls
@@ -3816,9 +3696,6 @@ buildvariants:
38163696
- test-4.2-server-noauth
38173697
- test-4.2-replica_set-noauth
38183698
- test-4.2-sharded_cluster-noauth
3819-
- test-4.0-server-noauth
3820-
- test-4.0-replica_set-noauth
3821-
- test-4.0-sharded_cluster-noauth
38223699
- name: rhel8-test-lambda
38233700
display_name: AWS Lambda handler tests
38243701
run_on: rhel80-large

src/cmap/wire_protocol/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
export const MIN_SUPPORTED_SERVER_VERSION = '4.0';
1+
export const MIN_SUPPORTED_SERVER_VERSION = '4.2';
22
export const MAX_SUPPORTED_SERVER_VERSION = '8.0';
3-
export const MIN_SUPPORTED_WIRE_VERSION = 7;
3+
export const MIN_SUPPORTED_WIRE_VERSION = 8;
44
export const MAX_SUPPORTED_WIRE_VERSION = 25;
55
export const MIN_SUPPORTED_QE_WIRE_VERSION = 21;
66
export const MIN_SUPPORTED_QE_SERVER_VERSION = '7.0';

0 commit comments

Comments
 (0)