Repository navigation
Immutable
release. Only release title and notes can be modified.
Security, reliability and release hardening across the whole app — plus one honest note: issue #62 (AppImage black window) remains open.
This release is the outcome of a full audit of the codebase and its issue tracker. Every change below was implemented against a written spec, verified independently before merge, and re-checked by a two-axis code review and an end-to-end gate that found bugs unit tests could not.
Highlights
- SSH host keys are verified before your credentials are sent, not after. A host you have connected to before verifies silently; a host Gridline has never seen pauses and asks you to accept its fingerprint once, which is remembered (non-standard ports included); a host whose key has changed fails closed and shows both the expected and the actual fingerprint. Replacing that trust is a separate, deliberate re-enrollment action — there is no inline override in the authentication error path — and the trust records contain no credentials, so no password, key or passphrase can reach a server whose identity has not been checked.
- A TLS mode Gridline does not recognise is now an error instead of a silent downgrade to plaintext. Only the supported modes are accepted — at save, at import and at connect — and the message names the valid set, so a typo or an imported
ssl_modefrom another tool can no longer connect with no TLS at all. Certificate verification through an SSH tunnel validates the original database hostname rather than the loopback endpoint the tunnel binds, soverify-caandverify-fullkeep their meaning over a tunnel; MySQL, which cannot verify the hostname through a tunnel, refusesverify-fullthere instead of quietly weakening it. - File access goes through File Grants. Backup output, restore input, streamed exports, CSV/JSON imports, settings import/export and connection transfer still open the normal native picker, but what comes back is a backend-issued grant scoped to one intent that expires five minutes after the selection and is used up by the first job that consumes it. A path the interface displays authorises nothing, so a bug or a compromise in the webview cannot name a file for the backend to read or write; a second file operation means selecting the file again, and an expired, already-used or wrong-intent grant produces a visible state with a recovery action rather than a fallback to the raw path. Output is written to a temporary sibling and only then published, so a failed export or dump removes its partial file and leaves any prior destination intact.
- A SQLite table rebuild is one transaction or no change at all, and it reproduces the table rather than approximating it. The create-copy-drop-rename script runs inside a single transaction with foreign-key enforcement suspended around it and
PRAGMA foreign_key_checkrequired before commit, so a failure restores the original table with no temporary file and no lost rows. Every clause the column editor does not model is carried over from the storedCREATE TABLE—CHECK,COLLATE,REFERENCESwith their actions, named and compositePRIMARY KEY/UNIQUE/FOREIGN KEY, expression defaults, generated columns,WITHOUT ROWID/STRICT— and indexes, triggers and theAUTOINCREMENTsequence are recreated, so ids the table already issued are never handed out again. The script is read back and checked against the live table before the first mutating statement: an object it would not reproduce, or a shape it cannot represent (a virtual table, an unreadable definition, a generated expression naming a dropped column), refuses the whole change in the editor with Stage disabled. Values are copied by Column Identity, so a reorder moves no data, and a rename is staged only when you rename a column — adding, removing or moving one is never read as a rename. - An edit or delete now changes exactly the row you selected, or nothing. Row Identity uses every primary-key column, so a composite key can no longer match its sibling rows, and a backend row locator is used only for a table with no primary key — never as a visible or exported column. The write runs in a transaction that commits only when exactly one row matched: zero or multiple matches roll back, so a reported failure can never conceal a durable change. The original value of the edited column travels with the write as an optimistic check, so another session's intervening change is reported as a conflict instead of being overwritten. Pending changes stay grouped by their Change Origin — the saved connection, database and target configuration they were staged against — so work staged in one environment cannot be committed into another, and each origin's queue reappears when you return to it.
- PostgreSQL restores are transactional whenever the dump allows it (
pg_restore --single-transaction, orpsql --single-transactionfor a plain script), so a statement failure rolls the target back instead of leaving it half-replaced. A dump that cannot be atomic is identified before it runs — a bounded scan that skips comments,COPYdata and dollar-quoted bodies, and looks forVACUUM,CREATE/DROP DATABASE,CREATE/DROP TABLESPACE,ALTER SYSTEM,CREATE SUBSCRIPTION,CLUSTER,CONCURRENTLYindexes, a psql\connector its ownBEGIN/COMMIT— and only runs after you explicitly accept the partial-application risk the form states; an incompatibility that only appears at execution time still rolls back and explains the next step. A restore that is waiting on a lock is terminated after 60 seconds of continuous waiting (a large, progressing restore is never killed) and the failure names the wait instead of the tool's 'terminating connection' symptom, and in DB Sync a target failure is reported as the primary error rather than the broken source pipe it caused. - MySQL restores read the dump as MySQL writes it and clean exactly what the dump recreates. Statement splitting honours backslash and doubled-quote escapes,
#and--comments,/*! … */executable comments andDELIMITERdirective bodies, and a quoted object name containing a dot stays one name instead of becoming schema plus table; the splitter borrows from the one buffer read from disk, so a dump at the 100 MB limit peaks around 150 MB of memory instead of several hundred. Clean drops only the tables, views, procedures, functions, triggers and events the dump recreates — an unrelated table in the target survives — and the replay is refused before anything runs if the dump would write outside the selected database (USE otherdb, or a schema-qualifiedCREATE/DROP), because replaying that verbatim restored nothing while the clean plan dropped the same-named object inside the target. The metadata-lock wait is bounded too, at 60 seconds instead of the server's one-year default. - A SQLite dump is taken from one consistent snapshot, and it is either lossless or refused. Every table in the dump is read from the same snapshot, a row or metadata decode failure fails the backup instead of quietly dropping rows, the connection's own file cannot be chosen as the destination, and the dump is published atomically — a failure leaves any existing destination untouched. Values SQLite can store but a naive dump loses are preserved through a round trip or rejected before publication: invalid-UTF-8
TEXT,BLOBs, non-finiteREALs, sequence state,user_versionandapplication_id. - Every place SQL can be sent from applies the same rules. Run, toolbar re-run, history and saved-query runs, pagination, refresh and export all go through one guarded path (an ad-hoc query tab is excluded from table auto-refresh timers, so edited but unreviewed SQL cannot execute on a hidden timer), and classification reads the whole script: comments,
/*! … */executable comments, data-modifying CTEs,EXPLAINforms and unknown verbs are recognised, and an uncertain verb prompts rather than being assumed safe. Export is validated in the backend against an allowlist of read-only operations and executed under a read-only transaction (query-only for SQLite), so it cannot become an unguarded write path even if the frontend is bypassed. A confirmed destructive request is bound to its tab, Change Origin and exact SQL revision, and the statement runs once per accepted request — no count probe, no re-run on an empty result, no raw fallback — so aSELECTwith side effects cannot execute twice and a total that cannot be obtained safely is reported as unknown. - Long-running work is owned and cancellable. Backup, restore, sync and export jobs have visible cancellation that terminates the child process tree, quitting during a job takes its children with it, and availability and version probes are bounded and fail visibly instead of waiting on a broken tool. A continuously progressing large job is never killed by a total-duration limit. A slow query, export or schema read on one connection no longer blocks unrelated connections and tabs, and disconnecting closes the pool, the tunnel and the cancellation state together — a failed reconnect leaves the previous working session intact rather than silently breaking it.
- Release engineering was reduced to one pipeline with least trust. GitHub Actions is the only release path (the Gitea mirror keeps syncing code and builds nothing), every third-party action is pinned to a commit SHA, each job declares only the token scope it uses, and tag metadata reaches shell steps as data rather than as rendered program text. A macOS build without working signing and notarization credentials fails instead of publishing an ad-hoc artifact, and every macOS asset is verified (
codesign --verify --deep --strict, hardened runtime, timestamp, stapler, Gatekeeper) before it is uploaded. The bundled PostgreSQL and MariaDB tools come from pinned inputs whose SHA-256 is re-checked on every build, packaged manifests are verified before upload, Homebrew cask rendering validates its version and checksums before it touches the tap, and known dependency advisories were either upgraded or assigned an owner, a rationale and a review date that CI enforces — along with cross-platform compile/test coverage on all four shipped targets. - The Linux support claims now describe what is actually tested. Releases are one build from Ubuntu 22.04 x86_64 repackaged as
.deb,.rpmand.AppImage; there is no per-distribution certification and no ARM build, and the README, the landing page and this changelog no longer imply otherwise. The AppImage black-window report (issue #62) remains open: no cause has been identified, nothing in this release claims to fix it, and Gridline ships no unconditional graphics workaround. What did ship is a diagnostic checklist asking for the exact Fedora release, session type, GPU and driver, terminal output and the result of each documented workaround, so the report can be reproduced from evidence.
Upgrading
Two behaviour changes are worth knowing before you update:
- Unknown TLS modes are now an error. A saved or imported connection whose
ssl_modeis not one ofdisable/require/verify-ca/verify-fullis refused with the valid set named, instead of connecting without TLS. - SSH hosts are verified before authentication. The first connection to a new host asks you to accept its fingerprint once; a host whose key changed fails closed and offers a separate re-enrollment action in the connection's SSH settings.
SQLite connections also no longer create a missing database file on connect — creating one is an explicit action.
Verified
- 12 feature areas, 2,075 frontend and 1,141 Rust tests, four end-to-end flows against the built binary
- macOS builds are Developer-ID signed, notarized and stapled; this release's DMGs were verified before upload
- Linux: one Ubuntu 22.04 x86_64 build, packaged as
.deb,.rpmand.AppImage— no per-distribution certification, no ARM build
Full changelog: https://github.com/AdrianBonpin/gridline/blob/prod/www/src/data/changelog.ts