PyMongo 4.15.1 Released

We are pleased to announce the 4.15.1 release of PyMongo. This is a bugfix release that addresses the following:

  • Fixed a bug in pymongo.synchronous.encryption.ClientEncryption.encrypt and pymongo.asynchronous.encryption.AsyncClientEncryption.encrypt that would cause a TypeError when using pymongocrypt<1.16 by passing an unsupported type_opts parameter even if Queryable Encryption text queries beta was not used.
  • Fixed a bug in AsyncMongoClient that caused a ServerSelectionTimeoutError when used with uvicorn, FastAPI, or uvloop.