From 611681140700c774d606d0cc1bce288b2b6683f8 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Tue, 7 Oct 2025 15:51:44 -0500 Subject: [PATCH] PYTHON-5609 Prepare for 4.15.3 Release (#2584) --- doc/changelog.rst | 18 ++++++++++++++++++ pymongo/_version.py | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/doc/changelog.rst b/doc/changelog.rst index 9ca1d47e9..bde6125c4 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -1,6 +1,24 @@ Changelog ========= +Changes in Version 4.15.3 (2025/10/07) +-------------------------------------- + +Version 4.15.3 is a bug fix release. + +- Fixed a memory leak when raising :class:`bson.errors.InvalidDocument` with C extensions. +- Fixed the return type of the :meth:`~pymongo.asynchronous.collection.AsyncCollection.distinct`, + :meth:`~pymongo.synchronous.collection.Collection.distinct`, :meth:`pymongo.asynchronous.cursor.AsyncCursor.distinct`, + and :meth:`pymongo.asynchronous.cursor.AsyncCursor.distinct` methods. + +Issues Resolved +............... + +See the `PyMongo 4.15.3 release notes in JIRA`_ for the list of resolved issues +in this release. + +.. _PyMongo 4.15.3 release notes in JIRA: https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=47293 + Changes in Version 4.15.2 (2025/10/01) -------------------------------------- diff --git a/pymongo/_version.py b/pymongo/_version.py index b5c177930..e517f5677 100644 --- a/pymongo/_version.py +++ b/pymongo/_version.py @@ -18,7 +18,7 @@ from __future__ import annotations import re from typing import List, Tuple, Union -__version__ = "4.15.3.dev0" +__version__ = "4.15.3" def get_version_tuple(version: str) -> Tuple[Union[int, str], ...]: