Skip to content

Commit 71e8812

Browse files
committed
feat(NODE-6884): remove support for 4.0
1 parent 6a35701 commit 71e8812

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
@@ -2681,54 +2636,6 @@ tasks:
26812636
- func: install dependencies
26822637
- func: bootstrap mongo-orchestration
26832638
- func: run tests
2684-
- name: test-4.0-server-noauth
2685-
tags:
2686-
- '4.0'
2687-
- server
2688-
- noauth
2689-
commands:
2690-
- command: expansions.update
2691-
type: setup
2692-
params:
2693-
updates:
2694-
- {key: VERSION, value: '4.0'}
2695-
- {key: TOPOLOGY, value: server}
2696-
- {key: AUTH, value: noauth}
2697-
- func: install dependencies
2698-
- func: bootstrap mongo-orchestration
2699-
- func: run tests
2700-
- name: test-4.0-replica_set-noauth
2701-
tags:
2702-
- '4.0'
2703-
- replica_set
2704-
- noauth
2705-
commands:
2706-
- command: expansions.update
2707-
type: setup
2708-
params:
2709-
updates:
2710-
- {key: VERSION, value: '4.0'}
2711-
- {key: TOPOLOGY, value: replica_set}
2712-
- {key: AUTH, value: noauth}
2713-
- func: install dependencies
2714-
- func: bootstrap mongo-orchestration
2715-
- func: run tests
2716-
- name: test-4.0-sharded_cluster-noauth
2717-
tags:
2718-
- '4.0'
2719-
- sharded_cluster
2720-
- noauth
2721-
commands:
2722-
- command: expansions.update
2723-
type: setup
2724-
params:
2725-
updates:
2726-
- {key: VERSION, value: '4.0'}
2727-
- {key: TOPOLOGY, value: sharded_cluster}
2728-
- {key: AUTH, value: noauth}
2729-
- func: install dependencies
2730-
- func: bootstrap mongo-orchestration
2731-
- func: run tests
27322639
- name: test-lambda-example
27332640
tags:
27342641
- latest
@@ -3194,9 +3101,6 @@ buildvariants:
31943101
- test-4.2-server
31953102
- test-4.2-replica_set
31963103
- test-4.2-sharded_cluster
3197-
- test-4.0-server
3198-
- test-4.0-replica_set
3199-
- test-4.0-sharded_cluster
32003104
- test-latest-server-v1-api
32013105
- test-x509-authentication
32023106
- test-atlas-connectivity
@@ -3254,9 +3158,6 @@ buildvariants:
32543158
- test-4.2-server
32553159
- test-4.2-replica_set
32563160
- test-4.2-sharded_cluster
3257-
- test-4.0-server
3258-
- test-4.0-replica_set
3259-
- test-4.0-sharded_cluster
32603161
- test-latest-server-v1-api
32613162
- test-x509-authentication
32623163
- test-atlas-connectivity
@@ -3314,9 +3215,6 @@ buildvariants:
33143215
- test-4.2-server
33153216
- test-4.2-replica_set
33163217
- test-4.2-sharded_cluster
3317-
- test-4.0-server
3318-
- test-4.0-replica_set
3319-
- test-4.0-sharded_cluster
33203218
- test-latest-server-v1-api
33213219
- test-x509-authentication
33223220
- test-atlas-connectivity
@@ -3374,9 +3272,6 @@ buildvariants:
33743272
- test-4.2-server
33753273
- test-4.2-replica_set
33763274
- test-4.2-sharded_cluster
3377-
- test-4.0-server
3378-
- test-4.0-replica_set
3379-
- test-4.0-sharded_cluster
33803275
- test-latest-server-v1-api
33813276
- test-x509-authentication
33823277
- test-atlas-connectivity
@@ -3432,9 +3327,6 @@ buildvariants:
34323327
- test-4.2-server
34333328
- test-4.2-replica_set
34343329
- test-4.2-sharded_cluster
3435-
- test-4.0-server
3436-
- test-4.0-replica_set
3437-
- test-4.0-sharded_cluster
34383330
- test-latest-server-v1-api
34393331
- test-x509-authentication
34403332
- test-atlas-connectivity
@@ -3491,9 +3383,6 @@ buildvariants:
34913383
- test-4.2-server
34923384
- test-4.2-replica_set
34933385
- test-4.2-sharded_cluster
3494-
- test-4.0-server
3495-
- test-4.0-replica_set
3496-
- test-4.0-sharded_cluster
34973386
- test-latest-server-v1-api
34983387
- test-socks5
34993388
- test-socks5-tls
@@ -3540,9 +3429,6 @@ buildvariants:
35403429
- test-4.2-server
35413430
- test-4.2-replica_set
35423431
- test-4.2-sharded_cluster
3543-
- test-4.0-server
3544-
- test-4.0-replica_set
3545-
- test-4.0-sharded_cluster
35463432
- test-latest-server-v1-api
35473433
- test-socks5
35483434
- test-socks5-tls
@@ -3589,9 +3475,6 @@ buildvariants:
35893475
- test-4.2-server
35903476
- test-4.2-replica_set
35913477
- test-4.2-sharded_cluster
3592-
- test-4.0-server
3593-
- test-4.0-replica_set
3594-
- test-4.0-sharded_cluster
35953478
- test-latest-server-v1-api
35963479
- test-socks5
35973480
- test-socks5-tls
@@ -3638,9 +3521,6 @@ buildvariants:
36383521
- test-4.2-server
36393522
- test-4.2-replica_set
36403523
- test-4.2-sharded_cluster
3641-
- test-4.0-server
3642-
- test-4.0-replica_set
3643-
- test-4.0-sharded_cluster
36443524
- test-latest-server-v1-api
36453525
- test-socks5
36463526
- test-socks5-tls
@@ -3815,9 +3695,6 @@ buildvariants:
38153695
- test-4.2-server-noauth
38163696
- test-4.2-replica_set-noauth
38173697
- test-4.2-sharded_cluster-noauth
3818-
- test-4.0-server-noauth
3819-
- test-4.0-replica_set-noauth
3820-
- test-4.0-sharded_cluster-noauth
38213698
- name: rhel8-test-lambda
38223699
display_name: AWS Lambda handler tests
38233700
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)