Skip to content

Releases

Culprit SQL Studio 0.5.6

Choose a tag to compare

@github-actions github-actions released this 11 Nov 17:53

Added

  • TLS settings for new and saved connections. Choose encryption and certificate verification when adding a connection or editing an existing one. Test the draft settings before saving; available options follow the database provider, and token authentication requires verified TLS.
  • Background collection (preview). Collect PostgreSQL and Azure SQL Database telemetry through the CLI, with a durable local outbox, unattended Azure identity authentication, private Azure Blob recovery and ADX delivery adapters. Source collection and analytical delivery have independent progress and retry handling.

Improvements

  • Broader telemetry coverage. Archive statement statistics, persistent blocking activity, health, replication, settings and schema evidence through the same native readers used by scans and Live. PostgreSQL counter polling and SQL-definition collection have separate cadences.
  • Shorter plan explanations. Dashboard and query summaries stay concise, with assessment details available separately.
  • More responsive coding-agent tools. MCP tools handle requests independently, so a slow operation does not hold up unrelated requests.

Fixes

  • Recovery and delivery. Preserve progress through restarts and recovery-index outages; keep recent captures discoverable while historical delivery catches up.
  • Measurement accuracy. Preserve large counters, native JSON, units, reset information and measurement scope. Peak memory remains distinct from average memory.
  • Collection safety. Bound native reads and retain ownership through cancellation. Unconfirmed database work blocks replacement requests. Updated dependencies include the rustix memory-safety fix.
  • Website publishing. Fixed provider documentation headings that prevented the website from building.

Preview status: Live ADX delivery and production-load qualification remain pending. Background collection is opt-in; deployment examples start with zero replicas.

What's Changed

  • Add durable background telemetry collection and analytical delivery by @cristipufu in #8
  • Decouple telemetry query contracts from SQL Server by @cristipufu in #9

New Contributors

Full Changelog: v0.5.5...v0.5.6

Culprit SQL Studio 0.5.5

Choose a tag to compare

@github-actions github-actions released this 09 Nov 08:49

Improvements

  • Localization. German, Spanish and French throughout the app and CLI, including dates and numbers.
  • Lighter startup. Roughly two-thirds smaller UI entry bundle.
  • Index verification. Compare plans with hypothetical indexes before creating real ones.
  • UI improvements. Compact scan-error badge, better keyboard navigation and screen-reader support.
  • Broader validation. Automated live-provider, cluster and SSH/TLS tests, plus updated dependencies.

Fixes

  • SQL linting. Improved migration checks and quick fixes that preserve subsequent edits.
  • Editor reliability. Preserved tabs and undo history; closing a tab stops queued statements.
  • Language switching. Cached advice and other report text refresh correctly.
  • Stability and safety. Fixed Windows CLI crashes, plan-parser hangs and SQL-redaction edge cases.

Upgrade note: Take a fresh scan after upgrading; earlier saved scans and history use an unsupported format.

Full changelog

Culprit SQL Studio 0.5.4

Choose a tag to compare

@github-actions github-actions released this 06 Nov 18:27

Added

  • Remove connections from the app. Each connection card has a Remove button with an inline confirmation, so connections imported from Azure Data Studio, VS Code, DBeaver or DataGrip, discovered in the cloud or added by hand no longer need culprit conn rm. Removing forgets the connection, its keychain password and this device's scratch editor tabs, and leaves the connection if it was open. Its saved reports stay on disk.

Fixes

  • A removal finishes or leaves the connection as it was. When the keychain refused to delete a connection's password, as it does when you deny its prompt, the connection was already gone, the error said otherwise, and the password stayed behind. The password now goes first: a refusal keeps the connection, and removing it again works.
  • A reused name starts with its own history. A connection added, imported, discovered or renamed under the name of a removed one showed the removed connection's last scan on its card and when opened, until its own first scan. Those reports now move to reports/.removed/. A connection saved without a password also never reads one left in the keychain under its name, so another server's password can't be sent to it.

What's Changed

  • feat(connections): remove saved connections from the app by @cosminvlad in #2

New Contributors

Full Changelog: v0.5.3...v0.5.4

Culprit SQL Studio 0.5.3

Choose a tag to compare

@github-actions github-actions released this 05 Nov 09:40

