Skip to content
Kagi DBDownload

-- changelog

What's new in Kagi DB

Every release, newest first. Each one's files are on GitHub Releases.

0.13.0

Added

  • Global search in the sidebar. Cmd+Shift+F puts the cursor in the sidebar's search, showing the sidebar if it is hidden; the search finds tables, views and functions, not every column named alike, and says "No matches" when nothing does.
  • The sidebar follows the open tab. Switching tabs, or bringing another connection to the front, selects that table in the sidebar and opens the folders above it.
  • Shortcuts from the sidebar. A shortcut the sidebar doesn't use (Cmd+F, Cmd+R, Cmd+J…) goes to the tab in front, as if pressed there.
  • Where the keys go shows. The sidebar's selected row is tinted while the sidebar has focus and grey otherwise, and the active tab has an accent line while focus is in it.
  • Reload from the title bar. Cmd+R reloads the open table, Cmd+Shift+R refreshes everything (the schema and the open table), and the title bar's Reload does the same, Shift-click for everything.
  • Cmd+W all the way. Cmd+W closes the tab in front from anywhere in the window; with no tab left it disconnects the connection in front while others stay open, then closes the window, which hands over to the connections window instead of quitting. Each step asks first (new switches in Settings › Warnings: Close a connection, Close the window).

Changed

  • A compact connections window. One list under a plain title bar: the search with New, a row a connection (logo, name, address, when it was opened) with a ⋯ menu for Connect, Edit, Duplicate, its group, Backups and Delete, and a footer of keys. New connection and Edit open the form in the window itself instead of a dialog, the same height for every database so no form scrolls.
  • A cleaner workspace title bar. It is compact again, the sidebar runs up beside the window buttons, History sits with the tab actions, the split button and Settings moved up from the tab strip and the sidebar, and the light/dark switch lives in the connections window's footer.
  • Friendlier connection facts. TLS reads "TLS when offered", "TLS required" and so on; SSH and auto-commit show only when on; an empty user or database says "Not set" or "Server default" in muted text.
  • One-line cells edit in place. The larger editor opens only for values with line breaks; any single line, however long, is edited in its cell.
  • Calmer bottom bars. They share the sidebar's colour, with text at the normal size.
  • Format SQL is Cmd+Alt+L, as Cmd+Shift+F is now the sidebar's search.

Fixed

  • Sharp logos on external monitors. Database logos were drawn from a bitmap made for Retina screens and looked jagged on a regular monitor; they are now drawn at the screen's own resolution.
  • Data stays monospace with another UI font. The grid, editor, hex view, console and diagrams keep a monospace font when Settings › Font picks a proportional one.

0.12.1

Fixed

  • Buckets on a server reached by its IP address. An S3 or MinIO connection whose endpoint is an IP address, with path-style left off, failed to open any bucket with “can't be a bucket here: invalid IPv4 address”. Such an endpoint now always takes the bucket as a path.
  • A wrong region says which one to set. When an S3 or MinIO server refuses a request signed for another region, the message now names the server's region and where to set it, and quotes in a server's message no longer show as '.

0.12.0

