PYTHON-5126 Updated changelog to reflect breaking change in bson.binary.BinaryVector (#2394)

Co-authored-by: Steven Silvester <steve.silvester@mongodb.com>
This commit is contained in:
Casey Clements 2025-06-20 09:40:05 -04:00 committed by GitHub
parent 336163aaa0
commit 4ea0288eaa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)
--------------------------------------