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.
Important Change: 32-bit binaries are no longer built as of MySQL 8.1.0.
Removed Python 3.7 support. (WL #15630)
Removed DMG and MSI support; and stopped building MSI and DMG installers. The Wheel build distribution format remains fully supported and is used by pip. (WL #15749)
Added OpenTelemetry support. (WL #15629)
Connector/Python
setup.py
did not specify the minimum required Python version (using python_requires) which meant pip always installed the latest version of Connector/Python even if an incompatible version of Python was used on the system. (Bug #35338384)-
Fixed performance degradation that was introduced in 8.0.33 for multi=True usage under certain conditions. (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 implementation.
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 only applied 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 version >= 4.21.1, <=4.21.12. Previously it was set to >= 3.11.0, <=3.20.3. (WL #15672)