Skip to content

Commit 3664925

Browse files
authored
PYTHON-4228 Update changelog and bump to 4.7 version (#1617)
1 parent b6f0081 commit 3664925

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

doc/changelog.rst

+14-6
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,26 @@ Changes in Version 4.7
66

77
PyMongo 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`.

pymongo/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
from typing import Tuple, Union
1919

20-
version_tuple: Tuple[Union[int, str], ...] = (4, 7, 0, ".dev0")
20+
version_tuple: Tuple[Union[int, str], ...] = (4, 7, 0)
2121

2222

2323
def get_version_string() -> str:

0 commit comments

Comments
 (0)