PyMySQL v1.0.0 Release Notes

  • ๐Ÿš€ Release date: 2021-01-07

    Backward incompatible changes:

    • ๐Ÿ‘ Python 2.7 and 3.5 are not supported.
    • connect() uses keyword-only arguments. User must use keyword argument.
    • ๐Ÿ—„ connect() kwargs db and passwd are now deprecated; Use database and password instead.
    • ๐Ÿ‘ old_password authentication method (used by MySQL older than 4.1) is not supported.
    • ๐Ÿ‘ MySQL 5.5 and MariaDB 5.5 are not officially supported, although it may still works.
    • Removed escape_dict, escape_sequence, and escape_string from pymysql module. They are still in pymysql.converters.

    Other changes:

    • Connection supports context manager API. __exit__ closes the connection. (#886)
    • โž• Add MySQL Connector/Python compatible TLS options (#903)
    • Major code cleanup; PyMySQL now uses black and flake8.