Docs Menu

Compatibility

On this page

  • MongoDB Compatibility
  • Language Compatibility
  • About Compatibility Tables
  • About MongoDB Compatibility
  • About Language Compatibility

The following compatibility table specifies the recommended versions of the MongoDB Node.js driver for use with MongoDB.

The first column lists the driver version.

What information does the MongoDB Compatibility table show?

Node.js Driver Version
MongoDB 6.0
MongoDB 5.0
MongoDB 4.4
MongoDB 4.2
MongoDB 4.0
MongoDB 3.6
MongoDB 3.4
MongoDB 3.2
MongoDB 3.0
MongoDB 2.6
4.8
4.7
4.6
4.5
4.4
4.3
4.2
4.1
4.0
3.7 [1]
3.6
3.5
3.4
3.3
3.2.1
3.1
3.0
2.2.12
2.0.14
1.4.29
[1] When using Node.js Driver version 3.7, you must set the useUnifiedTopology flag to true for certain features.

The following compatibility table specifies the recommended versions of the MongoDB Node.js driver for use with a specific version of Node.js.

The first column lists the driver version.

What information does the Language Compatibility table show?

Node.js Driver Version
Node.js v16.x.x
Node.js v14.x.x
Node.js v12.x.x
Node.js v10.x.x
Node.js v8.X.X
Node.js v6.X.X
Node.js v4.X.X
Node.js v0.12.X
Node.js v0.10.X
Node.js v0.8.X
4.X
3.7.X
3.6.X
3.5.X
3.4.X
3.3.X
3.2.X
3.1.X
3.0.X
2.2.X
2.1.X
2.0.X
>=1.4.18
1.4.X

We include compatibility tables for each version of the driver to guide your decisions on what versions you need to ensure your environment remains fully operational.

We maintain the following tables for each driver:

Read the sections below for detailed explanations of each table.

In the MongoDB Compatibility table, the columns are labeled with versions of MongoDB server and the rows are labeled with major release versions of the driver.

The check marks (✓) indicate that the driver can access all the features of that specific version of MongoDB server unless those features have been deprecated or removed.

If you are upgrading your server version, your current driver should continue to function properly, but may not be able to access the features introduced in the newer server versions. We recommend using the newest compatible driver when upgrading your server version.

If you are upgrading your driver version, you can use the table to identify which version you need to access all the newest features included in a specific version of the server. Also note that any of the minor or patch versions share the same compatibility as the major version release.

We recommend that you avoid using older versions of the drivers that do not appear on the chart because they are unsupported.

Note

Although the drivers do not advertise compatibility with the versions of the server released after them, they are usually interoperable.

In the Language Compatibility table, the columns are labeled with versions of the language (e.g. Node.js, Python, etc.) and the rows are labeled with major release versions of the driver.

The check marks (✓) indicate that the code in the driver is fully compatible with the version of the language.

←  Issues & HelpWhat's New →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.