MySQL Connectors and other MySQL client tools and applications now synchronize the first digit of their version number with the (highest) MySQL server version they support. For example, MySQL Connector/Python 8.0.12 would be designed to support all features of MySQL server version 8 (or lower). This change makes it easy and intuitive to decide which client version to use for which server version.
Connector/Python 2.2.3 was the final release to use the old numbering. It is the predecessor to Connector/Python 8.0.4.
The pure Python implemention of Protobuf has been replaced by a C++ extension. This enables Connector/Python to support Python 2 and 3 as well as Protobuf 2 and 3. (Bug #25209469)
Connector/Python now supports IPv6 target hosts in X DevAPI connection strings.
defined_as(method used to create views did not permit a
SelectStatementobject argument (generated by
Table.select()). (Bug #25614860)
SelectStatementobject returned by
Table.select()failed to provide the
order_by()method. (Bug #25519251)
import mysqlxcaused an error with Python 2.6 on Solaris and EL6 platforms. (Bug #24578507)
The error message for
get_session()failure was incorrect. (Bug #23636962)
Collection.find()method failed to work with the
LIKEoperator or aggregate functions.
Collection.find()method failed to work with several operators. Support was added for these operators:
!, NOT, +, -, ~
AND, &&, OR, ||, XOR, <>, ^ IS NOT, NOT REGEXP, NOT LIKE, CAST, NOT IN
In addition, arrow notation to access
JSONcolumns is now functional (for example,
schema.table.column->'$.document field'). (Bug #23567724, Bug #23568207, Bug #25436568, Bug #84585)