Added

  • MongoDB backups. Dump a MongoDB database to a gzipped archive and restore it, from the palette, or back it up on a schedule like the other databases. A collection's menu has Dump collection… to save that one alone. Kagi runs MongoDB's own tools, handing them the password in a private file, never on the command line, and signs in to Atlas (mongodb+srv) where its DNS record says; a restore takes the archive's database into the connection's, under the connection's name where they differ, and says how many documents it restored and how many failed; where they aren't installed, the dump's dialog downloads them from mongodb.org (about 80 MB, checked against MongoDB's checksum and its signature: MongoDB's PGP key for Linux and Windows, its Apple developer team's code signing on macOS; kept in Kagi's data folder; Settings › General shows the version and removes them).
  • NATS. Connect to a NATS server: pick NATS under Messaging in New connection or paste a nats:// URL, with TLS, a user and password, a token, an NKey seed or a .creds credentials file, or an SSH tunnel; name a JetStream domain to reach a hub's from a leaf node. Kagi subscribes to the subjects in "Subscribe to" (a subject a line; everything, >, when left blank) and lists what arrives in messages and subjects, following them live. Where the server runs JetStream, the sidebar also lists its streams, newest message first, its key-value buckets, whose keys you edit in the grid (a key someone changed since you read it is refused rather than overwritten), and its object stores, which open in the same file browser as S3 buckets: preview, download, upload and delete files. Publish from the toolbar, or in a query tab use PUB, REQ (shows the reply), SUB, STREAM ORDERS LAST 20, KV GET config app.theme, KV PUT … and INFO; a read-only connection refuses to publish or write.
  • RabbitMQ. Connect to a RabbitMQ server through its management API: pick RabbitMQ under Messaging in New connection or paste a rabbitmq:// URL, with HTTPS or an SSH tunnel. Each virtual host lists its queues, with how many messages are ready and unacknowledged, its exchanges and its bindings. Open a queue to see its first messages; RabbitMQ can't read a queue without taking them, so Kagi takes them and puts them back, and the tab says they come back marked redelivered. Publish sends a message through an exchange with a routing key, filled from the row you picked. The query tab takes QUEUES, PEEK, PUBLISH, PURGE and more, a command a line.
  • Kafka. Connect to a Kafka cluster, or Redpanda, Confluent Cloud, Amazon MSK or Aiven: pick it under Messaging in New connection or paste a kafka:// URL, with TLS or an SSH tunnel that reaches every broker of the cluster, signing in with a user and password (SCRAM or PLAIN, whichever the cluster takes) or, for Amazon MSK, an AWS access key and region. Each topic opens to its newest messages across its partitions, with partition, offset, time, key, value and headers; name a Schema Registry (with its own key and secret where it has them, as Confluent Cloud's does) and Avro, Protobuf and JSON Schema payloads are decoded beside the raw value; each consumer group shows how far behind it is on each partition. Reading joins no consumer group, so nobody's offsets move. Publish sends a message with a key to the partition Kafka would pick. The query tab takes TOPICS, CONSUME, PRODUCE, LAG and more, a command a line.
  • Empty and drop MongoDB collections from the sidebar. A collection's menu has Empty collection… (its documents go, its indexes stay) and Drop collection…, each asking first as a table's do; a read-only connection offers neither.
  • Replace on a MongoDB restore. Restoring asks Restore, which adds what the file holds (a document already there stays as it is and counts as failed), or Replace collections, which drops each collection the file holds first so it comes back exactly as dumped (mongorestore's --drop); other collections are left alone.

Changed

  • Confluent Cloud and Aiven logos. The picker and sidebar show Confluent's and Aiven's own marks in place of the generic database icon, so every type has its own.
  • Autocomplete in MongoDB's query tab. As you type a command it offers the command names, then that command's options, the database's collections as its value, and inside a filter, projection, sort, pipeline or update the collection's fields, query and update operators and pipeline stages, each with a short hint.
  • Autocomplete in every query tab. Redis offers its commands with their arguments as a hint and their options; Kafka, RabbitMQ, MQTT and NATS their own commands, then the topics, consumer groups, queues, exchanges, streams and buckets from the sidebar; Elasticsearch and OpenSearch the methods, then index names and endpoints in the path, then the query body's queries, bool clauses, aggregations and sorts and the index's fields.
  • Connecting by a name with several addresses. MQTT, NATS and Kafka connections try each address a host name has, so localhost reaches a server listening on IPv4 alone.
  • Faster MQTT commands. Publishing, subscribing and unsubscribing no longer wait up to 50 ms each before they go out.

0.11.0

Added

  • Split view. Cmd+\ (Ctrl+\ off a Mac), the button at the end of the tab strip, View › Split View or Show Beside in a tab's menu puts two of a connection's tabs side by side, a query next to a table say. Drag the divider to resize them; Cmd+Alt+\ or a click moves between them, and a tab you bring forward opens in the pane you're in. The split comes back with the last session. You can also drag a tab onto the left or right of the content.
  • Two connections side by side. Cmd+Alt+B, View › Connections Side by Side, Show Beside in a connection's menu or the palette shows two connections next to each other, each with its own tabs and its name at the end of its strip. Click in one, or press Cmd+Alt+\, to work in it.

Changed

  • Shorter bottom bars. The bar under every tab, the sidebar and the launcher sits closer around its controls.
  • Toolbars and bottom bars in narrow tabs. A tab's toolbar scrolls sideways when it runs out of room, and the pager stays whole while the row count gives way.

0.10.0

Added

  • Elasticsearch and OpenSearch. Connect with a user and password, an API key, or an AWS region and access key for Amazon's domains: pick either under Search in New connection or paste an elasticsearch:// or opensearch:// URL. Indices list with their mapped fields, and aliases and data streams beside them, read-only; pages sort and filter on the server and reach past the 10,000-result window; edit cells or whole documents as JSON, a document changed meanwhile refused rather than overwritten; the query tab takes console requests such as GET /orders/_search, showing hits, aggregation buckets and _cat tables as rows; Stop cancels a running search and Activity lists the cluster's tasks.
  • MQTT brokers. Connect to Mosquitto, EMQX, HiveMQ or any MQTT 3.1.1 or 5.0 broker: pick MQTT under Messaging in New connection or paste an mqtt:// or mqtts:// URL, with TLS, a user and password, or an SSH tunnel. Kagi subscribes to the topic filters in "Subscribe to" (a filter a line; everything, #, when left blank) and keeps the last 10,000 messages it receives. The sidebar's messages table lists them newest first with their topic, QoS, retain flag, payload and size (and MQTT 5's content type and user properties), and topics lists each topic once with its message count, a topic's name opening its messages; filter and sort them like any table, and reload to see what arrived since. In a query tab, PUBLISH factory/cmd '{"action":"reset"}' QOS 1 RETAIN publishes (an empty payload with RETAIN clears a retained message), and SUBSCRIBE, UNSUBSCRIBE, SUBSCRIPTIONS and CLEAR manage what is received; a read-only connection refuses to publish.
  • MQTT sessions. A broker connection's Session tab sets its client id, keep-alive and protocol (Auto, 5.0 or 3.1.1), a last will, and whether the broker keeps the session for a week while you're away, sending the QoS 1 and 2 messages you missed when you connect again. A dropped connection now comes back on its own, waiting longer between tries, and subscribes again, while the messages received still browse; one the broker refuses, or one through an SSH tunnel, is opened again whole instead. Messages too large to keep (over 16 MB) are listed without their payload, and MQTT 5 topic aliases are understood.
  • Binary MQTT payloads decoded. A message's new decoded column shows a CBOR, MessagePack or Protobuf payload as JSON (Protobuf without its schema, by field number), when its MQTT 5 content type names the format; for a binary payload naming none, the Session tab's Binary payloads says how: CBOR or MessagePack where the whole of it reads as one, or Protobuf.
  • Live MQTT tables. A broker's messages and topics tables show new messages as they arrive, keeping the row you selected and your sort, filter and page; Live in the toolbar pauses, saying how many arrived since, and a tab out of sight waits until it shows again.
  • Publish from a broker's table. Publish in a messages or topics toolbar opens a dialog of topic, payload, QoS and Retain, filled from the selected message to send it again, with Clear retained to make the broker forget a topic's retained message; the connection's safe mode asks, approves or refuses it as it would a typed PUBLISH.
  • Chart MQTT readings. In a broker's query tab, SERIES factory/+/temp $.t lists a number from each message kept on the matching topics (a JSON path into the payload, or the payload itself when it is a number), a column per topic and oldest first, so Chart draws a line for each.
  • Which subscription brought a message. Each MQTT message's matched column names the filters it came for: an MQTT 5 broker's subscription identifiers say so (shared subscriptions too), and for 3.1.1 the topic is matched against your filters. SUBSCRIPTIONS lists each filter's identifier.
  • SCRAM sign-in for MQTT. The Session tab's Sign in offers SCRAM-SHA-256 and SCRAM-SHA-512, MQTT 5's enhanced authentication as EMQX and HiveMQ take it: only a proof of the password goes to the broker, and the broker has to prove it knows the password too, or Kagi doesn't connect; passwords are prepared as SCRAM servers store them (SASLprep), so accented and other non-ASCII ones work.
  • Fit all columns. The button in a grid's top-left corner, above the row numbers, sizes every column to its content, a long text column no wider than 40 characters; also in the View menu, the palette, and as a shortcut you can bind in Settings › Keymap.
  • Joins in autocomplete. After JOIN, the query editor offers whole joins along the foreign keys between the tables already in the query and the others, either way: orders o ON o.user_id = u.id. Declared keys are read once, when a query first mentions a join; keys guessed from column names (user_id → users) are offered too, and say so.
  • Rows as JSON, editable. Table | JSON under a table's page or a query's results shows the rows as one JSON array in place of the grid. Over a table you can edit, it is a JSON editor: change, add or remove objects and press Apply to rows, and the edits become pending changes, reviewed and saved like the table's (matched by the primary key, so the order doesn't matter; a field left out stays as it was). A key changed in place is refused with the reason: change a key in the table, where it is an update. A query's rows edit the same way where the grid can edit them (a plain SELECT of one table's columns with its primary key); others are read only, coloured and folding.
  • MongoDB documents as MongoDB's own client edits them. A collection's JSON shows each document as a card, as stored, in Extended JSON ({"$oid": …}, {"$date": …}), with only its own fields in its own order. A card's pencil edits that document alone and Update saves it; Edit all opens the page as one array, where Update documents saves what changed (add and remove documents there); the Row panel's JSON edits one document too: what changed is saved at once, after the safe mode's or the Settings' question, changed and new fields set, removed fields unset, documents added and removed, a number keeping its field's type. A document changed elsewhere meanwhile is refused. A document's _id can't be edited, as MongoDB never lets it change: its grid cell and Row panel box are read only, and a changed _id in the JSON is refused with the reason. A new document may bring an _id of its own; Edit all writes one in for each that doesn't before saving, as MongoDB would make. On a server without transactions (a standalone one), a save that fails part way keeps what was written before it and says how many: the page shows what is there now, Edit all's JSON stays as typed, and Apply saves the rest without adding a document twice; the grid's rows keep the rest pending, as on CrateDB. While a card is edited, its Type menu shows the type of the field the cursor is on (String, Int32, Int64, Double, Decimal128, Boolean, Date, ObjectId, Null, Array, Object) and changes it, the value written again as that type ({"$numberLong": "31"}), or says why it can't be (ana isn't a whole number); undo takes it back.
  • A row as JSON. The Row panel (Cmd+Alt+R) has Fields | JSON: JSON shows the selected row as one object, folding like the value panel: JSON columns and a MongoDB document's nested objects and arrays as JSON, numbers exactly as stored, text as text and binary values whole. A MongoDB collection's row is its document.
  • Fold JSON in the value panel. A JSON or JSONB cell, or a MongoDB document, shows a chevron beside each object and array: click it to fold the block to one line ("tags": [ … ], 2 lines) and again to open it.
  • Charts. A query's rows with numbers in them can be shown as a chart: Grid | Chart under the results, then Bar, Line, Pie or Number. Kagi picks the labels (the first text column), the series (the numeric columns, leaving out ids) and the kind (dates make a line, one value a number) on its own; the first 500 rows are drawn as the grid shows them, in its sort and only those its find keeps, a pie as at most 12 slices, the smaller values joining Other. Copy or save the chart as a PNG.
  • Find in results. Cmd+F while a query's rows have focus opens a find bar over them that keeps only the rows with a cell containing what you type, ignoring case, marks it in them and counts them ("12 of 340 rows"); it stays open for the next run. Esc closes it. Also in the Query menu and the palette; Cmd+F in the editor still finds in the SQL. In a table, Cmd+Alt+F (Edit › Find in Page) does the same in the page read, without asking the database; Cmd+F there is still the table's filter.
  • Back and Forward. Cmd+[ and Cmd+] (Alt+Left and Alt+Right off a Mac, also in the Navigate menu) go back to the tab that was in front before, and forward again, as a browser does: after following a foreign key to another table, one key brings you back. Closed tabs are skipped. In a table, they first step through its own filters, sorts and pages, as a browser steps through a page's history before leaving it; a filter typed in the bar but not applied comes back with Forward.
  • Export to Excel. Export (Cmd+Shift+E) writes an Excel workbook (.xlsx) too: one sheet, the column names bold and frozen at the top, numbers and booleans as Excel's own and the rest as text (007 stays 007, and a number of more than 15 digits stays text, as Excel would round it); a whole table streams into it a page at a time, as other formats do.
  • Trino and Presto. Connect to Trino (and Presto, which speaks its protocol): pick it in New connection or paste a trino:// or presto:// URL. The connection's catalog is its database (hive, or hive/sales to name a schema too), the server's other catalogs open as databases beside it, and each catalog's schemas list their tables, views and columns. Tables browse with sorting, filters and paging on the server, queries stop at the row limit, Explain draws the plan, and Stop ends a running query; USE moves the session. The Activity tab lists the server's running queries and stops one, and a view opens its CREATE VIEW. Trino's tables have no keys, so their rows are read-only in the grid; new and imported rows go in as one INSERT.
  • Scheduled backups. The clock beside a connection in the launcher backs it up on a schedule: every few hours, daily or weekly at a time you pick, into a folder of your choosing, keeping the newest few (shop-backup-1a2b3c4d-20261103-020000.dump, the middle part the connection's own) and removing older ones of its own, never other files or another connection's. Backups run while Kagi is open, whether or not the connection is, and once on start when one fell due while Kagi was closed; the password is read from the keychain only then. The launcher shows the schedule and how the last one went, the dialog lists the last runs and why one failed, and Back up now runs one at once. Every database Dump works for can be backed up, but DuckDB, which is dumped from its open tab.

Changed

  • A new default look. Kagi now opens in Zed One Dark or Zed One Light, with title and status bars, panels and content on separate levels, quieter grid lines and table stripes, and clearer hover and selected colours in every theme. A theme you picked stays as it is, but GitHub's themes were the default, so anyone using them moves to Zed One too; pick them again in Settings › Appearance.
  • Smaller buttons. Every button in the app is now one compact size, in toolbars, dialogs and cards alike.
  • Blank rows aren't numbered. The empty rows that fill a grid below its last row no longer show a row number.

Fixed

  • IPv6 hosts in brackets. A host typed as [::1] now connects on every server engine, through an SSH tunnel too, instead of keeping its brackets; connections saved that way work without editing, and addresses show as [::1]:5432.
  • Autocomplete with long table names. A column whose table and type are long now stays on one line, cut with an ellipsis, instead of wrapping and pushing the next suggestions down.
  • Cell cursor in short results. Scrolling over a result with too few rows to scroll no longer cuts the top edge off the selected cell in the first row.

0.9.0

Added

  • Turso. Connect to Turso, or any libSQL server, with its database URL (libsql://…) and an auth token; a local server works over plain HTTP with ?tls=0. Its tables, views and columns, browsing with sort and filters, editing rows (saved all or nothing), Structure, view definitions and transactions you open yourself all work, as on a SQLite file; vector columns show as [1,2.5,-3] and edit as text; Dump and Restore write and read a plain SQL file without Turso's own tool.
  • Apache Doris. Connect to Doris as its own database type (on its port 9030), or with a doris:// URL; a MySQL connection that turns out to be Doris is marked as one. Its databases, tables, views and columns, browsing with sort and filters, editing rows of unique-key tables (saved all or nothing; duplicate-key and aggregate tables stay read only, as Doris updates only unique ones), Structure with adding, renaming and dropping columns, Explain of its plan's shape, view and user definitions, Activity, and dumps and restores with mysqldump all work.
  • CrateDB. Connect to CrateDB as its own database type, or with a crate:// URL; a PostgreSQL connection that turns out to be CrateDB is marked as one. Its schemas, tables, views and columns (an object's keys stay inside it), browsing with sort and filters, editing rows (a geo_point as POINT (lon lat)), Structure with adding, renaming and dropping columns, Explain, view definitions and Activity of its running statements all work. CrateDB has no transactions, so if a save fails partway the changes before it stay, and Kagi says so and shows the rows as they are now with the rest of your edits still pending.

Fixed

  • PostgreSQL point columns read as text. A point shows as (x,y) and edits like any cell, where it showed as bytes.

0.8.0

Added

  • SQL checked as you type. The query editor underlines syntax errors in red (a missing ; between statements, a stray comma, an unclosed quote, a misspelled SELEC) and tables or columns the schema doesn't have in yellow, after a short pause and without asking the server; Settings › Editor › Check SQL turns it off
  • Every built-in function in autocomplete. Autocomplete now offers all of the server's own functions (SLEEP, pg_sleep, levenshtein…), read with the schema from PostgreSQL, MySQL, MariaDB, SQLite, DuckDB and ClickHouse, with their arguments where the server lists them
  • The editor names its database. The query editor's bottom bar says MySQL, SQLite, DuckDB and so on for the connection, where it said PostgreSQL for every SQL engine
  • SingleStore. Connect to SingleStore as its own database type, or with a singlestore:// URL; a MySQL connection that turns out to be SingleStore is marked as one. Browsing, editing, Explain, Edit definition, Structure, Activity, users and dumps work, minding where SingleStore differs from MySQL: it has no foreign keys or read-only mode, a primary key is set only when a table is made, and a failed save inside an open transaction rolls the whole transaction back
  • Explain on SQL Server. Explain (in a query tab's toolbar, or the palette) now shows SQL Server's plan as a tree: each step with its table and index, what it seeks or filters on, and its estimated rows and cost. The statement is only planned, never run.

Fixed

  • Every key column's arrow follows its link. In a table with two foreign keys side by side (an order item's order and product), clicking either arrow did nothing; each now opens its row. Cmd+Enter always worked.

0.7.0

Added

  • Print a map. Print layout (on the map's toolbar, Cmd+Alt+P, or the palette) puts the map as it shows on an A4, A3 or Letter page with a title, a legend of its shapes, a scale bar, a north arrow and the credits, saved as a PDF (vector, text selectable) or a PNG.
  • GeoPackage and KML import. Import a GeoPackage's layer (the one named like the table, else its first) or a KML or KMZ file's placemarks (names, descriptions and extended data) into a table, each shape going into its spatial column with its coordinate system.
  • More coordinate systems on the map. Shapes stored in the British National Grid, Lambert-93, RD New, a German Gauss-Krüger zone, a Japanese plane zone or a California State Plane zone now get the land and street map too, their datums shifted to WGS 84 where needed. Shapefiles in these systems keep them.
  • Export as Markdown or as a picture. The Export panel writes rows as a Markdown table, ready to paste into notes or a pull request, or as an SVG image of the grid in your theme's colours (up to 1,000 rows, long values cut short).
  • Copy cells as an image. Right-click a grid and pick Copy as › Image, press Cmd+Alt+I or use the palette: the selected cells go on the clipboard as a picture in your theme, ready to paste into a chat.
  • Import Shapefiles. Pick a .shp (with its .dbf beside it) or a .zip holding one, and its records come in with their attributes and shapes. The shapes keep their coordinate system when the .prj names one Kagi knows: WGS 84, Web Mercator, a UTM zone or an EPSG code. Heights and measures come along, and 3D surfaces (MultiPatch) come in as polygons.
  • Shapes in metres on the map. Shapes stored in Web or World Mercator, or a UTM zone of WGS 84, NAD83 or ETRS89, are converted to longitude and latitude, offline, so they sit on the land and street map in the right place. A box you draw on them filters in the column's own units, so its spatial index still helps.
  • Zooming the map stays smooth. The land and borders for a new zoom are drawn in the background; until they're ready, the last ones are shown stretched to fit.
  • Save the map as an image. The map's new Save button writes the view as it shows, land, streets and all, to a PNG.
  • PostGIS shapes you can read. A geometry or geography column shows its shapes as text, SRID=4326;POINT(106.82 -6.17), instead of bytes. Edit a shape like any other cell, filter by its text or ask for an exact shape, and Structure shows the full type, such as geometry(Point,4326).
  • See a shape, not just its numbers. With the value viewer open (⌥⌘V), a spatial cell's point, line or polygon is drawn above its text, scaled to fit. It's drawn without a map, so nothing leaves your machine.
  • Your table's shapes on a map. A table or query with shapes gets Grid, Map and Split under its rows: every row's shape on one view that you drag to pan and pinch to zoom, with Fit and Zoom to the selection. Rows you select are drawn over the rest, and clicking a shape selects its row.
  • Land, borders and streets under your shapes. Shapes in longitude and latitude sit on the land and country borders, built in, so the map still works offline, and you can zoom out to the whole world. Turn on Settings › Data › Street map to draw OpenStreetMap's streets under them too. Kagi then fetches map tiles from the internet and keeps them for a week. Shapes in other units, such as metres, get no map under them.
  • Filter by drawing a box. On a PostGIS table, the map's box tool shows only the rows whose shapes touch the box you draw. It lands in the filter bar as "is in area", where you can change or remove it, and the spatial index does the work.
  • GeoJSON in and out. Export rows with shapes as a GeoJSON file, a feature per row. Import a GeoJSON file into a table: each feature's properties fill the columns of the same names, and its shape goes into the table's spatial column.
  • Change a table's primary key. Structure's Columns has a Primary key button: pick the key's columns, change them or drop the key, even on a table that has none yet, so its rows become editable. The ALTER statements show before anything runs.
  • Go to column. ⌘J in a table or a query's results lists its columns; pick one and the cell cursor jumps there, however wide the grid.
  • Links Kagi can guess. A column like user_id with no foreign key now links to the users row it most likely means. Its arrow is fainter and its menu says it's a guess.
  • Write your own snippets in Settings. Settings › Snippets has New snippet and Edit: a trigger, a label and the SQL, with $0 where the cursor should land. Type the trigger in a query tab, then Tab.

Changed

  • The title bar's + shows all your connections. It opens the launcher, where you can connect, edit or add one. ⌘N still makes a new connection straight away.

Fixed

  • Cmd+W closes the connections window, also while New connection is open.
  • Long values scroll sideways. With Wrap off in the value viewer, a long line runs on past the panel and scrolls, instead of being cut.

0.6.0

Added

  • Ask, then Touch ID. A new safe mode for the connections that matter: every change asks first, then Touch ID (Windows Hello on Windows) has to approve it. Leaving it for a weaker mode needs Touch ID too. Pick a connection's safe mode from the lock beside its name in the title bar.
  • A question before what can't be undone. DROP, TRUNCATE, ALTER … DROP COLUMN, MongoDB's drops and Redis's FLUSHDB/FLUSHALL now ask before they run (Settings › Warnings › Drop or empty).
  • Save edits asks first. Saving a grid's edits asks "Apply N changes to “table”?" on a connection whose safe mode doesn't ask already; Settings › Warnings › Save edits turns it off.
  • A menu bar on the Mac. File, Edit, View, Connection, Query, Navigate, Window and Help, each showing its shortcut and greyed out where it doesn't apply. Edit's Copy and Paste work in the editor, in text fields and in the grids.
  • Settings › About. Kagi's version, its updates, the release notes, the licences of the software it's built with, and a way to sponsor it.
  • Any installed font for the UI. Settings › Appearance › Font lists every font on the machine, the monospace ones first; the SQL editor keeps to monospace ones.

Changed

  • Settings, tidied. Each section's settings sit in titled groups, and a hovered item in the sidebar no longer looks picked.
  • Comparing schemas. The Compare tab's toolbar reads Source → Target, and the target is one picker of every open connection's schemas.
  • Safe mode covers files too. Uploads, new folders, imports and restores are refused on a read-only connection and asked about on one that asks.
  • New defaults. A fresh install starts dark (GitHub Dark Dimmed), with 13 px text, taller grid rows, step lines flowing in diagrams, and in the launcher rather than reconnecting the last session.
  • Updates on the Mac. Kagi says when a new version is out and opens its release page.

Fixed

  • ⌘S in a query tab saves the rows' pending edits before the file.
  • A Flatpak's update right after a release. Kagi's Flatpak repository now has a new version before Kagi says it's out; and when Flatpak finds nothing newer, the message no longer blames the install.
  • What package managers show about Kagi. apt show kagi now has its homepage, its maintainer, its size and a description naming every database it opens; pacman -Si kagi-bin names its packager.

0.5.7

Added

  • SQL snippets. Type a snippet's trigger in a query tab, then Tab, and its SQL goes in with the cursor where you'd type next: sel, cnt, join, cte, ins, upd, ups (insert or update) and more, written the way each database spells them. They show in the completions as you type, and the palette's Insert snippet lists them all. Save as a snippet in the palette keeps your own from the selection; Settings lists them under Snippets, where you can delete them.

0.5.6

Changed

  • What's new, before updating. Update (in the title bar, or the notice that a version is out) first shows the new version's notes in Kagi, then Update now, or Later. The snap's button opens Kagi's page in the App Center instead, where its Update button is; a copy Kagi can't update offers the release page.

0.5.5

Fixed

  • The snap's update notice says how it updates: the Snap Store installs it by itself within a few hours, or at once with sudo snap refresh kagi.
  • The snap's permissions are asked for where they matter. The launcher's notice is gone: the connection form says it under the password while saved passwords are off, and on the SSH tab once a tunnel is on while SSH keys are, with the command to copy.

0.5.4

Fixed

  • The snap says what it needs. While its saved passwords or SSH keys are off, the snap's launcher says so and where to turn them on (Settings, Apps, Kagi, or sudo snap connect kagi:password-manager-service and kagi:ssh-keys, with a button that copies them), and saving a password or opening an SSH tunnel names them too, instead of failing without a word on why.

Changed

  • A fast, lightweight database client: Kagi's line in every store, package and page.
  • A license of its own. Kagi is free to use, at home and at work, and closed source; its packages now say so and carry the license text (LICENSE.txt), where they used to name open-source licenses by mistake.

0.5.3

Fixed

  • Windows on Linux have edges. On GNOME (Ubuntu's desktop), where the app draws its own window frame, each window has a border and a shadow, so windows over each other no longer run together, and its edges and corners resize it.
  • A fixed-size window stays its size. Double-clicking the title bar of one without a maximize button (the launcher) no longer maximizes it.
  • The launcher shows Update too, when a new version is out, as the workspace window's title bar does.
  • The snap packs. 0.5.2's was refused for its licence field.

0.5.2

Fixed

  • The snap builds. 0.5.1's snap didn't, so this is the first on the Snap Store.

0.5.1

New

  • On the Snap Store. Kagi is a snap, so Ubuntu's App Center finds it and keeps it up to date: sudo snap install kagi. Saved passwords and SSH tunnels need two permissions connected once: sudo snap connect kagi:password-manager-service and sudo snap connect kagi:ssh-keys.
  • Linux on ARM. The .deb, AppImage, Flatpak and snap are built for 64-bit ARM too (ARM laptops and servers, Linux on Apple silicon), served by the APT and Flatpak repositories, and update themselves there too.
  • A proper listing for the .deb. Opened in a software centre, it shows Kagi's icon, publisher, licence and description.

0.5.0

New

  • One Keychain question. On macOS every saved password is kept in one Keychain entry, read when Kagi starts, so the Keychain asks once rather than for each connection. Passwords saved before move into it as they are first read. Editing a connection shows its saved password masked, and the eye reveals it.
  • Object storage. Amazon S3, Cloudflare R2 and MinIO can be chosen in New connection. Give the endpoint, region, access key and secret key (kept in the keychain), and optionally one bucket. Each bucket is one item in the sidebar; double-click it to open its files, listed one folder at a time, folders first, as a file browser does: a folder or file icon by each name, sizes as 482.1 KB, times in your time zone, a path bar over the rows (click a folder above to go back up), the tab named after the place shown (sandbox/2026/) and the page summed up below (3 folders · 1 file · 7 B). A click picks the whole row, Shift picks several. Double-click a folder to open it, or a file to preview it in the value panel (pictures drawn, PNG, JPEG, GIF, WebP, BMP, TIFF, ICO and SVG; text as text; up to 8 MiB), which then follows the file picked. PDFs, office documents, videos, sounds and bigger files open in a Quick Look window on macOS (Esc closes it), and in their own app elsewhere, as archives do; each is downloaded to a temporary folder first, cleared a day later when the next file opens. Esc closes the value panel and the row view, in any table or query tab. Filter by name within a folder, or by path starting with some text across the whole bucket.
  • Delete objects and folders. Mark rows with Delete rows, check them in Review, then Apply. A folder goes with everything in it, after Kagi asks (Settings › Warnings, "dropping"). S3 has no transactions: if a delete is refused, the ones before it stay done and the message says how many. A long delete can be stopped with Stop in the bar; what went before it stays deleted and the folder is read again.
  • Download files and folders. Select rows and press Download: one file asks for its name, anything else for a folder to put it in (a folder's subfolders come along; many files picked in one folder are found with one listing of it). A big folder starts at once, its files fetched a thousand at a time as it is listed; the dialog shows the bytes and files so far, of those found until the listing ends (its bar sweeps until then, and never runs back when a file goes again). Past 10,000 files or 10 GB found, it asks before fetching more (Settings › Warnings, "Big downloads"); stopping keeps what came. Two files that would land on one, or one that is there already, stop it before that file is written (the ones before stay). Cancel stops it at once, even when the network has stalled, and removes the file it was writing. A file whose connection drops, or that moves nothing for two minutes, is fetched again from its start (three tries in all), as is a page of the listing.
  • Upload files. Upload puts files from the disk into the folder shown, asking first before replacing one that is there. Big files go up in parts, four at a time, so they can be any size: on a link of 8 MB/s a connection with 25 ms each way, 134 MB went up in 4.3 s instead of 17 s. A file or part whose connection fails, or that moves nothing for two minutes, goes again on a fresh one (three tries in all). Cancel stops the one being sent and keeps none of it.
  • New folders. New folder makes one in the folder shown, as S3 consoles do (an empty object named after it), so files can be uploaded into it.
  • A self-signed object store. Object storage connections have a TLS tab: a CA file to trust (a MinIO with its own certificate), a client certificate, and whether the certificate is checked at all.
  • Object storage through SSH. An endpoint only a server can reach (a MinIO on a private network) connects through an SSH tunnel, as the other servers do; HTTPS is still checked against the endpoint's name.
  • Faster folders. Opening a folder lists it once for its rows and their count, not twice.

0.4.0

New

  • CockroachDB. Pick it in New connection and the form starts on its port, 26257. Its tables, views and functions list as PostgreSQL's do (without CockroachDB's own internal schemas), rows browse and edit, a structure change that fails halfway is rolled back whole, Activity lists its sessions and stops them, Explain draws its query plans, and Dump and Restore work. Since pg_dump can't read CockroachDB, Kagi writes the dump itself as plain SQL and restores it itself too, with no client tools installed. It holds the roles (without passwords) and grants; the schemas, types, tables, views, functions and procedures with their comments; the rows, read at one moment; and the identity columns and sequences where they were.
  • cockroachdb:// URLs. Paste one in the Connection URL box, the form or an import, and it opens as CockroachDB.
  • A connection remembers what it is. One made as CockroachDB keeps its logo and name in the launcher, sidebar and title bar. A PostgreSQL connection that turns out to be CockroachDB (one imported from a postgres:// URL, say) switches to it the first time it connects.
  • Object storage, coming soon. A new category in New connection with Amazon S3, Cloudflare R2 and MinIO.

Changed

  • Types you can connect to come first in New connection, then the ones coming soon, in All, in each category and in search results.
  • A wider New connection dialog, so long names such as VictoriaMetrics and Document & key-value fit.
  • Imported URLs get readable names. A server connection imported from a list of URLs is named after its database and type ("shop · MySQL") rather than its host, so several on one host are told apart.
  • Real logos for SQL Server, Oracle, Valkey and DynamoDB in place of the generic database icon.
  • Snowflake and Redshift are no longer listed, as they can't be tried without paying.

Fixed

  • Redis's items table no longer opens with an error. Opened from the sidebar, it now says to pick a key and opens the filter bar on key, ready to type one.
  • Dialogs fit a narrow window. A dialog wider than its window, such as New connection in a workspace window made small, now narrows to fit instead of running past its edges.
  • A CockroachDB procedure opens whole from the sidebar, not as its body alone.
  • A Vitess server works when reached with a mysql:// URL: its tables list, read-only mode really refuses writes, and dumps work (one database at a time). Activity says the server doesn't list its sessions instead of showing Vitess's internal ones, and Stop says when the server doesn't allow it.

0.3.0

New

  • Review changes before applying. The pending changes bar has a Review button that shows every row your edits touch, before and after (changed cells struck through, added and deleted rows marked), or the exact statements Apply will run. You can Apply right from there. Works in table tabs and in editable query results.
  • Update from the title bar. When a newer Kagi is out, an Update button appears in the title bar. It downloads the new version, then turns into Restart to update. Where a package manager installs Kagi, it opens the release page instead. Linux and Windows for now.
  • Placeholder rows while loading. Opening, reloading, paging and sorting a table, or running a query, now shows pulsing placeholder rows under the column headers instead of a spinner.

Changed

  • The pending changes bar sits above the rows, under a table's toolbar and at the top of a query's results, next to where you edit.
  • Esc closes the filter bar, and Cmd/Ctrl+F jumps back into an open filter bar instead of closing it. Press Cmd/Ctrl+F there again to close it.
  • PostgreSQL's elephant is the official three-color logo in dark mode too, and connection logos in the sidebar are a little larger.
  • The window has a minimum size, so the title bar, toolbar and a few rows always fit.
  • Double-click the empty space under the rows to start a new row. A single click there no longer opens an editor, so clicking away from a cell doesn't add a row by accident.

Fixed

  • Double-clicking a title bar button no longer zooms the window on macOS. Double-clicking empty space in the title bar still does.
  • The sidebar keeps its width when you hide and show it again.
  • Cmd/Ctrl+B always shows the sidebar again. Hiding it while the cursor was in it, or opening the window with no connection, left nothing with the keyboard's focus, so Cmd/Ctrl+B and other shortcuts did nothing until you clicked somewhere.
  • Closing the filter bar while edits wait to be saved used to hide the bar but keep its filter, so rows went missing with nothing showing why. It now stays open until you apply or discard the edits.
  • Reopening the filter bar starts empty instead of showing conditions that were no longer applied.

0.2.0

New

  • Edit query results. A query that reads one table, such as SELECT id, name FROM users WHERE city = 'Paris', can now be edited right in its results: type, paste or fill cells, undo, then Apply or Discard. Applying saves everything in one transaction and runs the query again. Queries that can't be edited (joins, GROUP BY, DISTINCT, unions, expressions, or no primary key) say why in the bottom bar.
  • Rebind the cell editor's keys. "Save the cell being edited" and "New line in the cell being edited" are now in Settings › Keymap, and so is the query editor's "Run the statement at the cursor". The cell editor's hint always shows your keys.
  • Connection colors on the sidebar. A colored connection now marks its whole section in the sidebar (the connection, its databases, schemas and roles) with a stripe and a soft tint, instead of tinting the title bar.

Changed

  • Enter saves a cell, Shift+Enter adds a new line, like a spreadsheet. Cmd/Ctrl+Enter still saves. Prefer the old keys? Change them in Settings › Keymap.

Fixed

  • No more freezing on disconnect. Closing a connection whose server had stopped answering (after the laptop slept, or the Wi-Fi or VPN changed) could freeze the app for half a minute or more, especially with PostgreSQL over TLS. Connections now close in the background.

0.1.0

The first release of Kagi.

Kagi is on its way

Kagi isn't notarized by Apple yet, so the first time it takes one more step.

  1. 1Open the disk image and drag Kagi onto Applications.
  2. 2Open Kagi. macOS says it could not verify it: choose Done, not Move to Trash.
  3. 3Open System Settings › Privacy & Security, find Kagi under Security and choose Open Anyway, then confirm.
  4. 4From then on, Kagi opens like any other app.

Or, once it's in Applications, in Terminal:

xattr -dr com.apple.quarantine /Applications/Kagi.app

Notarizing takes an Apple Developer ID, $99 a year. Sponsor Kagi and these steps go away.

Sponsor Kagi