Queryable Encryption Compatibility
Queryable Encryption with equality queries is generally available (GA) in MongoDB 7.0 and later. The Queryable Encryption Public Preview, released in version 6.0, is no longer supported. Data encrypted using the Public Preview is incompatible with the feature release. For more information, see Compatibility Changes in MongoDB 7.0.
This page describes the MongoDB and driver versions with which Queryable Encryption is compatible.
MongoDB Edition, Topology, and Version Compatibility
Queryable Encryption with automatic encryption is only available with MongoDB Enterprise Edition and MongoDB Atlas. You can use Queryable Encryption on a MongoDB replica set or sharded cluster, but not a standalone instance.
Explicit encryption is available with MongoDB Community and Enterprise Edition.
Driver Compatibility Table
Queryable Encryption with equality queries requires the following minimum versions for compatible MongoDB drivers:
Driver | Encryption Library |
---|---|
mongodb-client-encryption version 2.8.0 or later | |
Node.js version 6.0.0 or later | mongodb-client-encryption with the same major version number as the Node.js driver. For example, Node.js driver v6.x.x requires |
C#/.NET version 2.20.0 or later | No additional dependency |
Java (Synchronous) version 4.10.0 or later | mongodb-crypt version 1.8.0 or later |
PyMongo version 4.4 or later | pymongocrypt version 1.6 or later |
Go version 1.12 or later | libmongocrypt version 1.8.0 or later |
C version 1.24.0 or later | libmongocrypt version 1.8.0 or later |
C++ version 3.8.0 or later | libmongocrypt version 1.8.0 or later |
PHP version 1.16 or later | No additional dependency |
Ruby version 2.19 or later | libmongocrypt-helper version 1.8.0 or later |
Rust version 2.6.0 or later | libmongocrypt version 1.8.0 or later |