Connection.ping() change the default to not reconnect and deprecate reconnect argument.
Create a new connection if you want to reconnect. (#1241)
Error classes in Cursor class are removed. (#1240)
connect() arguments db and passwd now emit DeprecationWarning.
Use database and password instead. (#1240)
Reorganize TLS connection behavior.
PyMySQL uses TLS by default when server supports it.
Use ssl_disabled=True to prohibit SSL. (#1213)
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. (#1234)
Other changes
Support MySQL 8 row/column alias syntax in executemany INSERT regex. (#1235)
Expose SQLSTATE on MySQL protocol exceptions without changing exception formatting. (#1236)
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [PyMySQL](https://github.com/PyMySQL/PyMySQL) ([changelog](https://github.com/PyMySQL/PyMySQL/blob/main/CHANGELOG.md)) | `==1.1.3` → `==1.2.0` |  |  |
---
### Release Notes
<details>
<summary>PyMySQL/PyMySQL (PyMySQL)</summary>
### [`v1.2.0`](https://github.com/PyMySQL/PyMySQL/blob/HEAD/CHANGELOG.md#v120)
[Compare Source](https://github.com/PyMySQL/PyMySQL/compare/v1.1.3...v1.2.0)
Release date: 2026-05-19
##### Breaking changes
- `Connection.ping()` change the default to not reconnect and deprecate `reconnect` argument.
Create a new connection if you want to reconnect. ([#​1241](https://github.com/PyMySQL/PyMySQL/issues/1241))
- Error classes in Cursor class are removed. ([#​1240](https://github.com/PyMySQL/PyMySQL/issues/1240))
- `connect()` arguments `db` and `passwd` now emit DeprecationWarning.
Use `database` and `password` instead. ([#​1240](https://github.com/PyMySQL/PyMySQL/issues/1240))
- Reorganize TLS connection behavior.
- PyMySQL uses TLS by default when server supports it.
Use `ssl_disabled=True` to prohibit SSL. ([#​1213](https://github.com/PyMySQL/PyMySQL/issues/1213))
- 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. ([#​1234](https://github.com/PyMySQL/PyMySQL/issues/1234))
##### Other changes
- Support MySQL 8 row/column alias syntax in `executemany` INSERT regex. ([#​1235](https://github.com/PyMySQL/PyMySQL/issues/1235))
- Expose SQLSTATE on MySQL protocol exceptions without changing exception formatting. ([#​1236](https://github.com/PyMySQL/PyMySQL/issues/1236))
- Reject non-finite `decimal.Decimal` query parameters (`NaN`, `sNaN`, `±Infinity`). ([#​1237](https://github.com/PyMySQL/PyMySQL/issues/1237))
- `Connection.set_charset(charset)` now emits `DeprecationWarning`.
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xODAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjE4MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
==1.1.3→==1.2.0Release Notes
PyMySQL/PyMySQL (PyMySQL)
v1.2.0Compare Source
Release date: 2026-05-19
Breaking changes
Connection.ping()change the default to not reconnect and deprecatereconnectargument.Create a new connection if you want to reconnect. (#1241)
Error classes in Cursor class are removed. (#1240)
connect()argumentsdbandpasswdnow emit DeprecationWarning.Use
databaseandpasswordinstead. (#1240)Reorganize TLS connection behavior.
PyMySQL uses TLS by default when server supports it.
Use
ssl_disabled=Trueto prohibit SSL. (#1213)When
ssl_verify_cert=True,ssl_verify_identity=True, anssl.SSLContextis 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. (#1234)Other changes
executemanyINSERT regex. (#1235)decimal.Decimalquery parameters (NaN,sNaN,±Infinity). (#1237)Connection.set_charset(charset)now emitsDeprecationWarning.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.