Queryable Encryption Compatibility
Queryable Encryption with equality queries is generally available (GA) in MongoDB 7.0. To use Queryable Encryption, upgrade MongoDB to version 7.0 with compatible drivers. The Queryable Encryption Public Preview released with MongoDB 6.0 is no longer supported, and is incompatible with the GA feature. For more information, see the MongoDB 7.0 compatibility notes.
This page describes the MongoDB and driver versions with which Queryable Encryption is compatible.
MongoDB Edition, Topology, and Version Compatibility
Automatic encryption with Queryable Encryption is only available with MongoDB Enterprise Edition and MongoDB Atlas, version 6.0 or later. You can use Queryable Encryption on a MongoDB replica set or sharded cluster, but not a standalone instance.
Driver Compatibility Table
Queryable Encryption is only available the following official compatible driver versions or later:
Driver | Encryption Library |
---|---|
Node.js version 4.7.0 or later. | mongodb-client-encryption version 2.2.0-alpha.6 or later |
C#/.NET version 2.17.1 or later. | No additional dependency |
Java (Synchronous) version 4.7.1 or later. | MongoCrypt version 1.5.2 or later |
Pymongo version 4.1.1 or later. | pymongocrypt version 1.3.1 or later |
Go version 1.10.0-beta1 or later. | libmongocrypt version 1.5.2 or later |
C version 1.22.0 or later. | libmongocrypt version 1.5.2 or later |
PHP version 1.14.0beta1 or later. | No additional dependency |
Ruby version 2.18.0.beta1 or later. | libmongocrypt version 1.5.2 or later |