---
title: "pymysql 1.2.4 Breaking Changes on PyPI | Since.dev"
description: "What each pymysql release removed, renamed or changed: 48 breaking changes in 7 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/pymysql
last_updated: 2026-12-04
---

# pymysql breaking changes

pymysql 1.2.4 (November 9, 2026) is its newest release with breaking changes, 3 of them. The first: Removed pymysql.constants.ER.ERROR_LAST. Every breaking API change we have recorded in pymysql on PyPI: 48 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.2.4`, released November 9, 2026. [Source repository](https://github.com/PyMySQL/PyMySQL)

Its 0.10.0 release drops Python 3.4. [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.10.0](#v-0-10-0) to [1.2.4](#v-1-2-4): 16 breaking changes in 5 versions.
- From [0.9.0](#v-0-9-0) to [1.2.4](#v-1-2-4): 31 breaking changes in 6 versions.

## pymysql 1.2.4 breaking changes

pymysql 1.2.4, released November 9, 2026: 3 breaking changes.

- **Removed** `pymysql.constants.ER.ERROR_LAST`  

pymysql.constants.ER.ERROR_LAST was removed in PyMySQL 1.2.4 [pypi.org](https://pypi.org/project/PyMySQL/1.2.4/)
- **Behavior changed**  

Time values with fractional seconds must include a decimal point to be parsed. Check any code that passes time strings without one. [github.com](https://github.com/PyMySQL/PyMySQL/releases/tag/v1.2.4)
- **Behavior changed** `ssl_verify_identity`  

When ssl_verify_identity is set, the server certificate is now checked. Connections that previously passed without this check may now fail. [github.com](https://github.com/PyMySQL/PyMySQL/releases/tag/v1.2.4)

## pymysql 1.2.1 breaking changes

pymysql 1.2.1, released September 17, 2026: 7 breaking changes.

- **Removed** `pymysql.connections.Connection.escape_string`  

Connection.escape_string was removed in PyMySQL 1.2.1 [pypi.org](https://pypi.org/project/PyMySQL/1.2.1/)
- **Removed** `pymysql.connections.LoadLocalFile`  

pymysql.connections.LoadLocalFile was removed in PyMySQL 1.2.1 [pypi.org](https://pypi.org/project/PyMySQL/1.2.1/)
- **Removed** `pymysql.converters.escape_bytes_prefixed`  

pymysql.converters.escape_bytes_prefixed was removed in PyMySQL 1.2.1 [pypi.org](https://pypi.org/project/PyMySQL/1.2.1/)
- **Removed** `pymysql.converters.escape_dict`  

pymysql.converters.escape_dict was removed in PyMySQL 1.2.1 [pypi.org](https://pypi.org/project/PyMySQL/1.2.1/)
- **Signature changed** `pymysql.converters.escape_item`  

Was def escape_item(val, charset, mapping=None); now def escape_item(val, charset=None, mapping=None). [pypi.org](https://pypi.org/project/PyMySQL/1.2.1/)
- **Signature changed** `pymysql.converters.escape_sequence`  

Was def escape_sequence(val, charset, mapping=None); now def escape_sequence(val, charset=None, mapping=None). [pypi.org](https://pypi.org/project/PyMySQL/1.2.1/)
- **Signature changed** `pymysql.converters.escape_set`  

Was def escape_set(val, charset, mapping=None); now def escape_set(val, charset=None, mapping=None). [pypi.org](https://pypi.org/project/PyMySQL/1.2.1/)

## pymysql 1.2.0 breaking changes

pymysql 1.2.0, released May 19, 2026: 4 breaking changes.

- **Removed** `pymysql.connections.Cursor.__getattr__`  

Cursor.\_\_getattr\_\_ was removed in PyMySQL 1.2.0 [pypi.org](https://pypi.org/project/PyMySQL/1.2.0/)
- **Behavior changed**  

Decimal query parameters that are NaN, sNaN or infinite are now rejected instead of being passed through, so such code must change its inputs. [github.com](https://github.com/PyMySQL/PyMySQL/releases/tag/v1.2.0)
- **Behavior changed**  

The release reorganizes TLS options and implements PREFERRED and REQUIRED SSL mode behavior, so existing TLS setups may connect differently. [github.com](https://github.com/PyMySQL/PyMySQL/releases/tag/v1.2.0)
- **Signature changed** `pymysql.connections.Connection.ping`  

The reconnect parameter of Connection.ping() is deprecated and will warn when used. [pypi.org](https://pypi.org/project/PyMySQL/1.2.0/)

## pymysql 1.1.3 breaking changes

pymysql 1.1.3, released May 1, 2026: 1 breaking change.

- **Behavior changed** `Cursor.callproc`  

The procedure name passed to callproc is now escaped. Code that relied on unescaped names, such as names with dots or special characters, may need to be checked. [github.com](https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.3)

## pymysql 1.1.2 breaking changes

pymysql 1.1.2, released August 24, 2025: 1 breaking change.

- **Behavior changed**  

The release turns off the OpenSSL VERIFY_X509_STRICT verification flag so connections work on Python 3.13. Code that depended on strict X.509 certificate checks may now accept certificates it previously rejected. [github.com](https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.2)

## pymysql 0.10.0 breaking changes

pymysql 0.10.0, released July 18, 2020: 15 breaking changes.

- **Removed**  

Python 3.4 is no longer supported by this release. [github.com](https://github.com/PyMySQL/PyMySQL/blob/v0.10.0/CHANGELOG)
- **Removed** `Connection`  

Connection no longer works as a context manager. Stop using it in a with statement; the interface will return later with a different meaning. [github.com](https://github.com/PyMySQL/PyMySQL/blob/v0.10.0/CHANGELOG)
- **Removed** `pymysql.charset.charset_to_encoding`  

pymysql.charset.charset_to_encoding was removed in PyMySQL 0.10.0 [pypi.org](https://pypi.org/project/PyMySQL/0.10.0/)
- **Removed** `pymysql.connections.Connection.__enter__`  

Connection.\_\_enter\_\_ was removed in PyMySQL 0.10.0 [pypi.org](https://pypi.org/project/PyMySQL/0.10.0/)
- **Removed** `pymysql.connections.Connection.__exit__`  

Connection.\_\_exit\_\_ was removed in PyMySQL 0.10.0 [pypi.org](https://pypi.org/project/PyMySQL/0.10.0/)
- **Removed** `pymysql.converters.charset_by_id`  

pymysql.converters.charset_by_id was removed in PyMySQL 0.10.0 [pypi.org](https://pypi.org/project/PyMySQL/0.10.0/)
- **Removed** `pymysql.converters.charset_to_encoding`  

pymysql.converters.charset_to_encoding was removed in PyMySQL 0.10.0 [pypi.org](https://pypi.org/project/PyMySQL/0.10.0/)
- **Removed** `pymysql.converters.convert_mysql_timestamp`  

pymysql.converters.convert_mysql_timestamp was removed in PyMySQL 0.10.0 [pypi.org](https://pypi.org/project/PyMySQL/0.10.0/)
- **Removed** `pymysql.converters.convert_set`  

pymysql.converters.convert_set was removed in PyMySQL 0.10.0 [pypi.org](https://pypi.org/project/PyMySQL/0.10.0/)
- **Removed** `pymysql.converters.FLAG`  

pymysql.converters.FLAG was removed in PyMySQL 0.10.0 [pypi.org](https://pypi.org/project/PyMySQL/0.10.0/)

And 5 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

1 older version, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### pymysql 0.9.0 breaking changes

pymysql 0.9.0, released June 27, 2018: 17 breaking changes.

- **Removed** `no_delay`  

The no_delay option is gone. Remove it from any connection calls. [github.com](https://github.com/PyMySQL/PyMySQL/blob/v0.9.0/CHANGELOG)
- **Removed** `pymysql.connections.MBLENGTH`  

pymysql.connections.MBLENGTH was removed in PyMySQL 0.9.0 [pypi.org](https://pypi.org/project/PyMySQL/0.9.0/)

And 15 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
