diff --git a/doc/changelog.rst b/doc/changelog.rst index 6e8a8de0b8..48853f7ee7 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -15,9 +15,16 @@ Bug fixes variable was ignored because PyMongo read the misspelled ``MONGOB_LOG_MAX_DOCUMENT_LENGTH`` instead. The misspelled name is still read when ``MONGODB_LOG_MAX_DOCUMENT_LENGTH`` is not set (`PYTHON-5939`_). +- Fixed a bug where the C extension's BSON decoder could read past the end + of the input buffer when decoding an array whose last element is + truncated (`PYTHON-6256`_). +- Hardened the driver's handling of stapled OCSP responses to better + conform with the OCSP specification (`PYTHON-6189`_). .. _PYTHON-6183: https://jira.mongodb.org/browse/PYTHON-6183 .. _PYTHON-5939: https://jira.mongodb.org/browse/PYTHON-5939 +.. _PYTHON-6189: https://jira.mongodb.org/browse/PYTHON-6189 +.. _PYTHON-6256: https://jira.mongodb.org/browse/PYTHON-6256 Changes in Version 4.20.1 (2026/11/19) -------------------------------------- diff --git a/pymongo/_version.py b/pymongo/_version.py index 1df9a532fd..7eeff050b0 100644 --- a/pymongo/_version.py +++ b/pymongo/_version.py @@ -18,7 +18,7 @@ import re -__version__ = "4.20.2.dev0" +__version__ = "4.20.2" def get_version_tuple(version: str) -> tuple[int | str, ...]: