Release Notes - Python Driver - Version 4.8 - HTML format

Build Failure

  • [PYTHON-4398] - [Build Failure] RuntimeError: can't start new thread on Windows Hosts
  • [PYTHON-4399] - [Build Failure] OIDC - The DNS query name does not exist
  • [PYTHON-4401] - [Build Failure] Build sdist job is failing
  • [PYTHON-4402] - [Build Failure] Remove dead links in migration guide
  • [PYTHON-4406] - RangePreview encryption test failures
  • [PYTHON-4448] - Stop testing macOS 10.14

Bug

  • [PYTHON-4449] - startAtOperationTime and resumeToken violation during automatic retry
  • [PYTHON-4499] - pymongo.connection logs appears only if ConnectionPoolListener instance is registered

Task

  • [PYTHON-4261] - Log line for "Waiting for suitable server to become available" is too noisy
  • [PYTHON-4323] - Add regression test for out-of-bounds read when decoding invalid bson
  • [PYTHON-4372] - Deprecate Python 3.7
  • [PYTHON-4378] - Update supported PyPy Versions to 3.9 and 3.10
  • [PYTHON-4383] - Integrate with Silk and generate SBOM documents for releases
  • [PYTHON-4384] - Integrate static analysis for releases
  • [PYTHON-4385] - Sign release artifacts or tags with MongoDB-managed keys
  • [PYTHON-4386] - Report authorized publication to distribution channels for releases
  • [PYTHON-4388] - Generate ssdlc_compliance_report.md and complete policy checklist for releases
  • [PYTHON-4420] - Fix GitHub Actions publish job
  • [PYTHON-4428] - Test against 8.0 builds
  • [PYTHON-4451] - Use Hatch as Build Backend
  • [PYTHON-4489] - Make setup.py private
  • [PYTHON-4497] - Fix handling of Python executable in run-tests
  • [PYTHON-4504] - Update mod_wsgi test to not call setup.py
  • [PYTHON-4505] - Set up EVG uploads for v4.8 branch
  • [PYTHON-4507] - Document minimum version of pip required to install from source dist
  • [PYTHON-4515] - Release PyMongo 4.8
  • [PYTHON-4578] - Add benchmarks for client.bulk_write and collection.bulk_write

Improvement

  • [PYTHON-2194] - Sign Driver releases
  • [PYTHON-4347] - Optimize MongoClient._get_topology
  • [PYTHON-4468] - Don't Print the value of senstive subtype bytes in the repr
  • [PYTHON-4473] - Optimize find/aggregate/command by avoiding duplicate calls to _get_topology
  • [PYTHON-4482] - Improve performance of session pool
  • [PYTHON-4492] - Fallback to stdlib ssl when pyopenssl import fails with AttributeError

Edit/Copy Release Notes

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