|
1 | 1 | Changelog |
2 | 2 | ========= |
3 | 3 |
|
4 | | -Changes in Version 3.11.0 |
5 | | -------------------------- |
| 4 | +Changes in Version 3.11.0b0 |
| 5 | +--------------------------- |
6 | 6 |
|
7 | 7 | Version 3.11 adds support for MongoDB 4.4. Highlights include: |
8 | 8 |
|
9 | | -- Deprecated the ``oplog_replay`` parameter to |
10 | | - :meth:`pymongo.collection.Collection.find`. Starting in MongoDB 4.4, the |
11 | | - server optimizes queries against the oplog collection without requiring |
12 | | - the user to set this flag. |
13 | | -- Added index hinting support to the |
14 | | - :meth:`pymongo.collection.Collection.replace_one`, |
15 | | - :meth:`pymongo.collection.Collection.update_one`, |
16 | | - :meth:`pymongo.collection.Collection.update_many`, |
17 | | - :meth:`pymongo.collection.Collection.find_one_and_replace`, |
18 | | - and :meth:`pymongo.collection.Collection.find_one_and_update` commands. |
19 | | -- Added index hinting support to the |
20 | | - :class:`pymongo.operations.ReplaceOne`, |
21 | | - :class:`pymongo.operations.UpdateOne`, |
22 | | - and :class:`pymongo.operations.UpdateMany` bulk operations. |
23 | | -- Support for :ref:`OCSP` (Online Certificate Status Protocol) |
| 9 | +- Support for :ref:`OCSP` (Online Certificate Status Protocol). |
24 | 10 | - Support for `PyOpenSSL <https://pypi.org/project/pyOpenSSL/>`_ as an |
25 | 11 | alternative TLS implementation. PyOpenSSL is required for :ref:`OCSP` |
26 | 12 | support. It will also be installed when using the "tls" extra if the |
27 | 13 | version of Python in use is older than 2.7.9. |
28 | 14 | - Support for the :ref:`MONGODB-AWS` authentication mechanism. |
| 15 | +- Added index hinting support to the |
| 16 | + :meth:`~pymongo.collection.Collection.replace_one`, |
| 17 | + :meth:`~pymongo.collection.Collection.update_one`, |
| 18 | + :meth:`~pymongo.collection.Collection.update_many`, |
| 19 | + :meth:`~pymongo.collection.Collection.find_one_and_replace`, |
| 20 | + :meth:`~pymongo.collection.Collection.find_one_and_update`, |
| 21 | + :meth:`~pymongo.collection.Collection.delete_one`, |
| 22 | + :meth:`~pymongo.collection.Collection.delete_many`, and |
| 23 | + :meth:`~pymongo.collection.Collection.find_one_and_delete` commands. |
| 24 | +- Added index hinting support to the |
| 25 | + :class:`~pymongo.operations.ReplaceOne`, |
| 26 | + :class:`~pymongo.operations.UpdateOne`, |
| 27 | + :class:`~pymongo.operations.UpdateMany`, |
| 28 | + :class:`~pymongo.operations.DeleteOne`, and |
| 29 | + :class:`~pymongo.operations.DeleteMany` bulk operations. |
29 | 30 | - Added the ``background`` parameter to |
30 | 31 | :meth:`pymongo.database.Database.validate_collection`. For a description |
31 | 32 | of this parameter see the MongoDB documentation for the `validate command`_. |
32 | 33 | - Added the ``allow_disk_use`` parameters to |
33 | 34 | :meth:`pymongo.collection.Collection.find`. |
| 35 | +- Support for creating collections in multi-document transactions with |
| 36 | + :meth:`~pymongo.database.Database.create_collection` on MongoDB 4.4+. |
| 37 | +- Deprecated the ``oplog_replay`` parameter to |
| 38 | + :meth:`pymongo.collection.Collection.find`. Starting in MongoDB 4.4, the |
| 39 | + server optimizes queries against the oplog collection without requiring |
| 40 | + the user to set this flag. |
34 | 41 |
|
35 | 42 | .. _validate command: https://docs.mongodb.com/manual/reference/command/validate/ |
36 | 43 |
|
|
0 commit comments