Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Commit f91221e

Browse files
committed
Warn about default Binary subtype change in 2.0
1 parent 59ccaa9 commit f91221e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/changelog.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ API changes:
4646
used PyMongo will treat the specified host:port pair(s) as a seed list and
4747
connect using replica set behavior.
4848

49+
.. warning:: The default subtype for :class:`~bson.binary.Binary` has changed
50+
from :const:`~bson.binary.OLD_BINARY_SUBTYPE` (2) to
51+
:const:`~bson.binary.BINARY_SUBTYPE` (0).
52+
4953
Issues Resolved
5054
...............
5155

0 commit comments

Comments
 (0)