Release Notes - Motor - Version 2.2 - HTML format

Bug

  • [MOTOR-320] - Motor change stream misses events compared to equivalent pymongo code
  • [MOTOR-488] - InvalidStateError in AgnosticLatentCommandCursor when future is cancelled
  • [MOTOR-600] - AsyncIOMotorGridOut.open() fails with AttributeError: '_asyncio.Future' object has no attribute '_future'

Epic

  • [MOTOR-373] - Drop support for Python 2.7 and 3.4

Task

  • [MOTOR-382] - Bump wire protocol version for 4.4
  • [MOTOR-415] - Remove quoted text/code for __aenter__ and __aexit__ helpers
  • [MOTOR-416] - Remove quoted text/code for __aiter__ and __anext__ helpers
  • [MOTOR-417] - Stop using tornado.gen for coroutine programming
  • [MOTOR-419] - Update setup.py to require Python >= 3.5
  • [MOTOR-420] - Update documentation to remove legacy patterns
  • [MOTOR-433] - support ability to pass hint to update
  • [MOTOR-451] - Handle absence of 'ns' field in index specifications returned from listIndexes
  • [MOTOR-454] - Support for allowDiskUse on find operations
  • [MOTOR-455] - Allow passing hint to findAndModify update and replace operations
  • [MOTOR-468] - Test asyncio with Python 3.5, and 3.6 on Evergreen
  • [MOTOR-470] - Add NPS Survey to all off-domain driver documentation
  • [MOTOR-473] - Fully test with PyPy in Evergreen
  • [MOTOR-485] - Migrate macos-1012 Evergreen builds to macos-1014
  • [MOTOR-496] - Increase Windows Minimum Version to 10 / Server 2016 for MongoDB 4.4+ testing
  • [MOTOR-505] - Allow hinting the delete command
  • [MOTOR-517] - Update comment in Transactions withTxn examples for the manual.
  • [MOTOR-581] - Remove __future__ imports
  • [MOTOR-582] - Deprecate AgnosticBaseCursor.fetch_next and AgnosticBaseCursor.next_object methods
  • [MOTOR-587] - Remove motor_py2_compat submodule
  • [MOTOR-589] - Fix synchrotest failures due to defunct import from PyMongo
  • [MOTOR-590] - Add MongoDB 4.4 to the Motor's test matrix
  • [MOTOR-594] - Update PyMongo dependency to 3.11.0
  • [MOTOR-595] - Add Python 3 to trove classifiers in setup.py
  • [MOTOR-596] - Deprecate MongoClient is_locked, fsync, and unlock helpers
  • [MOTOR-597] - Stop using deprecated loop argument and fix other warnings
  • [MOTOR-598] - Fix doctest failures
  • [MOTOR-599] - Update PyMongo docstrings with code blocks for 4.4

Improvement

  • [MOTOR-484] - @coroutine decorator is deprecated in Python 3.8
  • [MOTOR-538] - Revisions to "Issues and Help" pages of drivers documentation
  • [MOTOR-572] - Treat CursorNotFound as a resumable change stream error
  • [MOTOR-577] - Record framework as asyncio instead of None

Edit/Copy Release Notes

The text area below allows the project release notes to be edited and copied to another document.