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


MySQL Connector/Python Release Notes  /  Changes in MySQL Connector/Python 8.0  /  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)

Functionality Added or Changed

  • 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.

  • 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.

  • Connector/Python now implements the authentication_kerberos_client plugin to support Kerberos authentication for classic MySQL protocol connections.

  • Allow running unit tests against an external server that is not controlled by the testing framework.

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)

  • 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)