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 https://dev.mysql.com/doc/refman/8.0/en/query-attributes.html for details. New Connector/Python cursor methods for this functionality are
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.
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)