Fixes

  • Scheduled digests know which lock escalations are new. On a real server, culprit digest --since couldn't match a scan to the previous digest when grading lock escalations, so each table stayed high or medium severity for as long as its average since SQL Server started stayed high, even after the escalations stopped. A table with no new escalations now reads "none since" and leaves the digest's problems on the next run, and a table with new ones says how many happened since the previous digest.
  • Escalations over a weekend stay visible. With the comparison working, a digest taken long after the previous one would have marked its new escalations as informational: Monday's after Friday's, on a two-day window. They now count as new however long the gap, because a digest's counts cover exactly the time since the previous one.
  • Digests compared with an earlier report. culprit digest --report … --since <report> had the same mismatch on real servers, which dropped its lock-escalation comparison and its pg_stat_statements eviction comparison. Both now work.

Full Changelog: v0.5.2...v0.5.3

Culprit SQL Studio 0.5.2

Choose a tag to compare

@github-actions github-actions released this 25 Oct 11:32

Added

  • SSH jump hosts. Connect to private databases through a host or alias from your OpenSSH configuration. Add a route in the connection form or a saved connection's SSH settings, test it before saving, or use the CLI's --ssh, --ssh-port, --ssh-key and --no-ssh options. Culprit uses the system OpenSSH client, configured agent and already-trusted host keys; encrypted keys must be unlocked in the agent. The real database endpoint stays intact for TLS verification, AWS IAM, Microsoft Entra ID and cloud metrics.
  • Result value and row inspector. Double-click a cell, press Enter or choose Inspect to explore long text and JSON in a side panel. Switch between raw and formatted JSON, inspect a whole row, move between rows and copy complete values. Large values expand on request, and JSON formatting preserves large numbers, duplicate keys and escapes.
  • CSV and JSON file export. Export all loaded query-result rows across grid pages. CSV protects formula-like values when opened in spreadsheets; JSON preserves duplicate column names and native value types. Desktop files go to Downloads without overwriting existing files, and the browser demo downloads the same formats.
  • Data-tab filtering and sorting. Enter a WHERE expression or click a column header to cycle ascending, descending and unsorted reads. Previews request up to 1,000 rows, show at most 100 per grid page and use read-only sessions, execution deadlines and the result-size budget. Sorting uses the applied filter; unsent edits remain marked as drafts. Open in editor carries the current filter and ordering into SQL.
  • Editor tabs remembered per connection. Open tabs, unsaved SQL, saved-query links and the active tab survive restarts and connection switches. Renaming a connection carries its workspace along. Restoring tabs never executes their SQL or restores execution consent.

Fixes

  • Reliable preview cancellation. Leaving a table or Data tab, switching connections, reloading or closing a window retires its backend preview. Replacements wait for the retired request to release its slot. MySQL/MariaDB previews tolerate refused timeout settings and explicitly cancel their own tagged query when needed. Setup round-trips no longer consume the query's execution budget, and late server timeout replies no longer cause a false unconfirmed-cancellation warning.
  • Safer SSH routing and clearer connection feedback. Parallel database connections keep separate SSH diagnostics, half-closed streams drain their final response, and owned routes and processes are bounded and cleaned up. IPv6 destinations and literal identity-file paths are validated consistently. Loopback databases reached through SSH retain remote environment defaults; invalid advanced fields are revealed, and unchanged settings do not show a misleading success toast.
  • Resilient editor state. Opening SQL or a saved query does not duplicate tabs under development-mode remounts. Actions rejected at the tab limit are consumed once and cannot leak into another connection. Corrupt legacy state cannot block saving new workspaces; storage failures stay visible and preserve the last stored copy. Typing saves only changed SQL, and adding a tab updates its metadata and selection together.
  • Modal keyboard handling and long-text layout. Result inspection and SSH settings keep Escape and keyboard focus contained when controls disappear or become disabled. Inline SQL, identifiers and finding verification steps wrap within their panels. The SQLite demo uses its database file path correctly.

Full Changelog: v0.5.1...v0.5.2

Culprit SQL Studio 0.5.1

Choose a tag to compare

@github-actions github-actions released this 24 Oct 19:41

Improvements

  • Connection setup. A searchable database picker replaces the provider button grid and shares a row with the connection string. Connection cards group database identity, endpoint, saved findings and settings more clearly.
  • Consistent provider branding. The app and website use bundled, transparent provider logos. Product identities come from the shared engine catalog, including products that share a provider.
  • Complete plan examples. The standalone Plans view derives its supported formats from the core catalog and offers captured sample comparisons for every supported database product. Coverage tests require formats and samples when a product is added.

