Skip to content

Releases: Kidkender/zed-sql-tools

v0.4.0

13 Apr 09:15

Choose a tag to compare

fix: formatter bugs for DELETE, LIMIT/OFFSET, RETURNING, EXISTS, comm…

v0.3.0

07 Apr 02:45

Choose a tag to compare

feat: add 7 new linter rules and expand documentation

- DELETE without WHERE warning
- SELECT * warning
- = NULL error (use IS NULL)
- IN () empty list error
- LIMIT without ORDER BY warning
- WHERE 1=1 always-true warning
- Subquery without alias warning
- Linter tests moved to tests/linter_tests.rs
- README: added Syntax Checking section and full linter docs

v0.2.1

04 Apr 07:46

Choose a tag to compare

Changed

  • Renamed extension ID from zed-sql-tools to sql-tools for Zed marketplace compliance
  • Added MIT license

v0.2.0

04 Apr 07:34

Choose a tag to compare

Added

  • Smart single-line vs multi-line formatting heuristic (threshold: 80 chars)
  • Multi-column SELECT: each column indented on its own line
  • Complex WHERE: AND/OR conditions indented
  • JOIN and subqueries always multi-line
  • WITH/CTE statements preserved
  • Inline comments stay on the same line after formatting
  • 51 unit tests + 7 LSP end-to-end integration tests

Fixed

  • Repeat-save adding extra blank lines before AND/OR
  • ORDER BY users.email being truncated to ORDER BY users
  • WITH/CTE clause being dropped after format
  • INSERT without column list formatting incorrectly

v0.1.0

03 Apr 10:50

Choose a tag to compare

Added

  • Initial release
  • SQL language server (sql-lsp) with LSP protocol support
  • AST-based SQL formatter using tree-sitter-sql grammar
  • Linter: syntax errors, UPDATE without WHERE, SELECT without columns
  • Cross-platform builds: Linux x86_64/aarch64, macOS x86_64/aarch64, Windows x86_64
  • GitHub Actions release pipeline