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


MySQL Connector/Python Release Notes  /  Changes in MySQL Connector/Python 8.x  /  Changes in MySQL Connector/Python 8.0.26 (2021-07-20, General Availability)

Changes in MySQL Connector/Python 8.0.26 (2021-07-20, General Availability)

Deprecation and Removal Notes

  • The TLSv1.0 and TLSv1.1 connection protocols now are deprecated and support for them is subject to removal in a future Connector/Python version. Using them emits a 'DeprecationWarning' level error. (WL #14542)

Functionality Added or Changed

  • Allow running unit tests against an external server that is not controlled by the testing framework. (Bug #80135, Bug #22594547, WL #14634)

  • Connector/Python now supports Query Attributes when they have been enabled on the server, see Query Attributes for details. New Connector/Python cursor methods for this functionality are add_attribute(name, value), clear_attributes(), and get_attributes(). Functionality works on both prepared and non-prepared statements. (WL #14237)

  • Connector/Python now implements the authentication_kerberos_client plugin to support Kerberos authentication for classic MySQL protocol connections. (WL #14440)

Bugs Fixed

  • Removed Django's MySQLdb module dependency. (Bug #32947160)

  • Fixed the option file parser when using the include directive in configuration files with override sections. Thanks to Garen Chan for the patch. (Bug #32838010, Bug #103546)

  • On Windows, updated the MSI installer to distribute additional libraries needed by authentication_ldap_client.dll; this includes libsasl.dll, saslSCRAM.dll, and libcrypto-1_1-x64.dll. (Bug #32789076)

  • If a document id provided for replacement in the Collection.replace_one() or Collection.add_or_replace_one() methods contains an "_id" different from the original document, then the "_id" definition was ignored. Now, an error is raised. (Bug #32778827)

  • The X DevAPI implementation converted binary types to strings instead of bytes. (Bug #32623479)

  • The CEXT implementation raised an exception when a SELECT statement fetched an INT ZEROFILL data type that became left 0-padded. Now, the ZEROFILL_FLAG flag is checked and handled as expected. (Bug #31528783, Bug #99955)