@@ -6,19 +6,19 @@ The official [MongoDB](https://www.mongodb.com/) driver for Node.js.
6
6
7
7
## Quick Links
8
8
9
- | Site | Link |
10
- | ------------------------- | ----------------------------------------------------------------------------------------------------------------- |
11
- | Documentation | [ www.mongodb.com/docs/drivers/node ] ( https://www.mongodb.com/docs/drivers/node ) |
12
- | API Docs | [ mongodb.github.io/node-mongodb-native] ( https://mongodb.github.io/node-mongodb-native ) |
13
- | ` npm ` package | [ www.npmjs.com/package/mongodb ] ( https://www.npmjs.com/package/mongodb ) |
14
- | MongoDB | [ www.mongodb.com ] ( https://www.mongodb.com ) |
15
- | MongoDB University | [ learn.mongodb.com] ( https://learn.mongodb.com/catalog?labels=%5B%22Language%22%5D&values=%5B%22Node.js%22%5D ) |
16
- | MongoDB Developer Center | [ www.mongodb.com/developer ] ( https://www.mongodb.com/developer/languages/javascript/ ) |
9
+ | Site | Link |
10
+ | ------------------------ | -------------------- ----------------------------------------------------------------------------------------------------------------- |
11
+ | Documentation | [ www.mongodb.com/docs/drivers/node ] ( https://www.mongodb.com/docs/drivers/node ) |
12
+ | API Docs | [ mongodb.github.io/node-mongodb-native] ( https://mongodb.github.io/node-mongodb-native ) |
13
+ | ` npm ` package | [ www.npmjs.com/package/mongodb ] ( https://www.npmjs.com/package/mongodb ) |
14
+ | MongoDB | [ www.mongodb.com ] ( https://www.mongodb.com ) |
15
+ | MongoDB University | [ learn.mongodb.com] ( https://learn.mongodb.com/catalog?labels=%5B%22Language%22%5D&values=%5B%22Node.js%22%5D ) |
16
+ | MongoDB Developer Center | [ www.mongodb.com/developer ] ( https://www.mongodb.com/developer/languages/javascript/ ) |
17
17
| Stack Overflow | [ stackoverflow.com] ( https://stackoverflow.com/search?q=%28%5Btypescript%5D+or+%5Bjavascript%5D+or+%5Bnode.js%5D%29+and+%5Bmongodb%5D ) |
18
- | Source Code | [ github.com/mongodb/node-mongodb-native] ( https://github.com/mongodb/node-mongodb-native ) |
19
- | Upgrade to v5 | [ etc/notes/CHANGES_5.0.0.md] ( https://github.com/mongodb/node-mongodb-native/blob/HEAD/etc/notes/CHANGES_5.0.0.md ) |
20
- | Contributing | [ CONTRIBUTING.md] ( https://github.com/mongodb/node-mongodb-native/blob/HEAD/CONTRIBUTING.md ) |
21
- | Changelog | [ HISTORY.md] ( https://github.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md ) |
18
+ | Source Code | [ github.com/mongodb/node-mongodb-native] ( https://github.com/mongodb/node-mongodb-native ) |
19
+ | Upgrade to v5 | [ etc/notes/CHANGES_5.0.0.md] ( https://github.com/mongodb/node-mongodb-native/blob/HEAD/etc/notes/CHANGES_5.0.0.md ) |
20
+ | Contributing | [ CONTRIBUTING.md] ( https://github.com/mongodb/node-mongodb-native/blob/HEAD/CONTRIBUTING.md ) |
21
+ | Changelog | [ HISTORY.md] ( https://github.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md ) |
22
22
23
23
### Bugs / Feature Requests
24
24
@@ -42,11 +42,24 @@ Change history can be found in [`HISTORY.md`](https://github.com/mongodb/node-mo
42
42
43
43
### Compatibility
44
44
45
- For version compatibility matrices, please refer to the following links:
45
+ For server and runtime version compatibility matrices, please refer to the following links:
46
46
47
47
- [ MongoDB] ( https://www.mongodb.com/docs/drivers/node/current/compatibility/#mongodb-compatibility )
48
48
- [ NodeJS] ( https://www.mongodb.com/docs/drivers/node/current/compatibility/#language-compatibility )
49
49
50
+ #### Component Support Matrix
51
+
52
+ The following table describes add-on component version compatibility for the Node.js driver. Only packages with versions in these supported ranges are stable when used in combination.
53
+
54
+ | Component | ` mongodb@3.x ` | ` mongodb@4.x ` | ` mongodb@5.x ` | ` mongodb@6.x ` |
55
+ | ------------------------------------------------------------------------------------ | ------------------ | ------------------ | ------------------ | ------------- |
56
+ | [ bson] ( https://www.npmjs.com/package/bson ) | ^1.0.0 | ^4.0.0 | ^5.0.0 | ^6.0.0 |
57
+ | [ bson-ext] ( https://www.npmjs.com/package/bson-ext ) | ^1.0.0 \|\| ^2.0.0 | ^4.0.0 | N/A | N/A |
58
+ | [ kerberos] ( https://www.npmjs.com/package/kerberos ) | ^1.0.0 | ^1.0.0 \|\| ^2.0.0 | ^1.0.0 \|\| ^2.0.0 | ^2.0.1 |
59
+ | [ mongodb-client-encryption] ( https://www.npmjs.com/package/mongodb-client-encryption ) | ^1.0.0 | ^1.0.0 \|\| ^2.0.0 | ^2.3.0 | ^6.0.0 |
60
+ | [ mongodb-legacy] ( https://www.npmjs.com/package/mongodb-legacy ) | N/A | ^4.0.0 | ^5.0.0 | ^6.0.0 |
61
+ | [ @mongodb-js/zstd ] ( https://www.npmjs.com/package/@mongodb-js/zstd ) | N/A | ^1.0.0 | ^1.0.0 | ^1.1.0 |
62
+
50
63
#### Typescript Version
51
64
52
65
We recommend using the latest version of typescript, however we currently ensure the driver's public types compile against ` typescript@4.1.6 ` .
0 commit comments