sqlparse breaking changes
sqlparse 0.6.1 (November 1, 2026) is its newest release with breaking changes, 3 of them. The first: Removed sqlparse.utils.LINE_MATCH. Every breaking API change we have recorded in sqlparse on PyPI: 13 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
On this page
Latest version 0.6.1, released November 1, 2026. Source repository
Its 0.6.0 release requires Python 3.10 or later. Python end of life dates.
sqlparse 0.6.1 breaking changes
- Removed
sqlparse.utils.LINE_MATCH
sqlparse.utils.LINE_MATCH was removed in sqlparse 0.6.1 pypi.org - Removed
sqlparse.utils.SPLIT_REGEX
sqlparse.utils.SPLIT_REGEX was removed in sqlparse 0.6.1 pypi.org - Behavior changed
format
Dollar signs are now escaped in the php output format, so generated PHP snippets differ from earlier versions. The project is no longer maintained and no further releases are planned. github.com
sqlparse 0.6.0 breaking changes
- Removed
The release ends support for Python 3.8 and 3.9, so Python 3.10 or later is now required. github.com - Behavior changed
Output from the python and php formats now escapes backslashes, so generated string literals differ from earlier versions. github.com
sqlparse 0.5.5 breaking changes
- Behavior changed
When grouping limits are exceeded, parsing now raises SQLParseError rather than returning None. Code that checks for a None result must handle the exception instead. github.com
sqlparse 0.5.4 breaking changes
- Configuration changed
Parsing very large lists of tuples now stops at new default limits (MAX_GROUPING_DEPTH=100, MAX_GROUPING_TOKENS=10000). Legitimate large statements may need these limits raised or disabled by setting them to None. github.com
sqlparse 0.5.3 breaking changes
- Removed
sqlparse.sql.SQLParseError
sqlparse.sql.SQLParseError was removed in sqlparse 0.5.3 pypi.org
sqlparse 0.5.1 breaking changes
- Behavior changed
strip_comments
The strip comments filter was greedy and removed too much whitespace. Where you used only strip_comments=True, you may also need strip_whitespace=True to keep the old result. github.com - Signature changed
sqlparse.filters.ReindentFilter.__init__
Was def __init__(self, width=2, char=' ', wrap_after=0, n='\n', comma_first=False, indent_after_first=False, indent_columns=False); now def __init__(self, width=2, char=' ', wrap_after=0, n='\n', comma_first=False... pypi.org
Older versions
1 older version, each with its first changes. Sign up to see every change
Show 1 older version
sqlparse 0.5.0 breaking changes
- Removed
Support for Python 3.5, 3.6 and 3.7 was removed; users on those versions must upgrade Python or stay on an older sqlparse release. github.com - Behavior changed
Parsing deeply nested statements raises a generic SQLParseError rather than a recursion error; code catching RecursionError must be updated. github.com
And 1 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.