@@ -16,20 +16,46 @@ Changes in Version 3.12.0
1616Notable improvements
1717....................
1818
19+ - Added support for MongoDB 5.0.
1920- Support for MongoDB Versioned API, see :class: `~pymongo.server_api.ServerApi `.
21+ - Support for snapshot reads on secondaries (see :ref: `snapshot-reads-ref `).
22+ - Support for Azure and GCP KMS providers for client side field level
23+ encryption. See the docstring for :class: `~pymongo.mongo_client.MongoClient `,
24+ :class: `~pymongo.encryption_options.AutoEncryptionOpts `,
25+ and :mod: `~pymongo.encryption `.
26+ - Support AWS authentication with temporary credentials when connecting to KMS
27+ in client side field level encryption.
28+ - Support for connecting to load balanced MongoDB clusters via the new
29+ ``loadBalanced `` URI option.
30+ - Support for creating timeseries collections via the ``timeseries `` and
31+ ``expireAfterSeconds `` arguments to
32+ :meth: `~pymongo.database.Database.create_collection `.
2033- Added :attr: `pymongo.mongo_client.MongoClient.topology_description `.
2134- Added hash support to :class: `~pymongo.mongo_client.MongoClient `,
2235 :class: `~pymongo.database.Database ` and
2336 :class: `~pymongo.collection.Collection ` (`PYTHON-2466 `_).
2437- Improved the error message returned by
2538 :meth: `~pymongo.collection.Collection.insert_many ` when supplied with an
2639 argument of incorrect type (`PYTHON-1690 `_).
40+ - Added session and read concern support to
41+ :meth: `~pymongo.collection.Collection.find_raw_batches `
42+ and :meth: `~pymongo.collection.Collection.aggregate_raw_batches `.
2743
2844Bug fixes
2945.........
3046
3147- Fixed a bug that could cause the driver to deadlock during automatic
3248 client side field level encryption (`PYTHON-2472 `_).
49+ - Fixed a potential deadlock when garbage collecting an unclosed exhaust
50+ :class: `~pymongo.cursor.Cursor `.
51+ - Fixed an bug where using gevent.Timeout to timeout an operation could
52+ lead to a deadlock.
53+ - Fixed the following bug with Atlas Data Lake. When closing cursors,
54+ pymongo now sends killCursors with the namespace returned the cursor's
55+ initial command response.
56+ - Fixed a bug in :class: `~pymongo.cursor.RawBatchCursor ` that caused it to
57+ return an empty bytestring when the cursor contained no results. It now
58+ raises :exc: `StopIteration ` instead.
3359
3460Deprecations
3561............
@@ -46,7 +72,10 @@ Deprecations
4672- Deprecated :class: `~pymongo.ismaster.IsMaster ` and :mod: `~pymongo.ismaster `
4773 which will be removed in PyMongo 4.0 and are replaced by
4874 :class: `~pymongo.hello.Hello ` and :mod: `~pymongo.hello ` which provide the
49- same API.
75+ same API.
76+ - Deprecated the :mod: `pymongo.messeage ` module.
77+ - Deprecated the ``ssl_keyfile `` and ``ssl_certfile `` URI options in favor
78+ of ``tlsCertificateKeyFile `` (see :doc: `examples/tls `).
5079
5180.. _PYTHON-2466 : https://jira.mongodb.org/browse/PYTHON-2466
5281.. _PYTHON-1690 : https://jira.mongodb.org/browse/PYTHON-1690
0 commit comments