Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 09:36
· 6 commits to main since this release
504b13f

Download

File
locus-0.3.0-windows-x64-setup.exe Installer, Windows 10/11 x64. Installs for the current user (no admin) with a Start menu entry and an uninstaller.
locus-0.3.0-windows-x64.exe Portable, Windows 10/11 x64. One file, nothing to install; the Oracle helper is embedded.
*.sha256 SHA-256 checksums
*.minisig minisign signatures, key RWRDNREpYa8EZ59rUGsAnTVNIMjNfUWhciyq6SgS2MpNZvMGj0yVAZ0s (minisign.pub)
THIRD_PARTY_LICENSES.md Licenses of bundled dependencies

Verify: (Get-FileHash .\locus-0.3.0-windows-x64.exe).Hash -eq (Get-Content .\locus-0.3.0-windows-x64.exe.sha256).Split()[0]
Provenance: gh attestation verify locus-0.3.0-windows-x64.exe -R sao-coding/locus
Signature: minisign -Vm locus-0.3.0-windows-x64.exe -P RWRDNREpYa8EZ59rUGsAnTVNIMjNfUWhciyq6SgS2MpNZvMGj0yVAZ0s

The exes are not code-signed yet, so Windows SmartScreen may warn on first run: choose "More info" → "Run anyway".

What's changed

Features

  • Relationship diagrams show a detail panel for the selected table (columns, keys, defaults, indexes, row count; open data, structure, SELECT * into the editor, copy name). The JOIN path button finds the shortest chain of foreign keys between the Shift+clicked tables and inserts the SELECT … JOIN …, with a chooser when several are as short. Columns like customer_id that match a table but have no foreign key are drawn as dashed "inferred" relations (can be turned off), foreign keys without an index get a warning and a footer count, card headers can be tinted by schema or name prefix with a legend, and the Export menu saves the diagram (or the selection) as PNG or SVG in the current theme.
  • Relationship diagrams draw foreign keys as curved lines with crow's-foot ends (optional, mandatory, one-to-one). Lines are curved by default; the header View menu switches between curved and smooth (rounded orthogonal) lines per diagram, next to the card detail; lines entering the same table get their own vertical. Hovering a table highlights its relations and neighbours and dims the rest; hovering a line highlights its key columns and shows orders.customer_id → customers.id with the constraint name. A minimap (bottom right, can be turned off) pans the view, Ctrl+F finds a table and flies to it, cards can show all columns, keys only or headers only (also per card with the chevron), and Auto arrange produces fewer crossings.
  • Parameters follow DBeaver: Settings › Queries has switches for :name, @name, $name and ? (and a master switch); on MySQL, SQL Server, PostgreSQL and Oracle an @name that the script itself sets, an operator or a SQL*Plus @file is left alone. New client-side variables: @set name = value, @unset, @echo and ${name} text substitution (the Production guard and audit see the substituted statement), an undefined ${name} asks in the Run dialog, "Show variables" in the palette lists, edits and deletes them, and ${ completes variable names. See docs/parameters.md.

Fixes

  • Space menu shows each Space's own icon (in its colour) with the check mark in a fixed column on the right; snippets now have tab stops: after accepting one the first stop is selected, Tab / Shift+Tab move between stops, $0 is the last caret position and Esc leaves snippet mode.

Full Changelog: v0.2.1...v0.3.0

VirusTotal scans of this release:
locus-0.3.0-windows-x64-setup.exe ·
locus-0.3.0-windows-x64.exe