Release Notes - Python Driver - Version 2.9 - HTML format

Bug

  • [PYTHON-933] - "maxPoolSize=0" allowed, causes hang
  • [PYTHON-951] - Corrupt GridFS files can send GridOut.read / readline into an infinite loop
  • [PYTHON-977] - Some BSON types are hashable in python 2 but not python 3

Epic

Task

  • [PYTHON-832] - Re-enable copy_database tests in auth.py for MongoDB 3.0+
  • [PYTHON-879] - Backport new read preference classes from 3.x.
  • [PYTHON-880] - Backport WriteConcern class from 3.x
  • [PYTHON-881] - Backport CodecOptions class from 3.x.
  • [PYTHON-882] - Backport get_database, get_collection, and with_options from 3.x.
  • [PYTHON-883] - Backport CursorType from 3.x
  • [PYTHON-884] - 3.0 migration guide.
  • [PYTHON-885] - Support maxPoolSize URI option in 2.x
  • [PYTHON-886] - Add CRUD API find / find_one options
  • [PYTHON-887] - Deprecate all features removed in 3.0.
  • [PYTHON-888] - Add codec_options support to the bson module.
  • [PYTHON-889] - The aggregate method should always return CommandCursor when passed the cursor option
  • [PYTHON-890] - Support localThresholdMS URI option
  • [PYTHON-911] - Add Database.client alias for 3.0 migration support.
  • [PYTHON-945] - Remove validation of the OP_REPLY "startingFrom" field
  • [PYTHON-949] - Support CodecOptions in message.py
  • [PYTHON-950] - Backport CRUD write methods
  • [PYTHON-955] - Backport "connect" option.
  • [PYTHON-963] - Fix doctests for modern MongoDB.
  • [PYTHON-965] - Add address attribute to MongoClient
  • [PYTHON-966] - 3.0 compatibility for read preference options
  • [PYTHON-967] - print is a function with Python 3
  • [PYTHON-980] - Document deprecation of Database.eval
  • [PYTHON-996] - Python 3.5 support

Improvement

  • [PYTHON-834] - option to disable hostname validation during CA validation
  • [PYTHON-940] - Unhelpful and pretty wrong error message
  • [PYTHON-954] - TxMongo is recommended for production use
  • [PYTHON-974] - Use appropriate hash comparators for sensitive functions

Edit/Copy Release Notes

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