Release Notes - Python Driver - Version 3.6 - HTML format

Bug

  • [PYTHON-1367] - BSON decoder should ignore uuidRepresentation when decoding Binary subtype 4
  • [PYTHON-1371] - The tailable cursor cannot get document through __getitem__(index) on MongoDB v3.4+
  • [PYTHON-1375] - Run pymongo-mockup-tests against PyMongo master
  • [PYTHON-1384] - Test Failure - test_ssl.TestSSL.test_cert_ssl_validation_hostname_matching (SSL)
  • [PYTHON-1385] - _first_batch responses are not upconverted for command monitoring
  • [PYTHON-1386] - bson.Regex.__eq__ does not compare properly
  • [PYTHON-1387] - json_util._HAS_OBJECT_PAIRS_HOOK check is too simplistic
  • [PYTHON-1388] - A mistake about authentication examples.
  • [PYTHON-1389] - Doctest failures against MongoDB master
  • [PYTHON-1391] - Silently ignoring greenlet.GreenletExit exception
  • [PYTHON-1394] - Close ChangeStream cursor when the resume token is missing.
  • [PYTHON-1401] - CRUD spec tests "result" field is not always compared.
  • [PYTHON-1406] - Test Failure - test_session.TestCausalConsistency.test_writes
  • [PYTHON-1407] - Test Failure - test_session: Sessions are not supported by this MongoDB deployment
  • [PYTHON-1414] - Test suite isn't actually running under Jython
  • [PYTHON-1420] - Obtuse heartbeatFrequencyMS error message
  • [PYTHON-1421] - Topology.open does not always ensure Server monitor threads are open
  • [PYTHON-1427] - AttributeError: 'Cursor' object has no attribute '_Cursor__killed'
  • [PYTHON-1429] - Keyword argument 'user' should say 'username' in Pymongo authentication

Epic

New Feature

Task

  • [PYTHON-1280] - Index management helpers should support maxTimeMS
  • [PYTHON-1299] - Drop support for MongoDB 2.4
  • [PYTHON-1310] - Add example documentation for creating, updating, and removing users through Database.command
  • [PYTHON-1311] - Deprecate user management helpers
  • [PYTHON-1325] - Deprecate the "useCursor" aggregate option
  • [PYTHON-1352] - Move BSON type map docs from bson.son.SON to bson
  • [PYTHON-1355] - Implement Collection enumeration spec
  • [PYTHON-1360] - Reduce frequency of testing platforms besides macOS, Windows, and Ubuntu 12.04
  • [PYTHON-1364] - Drop support for CPython 3.3
  • [PYTHON-1368] - Reduce test frequency of CPython 3.5
  • [PYTHON-1369] - Reduce test frequency of Jython
  • [PYTHON-1370] - Remove redundant Auth/SSL testing
  • [PYTHON-1376] - Update pymongo-mockup-tests for PyMongo 3.6
  • [PYTHON-1390] - Migrate Evergreen testing to RHEL6.2
  • [PYTHON-1393] - ChangeStreams Examples for Docs
  • [PYTHON-1398] - Sort out sessions and causal consistency support for raw query methods
  • [PYTHON-1400] - Amazon Linux (Enterprise) No local packages or download links found for unittest2<=0.8.0
  • [PYTHON-1409] - Improve server compatibility error messages
  • [PYTHON-1412] - Add 3.6 to Evergreen testing matrix
  • [PYTHON-1413] - Don't add readConcern to write commands when causal consistency is enabled.
  • [PYTHON-1417] - Resync retryable writes test
  • [PYTHON-1418] - Update initial DNS seedlist implementation for spec changes
  • [PYTHON-1423] - Update MockupDB for PyMongo 3.6

Improvement

  • [PYTHON-1372] - Avoid or optimize RawBSONDocument usage in ChangeStream
  • [PYTHON-1380] - Port "compatibility policy" document to PyMongo 3
  • [PYTHON-1383] - Don't mention "connect=False" in fork warning
  • [PYTHON-1395] - Use rhel62-small rather than rhel62-test in evergreen configuration
  • [PYTHON-1399] - Update the MongoDB connection URL for GSSAPI authentication
  • [PYTHON-1404] - _cbson_dict_to_bson should not copy RawBSONDocument.raw object
  • [PYTHON-1405] - Test ChangeStreams on mongos
  • [PYTHON-1408] - Cursor iteration should complete (abnormally) when another thread closes the cursor
  • [PYTHON-1411] - mongo-python-driver builds are not reproducible

Edit/Copy Release Notes

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