@@ -12,6 +12,7 @@ PyMongo 4.11 brings a number of changes including:
1212
1313- Dropped support for Python 3.8.
1414- Dropped support for MongoDB 3.6.
15+ - Dropped support for the MONGODB-CR authenticate mechanism, which is no longer supported by MongoDB 4.0+.
1516- Added support for free-threaded Python with the GIL disabled. For more information see:
1617 `Free-threaded CPython <https://docs.python.org/3.13/whatsnew/3.13.html#whatsnew313-free-threaded-cpython >`_.
1718- :attr: `~pymongo.asynchronous.mongo_client.AsyncMongoClient.address ` and
@@ -23,6 +24,15 @@ PyMongo 4.11 brings a number of changes including:
2324 :meth: `~pymongo.collection.Collection.update_one `, :meth: `~pymongo.collection.Collection.replace_one `,
2425 :class: `~pymongo.operations.UpdateOne `, and
2526 :class: `~pymongo.operations.UpdateMany `,
27+ - :meth: `~pymongo.mongo_client.MongoClient.bulk_write ` and
28+ :meth: `~pymongo.asynchronous.mongo_client.AsyncMongoClient.bulk_write ` now throw an error
29+ when ``ordered=True `` or ``verboseResults=True `` are used with unacknowledged writes.
30+ These are unavoidable breaking changes.
31+ - Fixed a bug in :const: `bson.json_util.dumps ` where a :class: `bson.datetime_ms.DatetimeMS ` would
32+ be incorrectly encoded as ``'{"$date": "X"}' `` instead of ``'{"$date": X}' `` when using the
33+ legacy MongoDB Extended JSON datetime representation.
34+ - Fixed a bug where :const: `bson.json_util.loads ` would raise an IndexError when parsing an invalid
35+ ``"$date" `` instead of a ValueError.
2636
2737Issues Resolved
2838...............
@@ -1022,7 +1032,7 @@ See the `PyMongo 4.0 release notes in JIRA`_ for the list of resolved issues
10221032in this release.
10231033
10241034.. _PyMongo 4.0 release notes in JIRA : https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=18463
1025- .. _DBRef specification : https://github.com/mongodb/specifications/blob/5a8c8d7 /source/dbref.rst
1035+ .. _DBRef specification : https://github.com/mongodb/specifications/blob/master /source/dbref/dbref.md
10261036
10271037Changes in Version 3.13.0 (2022/11/01)
10281038--------------------------------------
@@ -1557,7 +1567,7 @@ Unavoidable breaking changes:
15571567 bumped to 1.16.0. This is a breaking change for applications that use
15581568 PyMongo's SRV support with a version of ``dnspython `` older than 1.16.0.
15591569
1560- .. _URI options specification : https://github.com/mongodb/specifications/blob/master/source/uri-options/uri-options.rst
1570+ .. _URI options specification : https://github.com/mongodb/specifications/blob/master/source/uri-options/uri-options.md
15611571
15621572
15631573Issues Resolved
@@ -1581,7 +1591,7 @@ Changes in Version 3.8.0 (2019/04/22)
15811591 must upgrade to PyPy3.5+.
15821592
15831593- :class: `~bson.objectid.ObjectId ` now implements the `ObjectID specification
1584- version 0.2 <https://github.com/mongodb/specifications/blob/master/source/objectid.rst > `_.
1594+ version 0.2 <https://github.com/mongodb/specifications/blob/master/source/bson- objectid/objectid.md > `_.
15851595- For better performance and to better follow the GridFS spec,
15861596 :class: `~gridfs.grid_file.GridOut ` now uses a single cursor to read all the
15871597 chunks in the file. Previously, each chunk in the file was queried
@@ -1943,7 +1953,7 @@ Highlights include:
19431953 :class: `~pymongo.operations.UpdateOne `, and
19441954 :class: `~pymongo.operations.UpdateMany `.
19451955- Implemented the `MongoDB Extended JSON
1946- <https://github.com/mongodb/specifications/blob/master/source/extended-json.rst > `_
1956+ <https://github.com/mongodb/specifications/blob/master/source/extended-json/extended-json.md > `_
19471957 specification.
19481958- :class: `~bson.decimal128.Decimal128 ` now works when cdecimal is installed.
19491959- PyMongo is now tested against a wider array of operating systems and CPU
0 commit comments