From 4ea0288eaadc1387c00c2cc4ea725b18648e01c1 Mon Sep 17 00:00:00 2001 From: Casey Clements Date: Fri, 20 Jun 2025 09:40:05 -0400 Subject: [PATCH] PYTHON-5126 Updated changelog to reflect breaking change in bson.binary.BinaryVector (#2394) Co-authored-by: Steven Silvester --- doc/changelog.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/changelog.rst b/doc/changelog.rst index ca4784f91..35a9770a1 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -8,6 +8,9 @@ PyMongo 4.14 brings a number of changes including: - Added :attr:`bson.codec_options.TypeRegistry.codecs` and :attr:`bson.codec_options.TypeRegistry.fallback_encoder` properties to allow users to directly access the type codecs and fallback encoder for a given :class:`bson.codec_options.TypeRegistry`. +- Introduces a minor breaking change. When encoding :class:`bson.binary.BinaryVector`, a ``ValueError`` will be raised + if the 'padding' metadata field is < 0 or > 7, or non-zero for any type other than PACKED_BIT. + Changes in Version 4.13.2 (2025/06/17) --------------------------------------