1 Commits

Author SHA1 Message Date
Wang Mingyu
0bb3568706
python3-pymysql: upgrade 1.1.3 -> 1.2.0
Breaking changes
================
- Connection.ping() change the default to not reconnect and deprecate reconnect
  argument. Create a new connection if you want to reconnect.
- Error classes in Cursor class are removed.
- connect() arguments db and passwd now emit DeprecationWarning. Use database
  and password instead.
- Reorganize TLS connection behavior.
- PyMySQL uses TLS by default when server supports it. Use ssl_disabled=True to
  prohibit SSL.
- When ssl_verify_cert=True, ssl_verify_identity=True, an ssl.SSLContext is
  passed, or when any other SSL option is configured, the connection requires
  SSL and raises OperationalError (CR_SSL_CONNECTION_ERROR) if the server doesn't
  support it.

Other changes
==============
- Support MySQL 8 row/column alias syntax in executemany INSERT regex.
- Expose SQLSTATE on MySQL protocol exceptions without changing exception
  formatting.
- Reject non-finite decimal.Decimal query parameters
- Connection.set_charset(charset) now emits DeprecationWarning.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-05-31 03:08:52 -07:00