File tree 5 files changed +26
-12
lines changed
5 files changed +26
-12
lines changed Original file line number Diff line number Diff line change 1
- :mod: `encryption_options ` -- Options to configure client side encryption
2
- ========================================================================
1
+ :mod: `encryption_options ` -- Support for automatic client side encryption
2
+ =========================================================================
3
3
4
4
.. automodule :: pymongo.encryption_options
5
- :members:
5
+ :synopsis: Support for automatic client side encryption
6
+
7
+ .. autoclass :: pymongo.encryption_options.AutoEncryptionOpts
8
+ :members:
Original file line number Diff line number Diff line change @@ -11,6 +11,12 @@ Version 3.9 adds support for MongoDB 4.2. Highlights include:
11
11
- New method :meth: `pymongo.client_session.ClientSession.with_transaction ` to
12
12
support conveniently running a transaction in a session with automatic
13
13
retries and at-most-once semantics.
14
+ - Initial support for client side field level encyption. See the docstring for
15
+ :class: `~pymongo.mongo_client.MongoClient `,
16
+ :class: `~pymongo.encryption_options.AutoEncryptionOpts `,
17
+ and :mod: `~pymongo.encryption ` for details. **Note: Support for client side
18
+ encryption is in beta. Backwards-breaking changes may be made before the
19
+ final release. **
14
20
- Added the ``max_commit_time_ms `` parameter to
15
21
:meth: `~pymongo.client_session.ClientSession.start_transaction `.
16
22
- Implement the `URI options specification `_ in the
@@ -68,8 +74,9 @@ Version 3.9 adds support for MongoDB 4.2. Highlights include:
68
74
the buffer protocol.
69
75
- Resume tokens can now be accessed from a ``ChangeStream `` cursor using the
70
76
:attr: `~pymongo.change_stream.ChangeStream.resume_token ` attribute.
71
- - Connections now survive primary step-down. Applications should expect less
72
- socket connection turnover during replica set elections.
77
+ - Connections now survive primary step-down when using MongoDB 4.2+.
78
+ Applications should expect less socket connection turnover during
79
+ replica set elections.
73
80
74
81
Unavoidable breaking changes:
75
82
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- """Client side encryption.
15
+ """Support for explicit client side encryption.
16
16
17
17
**Support for client side encryption is in beta. Backwards-breaking changes
18
18
may be made before the final release.**
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- """Options to configure client side encryption."""
15
+ """Support for automatic client side encryption.
16
+
17
+ **Support for client side encryption is in beta. Backwards-breaking changes
18
+ may be made before the final release.**
19
+ """
16
20
17
21
import copy
18
22
Original file line number Diff line number Diff line change @@ -479,11 +479,11 @@ def __init__(
479
479
| (If not set explicitly, client side encryption will not be enabled.)
480
480
481
481
- `auto_encryption_opts`: A
482
- :class:`~pymongo.encryption .AutoEncryptionOpts` which configures
483
- this client to automatically encrypt collection commands and
484
- automatically decrypt results. **Support for client side encryption
485
- is in beta. Backwards-breaking changes may be made before the
486
- final release.**
482
+ :class:`~pymongo.encryption_options .AutoEncryptionOpts` which
483
+ configures this client to automatically encrypt collection commands
484
+ and automatically decrypt results. **Support for client side
485
+ encryption is in beta. Backwards-breaking changes may be made
486
+ before the final release.**
487
487
488
488
.. mongodoc:: connections
489
489
You can’t perform that action at this time.
0 commit comments