Skip to content

Update sqlparse to 0.5.3#2145

Closed
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-sqlparse-0.5.0-to-0.5.3
Closed

Update sqlparse to 0.5.3#2145
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-sqlparse-0.5.0-to-0.5.3

Conversation

@pyup-bot
Copy link
Collaborator

This PR updates sqlparse from 0.5.0 to 0.5.3.

Changelog

0.5.3

----------------------------

Bug Fixes

* This version introduces a more generalized handling of potential denial of
service attack (DOS) due to recursion errors for deeply nested statements.
Brought up and fixed by living180. Thanks a lot!

0.5.2

----------------------------

Bug Fixes

* EXTENSION is now recognized as a keyword (issue785).
* SQL hints are not removed when removing comments (issue262, by skryzh).

0.5.1

----------------------------

Enhancements

* New "compact" option for formatter. If set, the formatter tries to produce
a more compact output by avoiding some line breaks (issue783).

Bug Fixes

* The strip comments filter was a bit greedy and removed too much
whitespace (issue772).
Note: In some cases you might want to add `strip_whitespace=True` where you
previously used just `strip_comments=True`. `strip_comments` did some of the
work that `strip_whitespace` should do.
* Fix error when splitting statements that contain multiple CASE clauses
within a BEGIN block (issue784).
* Fix whitespace removal with nested expressions (issue782).
* Fix parsing and formatting of ORDER clauses containing NULLS FIRST or
NULLS LAST (issue532).
Links

@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #2388

@pyup-bot pyup-bot closed this Nov 28, 2025
@MBARIMike MBARIMike deleted the pyup-update-sqlparse-0.5.0-to-0.5.3 branch November 28, 2025 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant