Update dependency sqlparse to v0.5.5 #131

Closed
renovate wants to merge 1 commit from renovate/sqlparse-0.x into main
Collaborator

This PR contains the following updates:

Package Change Age Confidence
sqlparse (changelog) ==0.5.1 → ==0.5.5 age confidence

Release Notes

andialbrecht/sqlparse (sqlparse)

v0.5.5

Compare Source

Bug Fixes

  • Fix DoS protection to raise SQLParseError instead of silently returning None
    when grouping limits are exceeded (issue827).
  • Fix splitting of BEGIN TRANSACTION statements (issue826).

v0.5.4

Compare Source

Enhancements

  • Add support for Python 3.14.
  • Add type annotations to top-level API functions and include py.typed marker
    for PEP 561 compliance, enabling type checking with mypy and other tools
    (issue756).
  • Add pre-commit hook support. sqlparse can now be used as a pre-commit hook
    to automatically format SQL files. The CLI now supports multiple files and
    an --in-place flag for in-place editing (issue537).
  • Add ATTACH and DETACH to PostgreSQL keywords (pr808).
  • Add INTERSECT to close keywords in WHERE clause (pr820).
  • Support REGEXP BINARY comparison operator (pr817).

Bug Fixes

  • Add additional protection against denial of service attacks when parsing
    very large lists of tuples. This enhances the existing recursion protections
    with configurable limits for token processing to prevent DoS through
    algorithmic complexity attacks. The new limits (MAX_GROUPING_DEPTH=100,
    MAX_GROUPING_TOKENS=10000) can be adjusted or disabled (by setting to None)
    if needed for legitimate large SQL statements.
  • Remove shebang from cli.py and remove executable flag (pr818).
  • Fix strip_comments not removing all comments when input contains only
    comments (issue801, pr803 by stropysh).
  • Fix splitting statements with IF EXISTS/IF NOT EXISTS inside BEGIN...END
    blocks (issue812).
  • Fix splitting on semicolons inside BEGIN...END blocks (issue809).

v0.5.3

Compare Source

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!

v0.5.2

Compare Source

Bug Fixes

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

Configuration

📅 Schedule: Branch creation - Only on Sunday and Saturday ( * * * * 0,6 ) in timezone America/New_York, Automerge - Only on Sunday and Saturday ( * * * * 0,6 ) in timezone America/New_York.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [sqlparse](https://github.com/andialbrecht/sqlparse) ([changelog](https://sqlparse.readthedocs.io/en/latest/changes.html)) | `==0.5.1` → `==0.5.5` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/sqlparse/0.5.5?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/sqlparse/0.5.1/0.5.5?slim=true) | --- ### Release Notes <details> <summary>andialbrecht/sqlparse (sqlparse)</summary> ### [`v0.5.5`](https://github.com/andialbrecht/sqlparse/blob/HEAD/CHANGELOG#Release-055-Dec-19-2025) [Compare Source](https://github.com/andialbrecht/sqlparse/compare/0.5.4...0.5.5) Bug Fixes - Fix DoS protection to raise SQLParseError instead of silently returning None when grouping limits are exceeded (issue827). - Fix splitting of BEGIN TRANSACTION statements (issue826). ### [`v0.5.4`](https://github.com/andialbrecht/sqlparse/blob/HEAD/CHANGELOG#Release-054-Nov-28-2025) [Compare Source](https://github.com/andialbrecht/sqlparse/compare/0.5.3...0.5.4) Enhancements - Add support for Python 3.14. - Add type annotations to top-level API functions and include py.typed marker for PEP 561 compliance, enabling type checking with mypy and other tools (issue756). - Add pre-commit hook support. sqlparse can now be used as a pre-commit hook to automatically format SQL files. The CLI now supports multiple files and an `--in-place` flag for in-place editing (issue537). - Add `ATTACH` and `DETACH` to PostgreSQL keywords (pr808). - Add `INTERSECT` to close keywords in WHERE clause (pr820). - Support `REGEXP BINARY` comparison operator (pr817). Bug Fixes - Add additional protection against denial of service attacks when parsing very large lists of tuples. This enhances the existing recursion protections with configurable limits for token processing to prevent DoS through algorithmic complexity attacks. The new limits (MAX\_GROUPING\_DEPTH=100, MAX\_GROUPING\_TOKENS=10000) can be adjusted or disabled (by setting to None) if needed for legitimate large SQL statements. - Remove shebang from cli.py and remove executable flag (pr818). - Fix strip\_comments not removing all comments when input contains only comments (issue801, pr803 by stropysh). - Fix splitting statements with IF EXISTS/IF NOT EXISTS inside BEGIN...END blocks (issue812). - Fix splitting on semicolons inside BEGIN...END blocks (issue809). ### [`v0.5.3`](https://github.com/andialbrecht/sqlparse/blob/HEAD/CHANGELOG#Release-053-Dez-10-2024) [Compare Source](https://github.com/andialbrecht/sqlparse/compare/0.5.2...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 [@&#8203;living180](https://github.com/living180). Thanks a lot! ### [`v0.5.2`](https://github.com/andialbrecht/sqlparse/blob/HEAD/CHANGELOG#Release-052-Nov-14-2024) [Compare Source](https://github.com/andialbrecht/sqlparse/compare/0.5.1...0.5.2) Bug Fixes - EXTENSION is now recognized as a keyword (issue785). - SQL hints are not removed when removing comments (issue262, by skryzh). </details> --- ### Configuration 📅 **Schedule**: Branch creation - Only on Sunday and Saturday ( * * * * 0,6 ) in timezone America/New_York, Automerge - Only on Sunday and Saturday ( * * * * 0,6 ) in timezone America/New_York. 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, 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 [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4wLjkiLCJ1cGRhdGVkSW5WZXIiOiI0My4wLjkiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
chrisw-b closed this pull request 2026-02-07 08:13:28 -05:00
Author
Collaborator

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (==0.5.5). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

### Renovate Ignore Notification Because you closed this PR without merging, Renovate will ignore this update (`==0.5.5`). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the `ignoreDeps` array of your Renovate config. If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.
Commenting is not possible because the repository is archived.
No reviewers
No labels
No milestone
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
chrisw-b/bkwrm-container!131
No description provided.