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()
kwargsdb
andpasswd
are now deprecated; Usedatabase
andpassword
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
, andescape_string
frompymysql
module. They are still inpymysql.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.