Skip to content

Release v3.7.5 - #413

Merged
broisnees merged 171 commits into
masterfrom
nightly
Nov 23, 2026
Merged

broisnees merged 171 commits into
masterfrom
nightly

Conversation

@broisnees

Copy link
Copy Markdown
Collaborator

Promotes nightly to stable as v3.7.5 (stable is v3.0.0).

Merge with "Create a merge commit", not squash: it keeps master and nightly on one history. Merging tags v3.7.5 (auto-release.yml), and release.yml builds and publishes it.

Before this I ran 3.0.0 and then 3.7.5 on the same profile in release builds: both connections (with passwords) and all 60 settings came through, SQL, a new SQLite file and a language switch worked, and this exact commit built on every platform as nightly 3.7.5-nightly.202611230502.


Highlights

  • Share a database as a web studio. Anyone with the link opens it in the browser at stroke.click, end-to-end encrypted. Everyone sees each other's cursors on the grid, and the shared console is one SQL tab you all type into at once.
  • AI agents can show you data. npx strokedb mcp gives Claude Code and other agents your tables, read-only, and a link that opens the one they mean.
  • New engines (beta): Google Cloud Spanner, BigQuery, Snowflake, Neo4j, InfluxDB, YugabyteDB, AlloyDB, and any database with an ODBC driver.
  • Five languages: Spanish, French, German, Portuguese and Japanese.
  • Proxy settings for app, AI, database and tunnel traffic, and tunnels through Kubernetes port-forward and AWS SSM besides SSH.
  • Large tables feel local. A big table is copied to disk in the background, deep jumps land in a fraction of the time, and wide JSON or HTML rows show what's on screen first.
  • Your own fonts for the interface, editor, grid, AI chat and terminal, plus SQL snippets, a display timezone, and export/import of your whole setup.

