The TLSv1 and TLSv1.1 connection protocols were previously deprecated in Connector/Python 8.0.26 and support for them is removed starting with this release. Instead, use TLSv1.2 or TLSv1.3.
tls_versionsconnection option now defaults to '["TLSv1.2", "TLSv1.3"]' when before it was '"TLSv1", "TLSv1.1", "TLSv1.2", "TLSv1.3"'.
Connector/Python can now establish connections using Multi-Factor Authentication (MFA), such that up to three passwords can be specified. The new
password3connection options are available for specifying the first, second, and third MFA passwords, respectively. The
password1option is a synonym for the existing
Added Python 3.10 support.
A MySQL decimal field type was returned as a string instead of a decimal type. (Bug #33486094)
Fixed compiler warnings that were shown when building Connector/Python. (Bug #33410592)
Fixed the JSON conversion class in CMySQLConnection; and fixed the related exception raised when using a conversion class in a C extension connection object. (Bug #33409819, Bug #105012)
Sent invalid 'params' argument definitions in execution methods to the server instead of raising an error; and this generated an error unrelated to the invalid parameter definition. (Bug #27358941)