Fixes

  • Scalable Azure and AWS discovery. Inventory is read in bounded cloud pages and retains at most 20 matching databases. Refined searches can reach later pages; incomplete searches explain their limits. CLI output reports whether more matches may exist, and bulk saving requires a complete search.
  • Responsive cloud searches. Editing search terms or regions, replacing a search, or closing its panel cancels obsolete native work and releases its search slot. Late responses and cancellations cannot overwrite or retire the current search.
  • Cloud CLI lookup from desktop launches. Azure and AWS executables are resolved from PATH and standard install locations on macOS, Linux and Windows, including Windows batch launchers. Only the child process's PATH is extended; shell startup files are not loaded.
  • Bounded cloud authentication and metrics. Azure token acquisition and Monitor reads now share discovery's 15-second subprocess deadline, closed stdin, output limits and process-tree cleanup. Local process failures bypass the unsupported-metrics fallback.

Full Changelog: v0.5.0...v0.5.1

Culprit SQL Studio 0.5.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 13:33

Added

  • YugabyteDB support. A native YSQL/DocDB provider collects distributed statement counters, DIST plans, sharding and index metadata, retained plan history, sampled activity, unexpected terminations and shared node resources. Live views include native blocking, COPY and index-backfill progress. Hypothetical index testing uses isolated direct backends without creating real indexes. Node, role and retention scope remain explicit.
  • TimescaleDB support. The PostgreSQL provider detects the extension automatically and collects logical hypertable sizes, row estimates, managed chunks and compressed storage. Plans and index advice target the owning hypertable, use supported per-chunk build syntax and keep ordinary PostgreSQL tables separate from managed storage.

Fixes

  • Safer sharing and exports. YugabyteDB dollar-quoted literals, distributed node identifiers and role scope are redacted. Plan comparisons derive their summaries from redacted plans so parameter values cannot leak through comparison prose.
  • Reliable provider collection. Physical partition indexes retain their parent links, later lock rows cannot erase a known blocker, and active-session history uses the shared observation deadline. TimescaleDB collection preserves existing table metadata and tolerates objects disappearing during retention or concurrent schema changes.
  • Consistent engine advice. Planning labels, affected-row counts, wait sampling, session-reset guidance and index advice follow declared engine and product capabilities. MySQL and MariaDB keep their own version-specific index syntax; hypertable advice avoids unsupported concurrent DDL.
  • SQL highlighting. Punctuation remains visible when SQL text is highlighted.

Documentation

  • Engine parity now provides one comparison and a consistently structured guide for every supported provider, covering connection setup, permissions, workload and plans, live activity, schema and indexes, evidence limits and verified versions. The README and website use the same provider catalog.

Full Changelog: v0.4.4...v0.5.0

Culprit SQL Studio 0.4.4

Choose a tag to compare

@github-actions github-actions released this 23 Oct 18:05

Fixes

  • Safer plan exports and updated dependencies. SQL Server native-plan redaction handles parsed XML attributes, including alternate attribute quoting and encoded values. Vulnerable TLS dependencies are updated, and unused ZIP extraction is removed.
  • Bounded queries and reliable cancellation. Queries and measured plans share a 30-second deadline across connection setup, validation and execution; observations and connection tests use 10 seconds after authentication. SQLite stops work when its deadline expires or its caller cancels, including time queued for a worker. Result grids retain at most 10,000 rows or 8 MiB of cell data, while network results are drained so a late database error is still reported.
  • Safer saved state and report selection. Saves are published atomically, concurrent local updates are serialized, and the newest-report pointer follows scan time. Large report reads, exports, comparisons and store updates run in bounded background workers so they cannot freeze the desktop or monopolize async runtime threads.
  • Bounded query-log ingestion. Large or growing logs are sampled within size limits, cut multiline records are discarded, and incomplete coverage is stated explicitly. Invalid or extreme duration values cannot produce infinite totals or variance.
  • Plan and MCP crash fixes. Malformed, oversized and excessively deep SQLite plan trees are rejected before building them. MCP tool calls keep engine operation state off the caller's stack, preventing a stack overflow while opening captured plans.
  • Current connection and window own their results. Late responses from a previous connection, time window or overlapping scan cannot replace the active report, clear its progress indicator or surface a stale error. Failed API initialization can be retried. Renaming a connection carries its active session and remembered window to the new alias and submits only once when Enter is followed by blur.

Performance

  • Lower saved-report memory use. Replay skips obsolete derived views, releases unused JSON early and shares identical retained snapshots and native plan text. Readers that need only a snapshot or comparison statistics avoid replaying the entire report.
  • Responsive large workloads. Query lists are paginated and query summaries are indexed. Editor linting releases its snapshot-cache lock before analysis, allowing other editor requests to proceed.

