Release Notes - Python Driver - Version 3.10 - HTML format

Bug

  • [PYTHON-1954] - Background thread creates connections while holding the topology lock
  • [PYTHON-1966] - unicode(PyMongoError) fails with UnicodeDecodeError on Python 2
  • [PYTHON-1995] - Test failure - test_spec_missingKey_Insert_with_encryption_on_a_missing_key
  • [PYTHON-1996] - Test failure - TestConnectionsSurvivePrimaryStepDown is missing require_test_commands
  • [PYTHON-2002] - dnspython errors causing SRV polling tests to fail on CPython 2.7
  • [PYTHON-2006] - ChangeStreamsWCustomTypesTestMixin fails with DuplicateKeyError
  • [PYTHON-2007] - Suggested pip command to install pymongocrypt does not work
  • [PYTHON-2022] - GridFS spec test can fail with UnboundLocalError: local variable 'result' referenced before assignment
  • [PYTHON-2023] - Test failure - test.test_database.TestDatabaseAggregation.test_database_aggregation_fake_cursor
  • [PYTHON-2043] - Spawning mongocryptd leads to ResourceWarning: subprocess XXX is still running
  • [PYTHON-2055] - Large bulk inserts with compressor throws DBException error
  • [PYTHON-2061] - decode_file_iter raises ValueError instead of InvalidBSON when reading an improperly-formatted size
  • [PYTHON-2062] - Retryable writes can return the wrong results when using a MongoClient before and after a fork()
  • [PYTHON-2063] - Fix failures due to command specification as dict instead of SON

New Feature

Task

  • [PYTHON-1918] - Stop using BSON.encode and BSON.decode functions
  • [PYTHON-1972] - Provide transaction example using new withTransaction API
  • [PYTHON-1993] - Add documentation examples for client side encryption
  • [PYTHON-2001] - Fix warnings emitted by Python 3.8
  • [PYTHON-2025] - Remove unused tox and appveyor configs
  • [PYTHON-2039] - test/dns directory causes ImportWarning on Python 2
  • [PYTHON-2053] - Test with pypy3.6
  • [PYTHON-2054] - Remove TestTransactionExamples.test_transactions_beta
  • [PYTHON-2070] - Migrate Windows MongoDB 4.3+ testing to Windows 10/2016+
  • [PYTHON-2074] - MockMonitor class does properly mock the MonitorBase API

Improvement

  • [PYTHON-1660] - Driver session pools must be cleared after forking
  • [PYTHON-1911] - Implement missing prose tests from change streams specification
  • [PYTHON-2059] - getmore explicitly sets readPreference to primary even when connection set secondary
  • [PYTHON-2064] - Collect Windows mongod crash dumps from mongo-orchestration

Edit/Copy Release Notes

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