Documentation Home
MySQL Connector/Python Release Notes
Related Documentation Download these Release Notes
PDF (US Ltr) - 331.8Kb
PDF (A4) - 333.9Kb

MySQL Connector/Python Release Notes  /  Changes in MySQL Connector/Python 8.x  /  Changes in MySQL Connector/Python 8.1.0 (2023-07-18, General Availability)

Changes in MySQL Connector/Python 8.1.0 (2023-07-18, General Availability)

MySQL Connector/Python 8.1.0 is a new GA release version that supersedes the 8.0 series; it's recommended for use on production systems. This release can be used against MySQL Server version 5.7 and higher.

Functionality Added or Changed

  • Important Change: With this release, we no longer supply 32-bit binaries for Connector/Python.

  • Removed support for Python 3.7. (WL #15630)

  • Removed DMG and MSI support; MSI and DMG installers are no longer supplied. The Wheel build distribution format remains fully supported, and is used by pip. (WL #15749)

  • Added OpenTelemetry support. (WL #15629)

Bugs Fixed

  • Connector/Python did not specify the minimum required Python version using python_requires, which meant that pip always installed the latest version of Connector/Python even if this was not compatible with the version of Python used on the system. (Bug #35338384)

  • Fixed performance degradation when multi=True was used under certain conditions. This issue was introduced in Connector/Python 8.0.33. (Bug #35140271)

    References: This issue is a regression of: Bug #34655520.

  • Closing a connection multiple times could cause a fatal deallocation error in Connector/Python 8.0.33. (Bug #111111, Bug #35425076)

    References: This issue is a regression of: Bug #35233031.

  • Setting compress=True did not enable compression when using the C extension.

    Thanks to Daniƫl van Eeden for the contribution. (Bug #110879, Bug #35349093)

  • An error was raised when setting the database name on a connection that included non-alphanumeric characters. This applied only to the pure Python implementation.

    Thanks to Brent Gardner for the contribution. (Bug #110469, Bug #35212199)

  • A UnicodeDecodeError error was raised when using a complex query that produced a long field name alias. (Bug #110422, Bug #35278365)

  • When switching to compressed mode while using the pure Python implementation, a compressed packet could have contained an incomplete MySQL packet.

    Thanks to Allen Long for the contribution. (Bug #93643, Bug #29115406, WL #15591)

  • Updated the protobuf version requirement to versions 4.21.1 through 4.21.12, inclusive. Previously this was versions 3.11.0 through 3.20.3, inclusive. (WL #15672)