Skip to content

Commit bacb227

Browse files
chore(deps): bump sqlparse from 0.5.5 to 0.6.0 (#115)
Bumps [sqlparse](https://github.com/andialbrecht/sqlparse) from 0.5.5 to 0.6.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG">sqlparse's changelog</a>.</em></p> <blockquote> <h2>Release 0.6.0 (Aug 13, 2026)</h2> <p>Notable Changes</p> <ul> <li>Drop support for Python 3.8 and 3.9. Python 3.10+ is now required.</li> <li>IMPORTANT: Fixes a potential denial of service attack (DOS) in the lexer, which consumed CPU quadratically on statements containing many unclosed dollar-quoted literals or multiline comments (CVE-2026-59893). See the security advisory for details: <a href="https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-prg7-hcfm-mfcr">https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-prg7-hcfm-mfcr</a> The vulnerability was discovered by EQSTLab, min8282 and 7thpark. Thanks for reporting!</li> <li>IMPORTANT: Fixes a potential denial of service attack (DOS) when grouping deeply nested or very wide statements. Building a token group re-read the whole group on every step, so a small statement could keep a worker busy for a long time (CVE-2026-54284, pr848 by alhudz and tonghuaroot).</li> <li>IMPORTANT: Fixes a potential denial of service attack (DOS) in <code>format(sql, reindent=True)</code>, which consumed CPU quadratically on long lists of tuples. See the security advisory for details: <a href="https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-cfqr-cjx5-5jcm">https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-cfqr-cjx5-5jcm</a></li> <li>IMPORTANT: Fixes a potential denial of service attack (DOS) on statements that consist only of comments (CVE-2026-71491). See the security advisory for details: <a href="https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-f2ff-p2ww-7p4p">https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-f2ff-p2ww-7p4p</a> The vulnerability was discovered by <a href="https://github.com/sanktjodel"><code>@​sanktjodel</code></a>. Thanks for reporting!</li> <li>IMPORTANT: Backslashes are now escaped in the <code>python</code> and <code>php</code> output formats. Without escaping, SQL containing a backslash could break out of the generated string literal (CVE-2026-59894). See the security advisory for details: <a href="https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-3496-9g83-7v6x">https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-3496-9g83-7v6x</a> The vulnerability was discovered by <a href="https://github.com/7thParkk"><code>@​7thParkk</code></a>. Thanks for reporting!</li> </ul> <p>Enhancements</p> <ul> <li>Modernize type annotations in top-level API functions using PEP 585 and PEP 604 syntax.</li> <li><code>END FOR</code> and <code>END CASE</code> are now recognized as keywords.</li> </ul> <p>Bug Fixes</p> <ul> <li>Statement splitting was rewritten on a stack-based architecture. This fixes splitting of statements with nested BEGIN ... END blocks (issue845).</li> <li>Fix function grouping being skipped in <code>CREATE TABLE ... AS SELECT</code> statements when the <code>as</code> keyword is lowercase (pr867 by Osamaali313).</li> <li>Recognize <code>ROW_FORMAT</code> as a keyword so that <code>ALTER TABLE ... ROW_FORMAT=...</code> no longer merges the table name and the option into a single identifier (issue773, pr860 by apoorvdarshan).</li> <li>Recognize <code>MATERIALIZED</code> as a keyword so it is parsed and formatted consistently in <code>CREATE MATERIALIZED VIEW</code> statements (issue752, pr854 by</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/andialbrecht/sqlparse/commit/2f40da99b50d81135aecf96f6b08fcfa338a96de"><code>2f40da9</code></a> Update version number.</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/5753f1570d3aa7366652cdd91577eb9e74533cfb"><code>5753f15</code></a> Align the changelog entries for this release with previous ones</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/b9588d973a7403cd8075873511e610dac4a58b2e"><code>b9588d9</code></a> Unify the benchmark scripts on a shared harness</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/519e41698a172add8aa7b54ab4e94daad0af213e"><code>519e416</code></a> Pair comment/dollar-quote delimiters at the lexer position</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/a51df6d9e2d31b44be9adb6bc8732517db6bf96b"><code>a51df6d</code></a> Measure reindent offsets backwards to avoid quadratic CPU use</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/73d9ccddf21d73a68e3f99517a3918fd21eb81fa"><code>73d9ccd</code></a> Update CHANGELOG</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/d1d80602741f77ec78e5a04ce4719244cf32352e"><code>d1d8060</code></a> Fix uncontrolled CPU consumption (ReDoS) in the lexer's handling of dollar-qu...</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/ef2012a5eeb491e604dea2b00d516904a3830c87"><code>ef2012a</code></a> Fix quadratic DoS in group_comments (GHSA-f2ff-p2ww-7p4p)</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/26112ddb139361cc76218b3e3b50067652678fec"><code>26112dd</code></a> Update Changelog.</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/53ff44b53e27cff78259acc1af015506fea60f63"><code>53ff44b</code></a> Escape backslashes in output formatters.</li> <li>Additional commits viewable in <a href="https://github.com/andialbrecht/sqlparse/compare/0.5.5...0.6.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sqlparse&package-manager=uv&previous-version=0.5.5&new-version=0.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/agentscore/python-commerce/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 73b086b commit bacb227

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

uv.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)