We are pleased to announce the 4.15.3 release of PyMongo. This is a bugfix release that addresses the following:
- Fixed a memory leak when raising
bson.errors.InvalidDocumentwith C extensions. - Fixed the return type of the
pymongo.asynchronous.collection.AsyncCollection.distinct,
pymongo.synchronous.collection.Collection.distinct,pymongo.asynchronous.cursor.AsyncCursor.distinct,
andpymongo.asynchronous.cursor.AsyncCursor.distinctmethods.