Skip to content

Releases

Kagi 0.13.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 01:54

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.

Kagi 0.12.1

Choose a tag to compare

@github-actions github-actions released this 12 Nov 03:05

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 '.

Kagi 0.12.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 13:21

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.

Kagi 0.11.0

Choose a tag to compare

@github-actions github-actions released this 07 Nov 03:43

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.

Kagi 0.10.0

Choose a tag to compare

@github-actions github-actions released this 06 Nov 15:36

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 dr...
Read more

Kagi 0.9.0

Choose a tag to compare

@github-actions github-actions released this 01 Nov 04:53

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.

Kagi 0.8.0

Choose a tag to compare

@github-actions github-actions released this 31 Oct 08:23

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.

Kagi 0.7.0

Choose a tag to compare

@github-actions github-actions released this 26 Oct 12:51

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.

Kagi 0.6.0

Choose a tag to compare

@github-actions github-actions released this 25 Oct 12:09

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.

Kagi 0.5.7

Choose a tag to compare

@github-actions github-actions released this 24 Oct 19:45

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.