@@ -6,18 +6,26 @@ Changes in Version 4.7
66
77PyMongo 4.7 brings a number of improvements including:
88
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.
1417- 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.
1619 Previously supported KMS providers were only: aws, azure, gcp, kmip, and local.
1720 The KMS provider is now expanded to support name suffixes (e.g. local:myname).
1821 Named KMS providers enables more than one of each KMS provider type to be configured.
1922 See the docstring for :class: `~pymongo.encryption_options.AutoEncryptionOpts `.
2023 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.
2129- :meth: `~pymongo.encryption.ClientEncryption.encrypt ` and
2230 :meth: `~pymongo.encryption.ClientEncryption.encrypt_expression ` now allow ``key_id ``
2331 to be passed in as a :class: `uuid.UUID `.
0 commit comments