Skip to content

Commit 8cf6579

Browse files
authored
PYTHON-5542 Prepare for 4.15.1 Release (#2537)
1 parent 7a07c02 commit 8cf6579

File tree

2 files changed

+30
-5
lines changed

2 files changed

+30
-5
lines changed

doc/changelog.rst

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,28 @@
11
Changelog
22
=========
33

4+
Changes in Version 4.15.1 (2025/09/16)
5+
--------------------------------------
6+
7+
Version 4.15.1 is a bug fix release.
8+
9+
- Fixed a bug in :meth:`~pymongo.synchronous.encryption.ClientEncryption.encrypt`
10+
and :meth:`~pymongo.asynchronous.encryption.AsyncClientEncryption.encrypt`
11+
that would cause a ``TypeError`` when using ``pymongocrypt<1.16`` by passing
12+
an unsupported ``type_opts`` parameter even if Queryable Encryption text
13+
queries beta was not used.
14+
15+
- Fixed a bug in ``AsyncMongoClient`` that caused a ``ServerSelectionTimeoutError``
16+
when used with ``uvicorn``, ``FastAPI``, or ``uvloop``.
17+
18+
Issues Resolved
19+
...............
20+
21+
See the `PyMongo 4.15.1 release notes in JIRA`_ for the list of resolved issues
22+
in this release.
23+
24+
.. _PyMongo 4.15.1 release notes in JIRA: https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=46486
25+
426
Changes in Version 4.15.0 (2025/09/10)
527
--------------------------------------
628

@@ -13,17 +35,20 @@ PyMongo 4.15 brings a number of changes including:
1335
:attr:`~pymongo.encryption.QueryType.SUBSTRINGPREVIEW`,
1436
as part of the experimental Queryable Encryption text queries beta.
1537
``pymongocrypt>=1.16`` is required for text query support.
16-
- Added :class:`bson.decimal128.DecimalEncoder` and :class:`bson.decimal128.DecimalDecoder`
17-
to support encoding and decoding of BSON Decimal128 values to decimal.Decimal values using the TypeRegistry API.
38+
- Added :class:`bson.decimal128.DecimalEncoder` and
39+
:class:`bson.decimal128.DecimalDecoder`
40+
to support encoding and decoding of BSON Decimal128 values to
41+
decimal.Decimal values using the TypeRegistry API.
1842
- Added support for Windows ``arm64`` wheels.
1943

2044
Changes in Version 4.14.1 (2025/08/19)
2145
--------------------------------------
2246

2347
Version 4.14.1 is a bug fix release.
2448

25-
- Fixed a bug in ``MongoClient.append_metadata()`` and ``AsyncMongoClient.append_metadata()``
26-
that allowed duplicate ``DriverInfo.name`` to be appended to the metadata.
49+
- Fixed a bug in ``MongoClient.append_metadata()`` and
50+
``AsyncMongoClient.append_metadata()``
51+
that allowed duplicate ``DriverInfo.name`` to be appended to the metadata.
2752

2853
Issues Resolved
2954
...............

pymongo/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import re
1919
from typing import List, Tuple, Union
2020

21-
__version__ = "4.16.0.dev0"
21+
__version__ = "4.15.1"
2222

2323

2424
def get_version_tuple(version: str) -> Tuple[Union[int, str], ...]:

0 commit comments

Comments
 (0)