Full Changelog: v0.4.3...v0.4.4

Culprit SQL Studio 0.4.3

Choose a tag to compare

@github-actions github-actions released this 23 Oct 11:34

Added

  • Multi-statement execution and multiple result panes in the SQL Editor. Clicking Run (⌘↵) on a script or selection containing multiple ;- or GO-separated statements now splits the script into individual statements (respecting single/double/backtick/bracket quotes, PostgreSQL dollar-quoting, and comments) and executes them sequentially in order:
    • Single result set + setup statements (such as CREATE EVENT SESSION …; ALTER EVENT SESSION …; SELECT …;): displays a clean completion summary for the command statements alongside the SELECT result grid.
    • Multiple SELECT statements: renders stacked result panes (SSMS-style), each with its own row count, execution time, and statement snippet header.
    • Production write safety: checks every statement in a multi-statement batch before running against a production connection, aggregates warnings across all statements in the confirmation dialog, and reports the exact statement index (Statement N of M) if an error occurs mid-batch.

Fixes

  • Runnable lock-escalations Extended Events session script. Comments out the illustrative WHILE 1 = 1 batching loop template in lock-escalations findings so opening the script in the SQL Editor runs the CREATE EVENT SESSION + ALTER EVENT SESSION + SELECT statements immediately without syntax errors.
  • Smart Open in editor filtering and parameter substitution. Hides Open in editor on:
    • Parameterized write statements (DELETE, UPDATE, INSERT, MERGE with @par0, $1, ?).
    • Read queries with more than 10 unbound placeholders remaining after plan parameter substitution.
    • Non-SQL my.cnf INI blocks ([mysqld]), standalone OPTION (...) query-hint fragments, comment-only guidance blocks, and unfinished <placeholder> / … templates.
    • DDL/maintenance statements on read-only SQLite connections.
    • For SQL Server SELECT statements whose captured plan records compiled parameter values (@par0 = N'…'), Open in editor automatically substitutes the compiled values into the query so it can be run or explained immediately.
  • SQL Server Plan Cache parameter declarations. Splits leading (@P1 int, …) parameter headers in sys.dm_exec_sql_text plan-cache entries into QueryStat.parameters and QueryStat.text (matching Query Store).

Downloads & Installation

Platform Desktop App CLI & MCP Server
macOS (Apple Silicon & Intel, Universal, signed & notarized) Culprit-SQL-Studio-macOS.dmg culprit-cli-macos.tar.gz
Windows (x64) Culprit-SQL-Studio-Windows-x64-setup.exe culprit-cli-windows-x64.zip
Linux (x86_64) Culprit-SQL-Studio-Linux-x86_64.AppImage · .deb culprit-cli-linux-x86_64.tar.gz

Checksums for all artifacts are in SHA256SUMS.txt. Existing desktop installations will receive the signed 0.4.3 update automatically via latest.json.

Full Changelog: v0.4.2...v0.4.3

Culprit SQL Studio 0.4.2

Choose a tag to compare

@github-actions github-actions released this 23 Oct 08:14

Fixes

  • Timespan window baselines for cumulative counter findings (lock-escalations, hot-rows, operational-errors). Selecting any timespan window (1h, 6h, 24h, 7d, 30d, or a custom --window) now compares cumulative engine counters against the oldest compatible saved scan inside that window rather than only the immediately preceding scan. An intermediate scan taken a few hours ago with zero additional events no longer hides findings that occurred earlier within the selected window into History. When a pre-window scan from the same server uptime confirms that zero events occurred across the entire selected window, the finding is accurately placed in History.
  • Scheduled CI and Slack digest comparisons (culprit digest). Daily and periodic scheduled digests now compare across Query Store 1-hour interval boundary jitter and retention-capped workload windows (such as a 2-day Query Store cap under a 7-day request) instead of falling back to "No comparable previous digest". Undated since-startup lock escalations and counter findings with rates above 1/week stay in Needs attention on the first digest run or when no prior baseline exists, and ChecksumFailures page-corruption alerts are never suppressed by a zero counter delta.
  • Explicit --since digest baselines and legacy digest upgrades. Passing --since <scan-or-digest> to culprit digest always seeds counter baselines from the specified baseline, and pre-0.4.0 saved digests without identity/measurement envelopes upgrade cleanly for comparison.

Full Changelog: v0.4.1...v0.4.2