Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
See all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
gal-a
sqlparse
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
sqlparse
sqlparse
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Aug 13, 2026
Back to development mode.
andialbrecht
committed
60cdc64
View commit details
Copy full SHA for 60cdc64
View code at this point
Browse repository at this point
Update version number.
andialbrecht
committed
2f40da9
View commit details
Copy full SHA for 2f40da9
View code at this point
Browse repository at this point
Pair comment/dollar-quote delimiters at the lexer position
Show description for 519e416
andialbrecht
and
claude
committed
519e416
View commit details
Copy full SHA for 519e416
View code at this point
Browse repository at this point
Measure reindent offsets backwards to avoid quadratic CPU use
Show description for a51df6d
andialbrecht
committed
a51df6d
View commit details
Copy full SHA for a51df6d
View code at this point
Browse repository at this point
Fix uncontrolled CPU consumption (ReDoS) in the lexer's handling of dollar-quoted literals and multiline comments.
andialbrecht
committed
d1d8060
View commit details
Copy full SHA for d1d8060
View code at this point
Browse repository at this point
Commits on Aug 10, 2026
Fix quadratic DoS in group_comments (GHSA-f2ff-p2ww-7p4p)
Show description for ef2012a
andialbrecht
committed
ef2012a
View commit details
Copy full SHA for ef2012a
View code at this point
Browse repository at this point
Escape backslashes in output formatters.
andialbrecht
committed
53ff44b
View commit details
Copy full SHA for 53ff44b
View code at this point
Browse repository at this point
Commits on Jul 25, 2026
Keep keyword before leading-dot float literal (issue601)
Show description for a194d31
deepakganesh78
authored and
andialbrecht
committed
a194d31
View commit details
Copy full SHA for a194d31
View code at this point
Browse repository at this point
Merge branch 'master' into fix-ctas-lowercase-as-function-grouping
andialbrecht
authored
aab69f5
View commit details
Copy full SHA for aab69f5
View code at this point
Browse repository at this point
Fix get_real_name for names with more than two dotted parts (#332)
Show description for f66d12c
chuenchen309
authored and
andialbrecht
committed
f66d12c
View commit details
Copy full SHA for f66d12c
View code at this point
Browse repository at this point
Merge branch 'master' into fix-alter-table-row-format-keyword-773
andialbrecht
authored
1bcb2d9
View commit details
Copy full SHA for 1bcb2d9
View code at this point
Browse repository at this point
Recognize MATERIALIZED as a keyword (issue752)
Show description for ac3b9e0
binggao1230
authored and
andialbrecht
committed
ac3b9e0
View commit details
Copy full SHA for ac3b9e0
View code at this point
Browse repository at this point
Commits on Jul 22, 2026
Fix function grouping skipped for lowercase 'as' in CREATE TABLE AS SELECT
Show description for 111b35c
Osamaali313
committed
111b35c
View commit details
Copy full SHA for 111b35c
View code at this point
Browse repository at this point
Commits on Jul 3, 2026
Recognize ROW_FORMAT as a keyword (issue773)
Show description for 26d7d65
apoorvdarshan
committed
26d7d65
View commit details
Copy full SHA for 26d7d65
View code at this point
Browse repository at this point
Commits on Jun 6, 2026
set group value from child tokens to avoid quadratic grouping
alhudz
authored and
andialbrecht
committed
939b129
View commit details
Copy full SHA for 939b129
View code at this point
Browse repository at this point
Commits on May 21, 2026
Bump minimal Python version to 3.10.
andialbrecht
committed
c923da9
View commit details
Copy full SHA for c923da9
View code at this point
Browse repository at this point
Switch from flake8 to ruff.
andialbrecht
committed
8efa393
View commit details
Copy full SHA for 8efa393
View code at this point
Browse repository at this point
Refactor StatementSplitter to decompose split level logic and centralize standalone BEGIN; handling
andialbrecht
committed
ec28d0e
View commit details
Copy full SHA for ec28d0e
View code at this point
Browse repository at this point
Refactor statement splitter to a simplified stack-based architecture (fixes #845)
andialbrecht
committed
8f978ca
View commit details
Copy full SHA for 8f978ca
View code at this point
Browse repository at this point
Commits on Dec 19, 2025
Back to development.
andialbrecht
committed
897eb2d
View commit details
Copy full SHA for 897eb2d
View code at this point
Browse repository at this point
Bump version to 0.5.5
andialbrecht
committed
0d24023
View commit details
Copy full SHA for 0d24023
View code at this point
Browse repository at this point
Commits on Dec 8, 2025
Enhance DoS protection by raising SQLParseError for exceeded grouping limits (fixes #827).
Show description for da67ac1
andialbrecht
committed
da67ac1
View commit details
Copy full SHA for da67ac1
View code at this point
Browse repository at this point
Commits on Nov 29, 2025
Fix splitting of BEGIN TRANSACTION statements (fixes #826).
andialbrecht
committed
5ca50a2
View commit details
Copy full SHA for 5ca50a2
View code at this point
Browse repository at this point
Commits on Nov 28, 2025
Back to development version.
andialbrecht
committed
acd8e58
View commit details
Copy full SHA for acd8e58
View code at this point
Browse repository at this point
Bump version.
andialbrecht
committed
14e300b
View commit details
Copy full SHA for 14e300b
View code at this point
Browse repository at this point
Code cleanup.
andialbrecht
committed
96a67e2
View commit details
Copy full SHA for 96a67e2
View code at this point
Browse repository at this point
Fix handling of semicolons inside BEGIN...END blocks (fixes #809).
Show description for 1a3bfbd
andialbrecht
committed
1a3bfbd
View commit details
Copy full SHA for 1a3bfbd
View code at this point
Browse repository at this point
Commits on Nov 27, 2025
Fix handling of IF EXISTS statements in BEGIN...END blocks (fixes #812).
andialbrecht
committed
e92a032
View commit details
Copy full SHA for e92a032
View code at this point
Browse repository at this point
bugfix ISSUE_801; Remove all comments when only comments
stropysh
authored and
andialbrecht
committed
73c8ba3
View commit details
Copy full SHA for 73c8ba3
View code at this point
Browse repository at this point
Add pre-commit hook support (fixes #537)
Show description for 31903e0
andialbrecht
committed
31903e0
View commit details
Copy full SHA for 31903e0
View code at this point
Browse repository at this point
Commits on Nov 26, 2025
Add type annotations to public API functions
Show description for f1d2d68
andialbrecht
committed
f1d2d68
View commit details
Copy full SHA for f1d2d68
View code at this point
Browse repository at this point
docs: clarify behavior of Token.match method
ekorchmar
authored and
andialbrecht
committed
53b326c
View commit details
Copy full SHA for 53b326c
View code at this point
Browse repository at this point
Commits on Nov 25, 2025
support "REGEXP BINARY" comparison operator
Show description for 3e89727
swarnat
authored and
andialbrecht
committed
3e89727
View commit details
Copy full SHA for 3e89727
View code at this point
Browse repository at this point
reformatting code
swarnat
authored and
andialbrecht
committed
e37ea5b
View commit details
Copy full SHA for e37ea5b
View code at this point
Browse repository at this point
Add 'INTERSECT' to Close Keywords in Where clause
swarnat
authored and
andialbrecht
committed
ab0f85c
View commit details
Copy full SHA for ab0f85c
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.