New Features

  • Shared console - While sharing a database as a web studio, Open shared console (command palette) gives you one SQL tab that everyone on the link edits together, in the app and in the browser. You see each other's cursors and selections by name, and Run runs the query for whoever presses it.
  • Let an AI agent show you the database - npx strokedb mcp is an MCP server for Claude Code and other agents, even ones running on another machine: it reads the database (tables, columns, read-only queries) and its show_table tool gives you a link that opens a table in the web studio or in Stroke. Later calls switch your open studio to the next table. In the app, a stroke://studio link opens the shared studio in a window of its own.
  • Separate fonts - Settings > Appearance > Separate fonts gives the interface, the SQL editor, the data grid, the AI chat and the terminal a font each, with a preview. The list has the bundled fonts and your OS's own, named for it (SF Pro, SF Mono and Menlo on a Mac; Segoe UI, Cascadia Mono and Consolas on Windows), and only the ones your machine has.
  • Font smoothing - Pick thin grayscale text (Stroke's look) or your OS's default smoothing.
  • Languages - Spanish, French, German, Portuguese and Japanese now cover the command palette, menu bar, start screen, new-tab page, table toolbar, SQL console, sidebar, status bar and most of Settings. Pick one under Settings > Appearance > Language.
  • Live cursors on a shared studio - When you share a database as a web studio (Labs), everyone on the link sees each other: a colored outline and name on the cell each person is on, their pointer, and what they are typing before they save. Saved changes on either side reload the table for everyone else.
  • Proxy settings - Settings > Network sends app requests, AI requests, database connections and tunnels each through its own proxy (HTTP or SOCKS5, with an optional login), or directly. Each has a Test button.
  • Kubernetes and AWS SSM tunnels - A connection can go through kubectl port-forward (to a service, pod or deployment) or AWS Session Manager port forwarding, as well as SSH. Pick it under Tunnel in the connection form.
  • SQL snippets - Settings > Snippets keeps SQL you reuse, each with a trigger word, fields Tab moves through, and the engines it applies to. The SQL editor offers them as you type, and they import and export as JSON.
  • SQLite and DuckDB files - "New SQLite database" and "Open a database file" on the start screen and in the command palette create or open a file in one step and connect to it.
  • Display timezone - Settings > Database shows timestamptz values in UTC, this computer's zone, or any zone you pick, with the offset written out. It applies in the grid and in copied rows; stored values do not change.
  • Export and import - Save connections, saved queries, settings and SQL snippets to one file and import it on another computer, without an account. Passwords and API keys go in only if you choose, encrypted with a passphrase. Settings > Account & Sync, or the command palette.

Bug Fixes

  • Laggy scrolling with a proportional grid font - With Separate fonts set to a proportional face for the grid (Inter, SF Pro), scrolling sideways dropped to about 50 fps on tables of long text. It holds 60 fps again.
  • Skeleton rows on wide tables over a slow link - On a big table with wide rows (HTML, JSON), the rows you scroll or jump to now show in about a second instead of after several, and scrolling sideways no longer sits on skeletons. The rows on screen are fetched first, and the background copy of the table yields to them.
  • Reconnecting while offline - With no network, the reconnect on launch no longer dials into nothing and then blames the host. It says you're offline and reconnects by itself when the network is back. A failed connect while offline says so, and repeated failures show one toast instead of a stack.
  • "Superseded by a newer load" after a reload - When the window reloaded while the app kept running, every table it had open failed with "Superseded by a newer load of this table" until Stroke restarted. Tables load again, and a replaced load is never shown as an error.
  • Two tabs of the same table - In All rows mode, scrolling or closing one no longer blanks the other's rows into skeletons that reload slowly.
  • AI chat - Run on a SQL block in a reply shows the result. It ran, but the result was hidden whenever query cards were turned off.
  • Stopping a large query - Stop ends the query at once instead of after the row being read (one large JSON value could take seconds), and the next query no longer waits while the stopped one's remaining rows are drained.
  • JSON viewer - JSON pasted as one line is laid out at once. In every code editor, text scrolled sideways no longer shows through the line numbers.
  • Changing the page size during a slow load - Rows per page and the pager stay usable while rows load, and a change stops the load it replaces on the server instead of waiting behind it. "1-1 of" no longer shows before any row has arrived.
  • What's new and the update window - Changes are grouped under New, Improved and Fixed, each as a title over what changed, and What's new opens on this version's changes. Updating from an older version no longer shows asterisks in the notes.
  • Elasticsearch and OpenSearch - "No indices yet? Create one" shows only on a cluster with no indices.
  • New connection - A pasted http(s) address that doesn't name its engine asks whether it is Elasticsearch, OpenSearch, CouchDB, ClickHouse or libSQL, instead of saying it isn't a connection string.
  • SQL Server values - decimal, numeric, uniqueidentifier and datetimeoffset columns showed NULL; they show their values, decimals at their exact scale. A datetime shows .997 instead of .996666666.
  • SQL Server types - Column headers say int, bit and nvarchar instead of int4, intn and bitn.
  • Oracle on Ubuntu 24.04 and later - When Instant Client won't load because libaio.so.1 is missing, the error says so and gives the link command for this machine, instead of only suggesting the library path.
  • New-tab page - The Terminal tile names the client it opens for this database (sqlcmd, sqlplus, turso, redis-cli), or the built-in SQL prompt, instead of "psql, mysql or sqlite3" everywhere.
  • Booleans in the record view and row panel - On SQLite, libSQL and D1 they show true/false like the grid, and the true/false picker starts on the stored value instead of a blank.
  • Escape - Closes every dialog, including What's new, which ignored it. It also leaves full screen in the ERD and diagram code views and stops a dashboard presentation, which it never reached before.
  • MongoDB filters - A filter that doesn't parse says what is wrong, such as "it is missing a closing }", instead of a parser diagram that pointed at the wrong place.
  • Redis sidebar - Says "1 client", not "1 clients".
  • What's new and the update window - Show each change's title in bold instead of printing its asterisks.
  • Status bar, several databases open - The other open databases show their engine icon, so a name like "127.0.0.1:18080" no longer reads as this connection's host.
  • Booleans on SQLite, libSQL and D1 - A boolean column shows true/false instead of 1/0, and its toggle starts from the stored value instead of NULL. It still writes 1/0.
  • ClickHouse decimals - Keep their scale and every digit: a Decimal(10,2) of 12.50 showed 12.5, and a Decimal(38) past a double's precision came back rounded.
  • Opening a connection - Lands on the database the connection names instead of the first schema alphabetically (INFORMATION_SCHEMA on ClickHouse).
  • Command palette - Finds the activity log by "logs".
  • MongoDB and Redis - An empty collection list says "No collections" instead of "No tables · Nothing in this schema yet", the document browser's view picker no longer cuts "Documents" short, and a new Redis connection is named "Redis@host" instead of "0@host".
  • Connecting a saved database again - "Open it" in the already-saved prompt connects to the saved one when you were connecting.
  • Notebook variables - A value with an apostrophe (O'Neil) inside '{{name}}' no longer breaks the cell or lets the value write SQL: its quotes are doubled inside a string literal.
  • Dropped tables - Opening or refreshing a table that was dropped or renamed since it was listed says the table no longer exists, instead of "Unknown column: id".
  • AI chat - A reply that mentions "a ```sql block" in a sentence no longer turns the rest of the reply into a code block captioned with that sentence.
  • Postgres backup and restore - Backups record the extensions their tables use (uuid-ossp, citext, PostGIS and others), and leave out what those extensions own. Restoring an older backup into a fresh database adds the extensions its tables need first, instead of failing on uuid_generate_v4() and rolling back.
  • Infinite scroll counter - It counts the rows that have loaded instead of staying at "50 of 100,000".
  • Connection latency - The first reading waits until the connect settles: a local database no longer flashes a red "958 ms", and one database's reading no longer carries over to the next.
  • Query history - Errors read as the database wrote them, without "error returned from database:". Runs under a millisecond show "<1ms".
  • Settings search - Every word matches in any order, so "page size" and "dark mode" find their settings.
  • Find in database - Counts views as views, and its warning no longer starts with a stray dot or outlives the query.

Large values

  • Cell panel - A JSON value of a megabyte or more (a jsonb holding a file) no longer goes blank when scrolled sideways. JSON is laid out with short lines at any size: one key per line, runs of numbers or strings packed into lines.
  • Record view - A value the grid fetched as a size has a Load button, and shows what it loads.
  • Record view and row inspector - Large values are shown cut and are edited in the cell panel (Space) instead of a field that could not draw them.
  • Text view - Very long cells are cut in the preview only. Copy and Download keep them whole.
  • Console - A new result starts at the top instead of where the last one was scrolled.

Changes

Performance

  • Tables with large JSON or text - Values past 8 KB arrive as their first 512 characters and their size, and load in full when the cell is opened or edited. A page of rows holding ~600 KB documents is a third of the size it was, and the grid shows each value's start instead of "[jsonb · 15 KB, truncated]".
  • Connect - The first screen after connecting paints about 25% sooner: the new-tab page no longer renders while last session's tabs are coming back (no flash), and the sidebar's connections list and chats render a frame after the rest.
  • Launch - The first screen paints about 13% sooner: the AI client and its prompts no longer load with the app.
  • After connecting - A hidden terminal no longer re-measures itself on every theme or zoom change (it was the largest main-thread cost after a connect), and the sidebar, tab strip and toolbar no longer force the page to lay out in the middle of rendering. The connections list and the tab strip use one right-click menu each instead of one per row.
  • Jumping deep into a large table - A jump to rows nothing has loaded near shows them in about a third of the time over a remote link: the rows on screen are fetched first, and a deep page ordered by the primary key skips ahead on the key's index instead of reading every row before it.
  • Local copy of large tables - Fills about four times faster locally and twice as fast over a far link, and waits until the grid is quiet so it never slows the rows on screen.
  • Deep scrolling in large tables - A large table opened with All rows is copied in the background to a local file, in the grid's own order, and windows already copied are read from it instead of asking the database for a deep OFFSET. A jump to row 900,000 no longer waits on the server reading every row before it.
  • Connect - Background warm-ups (editor chunks, the terminal dock, the CLI lookup) wait until the first screen after a connect has painted, and idle work waits for the main thread to be idle rather than just for no input.
  • Loading pill - Says "deep in the table, fetching" when the link is fast and the query is what is slow, instead of "slow connection".

Code

  • New-tab page - Shows Cmd/Ctrl+I for AI, its shortcut since 3.6.1.

Everything since v3.0.0.

github-actions Bot and others added 30 commits November 19, 2026 08:48
…roke (#309)

Since 2.20 the .deb ships /usr/bin/stroke and stroke.png, so the
unconditional mv of app failed and yay -S stroke-bin broke for everyone.
The renames now run only when the old names are there. pkgrel is a
template field, and aur.yml republishes a released version with a
higher pkgrel.
Provider, Docker, local-server and D1 connects build a fresh row on every
connect. A new one ignored the active workspace and landed in Personal, and
writing one over a saved row dropped its workspace, colour and group.

- upsertConnection files a new row under the workspace on screen and keeps
  workspaceId, color and group unless the caller names them. Sync writes
  with `exact` so the remote record stays the truth.
- The workspace follows the connection that opens, so the sidebar never
  lists a workspace without the open database.
- The sidebar list includes discovered (Docker, machine, studio) rows, the
  same rows the dialog lists and the switcher counts.
- Workspace switcher: sidebar tokens, a hairline frame so it reads as the
  picker rather than the first row, a focus ring, mono counts and a
  spoken "N connections" label.
…ost tunnels on every engine (#311)

* Roll back abandoned transactions instead of leaking them into the pool

A console transaction starts with a plain BEGIN, so sqlx does not know the
connection is in one. The idle sweep and a failed COMMIT dropped the
session, sqlx handed the connection back to the pool still inside the
transaction, and the next grid edit or console run joined it: writes never
committed, locks held. A live test reproduces it.

- Every session ends through release(): ROLLBACK, or close the socket if
  that fails.
- The idle sweep runs on a one-minute timer, not only on begin and status.
- Sessions carry the connection epoch. Switching, parking or closing the
  connection rolls them back, so a tab's statements can't run on a
  database the window has left.
- Postgres sessions set idle_in_transaction_session_timeout as a server
  backstop.
- The badge shows how long the transaction has been held and how many
  sessions wait on its locks (pg_blocking_pids, performance_schema).
- Quit and window close ask before rolling back open transactions, and the
  quit path stops its 6 second fallback while a question is on screen.

* Tunnels, Stop, big results, plans, ScyllaDB, connect overlay, polish, boot

SSH tunnels
- A supervisor rebuilds a lost tunnel on the same local port, with
  backoff, and tells the window (down, retrying, back, closed).
- ssh's own error is reported (rejected key, changed host key) and
  BatchMode is on. The keepalive set in the form now reaches ssh.
- A failed query says whether it reached the server; a write cut off by a
  lost tunnel reports "Result unknown".
- SSH for SQL Server, Oracle, ClickHouse and Redis. TLS through a tunnel
  verifies the server's real name: Postgres and MySQL get libpq's
  hostaddr in the vendored drivers, the others dial the tunnel and keep
  the name. Parked Labs connections keep their tunnels. Backups, Data Diff
  and schema compare go through the tunnel.

Stop
- Real cancel for SQLite (sqlite3_interrupt), DuckDB (InterruptHandle),
  ClickHouse (KILL QUERY by query_id), SQL Server (KILL, then a fresh
  client) and MySQL scripts. Engines with no cancel say the server may
  still finish. EXPLAIN ANALYZE is stoppable and has a statement timeout.

Big results
- MySQL, SQLite, DuckDB and SQL Server stream into the result store like
  Postgres. Results held in memory stop at 512 MB with a clear message.
  The store checks free space and names a full disk.

Plans
- Parallel nodes are no longer counted once per worker, CTEs once only.
  Steps with more than 12 children fold to the ones that ran.

Transactions
- The badge counts the whole chain of sessions waiting on the
  transaction.

Also
- ScyllaDB has its own picker entry, mark and scylla:// URLs.
- The connection dialog hands over before closing, so its panel never
  fades out over the form, and the launch overlay holds until the studio
  has painted. The connecting line animates transform.
- Chrome (title bar, menus, tabs, toolbars, status bar) uses a sans face
  even with the Mono font. One outlined search box style. In-page shadows
  are 1px outlines. A zoom indicator. Custom and Imported themes are
  grouped by their real mode, and Imported is listed only when one exists.
- Boot: stroke:// registration runs off the main thread (450ms on Linux
  desktops), the keychain read no longer blocks mounting, eight dialogs
  load on first open, and the last boot's timings are kept in
  stroke:last-boot.

* SSH tunnels for MongoDB, CouchDB, Elasticsearch, OpenSearch, Cassandra and ScyllaDB

- CouchDB, Elasticsearch and OpenSearch keep the server's name in the URL
  (TLS checks it) and resolve it to the tunnel.
- Cassandra and ScyllaDB use the first contact point through the tunnel;
  the driver already reaches every node through one endpoint.
- MongoDB points its mongodb:// host at the tunnel with
  directConnection=true. mongodb+srv:// and TLS are refused with a clear
  message: the driver can't dial one address while checking another name.
- Test, connect, Data Diff and backups all go through the tunnel, and the
  form offers SSH for these engines.

* Explicit transactions for DuckDB, SQL Server and Oracle

Each runs on a connection of its own beside the shared one, so the grid and
sidebar never read uncommitted rows. Closing the connection rolls back.

* Stream ClickHouse results row by row

Reads use JSONCompactEachRowWithNamesAndTypes and feed the grid or result
store as lines arrive, instead of parsing one JSONCompact document after the
whole body landed. Stop kills the query by id; an error the server writes
after the first rows is reported.

* One outlined search box on every page

Page, panel and toolbar searches that were hand-styled (filled pills, field
frames, rounded-full) now use search-box on the input or the new
search-shell on a wrapper row, the same 1px outline as SearchField. Menu
filter rows stay frameless.

* Load seven on-demand components lazily

The row inspector, query log, database name dialog, find and replace,
extensions panel, dashboard window and trial screen were in the startup
chunk though none shows at launch. The chunk drops from 778 KB to 698 KB.
…lans for document engines (#312)

* Live tests for SQL Server, Oracle and ClickHouse; drop finished SQL Server sessions

Transactions round-trip on real SQL Server and Oracle servers (rollback,
commit, abandoned and released). ClickHouse streams 2M rows and Stop leaves
nothing in system.processes. A transaction's SQL Server client now leaves the
cancel registry when it closes instead of keeping its login there.

* Stream Oracle and MongoDB results

Oracle queries feed the grid or result store as the session fetches them
instead of collecting up to the budget; Stop breaks the call. MongoDB find
and aggregate stream from the cursor past the console's 5,000-document cap,
with fields the first 1,000 documents lacked kept in (other fields). Both
verified on real servers.

* Stop on the server for Elasticsearch, OpenSearch, PostHog and MongoDB

Elasticsearch and OpenSearch requests carry an X-Opaque-Id and Stop cancels
the tasks holding it. PostHog queries carry a client_query_id and Stop sends
DELETE for it. A streamed MongoDB find or aggregate is tagged with a comment
and Stop runs killOp on it. Elasticsearch and MongoDB verified on real
servers; PostHog against a fake that checks the cancel call.

* Query plans for MongoDB, Elasticsearch, OpenSearch, CouchDB and libSQL

Explain draws MongoDB's executed stages (aggregate stages above the
cursor), a search's profile per shard and Lucene query, CouchDB's _explain
index choice, and libSQL's SQLite plan in the plan view. The full-scan
warning knows COLLSCAN and CouchDB's all-documents scan. Verified on real
MongoDB 7, Elasticsearch 8 and CouchDB 3.

* Outline the filter rows in menus and the terminal's find box

Menu and popover filter rows (chart picker, database switcher, data diff
pickers, column finder, model picker) are now an inset search-shell, the
same outline as every page search. The terminal's find box drops its drop
shadow for the outline and lights its border on focus.

* Stream DuckDB results natively

Console reads execute in DuckDB's streaming mode and are read through the
row API (raw_query), so DuckDB no longer materializes the whole result
first: 2M rows now grow memory under 120 MB where DuckDB alone held 214 MB.
The driver's Arrow iterator panics on a mid-stream error; the row API
returns it, and a test covers that.
JSON joins tables, charts, queries and diagrams as a share kind. The
table's JSON view, the SQL console's JSON view and its share menu, and
the JSON tool tab share what they show (a JSONPath result when there is
one). The dialog previews the JSON and offers its top-level fields to
leave out or mask, the way it offers a table's columns.

Search fields show focus as one crisp accent edge, hovered or not. The
soft halo beside a hover-gray border read as two outlines. The popover
pickers' search had its focus edge removed by no-focus-ring, and menu
filter rows drew an old bottom hairline over the new outline.
A centered mark, a sharper line on what Stroke is, badges and a current
screenshot; why it holds up (streaming, Stop, staged edits, plans, tunnel
reconnect, local credentials); all 21 engines by kind and the providers;
features in short groups; install by Homebrew, Scoop, one line or package;
nightly and first-launch notes folded away.
…ach agents (#315)

- History, Saved and the saved charts leave the SQL console's results
  pane for a Queries tab of their own; the console keeps one Queries
  button and Ctrl/Cmd+Shift+B opens it. Rows show the query, then when,
  how long, how often, and a failure's message under it.
- The zoom pill shows for zoom gestures only: it followed the zoom value,
  which every settings change and sync re-applies, so it appeared at
  launch and at random. Centred, gone after 2 seconds.
- Every switch shares one geometry (app.css .app-switch): the thumb is
  sized from the track and slides by percentage. Switches mixed pixel
  tracks with rem thumbs, so zoomed in the thumb outgrew the track.
- AI tab: a changed access level restarts an idle agent at once, and the
  next message tells it the new level. A resumed conversation still said
  what it could not do, so Claude or Cursor kept the old limits.
- Snapshots: the title takes the row; an A or B badge marks the base and
  the comparison; Base and Compare sit on the date line.
Spanner connects over its REST API with a service account key, the gcloud
login or the emulator. GoogleSQL and PostgreSQL-dialect databases both work:
schemas, tables, columns with keys and foreign keys, indexes, DDL, row counts,
the grid with filters, search, sort and edits, SQL with DML in a read-write
transaction and DDL as a schema update, and query plans.

The Google sign-in code moves out of the Firestore driver into google_auth so
Spanner and BigQuery share it, with tokens cached per scope.

The app quotes Spanner names with backticks; on a PostgreSQL-dialect database
the driver turns them into double quotes before the statement runs.
BigQuery connects over its REST API with a service account key, the gcloud
login or an emulator. Datasets are the schemas; tables and views list with
their row counts from table metadata.

BigQuery bills by bytes scanned, so browsing is careful about it: a plain page
of a table reads through tabledata.list, which runs no query, and plans are
dry runs that say how much a query would read. Filters, search and sort run
as queries with typed parameters.

Every query is a job with an id made here, so Stop cancels it on the server.
Console results stream page by page into the result store.

Rows are edited by primary key where the table declares one (BigQuery keeps
it unenforced); without one the grid says to use the SQL console.
Any database with an ODBC driver installed now connects: by data source
name, by connection string, or through a preset that fills the string for
IBM Db2, Oracle, SAP HANA, SAP ASE, Informix, Teradata, Vertica, Exasol,
Firebird, Amazon Redshift, BigQuery, Databricks, Apache Hive, Trino and
Presto, Dremio, InterSystems IRIS and Microsoft Access.

The driver manager ships with the app: unixODBC is built in on macOS and
Linux, so the app starts without it and only the database's own driver has to
be installed; Windows uses odbc32. The built-in unixODBC reads a merged copy
of the system's driver and data source lists (Linux, Homebrew and
/Library/ODBC), with bare driver file names resolved to full paths.

Browsing goes through the ODBC catalog functions, so schemas or catalogs,
tables, columns, primary keys and foreign keys work the same on every driver.
Paging follows the database (LIMIT/OFFSET, OFFSET/FETCH, SKIP/FIRST, TOP) and
falls back to reading and skipping when a clause is refused. Values are bound
as parameters. Stop calls SQLCancel on the running statement, and console
results stream into the result store.

Tested through the PostgreSQL, MariaDB and SQLite ODBC drivers. The presets
follow each vendor's driver documentation and say so in the form; none has
been run against its real database yet.
…eck (#320)

* Pick up ODBC drivers installed while the app is open

The merged driver registry was written once per run, so a driver installed
after the first ODBC call stayed invisible until a restart, while the form
said to install it and open the form again. It is now rewritten before every
driver list, data source list and connect, keeping the user's own ODBCSYSINI
from startup as a source; unixODBC reads the files again when they change.
The connection form asks for the lists again whenever an ODBC preset is
picked.

The README lists Spanner, BigQuery and the engines reached through ODBC.

* Stop nightly updates failing their signature check

Every nightly replaced the release under the same file names, and the feed
went up first. An app that checked during a publish, or got last night's
file from GitHub's download cache, read the new signature against the old
file and showed "The signature verification failed".

The updater now downloads a copy named for its build, so its URL can only
ever serve that build's file, and latest.json is uploaded after every file
it names. The plain names stay for the download page and the AUR.

In the app, a signature mismatch reads the feed again and downloads once
more before giving up, and says what happened if that fails too.
Tauri 2 only starts a drag from a bare data-tauri-drag-region when the click
lands on that exact element, so the title bar's children were dead spots:
the room beside the macOS traffic lights, and the wrappers around the
controls on the connect screen and the home screen. The title bar and the
connect screen's header rows are now tagged "deep", which drags from any
part of them that isn't a button, tab or menu.

Tauri also handles double-click to maximize across the deep region, so the
title bar's own double-click handler goes, rather than toggling twice on
Windows and Linux.
Snowflake connects over its SQL REST API with key-pair authentication (a JWT
signed with the user's RSA key, carrying its public key fingerprint) or a
programmatic access token; the SQL API takes no passwords.

Metadata comes from SHOW and DESCRIBE, which need no warehouse: schemas,
tables and views with row counts, columns with primary keys, and foreign keys
both ways. The grid filters, searches and sorts with bound values and edits
rows by declared primary key. Every statement is submitted asynchronously,
so Stop cancels it on Snowflake, and results stream partition by partition.
Plans come from EXPLAIN USING TABULAR as a tree.

Dates, times and timestamps arrive in the API's numeric encodings and are
shown as dates and times, TIMESTAMP_TZ with its offset; VARIANT, OBJECT and
ARRAY as JSON.
…ns be turned off (#323)

On macOS, WebKit locks a trackpad gesture to the axis it starts on, so a
diagonal swipe in a wide grid moved one way only. With native scrolling the
grid now takes plain wheel events itself and applies both axes 1:1,
momentum included; at an edge the event goes on to the page around it.

Settings gains a Referenced-by columns switch (on by default). Off, the
grid's columns for tables whose foreign keys point at this one are neither
loaded nor drawn; turned back on, the open table's come back.
Dialogs were centered with translate(-50%, -50%), which leaves an odd-sized
dialog on a half pixel; on a 1x external monitor its text was drawn blurred.
They are centered with inset-0 and auto margins now, which layout snaps to
whole pixels. The command palette keeps its place at 16vh.

The grid's canvas resized its bitmap only on a window resize. Moving the
window between a Retina screen and a 1x monitor changes the pixel density
without one, so the grid kept a 2x bitmap scaled down. A media query on the
current density now redraws it at the new one.

The command palette's connection list showed "@:/" for engines without a
host (Spanner, BigQuery, ODBC by DSN); it shows their account, project,
instance, database or DSN instead.
The web studio share (Labs) took PostgreSQL, MySQL and SQLite only. It now
shares every SQL engine the app connects to: SQL Server, Oracle, DuckDB,
ClickHouse, Spanner, BigQuery, Snowflake, D1, libSQL and ODBC databases.

The page query follows the engine: names quoted its way (the driver's own
quote for ODBC), no schema where there is none (SQLite and its kin,
GoogleSQL Spanner's unnamed schema, a flat ODBC database), and OFFSET/FETCH
for SQL Server and Oracle, with an ODBC database trying LIMIT first. The
studio's info carries the quote and the engine's own label (IBM Db2 rather
than ODBC). Read-only shares still run every statement through the MCP
server's classifier and read-only path.

The engine helpers moved to studio-sql.js, with tests.
broisnees and others added 28 commits November 22, 2026 20:08
…s a file (#393)

* Export and import connections, settings, saved queries and snippets as a file

* Add changeset
* Create or open a SQLite database file in one step

* Add changeset
* Show timestamptz values in a chosen timezone

* Add changeset
* Show the result of Run on SQL in an AI reply

* Add changeset
* Remove leftover Select All debug logging

* Add changeset
* Tunnel through Kubernetes port-forward or AWS SSM, besides SSH

* Use the design radius on the tunnel picker

* Add changeset
* Close a stopped query's connection instead of draining it; stop without waiting for the row in flight

* Add changeset
…lank the other (#400)

* Give a duplicated tab its own rows so windows evicted in one do not blank the other

* Add changeset
* Proxy settings for app, AI, database and tunnel traffic

* Add changeset
…and Japanese (#402)

* Translate the main surfaces into Spanish, French, German, Portuguese and Japanese

* Add changeset
* Show web viewers' cursors and edits on the app's shared studio

While a database is shared as a web studio, the app joins the link's
presence socket as the host. The people on the link show up on the
grid: an outline on their cell with a name tag, their pointer, and the
value they are typing before they save. The app sends its own cell,
pointer and typing the same way, sealed with the link's key.

Cells are matched by table, primary key and column name, so a mark
lands on the right row when the app and the browser sort differently.
Saving a cell, applying staged changes, adding or deleting rows, and
SQL that writes a table all tell the others to reload it; a save on
the web reloads the table in the app.

The relay crypto moves to relay-seal.js so presence can use it
without pulling in the app's API layer.

* Add changeset
…e app (#404)

* strokedb mcp: let an AI agent show the database, in the browser or the app

`npx strokedb mcp` is an MCP server (stdio, no SDK) with list_tables,
describe_table, a read-only query, and show_table. show_table starts
an encrypted share on first use and returns two links that open on the
table: the web studio and stroke://studio for the app. Later calls
switch everyone already on the link to the table, through a presence
message only the host's side sends. The agent shows up in the studio
under its client's name ("Claude Code").

Without MCP, --share --json --table prints the same links as one JSON
line for a script.

The app answers stroke://studio?relay=&key=&open= by opening the
studio in a window of its own, one per room. The page is built from
checked parts, so a link can only point the window at stroke.click's
studio, and the remote page gets none of the app's commands.

strokedb goes to 0.4.0.

* Add changeset
…405)

* Stop a reloaded window from refusing every table load as superseded

The backend keeps the newest load number it has seen per tab and
refuses lower ones. It outlives the page, and after a reload the page
counted from 1 again for the same restored tab ids, so every load of
those tabs failed with "Superseded by a newer load of this table"
until the app restarted. Load numbers now start from the clock, so a
new page is always above an old one, and a superseded fetch never
shows as an error.

* Add changeset
* Separate fonts and font smoothing

Appearance gets Separate fonts: a face of its own for the interface,
the SQL editor, the data grid (canvas and cell editor), the AI chat
and the terminal, each with a preview in that face. Left on Theme
font, a surface follows the font preset as before.

The faces on offer are the bundled ones plus the OS's own, named for
it (SF Pro and SF Mono, Menlo and Monaco on a Mac; Segoe UI, Cascadia
Mono and Consolas on Windows; Ubuntu, Cantarell, DejaVu on Linux), and
an OS face is only listed when the machine has it.

Font smoothing picks between the thin grayscale the app draws with
and the OS default (on a Mac, the heavier macOS smoothing).

* Add changeset
* Wait for the network instead of failing a reconnect while offline

Reconnecting on launch with no network dialled into nothing: the
overlay counted seconds and blamed "a far region", then the dialog
opened with "Nothing answered at that address", sometimes twice.

Now, for a database across the network, being offline (at the start
or mid-dial) stops the attempt and the overlay says "You're offline"
with no spinner or clock. When the network returns it reconnects by
itself. A database on this machine is never held back.

A connect failure while offline says so instead of blaming the host,
and connect failures share one toast that updates in place: the toast
store gets a `key` option, since its duplicate check skipped toasts
with an action and "Nothing answered" has one.

* Add changeset
* Show the rows in view first on wide tables over a slow link

On a 207k-row table of HTML and JSON (about 850 bytes a row), the rows
on screen sat on skeletons for seconds after a scroll, and stayed that
way while scrolling sideways. Measured at 5 Mbit with 100 ms added:

- A window is ~2 MB (2,582 of those rows), about 4 s. The fetch that
  puts the screenful up first only ran on the OFFSET path, and a table
  with a key takes the keyset path, so the rows in view waited for the
  whole window. It now runs for any heavy window (over 256 KB) or slow
  link, by OFFSET in the view's order.
- The background mirror fetched 5,000-row pages, two at once: ~8 MB in
  flight that a scroll had to share the link with. Pages are now sized
  to ~256 KB by row width (pickMirrorPage), one at a time on a slow
  link.

After: jumping to row 205,000 showed its rows in 1.07 s (a 43-row
screenful in 0.8 s); before, the first rows of the table took 4-5 s.

* Add changeset
…#409)

* Edit the shared studio's console together with the people on the link

While sharing, the command palette has Open shared console: one SQL
tab that everyone on the link edits at once, the web studio's Shared
console included. Each person's cursor and selection show under their
name, and Run runs it for whoever presses it.

The document is Yjs (with y-codemirror.next drawing the cursors),
carried over the share's presence socket as sealed `y`, `y-sync` and
`aw` messages, the same protocol as the web studio. It lives while
someone has the studio open. The binding is added only once the editor
holds the shared text, since the app's one console swaps each tab's
text in and out, and Yjs loads only when a share starts.

* Add changeset
* Keep the grid at full frame rate with a proportional font

With Separate fonts putting a proportional face (Inter, SF Pro) on the
grid, scrolling sideways on a table of wide HTML rows fell from 63 to
about 50 fps, with 95th-percentile frames at 30-35 ms. The text paths
assumed monospace:

- The truncation cache held one font at a time and the draw loop
  switches between the cell and header fonts several times a frame,
  so it was wiped at every switch. It is now keyed by font.
- textWidth measured every cell every frame. Widths are now cached
  per font.
- A long value was shaped whole before the binary search. Only a head
  of twice (cell width / narrowest glyph) characters is measured now.

A 180-frame sideways scroll made 18,854 measureText calls over 1.42M
characters; a repeat pass now makes none and holds 63 fps.

* Add changeset
…411)

* List every change since the last stable in a stable release's notes

A stable release's notes, on GitHub and in latest.json for the update
dialog, came from its own CHANGELOG.md section only. Stable ships far
less often than nightly: 3.0.0 to 3.7.5 is 66 versions and 117
entries, and 3.7.5's own section is one grid fix.

scripts/release-notes.mjs now merges every section since the previous
stable tag (from git ls-remote) under one heading each, newest first,
in the shape the update dialog already parses. The GitHub body also
gets .github/release-highlights/<version>.md on top when there is one;
3.7.5 has one. Pre-release tags keep their own section only.

* Add changeset
* Show every change in What's new after a long update

What's new after an update listed the newest 8 versions and "And N
earlier releases in the full changelog" for the rest. From stable 3.0.0
to 3.7.5 that is 66 versions: the 8 shown were 21 small fixes, and the
features the update brought (shared studios, new engines, languages)
were among the 58 left out.

A range longer than the limit now comes back as one release holding
every change, under one section per kind (New, Fixed, Improved) and one
per sub-section (Large values, Performance), newest first
(releasesInRange's merge option). The footer still says how many
versions it covers. Up to 8 versions it is one block per version as
before. The update window does the same for a long Nightly jump.

* Add changeset
@broisnees
broisnees merged commit dcdc0da into master Nov 23, 2026
10 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant