dependabot[bot] opened a new pull request, #385: URL: https://github.com/apache/skywalking-python/pull/385
Bumps [sqlparse](https://github.com/andialbrecht/sqlparse) from 0.5.2 to 0.5.4. <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.5.4 (Nov 28, 2025)</h2> <p>Enhancements</p> <ul> <li>Add support for Python 3.14.</li> <li>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).</li> <li>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 <code>--in-place</code> flag for in-place editing (issue537).</li> <li>Add <code>ATTACH</code> and <code>DETACH</code> to PostgreSQL keywords (pr808).</li> <li>Add <code>INTERSECT</code> to close keywords in WHERE clause (pr820).</li> <li>Support <code>REGEXP BINARY</code> comparison operator (pr817).</li> </ul> <p>Bug Fixes</p> <ul> <li>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.</li> <li>Remove shebang from cli.py and remove executable flag (pr818).</li> <li>Fix strip_comments not removing all comments when input contains only comments (issue801, pr803 by stropysh).</li> <li>Fix splitting statements with IF EXISTS/IF NOT EXISTS inside BEGIN...END blocks (issue812).</li> <li>Fix splitting on semicolons inside BEGIN...END blocks (issue809).</li> </ul> <h2>Release 0.5.3 (Dez 10, 2024)</h2> <p>Bug Fixes</p> <ul> <li>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 <a href="https://github.com/living180"><code>@living180</code></a>. Thanks a lot!</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/andialbrecht/sqlparse/commit/14e300b165b14d1a7662a071c6481b503d367528"><code>14e300b</code></a> Bump version.</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/96a67e286963b2497b1b3f7a1378327af6661998"><code>96a67e2</code></a> Code cleanup.</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/1a3bfbd50b82c05d9adcc51bacba059671dc1bc7"><code>1a3bfbd</code></a> Fix handling of semicolons inside BEGIN...END blocks (fixes <a href="https://redirect.github.com/andialbrecht/sqlparse/issues/809">#809</a>).</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/e92a032c81d51a6645b4f8c32470481894818ba0"><code>e92a032</code></a> Fix handling of IF EXISTS statements in BEGIN...END blocks (fixes <a href="https://redirect.github.com/andialbrecht/sqlparse/issues/812">#812</a>).</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/149bebf06c788e93a9b0dbee0e5abbc8e347b8e6"><code>149bebf</code></a> Update Changelog.</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/561a67e740e9623cf81ef99f1a6cd94337e24282"><code>561a67e</code></a> Update AUTHORS.</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/73c8ba3ae88b608d39740c0776fb15064232258e"><code>73c8ba3</code></a> bugfix ISSUE_801; Remove all comments when only comments</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/1b323879f87207946e4782812e2e1254b1c0c659"><code>1b32387</code></a> Update action to run on all prs.</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/31903e09db518ee3969110073427196ef9cd46c3"><code>31903e0</code></a> Add pre-commit hook support (fixes <a href="https://redirect.github.com/andialbrecht/sqlparse/issues/537">#537</a>)</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/13577264eb38b88e24825022fea4bd4351449e7c"><code>1357726</code></a> docs: add AGENTS.md for project guidance and development commands</li> <li>Additional commits viewable in <a href="https://github.com/andialbrecht/sqlparse/compare/0.5.2...0.5.4">compare view</a></li> </ul> </details> <br /> [](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/apache/skywalking-python/network/alerts). </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
