@@ -6,18 +6,26 @@ Changes in Version 4.7
6
6
7
7
PyMongo 4.7 brings a number of improvements including:
8
8
9
- - Added the :class: `pymongo.hello.Hello.connection_id `,
10
- :attr: `pymongo.monitoring.CommandStartedEvent.server_connection_id `,
11
- :attr: `pymongo.monitoring.CommandSucceededEvent.server_connection_id `, and
12
- :attr: `pymongo.monitoring.CommandFailedEvent.server_connection_id ` properties.
13
- - Fixed a bug where inflating a :class: `~bson.raw_bson.RawBSONDocument ` containing a :class: `~bson.code.Code ` would cause an error.
9
+ - Added support for ``MONGODB-OIDC `` authentication. The MONGODB-OIDC mechanism authenticates
10
+ using an OpenID Connect (OIDC) access token.
11
+ The driver supports OIDC for workload identity, defined as an identity you assign to a software workload
12
+ (such as an application, service, script, or container) to authenticate and access other services and resources.
13
+ Please see :doc: `examples/authentication ` for more information.
14
+ - Added support for Python's `native logging library <https://docs.python.org/3/howto/logging.html >`_,
15
+ enabling developers to customize the verbosity of log messages for their applications.
16
+ Please see :doc: `examples/logging ` for more information.
14
17
- Significantly improved the performance of encoding BSON documents to JSON.
15
- - Support for named KMS providers for client side field level encryption.
18
+ - Added support for named KMS providers for client side field level encryption.
16
19
Previously supported KMS providers were only: aws, azure, gcp, kmip, and local.
17
20
The KMS provider is now expanded to support name suffixes (e.g. local:myname).
18
21
Named KMS providers enables more than one of each KMS provider type to be configured.
19
22
See the docstring for :class: `~pymongo.encryption_options.AutoEncryptionOpts `.
20
23
Note that named KMS providers requires pymongocrypt >=1.9 and libmongocrypt >=1.9.
24
+ - Added the :class: `pymongo.hello.Hello.connection_id `,
25
+ :attr: `pymongo.monitoring.CommandStartedEvent.server_connection_id `,
26
+ :attr: `pymongo.monitoring.CommandSucceededEvent.server_connection_id `, and
27
+ :attr: `pymongo.monitoring.CommandFailedEvent.server_connection_id ` properties.
28
+ - Fixed a bug where inflating a :class: `~bson.raw_bson.RawBSONDocument ` containing a :class: `~bson.code.Code ` would cause an error.
21
29
- :meth: `~pymongo.encryption.ClientEncryption.encrypt ` and
22
30
:meth: `~pymongo.encryption.ClientEncryption.encrypt_expression ` now allow ``key_id ``
23
31
to be passed in as a :class: `uuid.UUID `.
0 commit comments