Skip to content

Commit 4ea0288

Browse files
PYTHON-5126 Updated changelog to reflect breaking change in bson.binary.BinaryVector (#2394)
Co-authored-by: Steven Silvester <[email protected]>
1 parent 336163a commit 4ea0288

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/changelog.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ PyMongo 4.14 brings a number of changes including:
88
- Added :attr:`bson.codec_options.TypeRegistry.codecs` and :attr:`bson.codec_options.TypeRegistry.fallback_encoder` properties
99
to allow users to directly access the type codecs and fallback encoder for a given :class:`bson.codec_options.TypeRegistry`.
1010

11+
- Introduces a minor breaking change. When encoding :class:`bson.binary.BinaryVector`, a ``ValueError`` will be raised
12+
if the 'padding' metadata field is < 0 or > 7, or non-zero for any type other than PACKED_BIT.
13+
1114
Changes in Version 4.13.2 (2025/06/17)
1215
--------------------------------------
1316

0 commit comments

Comments
 (0)