Fixes
- DDL linter, auto-fix and editor quick fixes. Preserves trailing
--line comments when appending online DDL clauses (ALGORITHM=INPLACE, LOCK=NONE,WITH (ONLINE = ON)), handles PostgreSQL dollar-quoted strings ($$…$$,$tag$…$tag$), MySQL backtick identifiers, SQL Server bracketed identifiers and escaped quotes across multi-statement scripts, and deduplicatesunindexed-fkindex fixes. In the desktop SQL editor, applying a quick fix on an unindexed foreign key appends the newCREATE INDEXstatement instead of replacing theALTER TABLEstatement. - CLI, SARIF and MCP
lint-sqloutput. Multi-fileculprit lint-sqlruns aggregate cleanly across--format text,--format md,--format jsonand--format sarifwith accurate 1-based file and statement spans (including statements with backtick-quoted identifiers). MCPlint_sqlnow includessummary,fix,fix_sqlandverifyinline on transient DDL findings, andplan_insightsrecords itssqlargument in the MCP audit log. - Schema drift and provider collectors.
culprit driftnow compares foreign-keyON DELETErules (CASCADEvsNO ACTION), disabled/invalid indexes and index operator classes, and redacts literals inside partition bound expressions when exporting reports. SQLite catalog collection handles multiline indexON/WHEREclauses and word-bounded trigger events (UPDATEvsUPDATE OF col_name). PostgreSQLexplain --with-index(HypoPG) strips--line comments before creating virtual indexes. - Query-log ingestion (
culprit-querylog). Fixes a slice boundary panic on short timestamp prefixes, recomputes observation windowfirst/lastbounds after filtering multi-database logs, and captures structured JSONL error events without durations.
Full Changelog: github.com/culpritsql/culprit-sql-studio/compare/v0.4.0...v0.4.1
Downloads & SHA-256 Checksums
culprit-cli-linux-x86_64(26.3 MB)culprit-cli-linux-x86_64.tar.gz(11.5 MB)culprit-cli-macos(41.9 MB)culprit-cli-macos.tar.gz(19.8 MB)culprit-cli-windows-x64.exe(21.8 MB)culprit-cli-windows-x64.zip(9.7 MB)Culprit-SQL-Studio-Linux-amd64.deb(13.1 MB)Culprit-SQL-Studio-Linux-x86_64.AppImage(86.8 MB)GitHub Release ↗