Skip to content

v0.25.0

Choose a tag to compare

@github-actions github-actions released this 28 Jun 14:21
· 796 commits to main since this release
950dcdd

sqly v0.25.0

Easily execute SQL against CSV/TSV/LTSV/JSON and Microsoft Excel™ with a shell.

Install or upgrade, then see the grouped highlights below. Every artifact is
signed and ships with an SBOM and build provenance — see
Verifying release integrity.

Changelog

Features

  • 563b354: feat(shell): buffer multi-line SQL until a complete statement (@nao1215)
  • f1d2617: feat(shell): complete Excel sheet names for .import --sheet (@nao1215)
  • d39b472: feat(shell): complete filesystem paths for .cd, .ls, .dump, and .save (@nao1215)
  • 25c049c: feat(shell): guide accidental "sqly help"/"sqly version" to the right flag (@nao1215)
  • aa16d88: feat(shell): surface a hint when non-interactive sqly receives no statements (@nao1215)

Bug fixes

  • 1a8db03: fix(compare): follow CLI input order for left and right tables (@nao1215)
  • 040998e: fix(config): make InitSQLite3 idempotent with a package-level sync.Once (@nao1215)
  • a7383d9: fix(config): reject an explicit empty --sql value (@nao1215)
  • cc01d26: fix(config): skip default config dir when SQLY_HISTORY_DB_PATH is set (@nao1215)
  • 7d672f3: fix(memory): order TablesName by rowid for a documented import order (@nao1215)
  • d9eecfe: fix(shell): abbreviate home prefix only at a path boundary (@nao1215)
  • ae08b80: fix(shell): bind documented Ctrl+F/Ctrl+B cursor-movement keys (@nao1215)
  • 6fc270d: fix(shell): bind documented Ctrl+L clear-screen key (@nao1215)
  • a1fcbca: fix(shell): bind documented Ctrl+P/Ctrl+N history keys (@nao1215)
  • 28a9aec: fix(shell): complete the token under the cursor, not the line end (@nao1215)
  • 3125046: fix(shell): descend into space-containing directories in .import completion (@nao1215)
  • f4748b1: fix(shell): escape space-containing paths in .import completion (@nao1215)
  • a2fee44: fix(shell): expand ~ home-directory paths in helper commands (@nao1215)
  • 07d48c5: fix(shell): expand ~/ home paths in .import completion (@nao1215)
  • 9e1a49b: fix(shell): fail batch mode when helper commands miss required arguments (@nao1215)
  • 213e26b: fix(shell): fail gracefully when the interactive terminal is unavailable (@nao1215)
  • 31593f0: fix(shell): harden --sheet completion per review (@nao1215)
  • 4ea4231: fix(shell): keep Windows-style backslash path prefixes completable in .import completion (@nao1215)
  • 7c42a49: fix(shell): keep report-only runs quiet on stderr after directory imports (@nao1215)
  • ecf8880: fix(shell): make .clear a no-op in batch mode (@nao1215)
  • 79b74b2: fix(shell): make .import completion quote-aware for in-progress quoted paths (@nao1215)
  • dc5a9b7: fix(shell): normalize completion scan path so backslash prefixes resolve on POSIX (@nao1215)
  • c31a8db: fix(shell): reflect typed JSON modes in prompt and .mode output (@nao1215)
  • 367149c: fix(shell): reject unexpected extra arguments in .pwd, .clear, and .exit (@nao1215)
  • 94034e3: fix(shell): scope .import completion to the typed path prefix (@nao1215)
  • ed10058: fix(shell): stop leaking the staging temp path in --stdin import errors (@nao1215)
  • 2919d38: fix: exit interactive shell cleanly on Ctrl-D instead of printing EOF (#594) (@nao1215)
  • b7848f8: fix: invalidate import cache on content change via SHA-256 key (#592) (@nao1215)
  • c7b97ba: fix: reject symlink aliases that resolve to blocked system paths (#622) (@nao1215)

Performance

  • 15041fa: perf(shell): aggregate --profile statistics in a single pass (@nao1215)
  • fddfa20: perf(shell): avoid holding both tables during keyed compare (@nao1215)
  • 7fbbe0a: perf(shell): cache table/column metadata for SQL completion (@nao1215)
  • 887e031: perf(shell): write history with a single insert via AUTOINCREMENT (@nao1215)

Documentation

  • 7b98152: docs: credit issue reporters as contributors and fix Marukome0743 avatar (@nao1215)

Others

  • 88bd52e: Merge remote-tracking branch 'origin/main' into test/issue-654-655-smoke-coverage (@nao1215)
  • cf33bbc: Merge remote-tracking branch 'origin/main' into test/issue-657-hermetic-e2e (@nao1215)
  • 898b01b: build: go mod tidy after prompt v0.0.6 upgrade (@nao1215)

Full changelog: v0.24.0...v0.25.0