Title: Bump sqlparse from 0.4.1 to 0.6.0 in /pyperformance/data-files/benchmarks/bm_django_template by dependabot[bot] · Pull Request #486 · python/pyperformance · GitHub
Open Graph Title: Bump sqlparse from 0.4.1 to 0.6.0 in /pyperformance/data-files/benchmarks/bm_django_template by dependabot[bot] · Pull Request #486 · python/pyperformance
X Title: Bump sqlparse from 0.4.1 to 0.6.0 in /pyperformance/data-files/benchmarks/bm_django_template by dependabot[bot] · Pull Request #486 · python/pyperformance
Description: Bumps sqlparse from 0.4.1 to 0.6.0.
Changelog
Sourced from sqlparse's changelog.
Release 0.6.0 (Aug 13, 2026)
Notable Changes
Drop support for Python 3.8 and 3.9. Python 3.10+ is now required.
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:
GHSA-prg7-hcfm-mfcr
The vulnerability was discovered by EQSTLab, min8282 and 7thpark.
Thanks for reporting!
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).
IMPORTANT: Fixes a potential denial of service attack (DOS) in
format(sql, reindent=True), which consumed CPU quadratically on long
lists of tuples. See the security advisory for details:
GHSA-cfqr-cjx5-5jcm
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:
GHSA-f2ff-p2ww-7p4p
The vulnerability was discovered by @sanktjodel. Thanks for reporting!
IMPORTANT: Backslashes are now escaped in the python and php 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:
GHSA-3496-9g83-7v6x
The vulnerability was discovered by @7thParkk. Thanks for reporting!
Enhancements
Modernize type annotations in top-level API functions using PEP 585 and
PEP 604 syntax.
END FOR and END CASE are now recognized as keywords.
Bug Fixes
Statement splitting was rewritten on a stack-based architecture. This fixes
splitting of statements with nested BEGIN ... END blocks (issue845).
Fix function grouping being skipped in CREATE TABLE ... AS SELECT
statements when the as keyword is lowercase (pr867 by Osamaali313).
Recognize ROW_FORMAT as a keyword so that ALTER TABLE ... ROW_FORMAT=...
no longer merges the table name and the option into a single identifier
(issue773, pr860 by apoorvdarshan).
Recognize MATERIALIZED as a keyword so it is parsed and formatted
consistently in CREATE MATERIALIZED VIEW statements (issue752, pr854 by
... (truncated)
Commits
2f40da9 Update version number.
5753f15 Align the changelog entries for this release with previous ones
b9588d9 Unify the benchmark scripts on a shared harness
519e416 Pair comment/dollar-quote delimiters at the lexer position
a51df6d Measure reindent offsets backwards to avoid quadratic CPU use
73d9ccd Update CHANGELOG
d1d8060 Fix uncontrolled CPU consumption (ReDoS) in the lexer's handling of dollar-qu...
ef2012a Fix quadratic DoS in group_comments (GHSA-f2ff-p2ww-7p4p)
26112dd Update Changelog.
53ff44b Escape backslashes in output formatters.
Additional commits viewable in compare view
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 commands and options
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
Open Graph Description: Bumps sqlparse from 0.4.1 to 0.6.0. Changelog Sourced from sqlparse's changelog. Release 0.6.0 (Aug 13, 2026) Notable Changes Drop support for Python 3.8 and 3.9. Python 3.10+ is now require...
X Description: Bumps sqlparse from 0.4.1 to 0.6.0. Changelog Sourced from sqlparse's changelog. Release 0.6.0 (Aug 13, 2026) Notable Changes Drop support for Python 3.8 and 3.9. Python 3.10+ is now req...
Opengraph URL: https://github.com/python/pyperformance/pull/486
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c5a8a5f9-8399-0a30-2910-4b5380a1cd83 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9B64:4BB79:34CAC70:437B37D:6B01EC49 |
| html-safe-nonce | 6296e64f8278a13c4819f663f2700e626ccd035d3c2fab0cb015bd2af268802d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjY0OjRCQjc5OjM0Q0FDNzA6NDM3QjM3RDo2QjAxRUM0OSIsInZpc2l0b3JfaWQiOiI2MzA1NTE0NzgyNjY5Nzk0Mzc3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5f4cbec38247711c55471575cf3883ec3bb979d33fff65368a1aeceb66abc6c3 |
| hovercard-subject-tag | pull_request:4298160014 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/pyperformance/pull/486/files |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Bumps sqlparse from 0.4.1 to 0.6.0. Changelog Sourced from sqlparse's changelog. Release 0.6.0 (Aug 13, 2026) Notable Changes Drop support for Python 3.8 and 3.9. Python 3.10+ is now require... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/pyperformance git https://github.com/python/pyperformance.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 65949828 |
| octolytics-dimension-repository_nwo | python/pyperformance |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 65949828 |
| octolytics-dimension-repository_network_root_nwo | python/pyperformance |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width