mysqlclient v1.2.2 Release Notes

  • ๐Ÿ‘ท The build system has been completely redone and should now build ๐Ÿ on Windows without any patching; uses setuptools.

    โž• Added compatibility for Python 2.5, including support for with statement.

    connection.ping() now takes an optional boolean argument which can enable (or disable) automatic reconnection.

    ๐Ÿ‘Œ Support returning SET columns as Python sets was removed due to an ๐Ÿšš API bug in MySQL; corresponding test removed.

    โž• Added a test for single-character CHAR columns.

    BLOB columns are now returned as Python strings instead of byte arrays.

    BINARY character columns are always returned as Python strings, and not unicode.

    ๐Ÿ›  Fixed a bug introduced in 1.2.1 where the new SHOW WARNINGS support broke SSCursor.

    Only encode the query (convert to a string) when it is a unicode instance; re-encoding encoded strings would break things.

    ๐Ÿ‘‰ Make a deep copy of conv when connecting, since it can be modified.

    โž• Added support for new VARCHAR and BIT column types.

    DBAPISet objects were broken, but nobody noticed.

    ========================