PyMongoCrypt 1.19.0 Released

The PyMongo team is pleased to announce the 1.19.0 release of PyMongoCrypt - the Python bindings for libmongocrypt. This release has the following features:

  • Adds support for Queryable Encryption Prefix, Suffix, and Substring Queries for MongoDB 9.0.
    • Renamed the text_opts parameter of ExplicitEncryptOpts and ExplicitEncrypter.encrypt to string_opts, matching the “string” algorithm it configures. This is a breaking change.
    • The “textPreview” algorithm has been removed. Use “string” instead.
    • The “prefixPreview”, “suffixPreview”, and “substringPreview” query types are now deprecated aliases of “prefix”, “suffix”, and “substring”. Prefer the new names, as a future release removes the aliases.
  • Bundles libmongocrypt 1.20.4 in release wheels.