Skip to content

v0.2.0

Choose a tag to compare

@kackerx kackerx released this 10 Oct 23:51
· 488 commits to main since this release

First tagged release with an installable module path. This is the third round of usage feedback (M10, F10.1–F10.12): source only, no prebuilt binaries yet.

Install

go install github.com/kackerx/sqlmux/cmd/sqlmux@v0.2.0

Requires Go 1.26+. Prebuilt binaries, a Homebrew tap and an npm package are planned for the next release.

New

  • Record selection on tables: m marks the current record, v / V starts a VISUAL range, esc keeps it. d marks the selected records for deletion (C-s commits, as before), y copies them as a JSON array. Works in transposed view and on result tabs; the chip row shows N selected.
  • flash.nvim-style jump: s on a table, the tree, a query or the result area, type a few characters, press the label that appears next to a match. Works across panes; smartcase; ↵ jumps to the nearest match.
  • Connection groups: group = "prod" in connections.toml (or the new form field) groups connections under ── prod ── separators in the tree and the connection manager.
  • Paged query results: a query's result holds 500 rows a page ([query] max_rows); ] / [ on the result tab page through statements that got the automatic LIMIT. CSV export names its page.
  • Column order: J / K in COLS move the current column; the order is saved in layout files (order_cols) and used by yank / transpose.
  • The WHERE history / favorites list fills the pane instead of stopping at 8 rows, and flips above the input when there is no room below.
  • A new session asks for its name first (prefilled with the smallest free number).
  • The workspace in the tree lists tabs directly under windows with a ① / ② pane prefix; the pane level is gone.
  • The sidebar shows « / » toggles instead of key text.
  • Deleting an open query file from the tree closes its tabs everywhere instead of refusing.

Breaking

  • console is now query everywhere (the DataGrip wording): the tree node is Queries, actions are query.* (query.new, query.format, query.schema, query.conn, query.rename, …), keymap tables are [keys.query] and [map.query.*], the config section is [query], the theme icon key is query. Old keys are not aliased: an old [keys.console] table fails sqlmux keys --check. The data directory consoles/ and its console_<n>.sql files migrate to queries/ and query_<n>.sql on first start; renamed files are left alone.
  • The module path is github.com/kackerx/sqlmux (it was sqlmux), which is what makes go install work.

Full list: specs/m10-feedback3/task.md.