- Fix regression in PyMongo 3.5.0 that causes idle sockets to be closed almost instantly when maxIdleTimeMS is set. Idle sockets are now closed after maxIdleTimeMS milliseconds.
- pymongo.mongo_client.MongoClient.max_idle_time_ms now returns milliseconds instead of seconds.
- Properly import and use the monotonic library for monotonic time when it is installed.
- pymongo.collection.Collection.aggregate() now ignores the batchSize argument when running a pipeline with a $out stage.
- Always send handshake metadata for new connections.
To see the full list of resolved issues in this release, check out our Jira: https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=19438
Downloads: https://pypi.python.org/pypi/pymongo/3.6.1
Docs - http://api.mongodb.org/python/3.6.1
Changelog - http://api.mongodb.org/python/3.6.1/changelog.html
As always, please let us know if you have any problems by opening a PYTHON ticket in Jira: https://jira.mongodb.org/browse/PYTHON
- The PyMongo dev team