Elyra
Elyra The coding agent eTerm The terminal that knows where each command ends Huskarl AI colleagues on your own Mac Starf An activity monitor for Apple silicon that never invents a number etrans An SSH and SFTP client for macOS Elyra VM Virtual machines for macOS, Linux and Windows on your Mac Litr A small, native web browser for macOS Notr A notebook for macOS e The native code editor Elyra Grove Native local development environment Askr The real server for Laravel & PHP Elyra Framework Rust + Svelte 5 framework for desktop apps Elyra Conductor Local project conductor Refr Local-first PDF workspace for macOS Elyra Workspace A desktop workspace for coding agents eDock A container runtime for the Mac Elyra SQL Server MySQL-compatible SQL server in Rust Elyra Félagi Agents as teammates on one board Elyra SQL Client Native desktop SQL workbench Elyra SQL Anywhere Replication-ready SQL engine Elyra Sjá SEO & GEO workspace for macOS Elyra DataGrid Server-driven data grid for Laravel
Reference
Ratatosk CLI
Roadmap
RFC 0001: make:resource
RFC 0002: live queries
RFC 0003: MCP server
RFC 0004: MCP resource templates
RFC 0005: a Laravel backend
RFC 0006: Laravel broadcasting
RFC 0007: offline and sync
RFC 0008: Laravel notifications
RFC 0009: Files
RFC 0010: Laravel abilities
RFC 0011: an assistant in the app
RFC 0012: @elyra/ui
RFC 0013: the assistant sees the window
RFC 0014: Elyra Inspector
RFC 0015: presence
RFC 0016: capabilities per window
RFC 0017: record invalidation
RFC 0018: the assistant's answer, streamed
RFC 0019: a window from the tray
RFC 0020: an app that stays in the tray
RFC 0021: a server chosen at sign-in
RFC 0022: signed in to more than one server
RFC 0023: private channels a window listens to
RFC 0024: updates from the backend
RFC 0025: commands and configuration
RFC 0026: the running app, for coding agents
RFC 0027: the assistant's code mode
RFC 0028: the tray's icon, and the app's
RFC 0029: installers
RFC 0030: the app's identity on Windows
RFC 0031: a token per workspace
RFC 0032: the microphone
RFC 0033: diagnostics the user can send
RFC 0034: one screen in several states at once
RFC 0035: point at it, and hand it to the agent
RFC 0036: rata check, the app checked as a whole
RFC 0037: Theme Studio
RFC 0038: edit it in its own app
RFC 0039: a write shown at once in every window
RFC 0040: the two halves agree
RFC 0041: Quick Look
RFC 0042: follow a colleague
RFC 0043: every write seen
RFC 0044: composite keys
RFC 0045: bigint all the way
RFC 0046: pivot columns
RFC 0047: relations on any key
RFC 0048: more providers
RFC 0049: OpenAI web search
RFC 0050: integer-keyed arguments
RFC 0051: citations
RFC 0052: open documents
RFC 0053: exit hooks
RFC 0054: the gui feature
RFC 0055: menus that change
RFC 0056: the framework's own words
RFC 0057: rata upgrade
RFC 0058: @elyra/charts
RFC 0059: all of WireCharts
RFC 0060: exporting a chart
RFC 0061: zoom
RFC 0062: printing
RFC 0063: linked charts
RFC 0064: report pages
RFC 0065: marks
RFC 0066: taking a table out
RFC 0067: totals
RFC 0068: columns the user picks
RFC 0069: filters
RFC 0070: saved views
RFC 0071: lists over Laravel
RFC 0072: targets
RFC 0073: every row out
RFC 0074: grouped rows
RFC 0075: pinned columns
RFC 0076: views on the server
RFC 0077: every match selected
RFC 0078: editing in the table
RFC 0079: many cells at once
RFC 0080: a value for the selected rows
RFC 0081: a new row in the table
RFC 0082: a related record in a cell
RFC 0083: a filter by a related record
RFC 0084: one write for many rows
RFC 0085: the keys shown
RFC 0086: many rows in Laravel
RFC 0087: many rows deleted
RFC 0088: the trash
Release notes
Changelog
Elyra

Changelog

All notable changes to Elyra Framework are documented here. The format is based on Keep a Changelog, and the project adheres to Semantic Versioning.

While Elyra is pre-1.0, minor versions may contain breaking changes; these are called out under Changed with a migration note.

Unreleased

0.66.0 — 2026-11-30

Lists that change in bulk. A Table sets one column for thousands of selected rows in calls of 500 (RFC 0084), deletes them with one question (RFC 0087), and keeps a soft-deleting list's trash to restore from, where a delete is undone with ⌘Z (RFC 0088); the Laravel package answers each with every row's own policy (RFCs 0086–0088). A related record shows in a cell by its name, is picked by searching and filters the list (RFCs 0082, 0083), and ⌘/ shows the keys that work where the user is (RFC 0085). make:resource writes all of it.

Upgrading: nothing has to change unless one of these applies:

  • A key of the app's own on ? or ⌘/ outside a text field: the window now shows its shortcuts there. A handler on the element (or window's capture phase) that calls event.preventDefault() keeps the key for the app.
  • The default macOS menu has a Help menu now, with Keyboard Shortcuts, even without the diagnostics.
  • Resources regenerated with make:resource get {plural}_update_many and {plural}_destroy_many (and with soft_deletes, {plural}_restore_many and the index's trashed); a Laravel backend answers them with the package's elyraUpdateMany, elyraDestroyMany and elyraRestoreMany, as rata prints.

Added

  • A related record in a cell (@elyra/ui, rata make:resource, RFC 0082). A column's ref (search, find, optional findMany, value, label) shows a key by its record's name: found once each, six at a time, kept for every page, and used by Copy, the CSV, and a plain array's search and sort. edit: "ref" (and create: "ref") picks one in a Combobox over search. A paste, Set and the new row look a name up and take the one record with exactly that name; none or more than one is refused. cell(row, column, text) gets the name. make:resource writes ref for a parent with a resource, so its lists show names, and edit: "ref" with --inline.

  • A filter by a related record (@elyra/ui, rata make:resource, RFC 0083). A ref column's filter: "ref": its panel searches the records and lists the chosen, each with a way out; the chip names them ("Customer: Acme Ltd, Globex"). query.filters[key] is their keys, the shape of an options filter's, so a command's filter_options and Laravel's elyraList 'options' take it unchanged. make:resource filters a parent with a resource so: Option<Vec<key>> in the command's filters, 'options' in the controller's hint.

  • One write for many rows (@elyra/ui, rata make:resource, RFC 0084). A table's onsetmany(ids, values) sets a column for many selected rows in one call for 500 keys at a time (from Set and ⌘Enter on a selection), with progress and Cancel between calls; the answer's failed keys are taken back and marked, and the undo is a call for each value before. make:resource writes {plural}_update_many(ids, patch): a {Model}Patch of the plain fields (an optional one's null empties it), each row validated as its update would be, the ones that pass in one UPDATE, answering { updated, failed }; over a backend, PATCH /api/{plural} with { ids, values }, and the Laravel method as a hint. With --inline, the list sets through it.

  • The keys, shown (@elyra/runtime, @elyra/ui, elyra, RFC 0085). ⌘/ (Ctrl+/), ? outside a text field, the ⌘K palette's Keyboard shortcuts and the Help menu's Keyboard Shortcuts (SystemItem::Shortcuts, in the default Help menu) show a sheet of the keys that work where the focus is: the focused component's first, then the app's (registerShortcuts("app", …), a command's keys), then the window's, each written as the platform does (⇧⌘Z, Ctrl+Shift+Z), with a filter. A Table registers the keys that apply to it, and Combobox, DatePicker, TreeView, Tabs and SplitPane theirs. keyText, showShortcuts, closeShortcuts, shortcutsHere.

  • Many rows in Laravel (the Laravel package, rata make:resource, RFC 0086). ->elyraUpdateMany($request, ['rules' => …, 'columns' => […]]) answers a desktop's set of many rows (PATCH with { ids, values }, RFC 0084): only the given fields and the allowed columns, validated with their rules (a unique one refused for many), each row's update policy through the query, the rows that pass saved in one transaction (or quietly, one update()), answered { updated, failed }. make:resource --backend prints the controller method.

  • Many rows deleted (@elyra/ui, rata make:resource, the Laravel package, RFC 0087). A table's ondeletemany(ids) gives the selection bar Delete: asked once with the count (and softDeletes' "They can be restored."), deletable(row) counted, then 500 keys a call with progress and Cancel; the deleted leave the view and the selection at once, the failed stay selected and are said. make:resource writes {plural}_destroy_many(ids) (each found, one statement, soft with soft_deletes), over a backend DELETE /api/{plural} with { ids }, and the package's ->elyraDestroyMany($request) answers it with each row's delete policy in one transaction.

  • The trash (@elyra/ui, rata make:resource, the Laravel package, RFC 0088). A table's trash (or onrestoremany) gives the Views menu Trash: query.trashed = "only", the deleted rows read-only with when, and the selection's Restore (500 a call, no question). With onrestoremany, a delete is a step for ⌘Z and ⇧⌘Z. For a soft_deletes model, make:resource writes the index's trashed and {plural}_restore_many; over a backend, elyraList's 'trashed' => true and the package's ->elyraRestoreMany($request), with each row's restore policy.

0.65.0 — 2026-11-30

Tables you work in. A Table with a column's edit and the app's update command is a grid: a cell changed where it is, with a spreadsheet's keys (RFC 0078); a block pasted from a spreadsheet, filled down and taken back with ⌘Z, a row's changes one write (RFC 0079); one column set for every selected row, every match of a paged list included (RFCs 0077, 0080); and a new row typed at the end, or pasted as many (RFC 0081). The lists it works on get every row out of a paged list (RFC 0073), grouped rows with subtotals (RFC 0074), pinned columns (RFC 0075), and saved views on the server, the user's on every machine and shared with the team (RFC 0076). make:resource --inline writes all of it.

Upgrading: nothing has to change unless one of these applies:

  • Code that builds a Page { … } by hand adds groups: None, or uses Page::new(…). A Page in JSON has "groups": null when the list isn't grouped.
  • A Laravel app that wants saved views on the server calls ElyraBackend::views() (for the package's elyra_views table, then php artisan migrate) and Route::elyraViews() inside auth:sanctum; without them, views stay in the settings store as before.

Added

  • Every row out of a paged list (@elyra/ui, rata make:resource, RFC 0073). <Table every={(q) => api.customers_index(q)}> lets a paged table's Copy table and Save as CSV… take every row the user's query matches (its search, filters and sort), fetched page by page, 100 at a time, with "Fetching rows… 100 of 340" and Cancel (or Esc); nothing is copied or saved if it's cancelled or a page fails. The menu says how many (Copy all 340 rows); above everyLimit rows (10,000) the user confirms first. allRows() and csvAll() give the rows and the CSV to an app's own export; csv() stays the page's. The lists make:resource writes pass every, locally and over a Laravel backend.

  • Grouped rows and subtotals (@elyra/ui, elyra, the Laravel package, rata make:resource, RFC 0074). <Table group="customer"> shows the rows in groups of a column's value, each under a header with its count and the columns' totals for the group; a header folds its group (a click, ←/→, Alt for every group), kept with persist. groupable gives a header's menu Group by and Don't group, in query.group, which a saved view keeps. A paged list sends group: Query::paginate_grouped and elyraList's groups order by it first and answer each group's whole in the page's groups, so a group the page cuts still says its count and totals. The lists make:resource writes group by the columns they filter by. The CSV stays the rows.

  • Pinned columns (@elyra/ui, rata make:resource, RFC 0075). A column's pin: true keeps it at the table's start while the rest scroll sideways, the selection's checkboxes with it, with a shadow at its edge while scrolled; the actions stay at the end while the table overflows (pinActions={false} lets them scroll). With choosable, the user pins and unpins from the Columns menu (a pin beside each column, Alt+←/→) and a header's menu, kept with persist and in a saved view's columns. The pins take at most half the visible width; on paper nothing is sticky. The lists make:resource writes pin their first column, the record's link.

  • Views on the server, and shared (elyra, @elyra/runtime, @elyra/ui, the Laravel package, RFC 0076). With Backend::views() and the package's Route::elyraViews() (and ElyraBackend::views() for its elyra_views table), a list's saved views are the user's on every machine they sign in on: offline, the last copy, and a change waits in the outbox; the machine's own views move there once. A user with the ability elyra.views.share shares a view with the team; the Views menu has Shared (with who made it) and Mine, a shared view is changed only by its owner or a user who may share, and deleting one asks first. views in the runtime (list, save, update, remove, onChange) and the shell's /__views/* (the Store capability) are what a Table uses; without a server, the settings store as before. Dropdown has onopen.

  • Every match selected (@elyra/ui, @elyra/runtime, elyra, RFC 0077). With the page selected and more rows than the page, the table's bar offers Select all 340 that match: a plain array's at once, a paged list's keys fetched with every ("Selecting rows… 100 of 340", Cancel, Esc, asked first above everyLimit). selected and bulk(selected, clear) get every key, joined to what was selected. The selected rows are kept from every page they were seen on, so Copy of a selection and the foot's Selected line cover all of it. ⌘A twice selects every match; selectEvery() and selectedRows() are the table's own. assistant.selected(kind, ids, { total }) sends a long selection in part; a table sends at most 1,000 keys.

  • Editing in the table (@elyra/ui, rata make:resource, RFC 0078). A column's edit ("text", "number", "date", "boolean" or { options }) and the table's onedit(row, key, value) let the user change a cell where it is. The table is then a grid: the arrows, Home/End, Enter or F2 or a character to edit, Enter to save and go down, Tab across, Esc to leave it, Delete to empty it, and a boolean is its checkbox. A double click edits; a click on another cell still opens the row. The new value shows at once with the pending dot; a failure takes it back with a toast, and a ValidationError for the field opens the editor again with its message. editable(row) says per row. rata make:resource --inline writes lists with it, through {plural}_update.

  • Many cells at once (@elyra/ui, rata make:resource, RFC 0079). In a table that's edited, Shift with the arrows (or a Shift-click) marks a range of cells: ⌘C copies it, Delete empties it. ⌘V pastes a block from a spreadsheet from the cursor, right and down, each value read by its column (an option by its label, a boolean from yes/no); one value on a range fills it, and a value that doesn't read writes nothing. ⌘D fills down. ⌘Z / ⇧⌘Z undo and redo the table's own changes, leaving a cell someone else changed since; undo(), redo(), canUndo(), canRedo() for an app's menu. The new oneditrow(row, values) writes a row's changes in one call (onedit is called a cell at a time without it); four rows at once, progress with Cancel past 20, and a row that fails is taken back and its cells marked. make:resource --inline writes oneditrow.

  • A value for the selected rows (@elyra/ui, RFC 0080). In a table that's edited and has select, the selection bar has Set: an editable column (shown or hidden), its value in the column's editor, and Set for 340 rows. ⌘Enter in a selected row's editor does it from the cell, and on a selected row's boolean too. When some selected rows aren't on the page (every match, RFC 0077), the user confirms first. It's RFC 0079's write of many, one step for ⌘Z, the rows off the page included; rows that can't change are left and said, and the selection stays.

  • A new row (@elyra/ui, rata make:resource, RFC 0081). With oncreate(values), an edited table has an empty row at its end, typed into with the grid's keys and made when the focus leaves it (or ⌘Enter); Esc drops it. A column's create is its editor in the new row only. It starts from a one-value options filter, the group the focus was in and the app's newRow. A row made over a live page stays at the end, marked Added, until the page changes; a ValidationError keeps what was typed, with the messages on its cells. A paste on the new row makes a row a line (all or none, confirmed past 20, with progress). With ondelete(row), ⌘Z removes rows just made. creatable, newRow, newLabel. make:resource --inline types the first column in the new row and writes oncreate and ondelete through {plural}_store and {plural}_destroy.

Changed

  • Page<T> has groups (Option<BTreeMap<String, Group>>, RFC 0074), null in the JSON when the list isn't grouped. Code that builds a Page { … } by hand adds groups: None, or uses Page::new.

0.64.0 — 2026-11-28

Lists over Laravel, and targets. A list over a Laravel backend gets 0.63's filters and totals: the desktop sends its filters as PHP reads them, make:resource --backend types them, and the package's elyraList answers the search, the filters, the sort and the page through the controller's allowlists, with totals over every match (RFC 0071). A chart measures each category against its own goal, a budget a month, drawn as the bullet chart's tick and said as met or not (RFC 0072). And a prompt speaks the user's language, to an MCP client and in the assistant's panel.

Upgrading: nothing has to change unless one of these applies:

  • Code that builds a Page { … } by hand adds totals: None, or uses Page::new(data, total, per_page, current_page, last_page); and Page is PartialEq, no longer Eq. A Page in JSON has "totals": null when there are none.
  • A Laravel controller behind a desktop list answers its filters and totals with ->elyraList($request, [...]); one that ->paginate()s still reads, without them. rata make:resource --backend prints the call that matches a resource.
  • A query with nested values (.query(&json!({ "filters": { … } }))) goes as filters[status][]=open now, where it used to be refused.

Added

  • Lists over Laravel (elyra, the Laravel package, rata make:resource --backend, RFC 0071). Backend::query (and Http's) sends nested values as PHP reads them (filters[status][]=open&filters[amount][min]=10000). The Laravel package's ->elyraList($request, [...]) answers a desktop list on any Eloquent query: the search, the filters by kind (text, options, range, dates), the sort and per_page, each through the options' allowlist, and totals over every matching row, beside data. Page<T> reads them (page.totals), and a Table's foot shows them as the list's. make:resource --backend writes a typed {Model}Filters into its list's query. Range and Dates are elyra::filter's now (elyra::db::filter keeps them), so a backend-only app has them.
  • Targets (@elyra/charts, RFC 0072). targets={{ label, data, tone?, lower? }} on LineChart, AreaChart, ColumnChart and BarChart: a goal for each category, drawn as a tick across each column or bar (the bullet chart) or a dashed step line through a line, out of the legend, the brush and the keys. The summary says how many met ("Budget: 8 of 12 met"; lower for a ceiling), the tooltip the difference, the hidden table the target and the difference, the CSV the target. In English and Norwegian.
  • Prompts in the user's language. A Prompt's title, description, text and arguments' descriptions come from the app's translations where they have them — prompts.<name>.title, .description, .text and .arguments.<argument> — in the locale the app is in, to an MCP client (prompts/list, prompts/get) and in the assistant's panel; as given where there's none. A translated text that doesn't have the prompt's arguments isn't used. Prompt::localized(&translator) for an app's own list.

Changed

  • Page<T> has totals (Option<BTreeMap<String, f64>>, RFC 0071), null in its JSON when there are none. Code that builds a Page { … } by hand adds totals: None, or uses Page::new(data, total, per_page, current_page, last_page). Page is PartialEq and no longer Eq.

0.63.0 — 2026-11-28

Lists that answer questions, and charts measured against something. A Table filters by its columns (a funnel on each header, chips over it, the filters in query.filters for a live query's command, which make:resource now writes typed), totals them in its foot, lets the user pick, hide and order its columns, and keeps a list's question by name as a view, the app's and the user's own (RFCs 0067–0070); its rows go to the clipboard as cells or to a CSV file (RFC 0066). A chart draws a target, a threshold or a period and says how the data stands against it (RFC 0065).

Upgrading: nothing has to change unless one of these applies:

  • A right click on a table's rows opens the table's own menu (copy, save as CSV) where the browser's was, and ⌘C on a focused row copies it. exportable={false} keeps the old behaviour; a field of a cell's own keeps the browser's menu either way.
  • A column with hidden: true isn't shown. It was ignored before; with choosable the user can show it.
  • Lists made by make:resource before 0.63 have no filters, column menu or views: a new one has them, and an old one takes them by adding {Model}Filters to its index command and filter, choosable, views and bind:view to its Table, as a new one is written.
  • @elyra/charts 0.63 needs @elyra/ui 0.63: rata upgrade moves the three packages together.

Added

  • Marks (@elyra/charts, RFC 0065). marks on LineChart, AreaChart, ColumnChart, BarChart and ScatterChart: { value } is a line across at a value (a budget) or, with two, a band (a normal range); { at } is a line at a category, a date or a scatter's x (a day something changed) or, with two, a period. Each has a label and a tone from the tokens. The value axis takes them in; they're not in the legend, the tooltip, the table, the CSV, the brush or the keys. The summary says them: "Budget 120,000: 6 of 12 over", "Summer from Jun to Aug", over what's shown when zoomed in; in English and Norwegian.
  • Taking a table out (@elyra/ui, RFC 0066). Table has a context menu (a right click, Shift+F10 or the Menu key on a row): Copy row, or the selected rows, Copy table and, in the shell, Save as CSV…; and ⌘C / Ctrl+C on a focused row copies it, or the selected rows. Copied is tab-separated text, which pastes into a spreadsheet as cells; saved is CSV in the app's locale, named by the table's label and the date. Numbers go plain, in the locale's decimal sign, so a spreadsheet sums them; a rows table gives every row as searched and sorted, a live page the page that's loaded. csv(), copy(rows?) and save() for an app's own buttons; exportable={false} turns it off. In English and Norwegian.
  • Totals (@elyra/ui, RFC 0067). A column's total ("sum", "avg", "min", "max", "count", or (rows, column) => value) is in the table's <tfoot>, under it and formatted by it: over every row as searched, not only the page; a live page's totals from the server, else its own, said as "This page"; and a line for the selected rows. Printed once, after the last row; in a Report, with a split table's last part; the last line of Copy table and the CSV. The invoice in the Report docs has its total there now.
  • Columns the user picks (@elyra/ui, RFC 0068). choosable on Table: a Columns menu (and a right click on the head) to show or hide each column, move it (Alt+↑/↓ on its item, the arrows beside it, or a header dragged to its place) and reset them; a column's hidden starts it hidden, required keeps it shown. persist keeps the choice with the widths, and the table opens as the user left it. The search goes on over every column; the export, the totals and print are the shown ones, csv({ all: true }) every one; a Report has the app's. make:resource --view makes its lists choosable. In English and Norwegian.
  • Filters (@elyra/ui, elyra::db, rata make:resource, RFC 0069). A column's filter ("text", { options } or "options", "range", "dates") gives its header a funnel, a panel to set it (Enter applies, Esc closes), and a chip over the table while it's on ("Status: Open, Overdue ×"), with Clear filters. They go in query.filters, from the first page: a rows table filters itself, a live page's command gets them; the totals and the export are of what's filtered. elyra::db::filter has Range and Dates, and Query has filter_text, filter_options, filter_range, filter_dates and where_contains (contains, ignoring case, % and _ as themselves, on SQLite, MySQL and Postgres). make:resource writes a typed {Model}Filters into the index command, a filter per field by its type, and the list's columns to match.
  • Saved views (@elyra/ui, RFC 0070). views on Table (the app's, { name, filters, search, sort, direction, columns }) and, with persist, the user's own: a Views menu picks one (filters, search, sort and columns at once), says when the list has changed from it ("Large (changed)"), saves over it or as a new one, renames and deletes; the user's are kept in the settings store. bind:view is the view's name, so a route can open a list in one. make:resource --view gives its lists the user's views, in the route's ?view=. In English and Norwegian.

Changed

  • @elyra/charts' CSV is @elyra/ui's (@elyra/ui/internal/csv.js), so a chart and a table write the same file. Nothing changes in what a chart saves; @elyra/charts 0.63 needs @elyra/ui 0.63, as a release's three packages go together.

0.62.0 — 2026-11-27

Linked charts and report pages. Charts over the same time are linked by a name: zoom one and the others follow, point at a day in one and each shows it, by the axis's values rather than position; and a chart with brush lets the user select points or a span, by the pointer or the keys, as data the app filters a table with (RFC 0063). @elyra/ui's Report lays content out on pages of A4 or letter, each with the app's header and footer and "Page 2 of 5", tables split between rows with their head again, seen on screen as its pages and printed or made a PDF of as them (RFC 0064).

Upgrading: nothing has to change unless this applies:

  • An app that overrides the light theme's tokens for its own look, and puts a Report in it: the report's paper takes the light tokens from tokens.css (.elyra-paper), whatever the window is. Add .elyra-paper to the selector of the app's light overrides to have them on paper too.

Added

  • Linked charts and a selection (@elyra/charts, RFC 0063). link="name" on LineChart, AreaChart, ColumnChart, BarChart and ScatterChart: the page's charts with the same name share their window and their pointer, by the axis's values (a value one lacks is the nearest it has). brush selects by a rectangle over a scatter (a lasso with Shift) or a span along the axis, and bind:selection is the selection as data: the points, or { from, to, categories }. The keys select too (Space, ←/→, Esc), said as they do; the summary and the hidden table say what's selected.
  • Report (@elyra/ui, RFC 0064): a document of pages, its content laid out on sheets of A4 or letter, each with the app's header and footer, given { page, pages } ("Page 2 of 5", a letterhead on the first page only). Each of its direct children goes whole on a page where it fits; a table or a list is split between its rows or items, the table's head again on the next page. On screen the pages are sheets, fitted to the width; print() and pdf() take a report's paper, with no margins but its own.

0.61.0 — 2026-11-27

Zoom, paper and PDF. A chart over a long series zooms: the wheel, a pinch, a drag and a slider, a window the app reads and sets in the axis's own values, and keys that move it (RFC 0061). An app prints: the system's print dialog on macOS too, where window.print() did nothing, a part of the page on its own, and the page made for paper (the light theme, no app chrome, @elyra/ui's components in their print form); and pdf() makes a PDF of it without a dialog on each platform (RFC 0062). And an app's own SQLite database is in WAL on a user's machine too, not only where rata migrate made it.

Upgrading: nothing has to change unless one of these applies:

  • window.print() prints now in the shell, on macOS too, through print(): the page in the light theme and without the app's chrome while it does. <html data-print-theme="current"> keeps the window's theme; @media print in the app's CSS still adds to it.
  • An app's SQLite database goes into WAL on its first connection, if it wasn't (a database the app made itself, not rata migrate): a -wal and a -shm file appear beside it. A backup that copies the .db file alone copies it while the app is closed, or uses SQLite's own backup.

Added

  • Zoom on a long series (@elyra/charts, RFC 0061). zoom on LineChart, AreaChart, ColumnChart, BarChart and ScatterChart gives the wheel, a pinch, a drag and a slider in the tokens' colours. bind:range is the window as the axis's own values (["2026-03-01", "2026-03-31"], or null for all of it), for the app to read and set; persist keeps it. On the chart, + and − zoom about the focused category, Shift+←/→ pan, 0 shows all, and ←/→ move the window with them; the slider's handles are in the tab order, as sliders with their values. The summary is of what's shown; the hidden table keeps every row and marks the shown ones. Live data keeps the window, and a window at the end follows it. LineTimeChart, SplineTimeChart and LineBoostChart (zoomable already) get the same, and so does Chart when its own option has a dataZoom.
  • Printing (RFC 0062). print() in @elyra/runtime opens the system's print dialog for the window on macOS (where window.print() did nothing), Windows and Linux; window.print() is routed to it. print({ element }) prints a part of the page alone. While it prints, the page is in the light theme (data-print-theme="current" keeps the window's), data-print="hide" and data-print="only" say what paper leaves out and adds, and @elyra/ui prints its content without the app's chrome: Table with its head on each page and without its controls, Card and Stat whole, a Modal without its backdrop; charts redraw in the light colours at once. SystemItem::Print ("Print…", ⌘P / Ctrl+P) asks the window in front, whose onPrint says what prints.
  • pdf() (RFC 0062): the page, or a part of it, as a PDF without a dialog, on A4 or letter, upright or turned, with margins in millimetres: for files.save, an attachment or the backend. An NSPrintOperation saving to a file on macOS, WebView2's PrintToPdf on Windows, WebKitGTK's print to GTK's file printer on Linux.

Fixed

  • An app's own SQLite database is in WAL (elyra-db): the pragmas (WAL, the busy timeout, foreign keys) were set once, on an eager pool's first connection, and an app's database is opened lazily, so it was put in WAL only if rata migrate had made it. Elsewhere (a user's machine) its readers blocked its writers. They're set on every connection now.

  • A chart with data from the start dropped its first new value (@elyra/charts): a live query's first update after the chart was drawn was skipped; the next one drew both.

0.60.0 — 2026-11-27

Charts that leave the app. Every chart in @elyra/charts now has a menu, by right-click, Shift+F10 or the Menu key, to copy it as an image, save it as PNG or SVG with the theme's surface behind it, or take its data as CSV in the app's locale, so a chart goes into a report as itself rather than as a screenshot (RFC 0060). Underneath, @elyra/runtime gains files.save, which writes what the page made only where the user just chose, and clipboard.writeImage. The context menu every app can open now works from the keyboard and to a screen reader, and a chart's SVG is valid with the default font token. And a page outside the shell (a docs site in a plain browser) no longer retries a request for events every two seconds.

Upgrading: nothing has to change unless one of these applies:

  • A chart is right-clickable now: a page that had its own contextmenu on a chart, or didn't want it to leave the app, passes exportable={false}.
  • contextMenu takes focus when it opens and gives it back when it closes; a page that moved focus itself after opening it no longer needs to.
  • A test page that fakes the shell (answering elyra:// with its own fetch) sets globalThis.__ELYRA__ = { token, origin } as the shell does: the runtime waits on events only where it's there.

Added

  • Taking a chart out of the app (RFC 0060): every chart in @elyra/charts has a menu (right-click, Shift+F10, the Menu key) to copy it as an image, save it as PNG or SVG with the theme's surface behind it, or copy or save its data as CSV in the app's locale (semicolons and decimal commas in Norwegian). exportable={false} turns it off; save(), copy() and csv() are there for an app's own button.
  • files.save(data, options) in @elyra/runtime: the save dialog, then a write only to the file chosen there, once (/__sys/file.write).
  • clipboard.writeImage(png): an image on the system clipboard, on Linux with Wayland too.

Fixed

  • A page outside the shell waits on no events: @elyra/runtime started its /__events long-poll on load (for the About dialog and the updater), and outside the Elyra shell (a docs site, a page in a plain browser) it failed and retried every two seconds for as long as the page was open. It, and the framework's catalog, now wait for the shell's __ELYRA__.
  • The context menu works from the keyboard: it's a menu to a screen reader, its first item has focus, ↑/↓, Home/End, Enter, Esc and Tab work, and focus goes back where it was.
  • A chart's SVG was invalid with the default font token: ECharts wrote "Segoe UI" into a style="…" as it was. Font names are single-quoted now.

0.59.0 — 2026-11-27

Every WireCharts chart. @elyra/charts now has all 72 of WireCharts' charts, each a component with WireCharts' props, its option WireCharts' own builder ported to JavaScript and held to WireCharts by tests made from its docs (RFC 0059): funnels, gauges, a ticking clock, heatmaps, candlesticks, trees, sankeys, races that draw themselves, a chart that plays its series as sound, and 3D from @elyra/charts/gl. Each is in the app's look, follows a live query, and says what it shows to a screen reader and the assistant; an app ships only the charts, and the builders, it draws. npm run docs in charts/ is a gallery of all of them. And a chart's hidden data table no longer stretches the page, as it did in 0.58.0.

Upgrading: nothing has to change unless one of these applies:

  • The 3D charts (Bar3dChart, Scatter3dChart, SurfaceChart) need echarts-gl installed beside @elyra/charts, which declares it as an optional peer.
  • PieChart's labels as a list is now the slices' names, as WireCharts has it; as an object it's the chart's words, as before.
  • A style that reached into a chart's hidden table (.elyra-chart table) finds it inside .data now.

Added

  • Every one of WireCharts' 72 charts in @elyra/charts (RFC 0059), each a component with WireCharts' props: SplineChart, LineForecastChart, AreaFanChart, StreamgraphChart, ColumnStackedChart, ParetoChart, ComboDualAxisChart, DonutChart, PieSemiChart, FunnelChart, GaugeChart, ClockChart, HeatmapChart, CandlestickChart, RadarChart, TreemapChart, SunburstChart, SankeyChart, GraphChart, AudioChart and the rest (every chart). Their options are WireCharts' Option.php builders ported to JavaScript, held to WireCharts by fixtures made from its docs (charts/scripts/wirecharts-fixtures.php). The clock ticks, the races draw and replay, the audio chart plays; 3D (Bar3dChart, Scatter3dChart, SurfaceChart) comes from @elyra/charts/gl with echarts-gl. Every chart in the app's look, with its summary and its data as a table for the screen reader and the assistant; a chart ECharts can't draw says why, and the page's others go on.
  • A gallery of every chart: npm run docs in charts/, drawn from WireCharts' docs examples, with each one's code, in dark or light, English or Norwegian.
  • PieChart takes WireCharts' labels (a list) for its slices' names.

Changed

  • A WireCharts chart bundles only its own builder: each call is a named export a component imports by itself.

Fixed

  • A chart's hidden data table stretched the page (0.58.0): a <table> ignores the height that hid it, so a long series made the page that much taller. It's hidden in a box now.

0.58.0 — 2026-11-27

The framework in the app's language, one version everywhere, and charts. Every word the framework shows, in @elyra/ui, the runtime's panels and the menus it builds, now goes through the app's translations, and comes in English and Norwegian (RFC 0056): an app with lang/nb.json has a Norwegian date picker, outbox drawer and Edit menu without writing a word of them. rata upgrade moves the app's elyra tag, its tarballs and the Laravel package to a release at once, with the Upgrading notes in between, and rata check says when they've drifted apart (RFC 0057). And @elyra/charts is a third package: charts on tree-shaken ECharts with WireCharts' data, the design tokens, live queries, and a table the screen reader and the assistant read (RFC 0058).

Upgrading: nothing has to change unless one of these applies:

  • An app with an I18nProvider and a catalog in Norwegian now shows @elyra/ui's words in Norwegian: the date pickers, the drawers, the status bar, Table, Select and the rest. An app's own elyra.* keys, and each component's labels, win over them.
  • DatePicker and DateRangePicker without locale write dates, name the months and start the week as the app's locale does once its catalog has loaded, not the webview's.
  • Props whose default was an English word (Spinner's label, Pagination's previousLabel, Empty's title, Select's placeholder, …) now default to nothing, and the component says the word from the catalog. Passing one works as before.
  • rata codegen types the elyra.* keys in Translations too.
  • The menus, About, confirm and the assistant are in Norwegian too in such an app; in English they're as before.
  • rata check --strict fails on framework-words-untranslated, a language other than English and Norwegian without the framework's words.
  • A debug build tells the page the elyra crate's version (__ELYRA__.version), and @elyra/runtime warns in the console when it's another release; rata check now errors on the same (elyra-versions-differ), so rata upgrade the app if it does.
  • A release now has three tarballs: elyra-charts-<version>.tgz too, for an app that adds @elyra/charts.

Added

  • @elyra/charts (RFC 0058), a third package and tarball: LineChart, AreaChart, ColumnChart, BarChart, PieChart and ScatterChart on ECharts, each importing only its own part, and Chart for any option. WireCharts' data (series, categories), the design tokens in every theme, live with its states, a summary and a hidden data table for the screen reader and the assistant, ←/→ and Enter, and elyra.charts.* words. elyra::charts::ChartData for a chart command, rata new --charts, and eight --elyra-chart-* tokens in @elyra/ui, held to 3:1.
  • The runtime's panels and the framework's menus in the app's language (RFC 0056): the About dialog, confirm/alert/prompt's buttons, the command palette, the assistant panel, the follow request and the update toast (elyra.<panel>.<word>), and the Edit and Help menus, About and the system's items (elyra.menu.<word>), relabelled when the locale changes. rata check warns of a language that leaves some of the framework's words in English (framework-words-untranslated).
  • The runtime says when it isn't the shell's release: a debug build tells the page the elyra crate's version, and @elyra/runtime (now with VERSION) warns in the console when it's another, with the rata upgrade that fixes it.
  • The framework's own words, in the app's language (RFC 0056). Every word @elyra/ui shows has a key, elyra.<component>.<word>, in framework/lang/en.json and nb.json. Translator keeps them under the app's catalogs, for the languages the app has a catalog for, so an English-only app stays English on a Norwegian Mac. labels on every component with words; frameworkWords, phrase and word in @elyra/runtime; Translator::untranslated_framework_words(locale).
  • rata upgrade (RFC 0057): the app moved to a release everywhere it names one, the elyra crates' tags, the @elyra/runtime and @elyra/ui tarballs and the Laravel package's clone, then the locks refreshed and the Upgrading notes of every release in between printed. --dry-run shows it first.
  • rata check's elyra-versions-differ: the Rust side, @elyra/runtime and @elyra/ui at different releases is an error, the Laravel package at another a warning. The check shape has elyra, the contract version.
  • Elyra\Backend\ElyraBackend::VERSION, in elyra:contract and php artisan about.

0.57.0 — 2026-11-26

Menus that change, a disk image, and the small components. The app's menu can now be what a document app's is: check items whose mark follows the app's state, items greyed out until they can be used, the system's own Cut, Copy and Paste, nested submenus and entries for one platform, all changed from the page or from Rust (RFC 0055). rata bundle makes a .dmg on macOS, the last packaging gap from porting kver from Tauri. And @elyra/ui has the five small components a review of the last releases asked for: Stat, Sparkline, Progress, Breadcrumbs and DateRangePicker.

Upgrading: nothing has to change unless one of these applies:

  • Capability has a new variant, Menu: an exhaustive match on Capability needs the arm.
  • A menu id used twice, or a blank label or title, is now a configuration problem: the app won't start, and lists it with any other (App::problems, which an app's test can assert is empty).
  • rata bundle on macOS also writes <Name>_<version>_<arch>.dmg next to the .app: a release script that takes everything in target/release/bundle/ gets it too.

Added

  • Menus that change (RFC 0055). Check items (Submenu::check(id, label, checked)), items configured with Item::new(..).accelerator(..).enabled(..).only(..) (Submenu::entry), the platform's own items (SystemItem::{Cut, Copy, Paste, SelectAll, Undo, Redo, Minimize, Fullscreen, CloseWindow, Hide, HideOthers, ShowAll, Services, Quit}), nested submenus, and entries for some platforms only (Platform). At runtime, menu.set(id, { enabled, checked, label }) in @elyra/runtime and AppMenu::set in Rust change an item on every window's menu bar; menu.state(id) / AppMenu::state read it. A check item's mark doesn't flip on a click: the app sets it. A menu id used twice, or a blank label, is a configuration problem. Found porting kver from Tauri.

  • rata bundle makes a .dmg on macOS: <Name>_<version>_<arch>.dmg, the .app (copied with ditto, its signature intact) and a link to Applications to drag it onto, compressed with hdiutil. Signing and notarizing it stay the app's release pipeline's. Found porting kver from Tauri, which ships one.

  • Four small components in @elyra/ui: Stat (a figure on a card, how it changed, coloured by which way is good news, and its numbers as a sparkline), Sparkline (a few numbers as a line, an area or bars, in plain SVG), Progress (how far along, or as a meter how full, turning warning and danger past low and high) and Breadcrumbs (where this page is, through the router, the middle of a long trail folded). Each on its page in the reference.

  • DateRangePicker in @elyra/ui: bind:start and bind:end (ISO, either open), both typed as the locale writes dates or picked in a calendar of two months, the span shown as the pointer or the focus moves; presets a click away (today, the last 7 and 30 days, this and last month, this year, or the app's own), held in min and max. On DatePicker's page in the reference.

Changed

  • Capability has a new variant, Menu (/__menu/*, granted by default; a read-only window may read, not change): an exhaustive match on Capability needs the arm.

0.56.0 — 2026-11-26

What's built, shown, and six edges mended. The files open in the user's own apps now have a place in the window: the StatusBar says what they're doing, and a new EditingDrawer lets the user keep their save, take the server's, or let go. The assistant can search the web, and its answer shows the pages it rests on. And six edge cases found in a review of the last releases are fixed: integer keys inside an enum variant, newtype keys under bigint, Prepared::call held to the page's checks, a pivot's keys and JSON columns, capture's first look, and the popover taking the launch's documents.

Upgrading: nothing has to change unless one of these applies:

  • AssistantEvent::Answer has a second field, citations: a pattern or a literal naming its fields needs it, or ...
  • Prepared::call refuses what the page's call would: Capability::Commands turned off, the inspector's mask, the signed-in user's abilities, arguments past the body limit.
  • A belongs_to_many(.., using = T) pivot whose key isn't exactly its two i64 columns is an error; it used to write 0 for the ids.
  • A [[bundle.documents]] icon that isn't a file is an error.

Added

  • <EditingDrawer>, and the <StatusBar>'s line for it (RFC 0038). The files open in the user's own apps were in $editing, and nothing in @elyra/ui showed them. The StatusBar now says Editing contract.docx, Saving …, 2 saves waiting or 1 file needs you, and opens the drawer, which lists each file with its state and what the server said: Keep mine and Take theirs for a conflict, Open, Show in Finder/folder, and Done, which asks first when the last save hasn't reached the server. editing={false} turns the line off.
  • The assistant searches the web and cites its sources (RFC 0051): Assistant::web_search(..), off by default. The panel marks the words each page backs ([1]) and lists the pages under the answer; a page is a link only when it's http(s), and opens in the browser. The answer event carries citations, each with url, title and start/end in UTF-16, as the page's strings count. Through a Laravel backend the server allows it with ELYRA_ASSISTANT_WEB_SEARCH=true.

Changed

  • AssistantEvent::Answer has a second field, citations: a pattern or a literal that names its fields needs it (citations: vec![]), or ...

Fixed

  • A belongs_to_many(.., using = T) pivot whose key fields aren't i64 (an i32, a cast) wrote its rows with 0 for the ids, silently. It's an error now, saying which field, and a pivot model's key must be exactly its two columns.

  • Updating a pivot row with a JSON column failed on Postgres (operator does not exist: jsonb = json): the update compares old and new values to write only changes, and Postgres has no = between JSONB or TEXT and JSON. A JSON cast is compared as JSONB there, and as JSON on MySQL (where the text would never equal the stored value). New Cast::same lets a cast say how its column is compared.

  • capture_changes() could take a write for its starting point: one made after the triggers were installed but before the first look was the baseline, not a change. The baseline is read before the triggers exist, and on Postgres the app listens before they do.

  • The tray's popover could take the documents the app was launched with (RFC 0052): it loads the same page as the main window, and the first documents.initial() to ask got them. They go to the main window alone now; another window's call gets [] and leaves them waiting.

  • A [[bundle.documents]] icon that isn't a file was ignored, and the type bundled with the generic icon. It's an error now, from rata bundle and rata check alike.

  • A map keyed by integers inside an enum variant, as a command argument (RFC 0050): {"SetQty": {"3": 2}} for enum Action { SetQty(HashMap<i64, u32>) } failed to decode. The variant's content is read as leniently as any other argument now, and a unit variant sent by its name ("Clear") too.

  • codegen_bigint() and a map keyed by a newtype over a wide integer (struct LineId(i64)): the map was typed { [key in LineId]: T }, which TypeScript refuses since LineId is a bigint. It's keyed by string, as a bare i64 key is.

  • Prepared::call is held to what the page's calls are, as its docs said: Capability::Commands, the inspector's mask, the signed-in user's abilities with a backend, and the size and depth of the arguments, besides the command's ability (one function, shared with the IPC guard). New Prepared::call_json reads any answer as JSON, with a map's integer keys as strings of their digits; call::<serde_json::Value> couldn't read those.

0.55.0 — 2026-11-24

No window required. The window (tao, wry and the system webview) is a feature now, on by default. Turned off, elyra builds where no GTK or WebKit is installed, for a command-line twin of an app, a worker or a headless test job, and keeps what an app is made of: its commands and their middleware, the container, events, codegen, migrations, --mcp, the IPC layer and its test harness, and the exit hooks. Prepared::call calls a command by name from Rust, as the page would. What ElyraSQL's CLI needed to leave its fork.

Upgrading: nothing has to change unless one of these applies:

  • An app with default-features = false adds "gui" to its features: the window is a default feature now.
  • A test that built TestShell requests with wry::http uses elyra::testing::http (or keeps wry as its own dependency).

Added

  • The gui feature (RFC 0054). The window (tao, wry, the system webview, the app menu and the platform crates the shell uses) is a feature, on by default. Off, elyra builds with no tao, wry or GTK: for a command-line twin of an app, a worker, a headless test job. Commands, the container, events, codegen, migrations, --mcp, the IPC layer and TestShell stay; tray, system and shortcuts turn gui on. App::run without it runs the headless modes and otherwise says the build has no window.
  • Prepared::call(name, args): a command called by name from Rust, through the page's middleware, validation and abilities, for a twin that takes the name from its own command line. framework/examples/cli.rs is one.
  • elyra::testing::http: the http crate's Request and Response that TestShell::handle takes, so a test needs no wry to build one.
  • CI: the crate without its window, on a runner without the webview's packages: the dependency tree checked for tao, wry and GTK, clippy, the tests, and the example twin.

Changed

  • default-features = false now leaves out the window. The crate had no default features; now gui is one. An app that turned the defaults off adds "gui" to its features.

0.54.0 — 2026-11-24

What the OS hands it, and what it leaves behind. A document app now declares its file types once and gets them registered on macOS, Linux and Windows; the files the OS opens with it (double-clicked, dropped on its icon, "Open With", the command line) reach the page as files the user chose. Exit hooks run however the app ends, so a tunnel or a server it started doesn't outlive it, and sidecars end with it. And the webview stays on the app's own page: a release build no longer reads ELYRA_DEV_URL, and links and new windows can't take the webview, or its IPC token, anywhere else. Found by moving ElyraSQL off its fork and porting kver from Tauri.

Upgrading: nothing has to change unless one of these applies:

  • A release build ignores ELYRA_DEV_URL, and a link to a website no longer loads in the window: it opens in the browser (when shell.open's policy allows its scheme). window.open never makes a webview.
  • FileChoice has a fourth variant, Document: an exhaustive match needs the arm.
  • macOS: a file opened with the app no longer arrives on elyra:deep-link: declare its type and take it from documents.
  • Ctrl-C and SIGTERM now run the exit hooks before the process ends (exit code 128 + the signal, as before). An app with its own handlers turns that off with App::exit_on_signals(false).

Added

  • Exit hooks (RFC 0053). App::on_exit(|ctx| …) and elyra::exit::on_exit(…) run once, last added first, however the app ends: the event loop's end (the last window, Quit, ⌘Q), a relaunch into an update, the end of an --mcp run, SIGINT/SIGTERM/SIGHUP, Ctrl-C and a closed console on Windows, and Windows log-off and shutdown. The process used to end without running anything, so a tunnel or a server the app started lived on after it. elyra::exit::guard() does the same for a main without App::run; App::exit_on_signals(false) leaves the signals to the app.

  • Sidecars end with the app: a child Sidecar started that's still running is killed when the app ends. It used to be left behind.

  • Opening documents (RFC 0052). [[bundle.documents]] in elyra.toml declares the app's file types, and rata bundle registers them: CFBundleDocumentTypes and an exported type on macOS, MimeType, a shared-mime-info file and a postinst in the .deb, and ProgIDs in the Windows installer (removed by its uninstaller). App::opens([..]) says what the running app takes. The files the OS opens with it (double-clicked, dropped on its icon, "Open With", the command line, a second launch through single-instance) arrive as ChosenFiles of the new kind document: documents.initial() and documents.onOpen(..) in @elyra/runtime, and App::on_open(..) in Rust. rata check sets the two lists side by side. Found by porting kver from Tauri.

  • CI: an Advisories workflow checks main every day for new security advisories: the Rust crates with cargo deny, and the npm packages of the runtime, the UI and the example app with npm audit, dev dependencies included. Before, a new advisory surfaced only on the next push, as one did in the 0.53.0 release PR.

Security

  • The webview stays on the app's page. The IPC token is handed to whatever page the webview loads, and three things could load another:

    • ELYRA_DEV_URL was read by release builds too, so an installed app started with it set loaded that page and gave it full IPC access. Only a debug build (what rata dev runs) reads it now; a release build ignores it and says so once.
    • Navigation wasn't limited. A link or a script setting location could take the webview to any site. Now it may go only to the app's own origin, the dev server's exact origin under rata dev, and about:blank; a link elsewhere is handed to the OS (the browser, the mail app) when shell.open's policy allows its scheme, and dropped otherwise.
    • New windows weren't refused. window.open and target="_blank" are never webviews of their own now: the same rule, to the OS or nowhere.

    Upgrading: an app whose page linked to a website and expected it to load in the window gets the browser instead; a release build can no longer be pointed at a dev server.

  • npm dev dependencies, lock files only: vite 8.2.x → 8.3.8 (GHSA-587h-7wmj-h5pm and others: Vite's dev server and launch-editor), vitest 4.1.10 → 4.1.12 (GHSA-82fw-gwwq-j7x9, GHSA-qxg6-89mg-rqv8), source-map-js → 1.2.4 (GHSA-68fv-2mgg-jv7q) in runtime/ and the example app, and devalue → 5.9.4 in the example app. Nothing @elyra/runtime or @elyra/ui ships was affected. A new app's npm install already gets the fixed versions.

Changed

  • FileChoice has a fourth variant, Document: an exhaustive match needs the arm. FileChoice::readable() and writable() say what a kind allows; Backend::download_to and a transcription take a document as they take a save and an open file.

  • macOS: a file opened with the app no longer goes to elyra:deep-link as a file:// string (ungranted, and unfiltered by type). An app that read it there declares the type and takes it from documents instead.

  • The single-instance payload is JSON ({"url", "files"}) when a later launch has documents for the app; a URL alone is still sent as it was, and elyra:second-instance gets the URL.

  • SECURITY.md: the supported version is the latest 0.x (the table still said 0.1.x), and a section on how dependencies are checked.

Fixed

  • Docs: dependency snippets that pointed at a registry. Twelve feature pages and the README showed elyra = { version = "0.5", … }. Elyra isn't on crates.io, so that doesn't resolve, and it would resolve to whatever is published under the name later. The pages now show elyra = { …, features = [...] }, and the README the git tag. runtime/README.md said npm install @elyra/runtime, which is a 404; it now gives the release tarball.
  • CONTRIBUTING.md: MSRV 1.94 (it said 1.80), Node's floor as in getting started, the Linux packages by reference, and the runtime's and UI's own typecheck/test scripts. The bug report template asks for the tag and for rustc --version/node --version, not 0.1.0.

0.53.0 — 2026-11-24

Sources, cited. An answer from a web search now says which pages back which words: Response::citations(), the same on Anthropic and OpenAI, so a failover between them keeps the sources. A command can return them to the page as they are. And the AI SDK's live tests have a workflow of their own, run weekly and by hand against the real providers once their keys are repository secrets. OpenAI's citation positions are read as characters; no live call has confirmed that yet.

Upgrading: nothing has to change.

Added

  • Citations from web search (RFC 0051). Response::citations() gives the sources a web-search answer cites, in text order: each Citation has url, title, cited_text (Anthropic) and span, a byte range into text() for the words it backs. They are read from Anthropic's text-block citations (streamed too) and OpenAI's url_citation annotations, so a failover between the two gives the same shape. An answer without web search, from another provider or from the cache cites nothing. AiFake::text_citing scripts a cited answer, and Citation derives Serialize so a command can return it to the page.
  • CI: a Live AI workflow runs the AI SDK's live tests against the real providers every Monday and by hand. Each provider runs when its key is a repository secret (and, for the providers without a default model, its model a repository variable), and the job summary lists what ran and what was skipped. The live tests read an empty key or model as unset.

Security

  • url 2.5.8 → 2.5.9, for RUSTSEC-2026-0592: a nested blob: URL overflowed the stack in Url::origin() (reached through the HTTP client, the webview and the database driver).
  • cookie 0.18.2 → 0.18.3, for RUSTSEC-2026-0594: private cookie nonces could repeat after a fork() (reached through the webview; Elyra doesn't fork).

0.52.0 — 2026-11-21

Every key, every lab. Models relate on whatever names their rows: a String, two columns, or a pivot with columns of its own, read as (Role, RoleUser) and written through it. The AI SDK reaches beyond two labs: Gemini, Groq, Mistral, DeepSeek, xAI, OpenRouter, a local Ollama and any OpenAI-shaped endpoint, each with its own model, and web search on OpenAI as on Anthropic, so a search can fail over between them. A map keyed by integers now crosses between the page and the commands both ways. And a write shown at once is followed by the server's answer, not the copy.

Upgrading: nothing has to change unless one of these applies:

  • Model::key(&self) is a required method: the derive writes it; a hand-written impl Model adds it.
  • A belongs_to whose fk isn't one of the model's columns, and a belongs_to_many to a model whose key isn't i64, are compile errors. The first compiled before and never found its owner.
  • SyncChanges has a third field, updated: a struct literal needs updated: vec![] or ..Default::default().
  • Provider is #[non_exhaustive] (a match needs a _ arm), and Provider::default_text_model() returns an Option.
  • eager_has_many, eager_has_one and eager_belongs_to are deprecated: use eager_many, eager_one and eager_owners, keyed by Model::Key.

Added

  • Pivot columns (RFC 0046). belongs_to_many(Role, using = RoleUser) names the pivot's own composite-key model: roles_with_pivot() and load_roles_with_pivot() read each related row with its pivot row, attach_roles_with, sync_roles_with and update_role_pivot write the pivot's columns, and attach_roles / sync_roles go through RoleUser::default(), so the pivot's timestamps are filled. A field of type Vec<(Role, RoleUser)> is hydrated with both. Without using, nothing changes.
  • Relations on any key (RFC 0047). has_many, has_one and belongs_to from and to a model keyed by a String, or by more than one column with fk = ("order_id", "line_no"). load_* maps are keyed by Model::Key, and Model::key(&self) gives a row's key to look one up with. Eager loads over more than one column use a row-value IN (Query::where_in_rows), and every eager load is chunked at 1000 parents. New helpers: eager_many, eager_one and eager_owners.
  • More AI providers (RFC 0048). Provider::Gemini, Groq, Mistral, DeepSeek, XAi, OpenRouter, Ollama (no key) and Compatible (any OpenAI-shaped endpoint), on the OpenAI driver: text, tools, structured output, streaming and failover. Ai::from_env reads their keys and base URLs. Ai::builder().text_model_for(provider, model) gives each provider its own model; Provider::ALL and needs_key().
  • Web search on OpenAI (RFC 0049). .web_search(…) with Provider::OpenAI goes through the Responses API (/v1/responses, store: false), with the app's tools and structured output, so a search can fail over between Anthropic and OpenAI. WebSearch::allow and location carry over; block is Unsupported there, and max is ignored with a warning.
  • A map keyed by integers as a command argument (RFC 0050). The page sends an object's keys as strings, which failed to decode ("wrong msgpack marker"); when the strict decoding fails, a map key that's a string of digits is read as the integer its type asks for. Only map keys; a call that decoded before decodes the same.

Changed

  • Model has a required method, key(&self), generated by the derive. A hand-written impl Model adds it: the key field, cloned, or a tuple of the key fields.
  • A belongs_to whose fk isn't one of the model's columns is a compile error. Before, it compiled, and the accessor always returned None.
  • belongs_to_many to a model whose key isn't i64 is a compile error that names the key; it was accepted before, though the pivot holds integers.
  • SyncChanges has a third field, updated: the attached rows whose pivot data a sync_*_with changed. A SyncChanges { attached, detached } literal (in a test, say) needs updated: vec![] or ..Default::default().
  • Provider is #[non_exhaustive]: a match on it outside the SDK needs a _ arm.
  • Provider::default_text_model() returns Option<&'static str>: Some for Anthropic and OpenAI, None for the new providers, which have no default model (a chat to one without a model fails with the new Error::NotConfigured).
  • An OpenAI-shaped error body of another shape (a list, plain text from a proxy) is reported with its message or raw text, not "unknown error".

Deprecated

  • eager_has_many, eager_has_one and eager_belongs_to, which key on i64: use eager_many, eager_one and eager_owners.

Fixed

  • A write shown at once (.optimistic()) could leave the lists showing the copy, not the server's answer, after it was confirmed: the lists re-ran before the write stopped being pending, and on a busy machine read the offline copy with it still applied. They re-run once it's no longer pending.
  • With codegen_bigint(), a result holding a map keyed by integers past 2^32 failed to decode ("The type of key must be string or number but bigint"), and the bindings typed it { [key in bigint]: T }, which isn't valid TypeScript. Such a map is keyed by each key's exact digits and typed { [key in string]: T }.
  • belongs_to with a nullable foreign key (team_id: Option<i64>) never found its owner: the accessor returned None and load_* an empty map. It finds it now, and a NULL is None.
  • Relations on a String-keyed model compiled into code that didn't ("cannot move out of a shared reference", "mismatched types"). They work now.
  • Failover sent the fallback the primary's model whenever Ai::builder().text_model(…) was set. A fallback now gets its own model (text_model_for), and one without a model is skipped, keeping the primary's error.

0.51.0 — 2026-11-21

The data, as it is. Three things that make what the app shows match what's there. Every write seen: with capture_changes(), the database itself says which tables changed, so a raw UPDATE, a migration, a sidecar or another process re-runs the live lists too, not only the model layer's writes. Composite keys: a model whose row is named by more than one column (an order's lines, a translation per locale, a pivot with columns of its own) has find, update, delete and an upserting save(). And bigint all the way: with codegen_bigint(), a 64-bit integer is a bigint in the page, small or past 2^53, as its type always said.

Upgrading: nothing has to change unless one of these applies:

  • Query::find takes impl Into<Model::Key>: find(&db, 42), find(&db, "theme") and an i32 for an i64 key keep compiling; a value of another type for the key doesn't.
  • A second #[model(id)] makes the key composite; it used to be ignored. A model that marks two fields by mistake now has a two-column key.
  • An app calling codegen_bigint() gets bigints where it got numbers: run rata codegen, and look for comparisons with a number (order.id === 42 is now false; write 42n).
  • capture_changes() adds triggers and _elyra_changes to the database it watches; it's off unless called.

Added

  • Composite keys (RFC 0044). More than one #[model(id)] names a row by all of them: OrderLine::find(&db, (42, 3)), update and delete by every key column, insert as written, and save() as an upsert on the key (ON CONFLICT / ON DUPLICATE KEY), created_at kept. Model::KEY and Model::Key; Query::where_key. belongs_to from such a model works; as a relation's parent it's a compile error.
  • Every write seen (RFC 0043). App::capture_changes() (or Database::capture_changes()): the database itself says which tables changed, however they were changed, raw SQL, a migration, a sidecar, another process on the same file or server, and the live queries that read them re-run. On SQLite and MySQL a trigger per table counts its writes in _elyra_changes, read every 250 ms (capture_changes_every(..)); on Postgres a statement trigger says the table with NOTIFY elyra_changes. Installed on connect and after the migrations the Database runs; watch_tables() for a table made later, unwatch_tables() to take it out, capture_status() and the inspector say what it's doing. Off without it.

Changed

  • Query::find takes impl Into<Model::Key>, not impl Into<Value>: find(&db, 42), find(&db, "theme") and an i32 for an i64 key still compile; a value of another type for the key doesn't.
  • A second #[model(id)] makes the key composite; before, the first one was the key and the others were silently ignored.
  • codegen_bigint() is bigint all the way (RFC 0045). It used to type 64-bit integers as bigint while the runtime decoded them as numbers, past 2^53 lossily, and couldn't send a bigint argument. Now the shell tells the page (__ELYRA__.bigint), @elyra/runtime decodes and encodes with useBigInt64, and the bindings turn the small integers in wide fields into bigints too (wide(shape) beside each command, live.* and typed channel); JsonValue gains | bigint. Upgrading, for an app that already calls codegen_bigint(): run rata codegen, and look for code that worked around the old values: Number(order.id) still works, but a comparison with a number (order.id === 42) is now false; write 42n.

0.50.2 — 2026-11-21

What's checked is what's drawn. The rest of a review of 0.50.1: rata check --backend missed a required field beside its items' rules, and didn't check a file edited in its own app; the Theme Studio checked other values under more contrast than the windows drew and app.css got; dictating into Point at it's note could keep recording after Esc; an editing ended mid-copy left a folder behind; and <Table preview>'s Esc worked only on a row.

Upgrading: nothing has to change. Two things to know:

  • Copy as CSS writes a dark change under :root:not([data-theme="light"]), not :root, and a change to a token more contrast sets (muted text, borders, the focus ring, the status colours) inside @media not all and (prefers-contrast: more): what the windows drew. Blocks copied before still work; copy again to have more contrast keep its own values.
  • rata check --backend may find more: a required field beside its field.* rules, and the routes of Backend::edit(..).

Fixed

  • rata check --backend took a field's items' or fields' rule (tags.*, address.city) for the field's own, so tags => 'required|array' beside them was never said to be required. A field's own rule says it; the others only name it. And a file edited in its own app (Backend::edit(..), RFC 0038) is checked too: its GET, and its PUT or .save_back(..).
  • The Theme Studio's checks are of what's drawn. The windows drew a dark change over more contrast's own values when the OS asked for more contrast, but not with data-contrast="more"; app.css got it under both; and the checks read the stylesheets in order, not as the cascade does, so an app.css :root after tokens.css seemed to win over light. Now the windows, Copy as CSS and the checks agree: a dark or light change to a token more contrast sets is that look's without more contrast, and a look's tokens are resolved by specificity, then order.
  • Dictating into Point at it's note: a start that failed was said over by "Dictation failed"; Esc, Cancel and handing it off left the microphone recording for up to a minute; and only the pointer could hold it. It waits for the start, throws a recording away with the note, and is held with Space or Enter too.
  • An editing done with, or signed out of, while a save was copied left an empty folder behind that was never tidied; it's removed.
  • <Table preview>'s Esc closed Quick Look only with the focus on a row; it closes it wherever the focus is in the window, but in a dialog or menu that Esc is for.

0.50.1 — 2026-11-20

A window that only reads only reads, and following ends with the window. A review of 0.49 and 0.50: a read-only window could still change the assistant's key, the app's locale and what presence says to others; elyra:contract couldn't read rules that ask for the user, and rata check --backend found nothing in a workspace; following outlived a window that left or closed; a large file being edited in its own app held up the list; $pending marked other accounts' writes; and <Microphone> could ignore a click after a hold.

Upgrading: nothing has to change. Three things to know:

  • A read-only window is refused /__assistant/key, presence's editing, follow, follow-answer, stop-followers and route, and /__i18n/locale, denied, "this window only reads".
  • A call is cancelled only by the window that made it: cancel() from invokeCancellable in another window no longer stops it.
  • elyracode/elyra-backend's elyra:contract changed: update it to v0.50.1 (its README says how) for rules that ask for $this->user().

Fixed

  • A window that only reads (WindowConfig::read_only(), RFC 0041) could still change what's outside it: set or delete the assistant's key, say it's editing, answer or stop following, say a route, and choose the whole app's locale. Its routes are now each one that only reads: the assistant's conversation, presence's and private channels' join and leave, the translations, and the routes no capability guards one by one. And a call is cancelled only by the window that made it, in any window: another's id no longer stops it.
  • php artisan elyra:contract --as= made each FormRequest's rules before it knew the user, so rules that ask for $this->user() couldn't be made, and rata check --backend said the route had no FormRequest. The user is known first; rules that still can't be made are said on stderr, which rata check shows.
  • rata check --backend read the commands' calls from src/ at the project's root, so an app crate that's a workspace member (desktop/) had none, and nothing was found. It reads the app crate's own folder.
  • Following ends when a window leaves: Presence::leave, <Presence> going away and a window closing stop that window's following, and the app's last window on a channel stops those following this user there. With a browser tab on the channel too, the server never said anyone left, and a colleague went on being followed. A window closing now leaves its channels at once, not at the next sweep 30 s later.
  • Editing in its own app no longer holds the editings while a save is read and copied: a large file is hashed and copied on a blocking thread, and the list, Show and Done answer meanwhile.
  • $pending marks only the signed-in account's and workspace's writes, as the reads they show in already were; another account's waiting in the outbox, or one still on its way when the user switched, isn't marked.
  • <Microphone> held down with the pointer and let go where no click followed (off the button, or with the button disabled meanwhile) took the next click, from the keyboard or a screen reader, for the press's, and ignored it.

0.50.0 — 2026-11-20

The desktop half, more at home on the desktop. Five things a browser tab can't do. Edit it in its own app: a file on a record opens in Excel, Word or Preview, and every save goes back to Laravel, a conflict never over someone else's change. Shown at once: a write marked .optimistic() shows in every window before the server answers, stays shown while it waits offline, and is taken back if refused. Quick Look: Space on a row shows the record beside the list, in a window that only reads. Follow a colleague: click an avatar, they allow it, and your window goes where theirs goes. And the two halves agree: rata check --backend holds the app's types against what the Laravel API actually answers.

Upgrading: nothing has to change; each is opt-in. Four things to know:

  • <Table>'s Space still opens a row, unless the table has preview: then Space previews and Enter opens.
  • Sign-out is refused while a file being edited in its own app has a save that hasn't reached the server, as it is for the outbox.
  • elyracode/elyra-backend gains php artisan elyra:contract and the ChecksUnmodifiedSince trait; it still isn't on Packagist (its README says how to add it).
  • The app's check mode (ELYRA_CHECK) reports each command's types; a tool that reads its JSON sees a new types key.

Added

  • Quick Look (RFC 0041). <Table preview={(row) => route}>: Space on a row shows its route in a window beside the app's (⌘Y / Ctrl+Y with select), the list keeps the keyboard, ↓/↑ move it along, Space or Esc closes it, Enter opens the row. One read-only window for the app, made once and hidden after. quickLook.show(route), hide(), here() and $quickLook in @elyra/runtime; Windows::show_quick_look(..) in Rust; make:resource --view writes preview on its lists.
  • WindowConfig::read_only(): a window that only reads. Only live commands run in it, under the live write guard (a model or backend write fails, subscribed or called once); can says no to what only writers need; only the routes that read are there; the assistant there is offered only live tools.
  • Follow a colleague (RFC 0042). <Presence channel="office" follow />: Follow… a colleague, who's asked in their app and allows it or not; then this window goes where theirs goes, as this user, until either presses Stop, this window goes somewhere itself, or either leaves the channel. Only the route travels, as whispers on the presence channel, and only to the app's own routes; following.share(fn) keeps routes back. presence(channel).follow(id), $following, $followers, following.stop() and stopFollowers() in @elyra/runtime; Presence::follow and the rest in Rust.
  • The two halves agree (RFC 0040). elyracode/elyra-backend's php artisan elyra:contract --as=<email> describes the Laravel API: the routes under /api, each FormRequest's rules, the abilities there are, and each GET's answer sampled as that user (field names, types and null-ness, never a value). rata check --backend <file or folder> compares the desktop app with it: a route a command calls that isn't there, a field its type needs that isn't sent (with the closest name that is), comes as null or has another type, an input field the rules require or drop, an ability no user has. [check] backend and backend_as in elyra.toml; the app's check mode reports each command's types.
  • Edit it in its own app (RFC 0038). Backend::edit(path).open() downloads a file on a record into a folder of the app's own and opens it in the user's app for it (Excel, Word, Preview); each save there is sent back as a PUT with the file, checked against the version the download had (If-Unmodified-Since or If-Match). Someone else's change meanwhile is a conflict: keep mine, or take theirs, put beside the user's file and never over it. With no answer, only the last save waits; sign-out is refused while one does. An editing outlives the app. Programs, shortcuts and web pages are never opened; .only([..]) narrows the kinds. @elyra/runtime's editing store, Editings in Rust, Backend::editing_folder(..); in elyracode/elyra-backend, the ChecksUnmodifiedSince trait for the 412. Needs backend and system.
  • Shown at once (RFC 0039). A PUT, PATCH or DELETE to a record marked .optimistic() shows in every window's live lists and views the moment the command sends it: they re-run from the offline copy with the write applied, without asking the server. It stays applied to every read of that record and its lists, from the server or the copy, while it's on its way or waits in the outbox (across a restart), and is taken back when the server refuses it. Only fields the record already has change; .optimistic_with(..) says which when the body isn't the record's. @elyra/runtime's pending store and <Table pending>'s dot mark rows not yet sent; make:resource --backend generates it on update and delete. HttpFake gets .slow(..), an answer that takes its time.

0.49.0 — 2026-11-20

The app seen while it's made. Four tools for a debug build and the coding agent working on it. The State Matrix shows one screen in several states at once (dark, light, more contrast, without an ability, a width), each frame a real window following the code. Point at it: ⌘⌥-drag over part of a window, say what should change, and the agent gets a task with the picture and the Svelte files and lines that drew it. rata check checks the app as a whole, for CI and the agent: an ability nothing grants, a write that needs none, stale bindings. The Theme Studio changes the design tokens in every window at once, with every readable pair's contrast checked, and tokens.css itself now meets WCAG's ratios. A release build has none of the debug tools. Also: <Microphone> held down with the mouse or a finger is push-to-talk, and the diagnostics say the app's memory and when it last heard from the server.

Upgrading: nothing has to change. Four things to know:

  • --elyra-muted is a little lighter in dark and darker in light, and the light theme's status colours are darker under more contrast. A screenshot test of an app's own screens may see the difference.
  • <Microphone>'s default tooltip is "Click, or hold, to talk", not "Click, or hold Space, to talk"; a test that looked for it needs the new text.
  • A debug build writes UI tasks to .elyra/ in the project when you point at something under rata dev. rata new and rata ai:install add it to .gitignore; an existing app should too.
  • The shell takes at most 20 page errors a minute from a window; past that they're dropped until the minute is over.

Added

  • Theme Studio (RFC 0037): in a debug build, Theme in the inspector changes the design tokens (colours for dark, light and more contrast, radius, spacing, font) in every window at once, the matrix's frames too, with every readable pair checked as you go and the nearest colour that would do. Copy as CSS gives app.css only what changed. @elyra/ui exports contrast(), nearest(), luminance() and parseColor() for an app's own tests.
  • <Microphone> held down with the mouse, a finger or a pen is push-to-talk, as Space and Enter already were: past 300 ms it records until let go, anywhere, and a shorter press is a click. The OS taking the touch for a scroll lets go. The default tooltip is now "Click, or hold, to talk".
  • The diagnostics say when the app last heard from the server (last answer), when the outbox last sent (last sent), and how much memory the app uses (memory, its own process; the webview's aren't counted). Outbox::last_sent() gives the same to an app.
  • rata check (RFC 0036): the app checked as a whole, for CI and coding agents. An ability a command needs that the app grants nowhere, a startup problem, stale bindings, a command that may write and needs no ability, an assistant or MCP tool that writes without asking, a grant nothing names, a command nothing calls; each with how to fix it. [check] allow in elyra.toml says no to a finding with its reason. --json, exit code 1 on an error, --strict; rata mcp dev gets app_check. The app reports its shape in a new inspect mode, ELYRA_CHECK. CI runs it on the example app.
  • Point at it, and hand it to the agent (RFC 0035). In a debug build, hold ⌘⌥ (Ctrl+Alt) and drag over part of a window, or click one thing, or press the inspector's Point; say what should change and press Enter. The shell makes a UI task of it: the note, the window, route and frame, the elements pointed at with the Svelte file and line that drew each, the live queries the window shows, and pictures of the selection and the window. It goes on the clipboard, into .elyra/tasks/ under rata dev, and to rata mcp dev's new ui_tasks; ui_task_done shows the agent's summary in the window. The page gets no clicks while pointing. Dictation in the note when the app transcribes. @elyra/runtime: startPointing(), stopPointing().
  • rata new and rata ai:install keep .elyra/ out of git.
  • One screen in several states at once (RFC 0034). In a debug build, ⌘⌥⇧E (Ctrl+Alt+Shift+E), the inspector's Matrix button or rata dev --matrix opens the screen in several frames side by side, and all of them follow the code through Vite and the window's route. Each frame is a real window with its own look and limits: dark or light, more contrast, a size, fewer abilities. App::matrix(|m| m.frame("Can't delete").light().deny_abilities(["*.delete"])) declares them. Without it an app gets four: as it is, light, more contrast, and without abilities. rata mcp dev gets matrix_screenshot, and app_windows lists each frame's look and limits. In @elyra/runtime: inspector.matrix() and matrixFrame(). A release build has none of it.
  • rata mcp dev's screenshot takes a max_width below 1280, which matrix_screenshot uses for its frames.

Changed

  • --elyra-muted reaches 4.5:1 on every surface. It was 3.93–4.40:1 in the dark theme and 4.25:1 on --elyra-inset in light: #787c99 is now #8387a2, and #6b7080 is #676b7b, as near as they could be. Under more contrast, the light theme's status colours are darker, to 4.5:1. @elyra/ui's tests now hold every look to its ratios. Upgrading: nothing to do, unless your app.css sets --elyra-muted itself; the Theme Studio says whether it's readable.
  • CI: rata bundle's Windows job gets NSIS from SourceForge, pinned by its SHA-256, when Chocolatey fails; the backend-chosen-at-sign-in test waits past the database pool's own timeout; the lints are clean on every feature set.

Fixed

  • <Form> focuses an invalid <Microphone> after a 422. The first field to fix was found by aria-invalid, which a button can't carry, so a <Microphone transcribe={false}> field was skipped. It's now found by its <Field>.
  • The diagnostics write the home folder as ~ on Windows with either slash. C:/Users/kari, as in a sqlite: or file: URL, kept the user's name.
  • The log redacts a URL's password and a provider key without a name. postgres://app:s3cr3t@db.internal and a bare sk-ant-… or sk-proj-… had none of the words redaction looked for.
  • The shell takes at most 20 page errors a minute from a window. The limit was only in @elyra/runtime; a script calling /__page-error itself could write to the log without one.
  • beforeclose is listed among a <Drawer>'s props in the docs; it was passed on to the <Modal> already.

0.48.0 — 2026-11-19

Diagnostics the user can send. When something goes wrong in a shipped app, the user can now save one plain-text file — Help → Save Diagnostics… — with the versions, the system, the connection, the outbox, the page's errors and the end of the log, read it, and attach it to an email or a ticket. Nothing is sent by the framework, and no token, password, signature, record or name is in it. To make that possible, the log now redacts every record and keeps the last 1,000 in memory, and the page's uncaught errors reach the log in every app.

Upgrading: nothing has to change; App::diagnostics() is opt-in and needs the system feature. Three things to know:

  • Log lines are redacted. A test or a tool that reads the log for a token, a password= or a signed URL's query now finds •••.
  • The page's uncaught errors are logged at error level with the target page, in every app. An app whose page throws on purpose will see them.
  • Capability has a new variant, Diagnostics, and TrayConfig a new field, diagnostics. A match over every Capability, or a TrayConfig { .. } literal without ..Default::default(), needs it.

Added

  • Diagnostics the user can send (RFC 0033, guide). App::diagnostics() adds Help → Save Diagnostics…: one plain-text file with the app's and Elyra's versions, the system (OS, webview, screens, locale, uptime), the connection, the outbox (counts, and each refused write's path and the server's message, never its body), the updates, the windows, the page's errors and the end of the log. diagnostics_with(|d| ..) adds the app's own sections; diagnostics.save() / diagnostics.text() in @elyra/runtime, TrayConfig::diagnostics() for the tray, and elyra::diagnostics::text(&ctx) in Rust. Opt-in, behind Capability::Diagnostics; needs the system feature.
  • The log is kept in memory and redacted. The last 1,000 records, whatever the sinks (elyra::log::recent). Every record is redacted before it's written anywhere: bearer tokens (Sanctum's too), Authorization headers, the values of token, password, secret, signature and api_key fields, and a signed URL's query become ••• (elyra::log::redact).
  • The page's errors reach the log, in every app: @elyra/runtime sends each uncaught error and unhandled rejection to the shell, which keeps the last 50 and logs it at error level with the target page. A release build's exceptions are no longer lost in a console nobody can open, and rata mcp dev's last_error finds them.
  • UpdaterRuntime::last_check(), source() and installed().

Fixed

  • A log record at startup could be dropped. The first use of the log marked the level as set before storing it, so another thread logging in between read "off". The default is now resolved once, and a thread asking meanwhile waits for it.
  • <Tabs> with a disabled tab chosen shows the first usable tab, not an empty panel: a tab that turns disabled while shown is treated like a hidden one.

Changed

  • CI: the Linux jobs' apt cache falls back to the same Ubuntu's, not the newest: the job pinned to ubuntu-24.04 had restored ubuntu-latest's Ubuntu 26 packages and fetched all 68 MB from a mirror that stalled. The updater's schedule test waits for each check instead of sleeping 80 ms.

0.47.1 — 2026-11-18

The microphone's waiting off the async threads, and <Microphone> like the other controls. The rest of a review of 0.46: the shell wrote a recording, read one to transcribe and opened the input on the threads that serve every other request, and <Microphone> had no can and didn't know a <Field> or a <Form>.

Upgrading: nothing to change.

Added

  • <Microphone can canMode>, as on Button: hidden, or disabled, for a user without the ability. Taken away while it records, the recording is thrown away, as with disabled.
  • <Microphone transcribe={false}> in a <Field> is the field's control: it gets the field's id, its name comes from the label ("Voice memo Dictate"), and the description or error describes it, with a red border for the error. Dictating into the field's <Textarea> leaves the id to the text. The new microphone/memo example shows it.

Fixed

  • What <Microphone> hands over makes a <Form> dirty: the dictated text, which doesn't arrive as an input event, and a recording kept as it is.
  • The microphone's disk and device work runs on tokio's blocking threads. This covers writing a recording (WAV encoding and a few MB to disk, on stop and at its longest), reading one to transcribe (up to 25 MB), tidying old recordings, opening the input (which waits for the device) and cancelling (which waits for the recording's thread). The app's other requests are no longer held up meanwhile.

Changed

  • CI: apt's downloads run on their own, at most 2 minutes a try, 3 tries, each resuming what came, after a slow mirror timed out five jobs in a day. "Get NSIS" fails, and says so, when Chocolatey can't install it. The Windows installer check prints which part it's in.

0.47.0 — 2026-11-18

Popups that keep inside the window, and forms that know what's unsaved. @elyra/ui's popups opened below their button, always: on a Table's last rows, in a container with overflow: hidden, or at the window's edge they were cut off or ran out of it. Now they open where there's room. And a form says when the user has changed something, so a dialog can ask before it's lost.

Upgrading: nothing to change. Popups are position: fixed now and set their own top, left and max-height: CSS of your own that moved one (.menu { top: … } in a copied component) no longer applies. <Form>'s oninput and onchange are props now, still called as before.

Added

  • <Form bind:dirty>: whether the user changed something since the form was shown or last saved. Plain inputs count as they're typed in; Select, Combobox, DatePicker, FileField and Switch when a choice is made, so a Select's search isn't a change. It's false again once onsubmit went through.
  • <Modal beforeclose> (and <Drawer>): asked before the user closes it, with Esc, the close button or a click outside. false, or a promise of it, keeps it open. With bind:dirty and @elyra/runtime's confirm, it asks before unsaved changes are lost (the new modal/unsaved example).

Changed

  • Popups keep inside the window. Dropdown, Popover, Select, Combobox, DatePicker, Tooltip and NotificationBell are placed by ui/src/internal/place.js: above their button when there's more room there, moved in from the window's edges, and scrolling when neither side has room for all of it. They're position: fixed, so a scrolling or clipping container doesn't cut them off, and inside a Modal (whose backdrop is the containing block) they're measured from where fixed really starts. They follow scrolls and resizes, and one opened above slides up into place.
  • After a 422, the first field with a message takes focus, in the form's order.
  • The elyra-ui skill rata ai:install writes says so: bind:dirty with beforeclose, and popups that place themselves.

0.46.4 — 2026-11-18

A test's fake wins. What a review of 0.46.1–0.46.3 found: an Ai::fake swapped in for a test lost to the server and the keychain, a <Microphone> disabled while recording couldn't be stopped, and the Laravel package read a recording whole into memory.

Upgrading: nothing to change. A test that put Ai::fake(..) in the container to stand for the environment's client, beside Backend::assistant() or a key in the keychain, now gets the fake: use a real client there (Ai::builder()..build()) if the test is about which source comes first. Update elyracode/elyra-backend for the streamed upload.

Fixed

  • App::swap(Ai::fake(..)) wins over the server and the keychain. The microphone's transcription and the assistant asked Backend::transcription() / Backend::assistant(), and the assistant the keychain too, before the container. A test of the app's own build, with the backend in it, got "sign in to transcribe", reached the server, or, on a machine with a key kept, made a real call. A fake now comes first; elyra::ai::Ai::is_fake() says whether a client is one.
  • <Microphone disabled> while recording throws the recording away. The button couldn't be clicked or take Esc then, so it kept recording with no way to stop it.
  • Two <Microphone>s on a screen. The shell's events are the window's: one whose start was still on its way to being refused could take the other's recording. level and stopped are now taken only once a button's own start was answered.
  • Route::elyraTranscription() streams the recording on from the upload's temporary file instead of reading it into PHP's memory.
  • A test that waited by turns (read_again_when_the_connection_comes_back) gave up after ~3 s on a slow Windows runner; it waits by the clock now.

Changed

  • docs/README.md and the README list every folder (ai/, substrate/, ui/, laravel/) and every Cargo feature (autostart, sidecar).

0.46.3 — 2026-11-17

The Laravel agent's guide, up to date. What elyracode/elyra-backend gives a coding agent in the Laravel app (its Laravel Boost skill and guidelines) now covers the server's side of what the desktop learned since 0.34, as 0.46.2 did for the desktop's.

Upgrading: nothing changes in the framework or the package's code. Update elyracode/elyra-backend and run php artisan boost:install in the Laravel app.

Changed

  • elyracode/elyra-backend's Laravel Boost skill and guidelines cover the server's side of 0.34–0.46: the user route a desktop that adopts a token reads (keep user.id and workspace.id where they are), a revoke route for that token, a 401 that ends only one workspace's token, channels named from the user, several servers, and the assistant's code mode behind ELYRA_ASSISTANT_CODE_EXECUTION. php artisan boost:install in the Laravel app picks them up.

0.46.2 — 2026-11-17

The agent's guide, up to date. What rata ai:install gives a coding agent in an Elyra app (the guidelines in AGENTS.md and the skills) was last brought up to date in 0.37.0. It now covers what came since.

Upgrading: nothing changes in the framework. Rebuild rata from the tag and run rata ai:update in each app.

Changed

  • rata ai:install's guidelines and skills catch up with 0.38–0.46. The guidelines gain name::run, App::problems(), the app's identity and icons, capabilities and the microphone, and list elyra-ui among the skills. elyra-laravel-backend gains a server chosen at sign-in, several servers, a token and a copy per workspace, a window's own channels, code mode, speech to text, updates from the server and every Route::elyra…(). elyra-ui gains TreeView, NotificationBell, AccountSwitcher and Microphone, and lists every component's page. Run rata ai:update in an app to get them.

0.46.1 — 2026-11-17

The microphone, fixed. Six gaps in 0.46.0's microphone, found in a review: the worst, a hidden window that went on recording where no one could see it.

Upgrading: nothing to change. An app with Backend::transcription() and without elyra's ai feature now doesn't start, with a configuration problem that says to add it; before, it failed once the user had spoken.

Fixed

  • A hidden window no longer records. The main window of an app that stays in the tray, closed, and a tray popover clicked away from are hidden, not closed, so their pages stay and nothing cancelled the recording: it went on unseen for up to five minutes and kept every other window from recording. The shell now stops it and tells the page (failed), and TestShell::hide(label) tests it.
  • <Microphone>'s keys no longer stop working after focus left with Space or Enter held down: the keyup went elsewhere, and every later press was ignored until a reload. Losing focus now lets go.
  • A recording under a tenth of a second isn't sent. Nothing heard (a double click, a Bluetooth headset still switching) was written as an empty WAV and sent to OpenAI, which refused it. stop now says it was too short, and keeps nothing.
  • Backend::transcription() without the ai feature is a configuration problem: the app doesn't start, instead of failing once the user has spoken.
  • Signed out, transcribing says to sign in. Before a server was chosen (Backend::chosen_at_sign_in()), the user got the developer's message about adding a transcriber; signed out with a fixed server, the request was sent and refused. Now neither is sent, and the message says to sign in.

Security

  • /__mic/transcribe is rate-limited, 20 a minute, like the assistant: each call is a paid model call. Starting, stopping and cancelling aren't, so the microphone can always be turned off.

0.46.0 — 2026-11-11

The microphone. An app can let its user speak instead of type. The shell records natively (on macOS, Windows and Linux alike), hands the page the recording as a ChosenFile, and turns it into text through the app's Laravel server, which holds the key (RFC 0032).

Upgrading: nothing changes for an app that doesn't call App::microphone. A Linux build with the microphone feature needs libasound2-dev.

Added

  • App::microphone(why) and App::microphone_max_seconds(n), behind the new microphone feature: /__mic/start, stop, cancel and transcribe, under Capability::Microphone, which isn't a default. One recording at a time, owned by the window that started it, written as a 16 kHz mono WAV. A recording of nothing but zeros, which is what macOS hands an app it won't let listen, is an error that says where to allow the microphone, not a silent file. elyra::microphone::Microphone::fake(..) for tests.
  • Backend::transcription(): recordings become text through POST /api/elyra/transcription/v1/audio/transcriptions with the user's token, or else through the container's Ai.
  • rata bundle writes NSMicrophoneUsageDescription in the .app of an app that records. Without it, macOS ends the app when it listens.
  • @elyra/runtime: microphone.start/stop/cancel/transcribe and onMicrophone.
  • @elyra/ui: <Microphone>. A click starts and stops it, Space or Enter held records until let go, and Esc throws the recording away. Every word it shows is in labels.
  • elyra-ai: AiFake::transcript(..) and transcript_error(..) answer transcribe, and transcriptions() lists what was sent.
  • elyracode/elyra-backend: Route::elyraTranscription(), config('elyra.transcription') and TranscriptionUsed.

Security

  • cargo deny ignores RUSTSEC-2026-0459 (CVE-2026-119375) for now: SQLite before 3.54.0 can return uninitialized page-cache memory when a database is opened with a crafted -wal file. The bundled SQLite comes from libsqlite3-sys 0.37 through sqlx-sqlite 0.9.0, the latest sqlx, which doesn't allow the fixed 0.39 yet. The attack is local: an app opens its own database in its own data folder. The ignore goes once sqlx allows it.

0.45.0 — 2026-11-08

A token per workspace. On a server where a token names one workspace, a user in three workspaces holds three tokens, and Auth kept one per server: the app kept the rest, beside the backend's, and kept the two in step. Now Auth keeps every workspace's token and user, switches between them without a sign-out, and ends just the workspace whose token a 401 refused (RFC 0031). Félagi Desktop was ported against it before the release.

Upgrading: nothing changes without token_per_workspace. An app that kept workspace tokens itself: add .token_per_workspace("workspace.id") (it replaces offline_scope_path with the same path), call sign_in_with_token once per workspace, the one to open last, and hand tokens kept before to it once. onSignedOutOf no longer fires for a workspace left on a server still signed in to: listen with onSignedOutOfWorkspace.

Added

  • A token per workspace (RFC 0031): Backend::token_per_workspace("workspace.id") keeps each workspace's token and user, from its own sign_in_with_token, beside the others' on its server, across restarts. Account.workspaces lists them; Auth::switch_workspace(server, id) puts another in use without a sign-out; Auth::sign_out_of_workspace(server, id) revokes one; and Auth::request_in(server, id, method, path) asks one that isn't in use.
  • Auth::update_user(user): the signed-in user as the server describes them now (a profile changed), what user() returns and elyra:auth carries; with a token per workspace, kept as the workspace's. From the frontend: auth.switchWorkspace, auth.signOutOfWorkspace and onSignedOutOfWorkspace.

Changed

  • With token_per_workspace, a 401 ends the workspace, not the server: the server's next workspace is in use, and elyra:accounts says which was left (signedOutOfWorkspace). sign_out_of(server) revokes every workspace's token there. onSignedOutOf isn't called for a workspace left on a server still signed in to.

0.44.0 — 2026-11-08

Notifications shown as the app on Windows. Every notification an Elyra app showed on Windows went out as Windows PowerShell's, with its icon: a desktop app's notification needs an AppUserModelID, and none was given. Now the app has its own, says who it is (its name and icon) at each start, and its installer's uninstaller takes that away again (RFC 0030).

Upgrading: nothing has to change: an app that sets nothing gets an id made of its name. Add App::identifier("…") with the same value as [bundle] identifier, as rata new now does. Run rata bundle again so the installer's uninstaller knows the id.

Added

  • App::identifier("com.example.notes"), as [bundle] identifier: the app's AppUserModelID on Windows (RFC 0030). Without it, one made of the app's name. An identifier Windows wouldn't take (a space, over 128 characters) is a configuration problem.

Fixed

  • Notifications on Windows are shown as the app, with its name and App::icon, not as Windows PowerShell's: the app writes its name and icon under HKCU\Software\Classes\AppUserModelId\<id> at each start, and every notification goes out under the id. The installer's uninstaller removes the key (rata bundle asks the built app for its id).

0.43.0 — 2026-11-08

Installers, and the .exe's icon. On Windows, rata bundle gave a folder with an .exe that had no icon of its own; on Linux, a .deb that didn't say what it needed. Now the .exe carries the app's icon and version, NSIS makes an installer that needs no administrator (and leaves the app where its updater can replace it), and appimagetool makes an AppImage that runs on most distributions (RFC 0029).

Upgrading: nothing to change. Run rata bundle with NSIS (Windows) or appimagetool (Linux) installed to get the installer; without them it makes what it made before. Set [bundle].publisher for the .exe's company name. An app that links its own icon resource (winres, embed-resource) should drop it, or the link finds two; see rata bundle.

Added

  • A Windows installer: with NSIS there, rata bundle makes <Name>_<version>_x64-setup.exe. It installs for the user, with no administrator's prompt, into %LOCALAPPDATA%\Programs\<Name> (where the updater can replace the app), with a Start menu shortcut, the URL scheme of [bundle].deep_link, and an entry in Settings → Apps whose Uninstall removes it all but the user's data (RFC 0029).
  • The .exe's own icon and version: rata bundle links the icon from [bundle].icon and a version resource into the .exe, so Explorer, the Start menu and the taskbar show the app's icon and Task Manager its name. No resource compiler, no build.rs.
  • An AppImage: with appimagetool there, rata bundle on Linux makes <package>_<version>_x86_64.AppImage beside the .deb.
  • [bundle].publisher: the .exe's company name and the installer's publisher.

Changed

  • Icons from one SVG or PNG on Windows and Linux, drawn by rata (resvg) at each size: the .deb gets 256 and 512 px PNGs where it had the source file under 512x512.
  • The .deb says what it needs: Depends: libwebkit2gtk-4.1-0, libgtk-3-0, and lists its directories, so apt install ./app.deb installs a working app.
  • An AppImage is started again by the AppImage: launch at login, the deep link's registration and the updater use $APPIMAGE, not the binary in its temporary mount.

0.42.0 — 2026-11-08

A copy per workspace. A user who moves between workspaces on one server, as in Slack, lost the offline copy at every switch, and couldn't switch at all while a write waited. With Backend::offline_scope_path(..), each workspace keeps its own copy and its own outbox: switching back offline still shows what it last read, and a write waits for its own workspace, sent with its token.

Upgrading: nothing changes unless you opt in. Add .offline_scope_path("workspace.id") (where the workspace is in your user route's answer) to the backend; see a copy per workspace.

Added

  • A copy and an outbox per workspace: Backend::offline_scope_path("workspace.id") says where the workspace is in the user value. A switch to another workspace on the same server then keeps the last one's offline copy instead of dropping it, and isn't refused while its writes wait: they wait for their own workspace, and go with its token. A start offline answers from the workspace the user was in; signing out counts, drops and forgets every workspace's. See a copy per workspace.

0.41.0 — 2026-11-08

Each account's changes, counted. A user signed in to their employer's server and a customer's could save changes offline on both, but only saw the active server's: the other's waited out of sight until a sign-out was refused. Now each account says how many of its changes are waiting and how many were refused, and <AccountSwitcher> shows it under each server, with a dot on its button while another server has refusals.

Upgrading: nothing breaks. Account (Rust) has two new fields, pending and failed; code that builds an Account itself, which apps don't, adds them. The runtime's Account has them as optional. See AccountSwitcher.

Added

  • Each account's outbox, counted (RFC 0022): Account has pending and failed, that server's writes waiting and refused, whether it's the active one or not, and elyra:accounts is sent again whenever they change. <AccountSwitcher> shows "3 waiting" and "1 refused" under each server, puts a dot on its button while another server has refusals, and says how many changes a sign-out would drop.

0.40.1 — 2026-11-08

The running app, checked on macOS too. CI opened the example app's window and walked a coding agent through it on Linux and Windows; macOS, the platform Elyra is built on first, was checked by hand. Now it's in CI like the others: built and under rata dev.

Upgrading: nothing changes for an app; this release is CI and docs.

Added

  • CI walks a coding agent through the app on macOS too: the example app's window on the runner (WKWebView), rata mcp dev's snapshot, typing, a click that calls a command, the calls and a picture, built and under rata dev, and Vite gone once the app closes. Linux, Windows and macOS are now all checked the same way.

0.40.0 — 2026-11-08

The bell, the account menu and the tree. Every app with a Laravel backend built two things itself: a bell for the notifications, and a menu for who's signed in where. @elyra/ui has both now, following the runtime's stores, so a notification read on the web is read here and a switch to another server re-reads what's on screen. And TreeView, for folders, categories and charts of accounts, with the keyboard Finder and Explorer have.

Upgrading: nothing breaks. Put <NotificationBell href="/notifications" /> in the toolbar and <AccountSwitcher /> at the top of the sidebar; see NotificationBell, AccountSwitcher and TreeView.

Added

  • <NotificationBell> in @elyra/ui: Laravel's notifications (RFC 0008) behind a bell, the unread count on it and the newest in a panel, with Mark all read, More, "See all" and the offline note. A click marks one read and opens its path in the app, or goes to onopen; present(n) shows notifications whose data isn't title, body and url. See NotificationBell.
  • <AccountSwitcher> in @elyra/ui: the servers the user is signed in to (RFC 0022) in a menu, each a menuitemradio; a click switches, and signing out of one or all asks before it drops changes that haven't been sent. onadd adds "Add an account…" for the app's own sign-in. See AccountSwitcher.
  • <TreeView> in @elyra/ui: a WAI-ARIA tree, with ↑/↓, →/←, Home/End, Enter, * and type-ahead; children read when a branch first opens (load, an array or a Page<T>), can per node, an item snippet for the rows, and persist to keep which branches are open. See TreeView.

Changed

  • <Dropdown>'s keyboard reaches menuitemradio and menuitemcheckbox items too, not only menuitem.

0.39.1 — 2026-11-08

The desktop's settings and updates from the Laravel app. An app with a Laravel backend could read its Reverb settings from the server and check the server for updates, but the server had to answer both by hand. Now elyracode/elyra-backend does: one line each in routes/api.php, and php artisan elyra:release to put a release up.

Upgrading: nothing changes in the framework. On the server, update elyracode/elyra-backend and add Route::elyraBroadcasting() and Route::elyraUpdates() inside the auth:sanctum group; see the backend.

Added

  • Route::elyraBroadcasting() in elyracode/elyra-backend: GET /api/desktop/broadcasting, the default Reverb or Pusher connection's key, host, port and scheme, as Backend::broadcasting_from(..) reads them (RFC 0021). The public address can be set apart (ELYRA_BROADCASTING_HOST, _PORT, _SCHEME); without Reverb or Pusher it's a 404, and the desktop runs without broadcasting.
  • Route::elyraUpdates() and php artisan elyra:release in elyracode/elyra-backend: the desktop's updates from its own server, as UpdaterConfig::from_backend(..) checks them (RFC 0024). The command puts a release on a private disk with its size and SHA-256; the routes offer the newest newer one for the platform asked, or 204, and hand the file to a signed-in user, at a path on the server's own origin.
  • CI checks both against the real Laravel app: the desktop connects to Reverb with no key in the app, and 2.0.0 is offered, downloaded and verified.

0.39.0 — 2026-11-07

The tray's icon, and the app's. An app's tray icon was a blue square, always. Now it's the app's own, drawn by macOS in the menu bar's colour when it's a template, and it changes while the app runs: a timer's 01:24 beside it, a syncing icon, the unread count, which an app in the tray with its windows closed had nowhere to show. On Windows and Linux the windows get the app's icon. And a window remembered on a screen that's since been unplugged opens on one that's there.

Upgrading: nothing breaks. Give the tray its icon with TrayConfig::icon(Icon::png(include_bytes!(..))) (and .template() for a black-on-transparent one), and the windows theirs with App::icon(..). The unread count now shows on the tray too; TrayConfig::no_unread() leaves it off. See the tray.

Added

  • The tray's icon, and the app's (RFC 0028).
    • elyra::Icon: a PNG (or RGBA), read once when the app is built. An image that can't be read is a configuration problem (App::problems), not a panic.
    • TrayConfig::icon(..) gives the tray its own icon, and .template() lets macOS draw it in the menu bar's colour. .icon_named(name, ..) adds others to switch to while the app runs.
    • ctx.get::<Tray>() changes the tray while the app runs: set_title, set_tooltip, set_icon(name), reset_icon.
    • The unread count (Windows::set_badge) shows on the tray: after the title on macOS and Linux (01:24 · 3), a red dot on the icon on Windows. So an app in the tray with its windows closed still shows it. .no_unread() leaves it off.
    • App::icon(..) is every window's icon on Windows and Linux, and the tray's when the tray has none.
    • The example app has its own icons, and its tray shows how many todos there are.

Changed

  • The tray's fallback icon has rounded corners. It's the same blue.

Fixed

  • A remembered window opens on a screen. persist_window_state() put the window back where it was closed without asking whether that place still existed: closed on an external screen that was later unplugged, it opened off every screen. The position is now put back only when a piece of the title bar big enough to drag lands on a screen there now; otherwise the OS places it, at its saved size.
  • A test no longer leaves a folder behind in the user's config directory (elyra-loopback-test-<pid>, one per run of the framework's tests on a developer's machine).

0.38.2 — 2026-11-07

rata dev on every platform. Development with Vite's hot reload, checked the way 0.38 and 0.38.1 checked the built app: CI now walks a coding agent through the example app under rata dev on Linux and Windows. It found that rata dev couldn't start Vite on Windows, and that closing the app left Vite running everywhere.

Upgrading: nothing to change in an app. Rebuild rata from the tag (cargo install --git https://github.com/kwhorne/elyra-framework --tag v0.38.2 ratatosk, or as you installed it) to get the fixes.

Fixed

  • rata dev stops Vite when the app is closed. It stopped npm, but npm run dev runs Vite as a process of its own, which kept running and held port 5173. rata now stops the whole tree.
  • rata dev and rata build run npm on Windows (npm.cmd, which Command doesn't find by its bare name), and rata dev waits for Vite on ::1 as well as 127.0.0.1.
  • CI walks through the app under rata dev on Linux and Windows: the page from Vite, its calls to the app across origins, and Vite gone once the app is closed.

0.38.1 — 2026-11-07

Windows works. An Elyra app's page couldn't reach the app on Windows: WebView2 serves it from another origin than the runtime called. Found, like 0.38.0's Linux fixes, by opening the example app's window there in CI.

Fixed

  • Windows: the page reaches the app. WebView2 serves a custom protocol as http://<scheme>.<host>, so the page lives at http://elyra.localhost there, and every call the runtime made to elyra://localhost (commands, events, the window controls, the store) failed with "Failed to fetch". The shell now tells the page where to call it (globalThis.__ELYRA__.origin: http://elyra.localhost on Windows, elyra://localhost elsewhere), and the runtime calls there. Found by opening the example app's window on Windows in CI for the first time.
  • The example app opens its SQLite file on Windows (sqlite_url, not a path pasted after sqlite://).
  • The make:resource smoke test no longer fails now and then with "Unable to preload CSS": its harness served the pages with a backlog of 5 connections, fewer than Chrome opens at once.

Changed

  • The running app for a coding agent is checked on Windows in CI too (scripts/running-app.py against the example app's window, WebView2).

Upgrading:

  • @elyra/runtime to 0.38.1 (and @elyra/ui with it), with the framework: point both at their 0.38.1 tarballs and run npm install. The runtime reads the shell's origin, which a Windows app needs; the framework gives it.

0.38.0 — 2026-11-06

The assistant's code mode, and Linux that works. The app's assistant can write a loop instead of taking a turn per record: Claude's code calls the app's tools from Anthropic's sandbox, each call checked as before. And an Elyra app runs on Linux: its window opens, and what the page sends arrives, now that CI opens the window there and drives it.

Added

  • The assistant's code mode (RFC 0027). Assistant::code_mode(): Claude writes code that runs in Anthropic's code execution sandbox and calls the app's tools from it (programmatic tool calling), so a task over many records is one loop, not a turn per record, and only what the code prints reaches the model. Each call is checked as any call is; a tool behind confirm is direct-only, and a call to it from code is refused. The panel shows a run as one step with its code, its calls and its output (AssistantEvent::Script). Off by default: the results of code's calls go to Anthropic's sandbox, kept up to 30 days, outside zero data retention. Behind Laravel, the server allows it with ELYRA_ASSISTANT_CODE_EXECUTION=true.

  • The AI SDK: code execution. Chat::code_execution() and Chat::on_code(..) (CodeEvent), Tool::callable_from_code() (sent as allowed_callers), the code's container kept through a prompt, calls from code refused to a tool that doesn't allow them, and pauses for calls from code not counted as steps (at most 500 calls a prompt). Anthropic only.

  • What the window shows, under its snapshot (RFC 0026 with RFC 0013). window_snapshot and window_act end with showing: the window's live queries, newest first, with their arguments, as the in-app assistant's note of the window has them.

Fixed

  • Linux: a window opens, and the app hears what its page sends. Two things that kept an Elyra app from working on Linux, found by running its window in CI for the first time: the webview is built in tao's GTK box (build_gtk, as wry asks with tao), where build failed with WindowHandleError(Unavailable); and wry's linux-body is on, without which every request from the page (a command's arguments, the store, the window controls) arrived with an empty body. WebKitGTK 2.40 or newer is needed (Ubuntu 22.04 and later).

Changed

  • The running app for a coding agent is checked on Linux in CI: the MCP job runs the example app's window under Xvfb and walks rata mcp dev through it (scripts/running-app.py): the snapshot, typing, a click that calls a command, the calls, and a picture taken by WebKitGTK. The script runs on a Mac too.

  • The runtime's own pieces move as @elyra/ui does. The About dialog, dialogs, toasts, ⌘K, the context menu, the update toast, the assistant panel and the inspector open into place, timed by the motion tokens (with fallbacks for an app without tokens.css), and appear at once under prefers-reduced-motion; the assistant's caret stops blinking then too.

Upgrading:

  • @elyra/runtime to 0.38.0 (and @elyra/ui with it): point both at their 0.38.0 tarballs and run npm install. The runtime has the code mode's panel step and its own motion.
  • AssistantEvent is #[non_exhaustive], and has Script: a match on it needs a _ arm.
  • Linux needs WebKitGTK 2.40 or newer (Ubuntu 22.04 and later), for the page's requests to carry their bodies.

0.37.0 — 2026-11-06

Commands and configuration. What a command says about itself reaches the frontend's editor, a command is still a function Rust can call, and a wrong configuration is reported whole, before anything starts. A coding agent sees the debug build it's working on, and clicks in it. In @elyra/ui, things move a little, and not at all for a user who asked for less motion; and a user who asked for more contrast gets it.

Added

  • The running app, for the agent working on it (RFC 0026). rata mcp dev has app_windows, window_snapshot (the window as an accessibility tree in text, with refs, the route, and the page's console errors), window_screenshot (a PNG, at most 1280 CSS pixels wide), window_act (click, type, press, select, scroll, navigate, then the page after) and app_calls (the inspector's call log), answered by the running debug build through a dev endpoint: a 0600 socket in the app's folder (loopback on Windows) with the MCP endpoint's challenge-response under its own greeting. Debug builds only: a release has no endpoint and no script in the page. The picture is the webview's own on each platform; checked on macOS, compiled for Windows and Linux.

  • A command's docs in bindings.ts (RFC 0025). rata codegen writes a command's doc comment as JSDoc above its api.* entry, with @remarks for its can = "…" and, for a #[command(live)], its live.* store. The store has the doc and the ability. A command with none of them has no block, so an undocumented app's bindings don't change.

  • name::run(ctx, ..): a command called from Rust. #[command] keeps the function as run on the command, with its own signature, doc comment and attributes; call decodes the arguments and runs it. It isn't the pipeline: no middleware, ability check, window scope or rate limit, as for any dispatch from Rust.

  • App::problems(): the configuration checked at once. Everything that would fail or do nothing — stay_in_tray() without a tray, notifications()/presence(..)/listen(..) without broadcasting, UpdaterConfig::from_backend(..) without a backend, an updater that couldn't verify an update, a middleware name that doesn't resolve — as one list. App::run() returns it as Error::Config before anything starts; App::prepare() panics with it.

  • @elyra/ui: motion tokens. --elyra-ease, --elyra-ease-spring and --elyra-duration-fast/--elyra-duration/--elyra-duration-slow, read by every transition and animation in the components, and 0ms under prefers-reduced-motion. The tabs' line glides to the shown tab; a switch's knob settles with a little spring; dialogs, side panels, menus, popovers and pickers open into place.

  • @elyra/ui: more contrast. Under prefers-contrast: more, or with data-contrast="more" on <html>, --elyra-muted is 7:1 or more and --elyra-border and --elyra-focus 3:1 or more against every surface, in both themes. The tabs' line uses the system's highlight colour under forced-colors.

Changed

  • An attribute on a command applies to it. An #[allow(..)] (or any other attribute) on a #[command] function used to be dropped with the function; it's on run now.
  • An updater configuration that can't verify an update stops the start. It used to be logged, with the update flow off.
  • elyra::Error has Config, so an exhaustive match on it needs the arm.
  • @elyra/ui's transitions read the duration tokens instead of fixed .12s/.15s, and a button's spinner slows down under less motion, as <Spinner> does.

Fixed

  • docs/validation.md's first example has its Ctx parameter.

Upgrading:

  • @elyra/runtime to 0.37.0 (and @elyra/ui with it): point both at their 0.37.0 tarballs and run npm install. @elyra/ui has the motion and contrast tokens; the runtime is unchanged.
  • rata to 0.37.0 for rata mcp dev's running-app tools, and rata ai:update so the agent guidelines mention them.
  • An app whose updater couldn't verify an update no longer starts: give it .public_key(..) (or, from the backend, .developer_id(..)), as App::problems() says.
  • An exhaustive match on elyra::Error needs an Error::Config(_) arm.
  • Nothing else changes: bindings.ts gains comments, and name::run is new.

0.36.0 — 2026-11-06

A window listens, and an app updates from its own server. A window follows a private channel while it shows what the channel is about — an agent's run, as it happens — and an app distributed from each customer's server updates from there, a signed, notarized .app replaced whole.

Added

  • Private channels a window listens to (RFC 0023). Backend::listen(["task.*"]) lists the private channels a window may listen to while it shows what they're about, as presence(..) does for presence channels: a name it doesn't cover is refused (denied) before anything is sent. Each is authorized at the broadcasting auth route as the signed-in user, as a private follow is; Laravel's 403 leaves it unjoined, logged, and the connection goes on.
  • listen(channel, handler) and listen(channel, event, handler) in @elyra/runtime: the handler gets (data, event), as onBackendEvent's does, and it returns its unsubscribe. listening(channel), a Svelte store of { channel, joined, last }. The app subscribes to a channel once for all its windows and components, and unsubscribes 300 ms after the last one stops, or when its window closes.
  • A listened channel is joined again after a reconnect, another workspace's token and a server switch (RFC 0022), and nothing is joined while signed out, offline or unplugged. Its events reach only the windows listening, on elyra:backend as BackendEvents; elyra:listening carries { channel, joined }. They aren't domain events.
  • elyra::listening::Listening (also elyra::Listening) in the container; /__listen/join and /__listen/leave under the new Capability::Listen, granted by default.
  • The inspector's Listening section (/__inspector/listening, inspector.listening()): each listened channel, whether it's joined, and which windows listen.
  • Updates from the backend (RFC 0024). UpdaterConfig::from_backend("/api/desktop/update", version) asks the signed-in user's active server, GET …?platform=macos-aarch64&version=… with their token, through the Backend: 204 is up to date, 200 is { version, notes, released_at, url, size, sha256 }. The url must be on the active server's origin, or it's refused (Error::ForeignOrigin) and the token goes nowhere else. Signed out, nothing is asked; after a server switch (RFC 0022) the new active server is.
  • A Developer ID instead of (or as well as) an ed25519 key on macOS: .developer_id(team_id, bundle_id). The download's SHA-256 and size are checked, the zip expanded with ditto into a private directory, and the bundle must pass codesign --verify --strict --deep, be signed by that team over that bundle id, and satisfy Apple's Developer ID requirement narrowed to them; an older version is refused. .public_key(..) adds or replaces ed25519; the matrix is in the updater's docs.
  • Whole bundles, moved into place. The installed .app is moved aside, the new one moved in by a rename (put back if that fails), the quarantine attribute cleared, the old one removed. Refused with a sentence, before anything is downloaded, when the app runs from a build, isn't in a .app, is translocated, or sits in a folder the user can't write.
  • Install, then Restart. From the backend, installing stops at ready; POST /__update/restart (under UpdaterInstall, not counted against the install's rate limit) starts the new version once this one has quit, and quits. UpdaterConfig::relaunch_when_asked(bool) chooses for either source. With auto_check, the backend is asked 10 s after start, 3 s after each sign-in, switch or sign-out, and daily.
  • In @elyra/runtime: the toast shows Install and then Restart for a two-step update, restartToUpdate(), setUpdateTexts({..}) for its words (or elyra.update.* in the app's translations), and an up-to-date event withdraws an offer. UpdateCheck gains ready and restart.
  • elyra::updater::UpdaterRuntime (check, download, install, relaunch, …) and elyra::updater::bundle (the decisions, behind the BundleSystem trait); Updater::for_version, updater::verify_sha256.

Changed

  • UpdaterRuntime's fields are private (it was assembled only by App); UpdateInfo and UpdaterConfig have new fields, and updater::Error new variants. A URL manifest may carry a sha256 per platform, checked when present. Apps using UpdaterConfig::new(..) behave as before: one step, ed25519, a check at start.

Upgrading:

  • @elyra/runtime to 0.36.0 (and @elyra/ui with it): point both at their 0.36.0 tarballs and run npm install. The runtime gains listen, listening, restartToUpdate and setUpdateTexts; the update toast now has a second step when the app asks for one.
  • Nothing changes for an app that doesn't opt in to Backend::listen(..) or UpdaterConfig::from_backend(..) / .developer_id(..).
  • UpdaterRuntime's fields are private now; an app that reached into them uses its methods instead (see Changed).

0.35.0 — 2026-11-05

Signed in to more than one server. A company's own server and a customer's, both signed in, one active, switched between without signing out.

Added

  • Several servers at once (RFC 0022). Backend::chosen_at_sign_in().multiple_servers() keeps the user signed in to each server they sign in to, each with its own token (backend-token:<server>), user id, offline copy and outbox. The list is kept in the keychain under backend-servers, the active one under backend-server, and both outlive a restart. sign_in_with_token to another server adds it and makes it active, without touching the others.
  • Auth::accounts() lists them as Account { server, user_id, user, active }; Auth::switch_to(server) makes another one active, revoking nothing: requests, broadcasting (its settings, key and user channels), presence, abilities and live queries move there, and its outbox carries on; Auth::sign_out_of(server) revokes that server's token there and forgets it and its copy, the next server becoming active if it was the active one; Auth::sign_out_all() leaves them all. _discarding forms drop the waiting writes and return how many; otherwise they're refused with PendingChanges, as sign_out is. Auth::active_server(), Auth::accounts_state().
  • elyra:accounts (AccountsState { accounts, active, signedOutOf, reason }) after each change, and AuthState.server, the active server, on elyra:auth.
  • OutboxDropped { server, count }, a domain event, when a _discarding sign-out drops waiting writes (sign_out_discarding too).
  • The runtime: the accounts store, auth.switchTo(server), auth.signOutOf(server), auth.signOutOfDiscarding(server), auth.signOutAll(), auth.signOutAllDiscarding(), onSignedOutOf, and /__auth/accounts|switch|sign-out-of|sign-out-of-discarding|sign-out-all|sign-out-all-discarding.
  • Secrets is a TokenStore: .token_store(Arc::new(Secrets::fake())) in a test.
  • Assistant::max_tokens(n): what each request to the model may write, thinking included. 16 000 by default (it was the AI client's 4096, which cut answers short on models that always think, such as claude-opus-5-5); Laravel's assistant route lowers it to the server's cap. Distinct from max_tokens_per_conversation.

Changed

  • The offline copy and the outbox are per server. elyra_backend_cache, elyra_outbox and elyra_outbox_failed gain a nullable server column, added on first use to tables from before (no migration to run; old rows keep working). A queued write is sent only to its own server, with that server's token, and waits while another server is active. A switch within a server drops that server's copy only, not every server's.
  • A request keeps whose it is. The offline copy, the connection state and a 401 follow the server, token and user a request was made with, not the ones active when it's answered. A 401 for a token that isn't the current one any more no longer signs the current one out.
  • With multiple_servers(), Auth::sign_out() signs out of the active server (another becomes active); without it, it's unchanged.

Upgrading:

  • @elyra/runtime to 0.35.0 (and @elyra/ui with it): point both at their 0.35.0 tarballs and run npm install. The runtime gains the accounts store and auth.switchTo / signOutOf / signOutAll.
  • Nothing changes without multiple_servers(), except that a 401 for a token that's no longer the current one doesn't sign the current one out, and a workspace switch drops only that server's offline copy. The new server columns are added on first use; there's no migration to run.
  • The assistant asks for up to 16 000 tokens a request by default instead of 4096; Assistant::max_tokens(n) sets it, and Laravel's proxy still caps it.

0.34.0 — 2026-11-05

A server chosen at sign-in. The user types their company's server on the sign-in screen, signs in through the browser, and switches between workspaces without signing out.

Added

  • A server chosen at sign-in (RFC 0021). Backend::chosen_at_sign_in() is a backend with no server until the user signs in. Before then a request is BackendError::NoServer, kind unauthenticated. The server is remembered in the keychain beside the token (backend-server), so the user stays signed in to it across restarts. Signing out, or a 401, forgets it.
  • A token from elsewhere. Auth::sign_in_with_token(base_url, token, user) adopts a token the app got another way (OAuth's device grant in the browser, say) and the user it belongs to. After it, everything runs as after sign_in: broadcasting, abilities, notifications, elyra:auth. For a fixed Backend::new(url), the server must be that one. The user value isn't kept across restarts: it's read from user_route again.
  • Switching. sign_in_with_token while signed in switches to another token on the same server (another workspace, another user). The broadcaster reconnects with the new token, the abilities are read again, everything live that read the backend re-runs (backend::ALL_KEY), the offline copy of reads is dropped, and elyra:auth is sent once with the new user, never signed out between. A switch that keeps the user's id but changes the token is refused with PendingChanges while writes wait in the outbox.
  • Channels from the user. Backend::follow_user("chat", "user.{user.id}", None) follows a private channel named from the signed-in user, again at each connection. A placeholder the user doesn't have skips it, with a warning. Its events are BackendEvents on the follow's name, on elyra:backend.
  • Broadcasting settings from the server. Backend::broadcasting_from("/api/desktop/broadcasting") reads the Pusher key (and, optionally, host, port and scheme) from the server, as the user, each time the broadcaster starts: after a sign-in, a switch, or a start that restores one. Nothing is kept. A 404 leaves broadcasting off with a warning, and the rest works. PusherFake has keys() and port().
  • Backend::user_id_path("user.id"): where the user's id is in the user value (id by default). It's used for the user's channel, presence and the offline copy.

Changed

  • Backend::base_url() returns Option<String> (it was &str): None for a server chosen at sign-in, before it's chosen. For Backend::new(url) it's always Some: backend.base_url().unwrap_or_default() is the old value.
  • BackendError has NoServer, so an exhaustive match on it needs the arm.
  • A token route's token may be up to 8 KB (it was 1 KB), so an OAuth access token (a JWT) passes too.

Upgrading:

  • @elyra/runtime to 0.34.0 (and @elyra/ui with it): point both at their 0.34.0 tarballs and run npm install. Nothing in them changed.
  • Nothing changes for an app with Backend::new(url) unless it calls base_url() or matches BackendError exhaustively; see above.

0.33.0 — 2026-11-03

An app that stays in the tray. A timer, a sync client, an inbox watched all day: the app starts with its tray icon only, runs on when its window closes, and stays out of the Dock until a window shows. The main window is a click away, or opening the app again brings it back.

Added

  • An app that stays in the tray (RFC 0020). App::stay_in_tray(): the app starts with the tray icon only (its windows made, hidden), closing the main window hides it, and it runs until a quit: the tray's Quit item, ⌘Q, or the new quit() in the runtime (Windows::quit() in Rust), under the window capability. Showing a window brings it in front of the app in front. On macOS it's an accessory (no Dock icon, ⌘Tab or menu bar) while no window shows, and a regular app while one does; opening it again from Finder, Spotlight or the Dock shows the main window. It turns on single instance, so a second launch shows the window too, and it needs a tray; if the icon can't be made, it's an ordinary app. The example app stays in the tray with ELYRA_STAY_IN_TRAY=1.
  • rata bundle asks the app whether it stays in the tray, and writes LSUIElement into the .app's Info.plist if it does, so its Dock icon doesn't show for a moment at launch.

Upgrading:

  • @elyra/runtime to 0.33.0 (and @elyra/ui with it): point both at their 0.33.0 tarballs and run npm install. It has quit().
  • Nothing changes for an app that doesn't call stay_in_tray(). One that does needs a tray, and is a single instance; rebuild its .app with this rata for LSUIElement.

0.32.0 — 2026-11-03

A window that opens from the tray. A glance at what's due, a quick note, the timer: a click on the tray icon opens a small window of the app's under it, and a click elsewhere hides it. Placed by the icon on macOS and Windows, across monitors of mixed scale, given only what it needs; on Linux it opens from the tray's menu.

Added

  • A window that opens from the tray (RFC 0019). TrayConfig::popover(WindowConfig::new("quick").path("#/quick").size(320.0, 420.0).only_abilities(["time.*"])): a left click on the icon shows it below the icon (above it with the taskbar at the bottom, beside it at a side), kept on the monitor; a click elsewhere, Esc, or another click hides it. The menu moves to the right click. Made hidden at start, undecorated, on top and out of the taskbar; scoped as any window (RFC 0016). On macOS it's shown without bringing the app's other windows forward, in points across monitors of mixed scale. On Linux, where the icon sends no clicks, the tray's menu gets an item that opens it by the cursor. Windows::show_popover(), hide_popover(), toggle_popover(). The example app's tray has one.
  • WindowConfig::visible(false) makes a window hidden, for Windows::show; skip_taskbar(true) keeps it out of the taskbar (Windows, Linux). appWindow.onState says whether a window is visible, and is sent when it's shown or hidden.

Fixed

  • A window's path("settings") opens the app's page at that route in a built app, as in rata dev: a path without a file extension that names no file is answered with index.html. It was a 404. A missing file is still one.

Changed

  • TrayConfig has popover, and WindowConfig has visible and skip_taskbar, so a struct literal of either needs them (..Default::default()); the builders are unchanged.

Upgrading:

  • @elyra/runtime to 0.32.0 (and @elyra/ui with it): point both at their 0.32.0 tarballs and run npm install. It's what hides a popover on Esc; WindowState has visible.
  • A popover in a rata new app opens a route of its hash router: WindowConfig::new("quick").path("#/quick"), and a route in src/routes.js.

0.31.0 — 2026-11-03

The assistant's answer, as it's written. A turn with a tool step or two and a paragraph of answer took five to fifteen seconds of nothing, then the whole answer at once. Now the panel shows what Claude writes as it writes it, through the tool steps, over the user's key and through Laravel alike, and Stop helps while the answer is coming, not only before it.

Added

  • The assistant's answer, as it's written (RFC 0018). The panel shows what Claude writes as it writes it, through the turn's tool steps: "Let me look." in its own bubble, the tool step, then the answer word by word, with a caret, aria-busy until it's done. Over the user's key and through Laravel's Route::elyraAssistant() alike. AssistantEvent::Text { step, text } goes to the window, gathered every 50 ms; Answer still ends the turn with the whole answer. Stopping keeps what was written, in the panel and in the conversation, ending "(stopped by the user)". A server that won't stream (an older package, or ELYRA_ASSISTANT_STREAM=false) is asked whole, and not asked to stream again. OpenAI answers whole, as before.
  • Chat::on_text(|step, piece| ..) in elyra-ai streams a prompt that uses tools: each step over SSE, the tool loop as before, the whole response returned. AiFake::tool_call_saying(..) and .pace(..); AssistantTurn::written() in tests.
  • elyracode/elyra-backend streams the assistant: a request with stream: true is passed through as Claude writes it (text/event-stream, X-Accel-Buffering: no), its usage read off the stream for AssistantUsed; ELYRA_ASSISTANT_STREAM turns it off. Tested in the Laravel CI job: a streamed turn with a tool step, and the first words reaching the desktop before the rest is written.

Changed

  • AssistantEvent has Text { step, text }, so a match on it without a _ arm needs one.

Upgrading:

  • @elyra/runtime to 0.31.0 (and @elyra/ui with it): point both at their 0.31.0 tarballs and run npm install. With an older runtime the text events are ignored and the answer arrives whole, as before.
  • The Laravel package: update elyracode/elyra-backend to stream through Route::elyraAssistant(). An older package refuses stream: true; the desktop then asks whole and keeps doing so for the run. A published config/elyra.php without stream streams (the default); behind a proxy that buffers, or served by Askr 1.9.2, set ELYRA_ASSISTANT_STREAM=false.

0.30.0 — 2026-11-02

Record invalidation and completions. Measured first: with a list and ten detail views open, every write re-ran all eleven live queries, and over the Laravel backend each was a request to the server, from every app, for a change none of them showed. Now a write or a broadcast naming customer 40 re-runs the lists and what showed customer 40 (RFC 0017). And a prompt's argument completes from the app's own data, for an MCP agent and in the assistant's panel.

Added

  • Completions an app computes. A prompt's argument (Prompt::complete("customer", Completion::new("customers_index", "name"))) or a resource template's variable (Mcp::complete("customers_show", "id", ..)) gets its values from a live command: what's typed is its query.search (as make:resource's _index takes it, or .search(path)), and each row's field is a value. Over MCP, completion/complete answers with them, run through the agent's grant and rate limit. In the assistant's panel, typing a suggestion's argument shows them in a list (↓ ↑, Enter, Tab, Esc), run as the user in the window's limits. A source must be a live command the grant offers that needs no confirmation, checked at start. assistant.complete(..) and completes on a suggestion's argument in @elyra/runtime; /__assistant/complete; app.assistant().complete(..) in tests.
  • What re-running costs. LiveRegistry::stats() counts the live queries' re-runs and how many were pushed (unchanged(): re-runs that found the result as it was), and the inspector shows both per query. framework/tests/live_reruns.rs measures it with a list and ten detail views open: every write to the table re-runs all eleven, over SQLite and, as requests to the server, over the backend.
  • A write re-runs what showed that record (RFC 0017). Over the backend, a GET of /api/customers/42 in a live command depends on that record, and a list on the resource's lists. A write to /api/customers/40, or Laravel's CustomerUpdated { model: { id: 40 } }, re-runs the lists and the views of customer 40, not every view of customers. With a list and ten views open, an edit is one request to the server instead of eleven. .with_lists() on a read that shows other records; Backend::record_key(resource, "uuid") for a model whose route key isn't id; backend::list_key(..), read_keys(..), write_keys(..). An event that names no record, and an app's own ctx.invalidate(resource_key(..)), still re-run everything. Tested against Reverb in the Laravel CI job.

Changed

  • ctx.depends_on(&backend::resource_key(..)) in an app's own live command now re-runs only on changes that don't name a record (an event without one, an invalidate of the resource). For every change to the resource, depend on backend::list_key(..). A read through Backend needs nothing.
  • PromptArgument has complete, so a struct literal needs it (complete: None).

Upgrading:

  • @elyra/runtime and @elyra/ui to 0.30.0 together: point both at their 0.30.0 tarballs and run npm install. With an older runtime the panel's suggestions work, without completing their arguments.
  • A live command of your own that ctx.depends_on(&resource_key(..)) to follow every change to a backend resource depends on backend::list_key(..) instead. Reads through Backend need nothing.
  • A record's endpoint that shows other records (customer 42 with "related customers") adds .with_lists() to its GET, or it won't re-run when those change.
  • A model whose route key isn't id says which: Backend::record_key("/api/invoices", "uuid"). Without it, its events re-run everything that read the resource, as before.
  • PromptArgument has a new field, complete: code that builds one adds complete: None.

0.29.0 — 2026-11-02

Who's editing, prompts and column widths. Three small things from the plan after RFC 0016. Ada changing a customer in the desktop app shows as "Ada is editing" to Grete in the browser, and the other way round, as Echo whispers it on the presence channel. An app's prompts are tasks it offers by name: to an MCP agent, and as suggestions in the assistant's panel, each only where it may be done. And a table's columns can be resized, and kept.

Added

  • Prompts: tasks an app offers by name. Prompt::new(name, title, text), with {argument}s (argument, optional_argument), a description and the abilities it needs. Mcp::prompt(..) lists it to an agent (prompts/list, prompts/get, argument completion); Assistant::prompt(..) suggests it in the panel before the first message, to a user who may do it in that window. One with arguments goes into the input, the first one selected. A malformed prompt stops the app at start. assistant.prompts() in @elyra/runtime, /__assistant/prompts, and app.assistant().prompts() in tests.
  • Who's editing, in Presence. <Presence channel editing={changed}> tells the others in the channel the user is editing the record, and someone else who is gets a ring and "Ada is editing" (labels for the words). It's Echo's whisper('editing', { editing }) on the presence channel, so a browser tab with Echo says it and hears it too; a member counts as editing only when the server names them (Reverb's default). Information, not a lock. The app says it when its first window starts and its last one stops, and again to whoever joins later or after a reconnect. presence(channel).editing(on) and each member's editing in @elyra/runtime; /__presence/editing; Presence::editing(..) and editing_here(..) in Rust; PusherFake::whisper_as(..); the inspector marks who's editing. make:resource --presence's edit form passes editing={changed}, changed from the record as loaded. Tested against Reverb in the Laravel CI job. Not on Askr's --pusher, which doesn't pass whispers on.
  • AvatarGroup: a person's note ("editing") rings them in the accent colour and is in their tooltip.
  • Column widths in <Table>. resizable gives each column's header a grip to drag, or to move with ← → (Home, and Enter or a double click to go back); the last column, or the actions, takes the rest. A column's width is where it starts. persist="customers" keeps the widths in the settings store (elyra-ui.table.customers), as SplitPane keeps its size. labels.resize(label) names the grips. make:resource --view's lists are resizable, kept under the resource's name.

Changed

  • presence::Member has editing, so a struct literal needs it. Reverb's 4009 answer to a whisper from a socket it doesn't count as a member no longer ends the broadcasting connection.

Upgrading:

  • @elyra/runtime and @elyra/ui to 0.29.0 together: point both at their 0.29.0 tarballs and run npm install. With an older runtime, <Presence editing> shows who's there but says nothing.
  • presence::Member has a new field, editing: code that builds one adds editing: false.
  • Who's editing needs whispers on the server: Reverb passes them by default (REVERB_APP_ACCEPT_CLIENT_EVENTS_FROM=members); on Pusher, enable client events. Askr's --pusher doesn't pass them.
  • Generated lists are resizable persist="<plural>" from make:resource --view; an existing view gets it with --force, or by adding the two props.

0.28.0 — 2026-11-01

Capabilities per window. A preview, a report or a tray widget can be given less than the app grants: fewer abilities, fewer capabilities, no assistant. The shell knows each window by its own protocol handler, so a page can't claim another window's limits, and a window's x-elyra-client-id is now its own: another window can't read its events or answer its assistant.

Added

  • Capabilities per window (RFC 0016). A window can be given less than the app grants: WindowConfig::new("preview").only_abilities(["invoices.view"]).deny(Capability::Assistant). Also only_capabilities([..]) and deny_abilities([..]). In that window a command or live query whose ability it doesn't allow is refused (denied), a capability it lacks is forbidden, can says no so buttons hide, and the assistant is offered only what it allows. The shell knows the window by its own protocol handler, never by what the page sends. It only narrows: the app's grant and the user's abilities still apply.
  • CommandRequest::window: the label of the window a call came from, for a middleware to log or refuse.
  • The inspector shows a narrowed window's limits ("This window") and marks the abilities it doesn't allow. inspector.scope().
  • TestShell::window, handle_in and close send requests from a window with limits.

Changed

  • /__window/* acts on the window that asked (appWindow.close() closes its own window), not the focused one.

Security

  • A client id belongs to one window. A page could send another window's x-elyra-client-id and read its events, open live queries in its name or answer its assistant's questions. The shell now gives each id to the first window that uses it and refuses it from any other.

Upgrading:

  • @elyra/runtime and @elyra/ui to 0.28.0 together: point both at their 0.28.0 tarballs and run npm install. With an older runtime the shell still refuses what a window doesn't allow, but can doesn't hide it.
  • appWindow acts on its own window now. A page that meant to control another window does it from Rust, ctx.get::<Windows>() with a label.
  • CommandRequest has a new field, window: code that builds one adds window: None.
  • WindowConfig has a new field, scope: code that builds one with a struct literal adds ..Default::default().

0.27.0 — 2026-11-01

Presence in the inspector, and tested against Reverb. The drawer shows which presence channels the windows joined and who's in each, so a "why don't I see Bob?" is answered without a debugger. And RFC 0015 now runs end to end in CI: the desktop app and a browser tab on the same customer, through a real Laravel channel rule and Reverb.

Added

  • Presence in the inspector. The drawer has a Presence section in an app with presence: the channels the windows joined, who's in each (the user marked "(you)"), how many windows want it and whether this one does, and the channels not joined (offline, signed out, refused by Laravel). /__inspector/presence, inspector.presence(). Not in a release build.

Testing

  • Presence against Reverb. The Laravel CI job runs RFC 0015 end to end (tests/laravel_presence.rs): Ada has a customer open in the desktop app, Bob opens it in a browser tab, and each sees the other come and go through Laravel's customers.{id} channel rule; a customer the rule refuses leaves the window unjoined and the connection up.

Upgrading: point @elyra/runtime and @elyra/ui at their 0.27.0 tarballs and run npm install; the drawer's Presence section needs the 0.27.0 runtime. Nothing to change in code.

0.26.0 — 2026-11-01

Presence: who else has a record open. Two people open the same customer, one in the browser and one in the desktop app, and each sees the other before either saves. The app joins Laravel's presence channels the way Echo does, once for all its windows, and <Presence> shows the other members. Laravel's channel rule decides who gets in; the app only joins the channels it lists.

Added

  • Presence: who else has a record open (RFC 0015). The desktop app joins Laravel's presence channels the way Echo does in a browser, so a browser tab and a desktop window on the same customer see each other. Backend::presence(["customers.*"]) lists the channels a window may join; Laravel's routes/channels.php decides who gets in and what each member shows. Each channel is joined once for all windows, on the open connection, left when the last window leaves or closes, joined again after a reconnect, and empty while signed out, offline or unplugged. The members reach the windows on elyra:presence.
  • presence(channel) in @elyra/runtime, a store of { joined, members, me }, and <Presence channel> in @elyra/ui, the other members as an AvatarGroup.
  • make:resource --backend .. --presence puts a <Presence> on the detail view and the edit form, and prints the .presence(..) and channels.php lines.
  • PusherFake speaks presence: members per socket, the internal events, pusher:unsubscribe, and join_as / leave_as for someone on the web. Subscribed has channel_data.

Upgrading:

  • @elyra/runtime and @elyra/ui to 0.26.0 together: point both at their 0.26.0 tarballs and run npm install. <Presence> reads the runtime's presence; with an older runtime it shows nothing.
  • Capability::Presence is new and granted by default; .deny_frontend(Capability::Presence) takes it away. It only reaches the channels Backend::presence(..) lists.
  • PusherFake's Subscribed has channel_data: a test that builds one needs channel_data: None.
  • An existing resource gets presence by regenerating its views with --presence (with --force, before editing them), or by adding the <Presence> line to its Show.svelte and Form.svelte.

0.25.0 — 2026-11-01

Trying the app offline, picking dates, and finding records from ⌘K. The inspector gets a switch that unplugs the backend, so a screen can be tried offline without stopping Laravel: the copy, the outbox, the status bar and broadcasting behave as they would for real. @elyra/ui gets a DatePicker that looks the same in WebKit and WebView2, and Avatar / AvatarGroup. The ⌘K palette searches the app's records as the user types, and make:resource --view wires both up. RFC 0015 (presence, who else has a record open) is accepted for 0.26.

Added

  • The inspector's offline switch. In a debug build, the drawer's Network section unplugs the backend for the run (/__inspector/offline, inspector.offline(on)). Every request to Laravel then answers as a network with no server would, so the app goes offline the way it would for real: reads from its copy, writes to the outbox, broadcasting closed, the health route not asked, and the assistant saying it can't reach the server. elyra:connection carries simulated: true, and the StatusBar says Offline (simulated). Turning it off asks the health route at once, sends the outbox and reconnects broadcasting if it was connected. A release build can't be unplugged.
  • <DatePicker> in @elyra/ui: a date typed in the locale's order (30.11.2026, 11/30/2026) or ISO, or picked in a calendar dialog that follows WAI-ARIA's date picker (arrows, Home/End, PageUp/PageDown, Shift for a year, Esc). The value is an ISO date or null, whatever the locale. min and max bound it; the week starts where the locale's does. It looks the same in WebKit and WebView2, unlike <input type="date">.
  • <Avatar> and <AvatarGroup> in @elyra/ui: a picture, or the initials on a colour that's always the same for the same name; a group overlaps the first few and counts the rest, naming them.
  • make:resource --view makes a model's date fields DatePickers. The form keeps "" for none, as for text, so a required date still says it's required. rata notes an installed @elyra/ui from before it.
  • Searching the app's records from ⌘K. registerSearch({ id, title, can, search }) in @elyra/runtime adds a source the palette asks as the user types, once typing settles: its results come after the commands, under its title, and Enter runs one. Only the latest query counts (an older one's signal is aborted), a source with can is asked only when the user may, and one that fails is left out. search(query) asks them all the same way. The palette is now a labelled dialog with a combobox and a listbox, each source a group.
  • make:resource --view registers a search for each resource with a name field: typing "Ada" in ⌘K lists Customers: Ada Lovelace, and Enter opens /customers/42. resources/index.js registers them, through a namespace import, so a runtime from before 0.25 has none rather than a build error. Gated views give it the resource's .view ability.
  • RFC 0015, Presence, accepted: the desktop app joins the same Laravel presence channels Echo does, so the web and the desktop see who else has a record open.

Changed

  • The ⌘K palette says "Nothing matches" (was "No matching commands"), and its markup carries roles: a dialog, a combobox input, a listbox of options. The .elyra-cmdk-* classes are the same.
  • CI jobs time out (10 to 45 minutes, and 10 for each apt-get step) instead of hanging for GitHub's six hours.

Upgrading:

  • @elyra/runtime and @elyra/ui to 0.25.0 together: point both at their 0.25.0 tarballs and run npm install.
  • ConnectionState has simulated (always false in a release). Code that builds one needs simulated: false.
  • Existing resources keep their views. To get the ⌘K search and the DatePicker, regenerate the views (rata make:resource <Model> --view --force, before editing them, or diff afterwards), or copy the search export into the resource's index.js. rata resources:sync rewrites resources/index.js to register searches.

0.24.0 — 2026-10-31

The Elyra Inspector (RFC 0014). A developer's drawer in debug builds (⌘⌥E / Ctrl+Alt+E). Each ability the app knows has a switch. Turning one off takes it away from the button, the command, the assistant's tool and window note, and an MCP agent at once, so a screen can be tried as a user without it. The drawer also shows the window as the assistant sees it, its live queries and its last calls. It only takes away, and a release build doesn't contain it. Alongside: a <Table> selects rows (and tells the assistant), make:resource picks a reference in a Combobox, and Kbd draws keys as the platform does.

Added

  • The inspector's ability simulator (RFC 0014, step 1), in debug builds only. /__inspector/abilities lists every ability the app knows, and /__inspector/mask turns one off for the run. A masked ability is gone from the guard (refused as denied, "simulated by the inspector"), the can store, the assistant's tools and window note, an MCP agent's calls and Abilities::allows. It only takes away. A release build has none of it, and CI checks that. App::inspector(false) turns it off in debug.
  • The inspector's drawer (RFC 0014): ⌘⌥E / Ctrl+Alt+E, or the StatusBar's Inspector button in a debug build. It has the abilities with a switch each, the window note as the assistant would see it, the window's live queries, and its last 200 calls (names, outcomes, times and sizes). inspector and openInspector in @elyra/runtime. See the inspector.
  • Kbd in @elyra/ui: a key or a combination as the platform writes it, from the accelerator syntax the shortcuts and menus use: <Kbd keys="CmdOrCtrl+Shift+P" /> is ⌘⇧P on macOS and Ctrl+Shift+P elsewhere, and a screen reader hears the keys' names. MenuItem takes shortcut, drawn with it and given aria-keyshortcuts. See Kbd.
  • Selecting rows in <Table>: select gives the rows checkboxes, bind:selected is their keys (kept across pages and searches), and a bar shows how many with the bulk(selected, clear) snippet's actions. Shift+click and Shift+Space select a range, Space a row, ⌘A or Ctrl+A the page, Esc clears. A row a live page no longer has drops out. select="invoices" also tells the in-app assistant what's selected (RFC 0013's assistant.selected), which the RFC said <Table> would do once it had row selection. See selecting rows.
  • Checkbox takes indeterminate, for a "some of them" state.
  • make:resource --view picks a reference in a Combobox. A team_id:references:Team whose Team has its own resource is searched through teams_index as the user types, and shows the team's name (its first text field) instead of an id. The detail view shows the name, live, as a link to /teams/{id}. A parent without a resource stays a number field. See the generated screens.

Fixed

  • scripts/smoke-resource.sh failed now and then on make:ui --list: grep -q closed the pipe and rata failed writing the rest. The list goes to a file first.
  • An app without the ai feature built elyra with two dead-code warnings (the window's live queries, read only by the assistant, from 0.22). CI now runs clippy on the features an app picks (database, backend, database,backend,system), not only on all of them.

Upgrading:

  • @elyra/runtime and @elyra/ui to 0.24.0 together: point both at their 0.24.0 tarballs and run npm install. The StatusBar's Inspector button needs the runtime's inspector; with an older runtime it's just not there.
  • The inspector is on in debug builds. App::inspector(false) turns it off. Nothing changes in a release build.
  • AbilitiesState has masked (empty, and left out of the wire, in a release). Code that builds one needs masked: vec![].

0.23.0 — 2026-10-31

Three more desktop controls in @elyra/ui, from RFC 0012's "later" list. A Combobox that searches as you type, from a list or from a resource's _index command. A FileField for the native file dialog and a file dropped on the window, which make:resource now uses for a file field. A SplitPane the user drags, or moves from the keyboard, which can keep its size in the app's settings store.

Added

  • SplitPane in @elyra/ui: two panes and a divider to drag, side by side or stacked. The divider is a focusable separator the arrow keys, Home, End and Enter move; min, max and minSecond bound it, and persist="key" keeps the size in the app's settings store. See SplitPane.
  • Combobox in @elyra/ui: type to find one of many. options is a list, or a function that searches, such as a resource's _index command ((search) => api.customers_index({ search }), a Page is fine). It waits for the typing to pause, keeps only the latest answer, aborts the one before, and puts the chosen text back when focus leaves. See Combobox.
  • FileField in @elyra/ui: a file to send with the form. A button that opens the native file dialog, the chosen file's name or the record's (current), a way back, and acceptsDrop for a file dropped on the window. In a Field, Laravel's message for the file shows under it. See FileField.

Changed

  • make:resource's file field is @elyra/ui's FileField, in a Field like the others, and rata no longer writes app/src/resources/FileField.svelte. Forms generated before keep theirs. An app on an older @elyra/ui gets a note to update it.

Upgrading:

  • @elyra/ui to 0.23.0 for the three components: point it at elyra-ui-0.23.0.tgz and run npm install.
  • Forms generated before keep their app/src/resources/FileField.svelte. To move one to @elyra/ui's, wrap the field as <Field name="pdf" label=…><FileField bind:file={files.pdf} current={current.pdf} /></Field> and import FileField from @elyra/ui; then the file can go.

0.22.0 — 2026-10-31

The assistant sees the window (RFC 0013). The in-app assistant knew the date, the user and its tools, but not the screen, so "set her credit limit" on a customer's page got "which customer?" back. Each turn now carries a short note of the window it was asked from:

  • the route;
  • the live queries the window runs, only those the user's assistant may call;
  • what the app says is selected.

The note has names and ids, never rows. A command can say where its record lives (#[command(link = "/customers/{id}")]), and the assistant's step in the panel then links there. make:resource writes both for you. @elyra/ui gains an OutboxDrawer, which the StatusBar opens to deal with writes Laravel refused.

Added

  • The assistant sees the window (RFC 0013, steps 1 and 2). Each turn carries a short <window> note before the user's words, so "set her credit limit" on #/customers/42 needs no "which customer?". The note holds:

    • the window's route, which the runtime now sends with each question;
    • the live queries the window runs, by command and arguments, but only those whose command the signed-in user's assistant is offered.

    Rows are never in it. It's bounded: at most 16 queries, long strings cut, 2 KB in all. The conversation keeps each turn's note. The system prompt says it's data, not instructions. Assistant::window_context(false) turns it off. In tests, app.assistant().at("/customers/42") and .live("customers_show", (42,)) set what the window shows. /__assistant/prompt takes { text, route } and still accepts a bare string.

  • assistant.selected(kind, ids) (RFC 0013, step 3) tells the assistant what's selected in the window, so "send these a reminder" knows which. Only the kind and the ids go into the note: "selected": {"customers": [4, 7, 9]}. A selection holds on its route until the window leaves it or the conversation starts over. Limits: 8 kinds, 100 ids a kind (with more_selected counting the rest), and inside the note's 2 KB. In an app without an assistant it does nothing. app.assistant().selected(..) in tests.

  • #[command(link = "/customers/{id}")] (RFC 0013, step 4) says where a command's record is in the app. {name} is an argument and {result.id} a field of the result. A typo is a compile error. When the assistant runs the command, its step in the panel is a link there, with the values URL-encoded, and only for a path in the app. make:resource writes it on _index, _show, _store and _update.

  • <OutboxDrawer> in @elyra/ui: the outbox in a drawer. It lists the writes Laravel refused, each with what the server said and its fields, with a field's validation message beside it. A conflict offers Keep mine and Take theirs. Any other refusal offers Send again and Discard, which asks first. Below them are the writes still waiting, which can be discarded too. describe names the writes the app's way. Its page.

Changed

  • <StatusBar>'s "3 changes waiting" and "1 change refused" are buttons that open the OutboxDrawer, so an app with a StatusBar can deal with a refused write without a screen of its own.
  • AssistantEvent::Tool has a link field (Option<String>). Code that builds the variant, or matches it field by field without .., needs it. On the wire it's left out when there's none.

Upgrading:

  • The window's note is on for every app with an assistant. It sends the route and the live queries' arguments (ids, search terms) to the model. Assistant::window_context(false) turns it off.
  • AssistantEvent::Tool gains link: add link: None where you build one, or .. where you match one.
  • Links on commands from before: resources generated before 0.22 have no link. Add link = "/<plural>/{id}" (and {result.id} on _store) to their #[command] to get them.
  • Clickable counts: an app with a StatusBar gets the clickable outbox counts with nothing to do.

0.21.0 — 2026-10-31

The @elyra/ui release (RFC 0012, the reference). Elyra apps get their own components: 31 of them for Svelte 5, from buttons, menus and forms to a table over a live query and the window's shell and status bar. They know the app. They hide what the signed-in user may not do, put Laravel's validation errors under the fields they belong to, ask in the runtime's dialog before what can't be undone, and run a live.* list. They work from the keyboard and carry ARIA. One set of design tokens themes them, the app's own styles, and the runtime's dialogs and panels, dark and light. make:resource --view builds its screens from them, rata make:ui copies one into the app to change it, coding agents are taught them, and each has a page in the reference with its examples running.

Added

  • @elyra/ui and its design tokens (RFC 0012, step 1). A new package in ui/, for Svelte 5, starting with @elyra/ui/tokens.css. It holds --elyra-* CSS variables for surfaces, text, borders, accent, states, shadows, radii and fonts, dark by default and light under [data-theme="light"], on the Tokyo Night palette. rata new adds the package (the release's elyra-ui-<version>.tgz, or the checkout's ui/ with --elyra), imports the tokens in main.js, and writes app.css on them. The components follow in the next steps.

  • The first @elyra/ui components (RFC 0012, step 2).

    • Button (variants, sizes, loading, href into the app's router, can and canMode for the user's abilities, confirm through the runtime's dialog), ButtonGroup, and Dropdown with MenuItem (role="menu").
    • Form and Field: Laravel's 422 or a command's ValidationErrors under each field, the rest at the top, and the submit button busy.
    • Input, Textarea, a searchable Select (combobox and listbox), Checkbox, Switch and RadioGroup.
    • Modal and Drawer (focus trapped and given back), Tooltip and Popover.

    All are keyboard-first with ARIA, and tested in a DOM and in the browser smoke. See the reference.

  • @elyra/ui's data and layout components (RFC 0012, step 3).

    • Table over a live.* page: search, sort and page written into query, so the live query runs again. Its loading, error and empty states; cell and actions snippets; rows that open by click or keyboard; plain arrays sorted and paged in the table. Also Pagination.
    • AppShell: toolbar, the resources' navigation, the page and the status bar. Also Sidebar, NavItem (current on its page and the ones under it, a count, can) and Toolbar.
    • StatusBar: offline since when, the outbox, transfers, and the assistant's button.
    • Tabs (role="tablist", the arrow keys), Card, Callout, Badge, Empty, Spinner, Skeleton and Separator.
  • A reference for @elyra/ui: a page per component in docs/ui/, with examples, every prop, its snippets, the keyboard and ARIA, and what it does with the app's abilities, validation and live queries. npm run docs in ui/ serves it with every example running, in both themes, and replaces the gallery. The tests hold each page's props table to the component's own props (names, defaults, what's bindable, what's a snippet), and compile and mount every example.

  • Coding agents know @elyra/ui (RFC 0012, step 6). rata ai:install writes an elyra-ui skill, which says which component to use and what they already handle. The guidelines say to build screens from the components and to add no colours.

  • The example app on @elyra/ui: its colours are the tokens, and its todos use a Form, a Field, a live Table and a Button with confirm.

  • make:resource --view builds the screens from @elyra/ui (RFC 0012, step 5).

    • The list is a Table over the live index command: search, sort and page through the query, rows that open, and delete behind a confirm.
    • The form is a Card with a Form and a Field per field: the command's or Laravel's validation lands under its field, and required fields are marked.
    • The detail view is a Card with its actions.
    • Offline banners and refused writes are Callouts.
    • The views carry no styles of their own.
    • Table and Pagination take labels, so the views' words stay $t keys.
  • rata make:ui <Component> (RFC 0012, step 4) copies one of @elyra/ui's components into app/src/lib/ui/, from the version the app has installed. Its imports of the other components and the package's internals point back at @elyra/ui, so a copied Field still works in the package's Form. The copy is the app's: never overwritten without --force. --list shows the components. @elyra/ui exports its internals (@elyra/ui/internal/*) for the copies.

Fixed

  • can hid everything in an app without the backend feature. /__auth/abilities didn't exist there, so the runtime's can store never loaded. It now answers ["*"] (the app's own grants), as an app with a backend but without Backend::abilities() already did. CI tests the shell without features too.

Changed

  • The runtime's built-ins read the design tokens. Dialogs, toasts, the ⌘K palette, context menus, the About dialog, the update toast and the assistant panel read --elyra-* first. An app on the old names (--surface/--panel, --bg, --text, --muted, --accent, --border) keeps its look. The danger, success, on-accent, overlay and shadow colours, which were fixed, now follow the theme too. Secondary text falls back to --text-dim, the scaffold's name, so it is no longer the dark theme's grey in a light app.

Upgrading: make:resource --view now needs @elyra/ui in the app; an app scaffolded before 0.21 adds it to app/package.json (the release's elyra-ui-<version>.tgz) and imports @elyra/ui/tokens.css in main.js, and rata says so. Views generated before keep working. To adopt the tokens in an existing app, add @elyra/ui to app/package.json and import "@elyra/ui/tokens.css"; before app.css. The old names (--bg, --panel, --text-dim, …) are aliases of the tokens for one release. An app that links @elyra/ui from a checkout (file:) also keeps one copy of svelte and @elyra/runtime: resolve: { dedupe: ["svelte", "@elyra/runtime"] } in its Vite config, as new apps have.

0.20.0 — 2026-10-31

The assistant release (RFC 0011, the guide). An app can now have an assistant inside it, for the people using it: its tools are the app's own commands, it can do no more than the signed-in user may (RFC 0010's abilities, checked again at each call), and it asks in the app before anything that can't be undone. It reaches Claude through the app's Laravel backend, which adds its key and caps what may be asked, so no key ships in the app. @elyra/runtime has its panel and a ⌘K entry, rata assistant inspect shows what it may do, and rata bundle warns about keys in the app. On the way, the AI SDK gained bearer tokens and Ai::fake, and the MCP server shares one call path with the assistant.

Added

  • rata assistant inspect [--json] (RFC 0011, step 6): the commands the app's assistant may use, each marked asks first, read-only or runs without asking, for a review of what a prompt-injected model could do. rata mcp inspect shares its listing.
  • rata bundle warns about API keys in the app. It scans the release binary, with its embedded frontend, for what looks like an Anthropic or OpenAI key, and shows only its start and length.
  • make:resource writes doc comments for a model too. Each command says what its arguments do: what search matches, the columns sort takes, the required fields, and that a delete can't be undone. The app's assistant and MCP agents read them as the tools' descriptions.
  • The app's assistant: the guide, an assistant over the example app's todos, and a live test against Claude (ELYRA_AI_LIVE=1).
  • The assistant's panel in @elyra/runtime (RFC 0011, step 5). openAssistant(prompt?) opens a panel with the conversation, the commands run and the answer, always shown as text. Confirmations use the themed dialog, and the panel has stop, a new conversation, and the user's own key when there's no model. The assistant store (ask, stop, reset, tools, source, setKey) is there for an app's own panel. In the ⌘K palette, a query no command matches offers "Ask the assistant". See the components.
  • The assistant reaches Claude through Laravel (RFC 0011, step 4). Backend::assistant() sends the assistant's requests to POST /api/elyra/assistant/v1/messages with the user's Sanctum token, and Route::elyraAssistant() in elyracode/elyra-backend adds the server's ANTHROPIC_API_KEY. It allows only the configured models, caps max_tokens and requests per user, and refuses server tools and streaming. AssistantUsed records the tokens. Without a backend route, the user's own key in the keychain (/__assistant/key, write-only) is used, then AiProvider. Assistants::source() and /__assistant/source say which. See the guide.
  • Secrets::fake(): secrets in memory, for tests.
  • The Anthropic driver sends Accept: application/json, so a gateway such as Laravel answers its own errors in JSON.
  • The app's own assistant (RFC 0011, step 3). App::assistant(Assistant::new().allow_abilities([..]).confirm(..)) gives each window a conversation with a model whose tools are the commands the grant covers. A tool is offered only when the signed-in user has its ability (RFC 0010), and checked again at each call. A confirm ability asks the window first, and the window answers on /__assistant/confirm. Its events (tool steps, questions, the answer) arrive on elyra:assistant. The model is the container's Ai. TestApp::assistant() prompts it in a test, with Ai::fake.
  • Capability::Assistant for /__assistant/*: granted by default, 60 calls a minute, and only useful with App::assistant. A match on Capability needs the new arm.
  • Bearer tokens in the AI SDK (RFC 0011, step 2). AiBuilder::bearer(provider, token) authenticates with Authorization: Bearer, asking token() for each request, for a gateway that holds the key (such as the app's own backend). With no token the call fails with the new Error::NoToken, before anything is sent.
  • Ai::fake(AiFake) (RFC 0011, step 2): a scripted model for tests, with no network and no key. Text, tool calls (run through the agent's real tools), refusals and API errors. calls() and requests() show what the tools answered and what each step was sent. See Testing with a fake.
  • Origin::Assistant (RFC 0011, step 1): the origin the app's own assistant will call with, so middleware can tell it from the frontend and from an external MCP agent. A match on Origin needs the new arm.

Changed

  • One call path for AI callers (RFC 0011, step 1). The MCP server's tool calls and resource reads run through a shared caller: arguments by name, rate limit, activity on elyra:mcp, AgentCalled, and validation errors as lines. MCP behaves as before. The caller can also hold each call to the signed-in user's abilities (RFC 0010), which the assistant will use; MCP agents keep the app's grant alone.

Upgrading: nothing changes until an app calls App::assistant(..). Capability::Assistant is granted by default; deny it with deny_frontend(Capability::Assistant) if you don't want the routes even then. Code that matches Origin or Capability exhaustively needs an arm for Assistant, and one matching elyra_ai::Error needs one for NoToken. On the Laravel side, Route::elyraAssistant() and config('elyra.assistant') are new in elyracode/elyra-backend; publish the config again (--tag=elyra-config --force) to see them.

0.19.0 — 2026-10-25

The current Claude API release. The AI SDK's Anthropic driver speaks API version 2026-10-21: it stops sending temperature (refused on every model in that version, and already by Claude Sonnet 5, the old default), asks for structured output through structured outputs rather than a forced tool call (refused by Claude Opus 5.5, Sonnet 5.5 and Fable 5.1), resumes turns that web search pauses, and says when Claude declines a request. The default Anthropic model is now Claude Sonnet 5.5. Also: tokio 1.54.1 and ctutils 0.4.5 for two new advisories. See the AI guide.

Changed

  • AI: Anthropic's API version 2026-10-21. The driver sends anthropic-version: 2026-10-21 and no longer sends temperature, which that version refuses on every model (and which Claude Sonnet 5, the old default, already refused). .temperature(t) still applies to OpenAI; for Anthropic it's ignored, with a note on stderr once.
  • AI: structured output on Anthropic uses structured outputs. prompt_as::<T>() sends the schema as output_config.format instead of forcing a tool call, which Claude Opus 5.5, Sonnet 5.5 and Fable 5.1 refuse. The schema is adapted to what the API accepts: objects closed, unsupported bounds and formats moved into descriptions. The agent's tools now run before the structured answer.
  • AI: the default Anthropic model is claude-sonnet-5-5 (was claude-sonnet-5).
  • AI: web tools follow the model. Opus 4.6+ and Sonnet 4.6+ get web_search_20260209 / web_fetch_20260209, without a beta header; Haiku and older models keep the basic tools.

Fixed

  • AI: a paused turn is resumed. When Anthropic's server-side tool loop (web search / fetch) pauses a long turn (stop_reason: "pause_turn"), the driver sends the turn back so the server carries on, instead of returning the partial text. Each resume counts as a step against max_steps.

Added

  • AI: Error::Refused when Claude declines a request (stop_reason: "refusal"), with its explanation, in prompts and streams. It used to surface as Error::Empty.

Upgrading: an app that pinned .model("claude-sonnet-5") keeps it; one that relied on the default now gets Sonnet 5.5. Code that matches elyra_ai::Error exhaustively needs an arm for Refused. A temperature set for Anthropic no longer reaches the API (it was refused there).

0.18.0 — 2026-10-22

The abilities release. A desktop app with a Laravel backend now knows what the signed-in user may do, by Laravel: Backend::abilities() reads the user's list from GET /api/abilities (spatie/laravel-permission's permissions, or the Gate abilities the app lists, through elyracode/elyra-backend's Route::elyraAbilities()). A #[command(can = "..")] then runs only when the app grants the ability and the user has it: otherwise it's refused at once with kind denied, without a request and before it could be queued offline. The list holds offline, and is read again on focus, on reconnect, and when Laravel broadcasts AbilitiesChanged because a role changed on the web. $can(..) hides in the frontend what the user can't do, and so do the screens make:resource --backend generates. CI checks it against a real Laravel app with spatie, through Reverb. See the guide and RFC 0010.

Upgrading: additive. Nothing changes until a Backend has .abilities(); then the app's can commands also need the user's ability, so a user Laravel doesn't list may no longer run them from the frontend. Generated backend views made before 0.18 show every button; regenerate them (make:resource --backend … --force) to hide what the user can't do. The backend model make:resource writes now has can.

Added

  • What the signed-in user may do, by Laravel (RFC 0010, step 1; the guide). Backend::abilities() reads the user's abilities from GET /api/abilities (a list like ["customers.view", "invoices.*"], or the same in data) after sign-in, and forgets them at sign-out; .abilities_route(..) moves it. Abilities (in the container) answers allows(..), list() and refresh(), and publishes on elyra:abilities. With .offline(), the last list is the user's offline copy.
  • The user's abilities gate can commands (RFC 0010, step 2). With .abilities(), a #[command(can = "..")] runs from the frontend only when the app grants the ability and the signed-in user has it; otherwise it's refused with kind denied (as Laravel's 403), without a request and before it could be queued offline.
  • The abilities stay current (RFC 0010, step 3): read again on focus, when the connection comes back, and when Laravel broadcasts AbilitiesChanged on the user's channel (followed for the abilities even without notifications). A live command that asks Abilities::allows re-runs when the list changes.
  • can and abilities in @elyra/runtime (RFC 0010, step 4): $can("customers.delete") (namespaces included) and $abilities, read once then followed on elyra:abilities, and abilities.refresh(), through /__auth/abilities (Capability::Auth). An app without Backend::abilities() answers ["*"].
  • Laravel's side, and the generated screens (RFC 0010, step 5). elyracode/elyra-backend has Route::elyraAbilities() (spatie's permissions, or the Gate abilities in config('elyra.abilities')) and AbilitiesChanged, broadcast when spatie's roles or permissions change. make:resource --backend (with abilities) hides New, Edit and Delete the user can't do, preferring a record's can, and prints Laravel's side; the backend model has can. CI installs the package from this repository with spatie and checks the abilities against a real Laravel app through Reverb.

0.17.0 — 2026-10-19

The files release. A desktop app can now attach a file to a record on the Laravel backend and hand one back. An upload is multipart/form-data, what Laravel's $request->file(..) reads, streamed from disk so a large file costs no more memory than a small one. A download is streamed to disk too, through a .part file, named as the server says but cleaned, and marked as coming from the internet. The frontend hands over only files the user chose in a dialog or dropped on a window, as ChosenFiles, so a script in the page can't make the app upload any other path. Laravel's 422 on a file and the web server's 413 land on the field. An upload made offline waits in the outbox with its own copy of the file. Every transfer shows its progress in the transfers store and can be cancelled. rata make:resource --backend has a file field, and CI uploads and downloads against a real Laravel app. See the guide and RFC 0009.

Upgrading: one change breaks frontend code: dialog.open(..), dialog.save(..) and onFileDrop(..) return ChosenFiles ({ id, path, name, kind }) instead of path strings. Code that shows the path reads .path; code that passes it to a command passes the ChosenFile, and the command's argument becomes elyra::files::ChosenFile (TypeScript points at each place). In Rust, HttpError has File, FileChanged and Cancelled, BackendError has Cancelled, system::Paths has downloads and http::Sent has parts: an exhaustive match or a struct literal of them needs the new ones. In bindings.ts an Option of a named type is now T | null. The http feature also brings futures-util and mime_guess (both already in the tree through reqwest), and backend brings dirs.

Added

  • Files over Http (RFC 0009, step 1; the guide).

    • .attach(name, path), .attach_as(..), .attach_bytes(..), .field(..) and .fields(&struct) send multipart/form-data, with the files streamed from disk and a known Content-Length. A file that changes while it's sent stops the request with HttpError::FileChanged.
    • .download_to(path) and .download_into(dir) stream a successful answer to disk through a .part file. download_into takes the server's name (Content-Disposition, else the URL), cleaned and numbered when taken; Response::saved_to() says where.
    • .on_progress(..) reports the bytes sent or received. For a transfer, .timeout(..) is the time without progress.
    • HttpFake records multipart parts (Sent::part(name)) and answers downloads with get_bytes(..) / on_bytes(..).
  • ChosenFile, a file the user chose (RFC 0009, step 2; the guide). The shell grants what the user picks in a dialog or drops on a window for the rest of the run, and a command argument of type elyra::files::ChosenFile decodes only from that grant's id: a path the user didn't choose can't be passed, and a path the frontend changed is ignored. kind is open, save or folder. Codegen types it for the frontend; Rust code grants its own files with ChosenFile::from_path(..), for_saving(..) and folder(..).

  • Files to and from the Laravel backend (RFC 0009, step 3; the guide).

    • BackendRequest::attach(..), attach_as, attach_bytes, field, fields: uploads as the signed-in user. A PUT/PATCH/DELETE with a file goes as a POST with _method. A 413 from the web server is a validation error on the file's field, as Laravel's 422 is. .max_size(..) refuses a larger file before sending; .idempotent() adds an Idempotency-Key so .retry(..) may repeat a POST.
    • download_to(&ChosenFile) (a save dialog's), download_into(&folder), download() (the Downloads folder) and Backend::download_url(url) (a signed URL, without the token). Downloads are marked as from the internet: quarantine on macOS, the Mark of the Web on Windows. They're never kept as the offline copy.
    • Transfers: uploads and downloads while they run, published on elyra:transfers, with cancel(id); .label(..) names one. BackendError::Cancelled has the kind cancelled.
    • system::paths() (and the frontend's paths()) has downloads.
  • Uploads in the outbox (RFC 0009, step 4; the guide). An upload marked .queue_offline() that gets no answer waits with a copy of its files, is sent from the copy once the server is back, and its copy is removed when it's sent or discarded. Backend::offline_upload_limit(..) (500 MB per user by default) and offline_upload_folder(..). transfers shows it as queued; cancelling it discards it.

  • The transfers store in @elyra/runtime (RFC 0009, step 5): $transfers lists uploads and downloads as they run, and transfers.cancel(id) stops one, through /__auth/transfers and /__auth/transfer-cancel (Capability::Auth).

  • A file field in rata make:resource --backend (RFC 0009, step 6; the guide). The record has the file's name, store / update take an Option<ChosenFile> and send a form with the file beside it, a command downloads it to where the user chose, the form gets a FileField (written once to app/src/resources/FileField.svelte) and the detail view a download link. rata prints the controller's lines and the download route, and asks for the system feature.

  • Codegen: an Option<T> argument or result of a named type is T | null in bindings.ts, not T's fields spelled out.

  • CI uploads and downloads a customer's contract against a real Laravel app, online and offline (framework/tests/laravel_files.rs).

Security

  • cargo deny ignores RUSTSEC-2026-0370, -0371 and -0372: zbus's helper crates, "unmaintained" since they were merged into zbus 6. They come from notify-rust (Linux notifications), whose latest release still needs zbus 5. Not a vulnerability; the ignores go when notify-rust moves.

Changed

  • dialog.open(..), dialog.save(..) and onFileDrop(..) return ChosenFiles ({ id, path, name, kind }) instead of path strings. Upgrading: code that shows the path reads .path; code that passes the path to a command passes the ChosenFile, and the command's argument becomes ChosenFile (TypeScript flags the places). The Rust system::open_dialog(..) / save_dialog(..) still return paths.

0.16.0 — 2026-10-15

The coding agents release. An agent working on an Elyra app now knows the framework instead of guessing at Tauri's or Laravel's API. rata ai:install writes the framework's guidelines into AGENTS.md (and CLAUDE.md), five skills for Claude Code, Codex, Gemini CLI and Elyra Workspace, and rata mcp dev into .mcp.json: a read-only MCP server that tells the agent what the app is (its commands, abilities, models, schema, migrations, the latest errors in its log) and searches the guides, embedded in rata. For the Laravel half, elyracode/elyra-backend gives the routes and middleware the desktop expects, with Laravel Boost guidelines that keep an agent from breaking them. See coding agents.

Upgrading: additive; nothing changes until you run rata ai:install. It only rewrites its own <elyra-framework-guidelines> block and its own skills, and adds one server to .mcp.json. rata ai:update refreshes them after upgrading rata.

Added

  • Coding agents know the framework — Laravel Boost's idea for the Rust side (coding agents).
    • rata ai:install writes the framework's guidelines as an <elyra-framework-guidelines> block in AGENTS.md (and CLAUDE.md unless it imports AGENTS.md), five skills in .agents/skills/ and .claude/skills/ (elyra-commands, elyra-models-and-migrations, elyra-resources, elyra-live-queries, elyra-laravel-backend), and the elyra-framework server in .mcp.json. Only the block and rata's own skills are rewritten; rata ai:update refreshes what's there.
    • rata mcp dev, a read-only MCP server for the agent working on the code: app_info (commands with their abilities, models, features), database_schema, migration_status, last_error, read_log_entries, list_commands, and search_docs over the guides, embedded in rata.
    • rata mcp install --client workspace adds the app's own server to the project's .mcp.json, which Elyra Workspace gives to every agent.
  • elyracode/elyra-backend, a Composer package for the Laravel half, in laravel/: Route::elyraAuth() (the Sanctum token routes), Route::elyraNotifications(), the Idempotent middleware, and Laravel Boost guidelines and an elyra-desktop-backend skill, so agents working on the Laravel app keep the API the desktop relies on. See the guide. Not published yet.

Security

  • rustls 0.23.45 → 0.23.46, for RUSTSEC-2026-0346, -0347, -0348 and -0349 (reached through the HTTP client).

0.15.0 — 2026-10-13

The notifications release. What Laravel sends with $user->notify(..) through its database and broadcast channels now reaches the desktop. The app hears it on the signed-in user's private channel and shows it in the OS when no window is in front, or as a toast when one is. A click opens its page in the app. The unread count is on the app's icon and in the tray. The list is read from Laravel and marked read there, offline through the outbox, and reading it on the web reads it on the desktop too. What came while the app was offline or closed is caught up. rata make:notifications writes the page and prints Laravel's side. CI runs a real Laravel app's notifications through Reverb. See the guide and RFC 0008.

Upgrading: additive. Nothing changes until a Backend has .notifications(), which needs .broadcasting(..); the app won't start without it. The frontend's notify(..) now goes through the container's Notifier, so a test can swap in Notifier::fake(). An app made before 0.15 renders the nav's unread count once its App.svelte renders a nav item's count: rata make:notifications prints the lines, and NavCount.svelte is in any new project.

Added

  • Laravel's notifications, heard on the desktop — step 1 of RFC 0008, in the backend feature.
    • Backend::notifications() follows the signed-in user's private channel, Laravel's App.Models.User.{id} (.notifications_channel(..) for another), authorized by the backend like any private channel. Signing in as someone else follows theirs.
    • What $user->notify(..) broadcasts is a NotificationReceived, a domain event with the Notification (id, type, data) and how it's shown (Presented: title, body and url from the data, or .present_notifications(..)). It reaches the windows on elyra:notification.
    • It needs .broadcasting(..); the app won't start without it.
  • Notifications in the OS — step 2 of RFC 0008.
    • With no window of the app in front, a notification is shown in the OS; with one, it's for the app to toast (NotificationReceived.shown: native or toast). .notification_previews(false) shows only "New notification", for a locked screen.
    • A click brings the app forward, opens the notification's url when it's a path in the app (on elyra:navigate), and is a NotificationClicked (also on elyra:notification-clicked). A full URL is never opened by itself.
    • The unread count is on the app's icon (the dock on macOS, the launcher on Linux, an overlay on the taskbar button on Windows) and in the tray's tooltip, until .notification_badge(false). Windows::set_badge(n) sets it directly. Signing out clears it.
    • Notifier shows notifications in the OS, from the container, and Notifier::fake() records them for a test (assert_shown, click). The frontend's notify(..) goes through it.
    • Focus says whether a window of the app has focus.
  • The list, and reading it everywhere — step 3 of RFC 0008.
    • Notifications::refresh() reads GET /api/notifications (Laravel's paginator over the notifications table, with unread beside it) and more() the next page. The list and the count are on elyra:notifications (NotificationsState), and the count is the server's. Offline, it's the last copy (RFC 0007).
    • mark_read(id) and mark_all_read() count down at once and post to /api/notifications/{id}/read and /read-all, through the outbox when the server can't be reached. A click on a notification reads it. What was read here stays read when the list is read again (from the server or the offline copy) until the server shows it read too.
    • The list is read again when a window gets focus, and when the web broadcasts NotificationsRead on the user's channel.
    • Connected again, or at the start, what came while the app wasn't listening is shown: one as itself, more as "4 new notifications", which opens /notifications. The newest one listed is kept in the Store per backend and user; a first sign-in on a machine shows nothing.
  • Notifications in the frontend — step 4 of RFC 0008. @elyra/runtime gets:
    • the notifications store ({ unread, items, hasMore }), read from the server when first subscribed and kept up to date, with refresh(), more(), markRead(id) and markAllRead(). While it's subscribed, a click on a notification in the OS opens its in-app path.
    • onNotification(handler), for each one as it arrives; e.shown says whether the OS showed it or the app should (toast).
    • onNotificationClicked(handler), for a click in the OS — a full URL is the app's to open.
    • All of it goes through /__auth/notifications* (Capability::Auth). The page may read the list and mark it read, nothing else.
  • rata make:notifications — step 5 of RFC 0008.
    • It writes app/src/resources/notifications/: the page at #/notifications (Mark all read, More, the offline banner), a nav item with the unread count, and the toasts and click handling, set up once for the app. The resource registry lists it.
    • It prints Laravel's side (the table, NotificationController and its routes, the NotificationsRead event, an example notification), and the .notifications() hint until main.rs has it.
    • rata new's App.svelte renders a nav item's count (NavCount.svelte).
    • CI runs a real Laravel app's notifications through Reverb: a customer created on the web is shown on the desktop, and reading it on either side reads it on the other.

0.14.0 — 2026-10-13

The working offline release. A desktop app keeps working when the network goes. A GET keeps its last answer in the app's database, per user, and returns it when the server can't be reached. A write marked .queue_offline() waits in a durable outbox and is sent in order once the server is back, each with the Idempotency-Key it was first tried with, so it happens once. A write the server refuses waits for the user to fix it, keep theirs or discard it. .unless_changed_since(..) turns a stale update into a conflict instead of last-write-wins. The frontend gets the connection and outbox stores, and rata make:resource --backend generates all of it. CI pulls the plug on a real Laravel app. See the guide and RFC 0007.

Upgrading: BackendError has three new variants (see Changed), and a 409 or 412 is now Conflict rather than Other. Nothing works offline until you call Backend::offline(). A resource generated before 0.14 needs .queue_offline() on its writes and an outbox_sent to work offline, so regenerate it with make:resource --backend --force, which also updates the registry.

Added

  • Working offline: the last answer to read — step 1 of RFC 0007, with the backend and database features.
    • Set it up with Backend::offline(). A successful GET keeps its answer in the app's database (elyra_backend_cache, created on first use). The copy is per user and URL, hashed, and kept only while signed in.
    • A GET that gets no answer returns the copy. Response::stale_since() says when it was kept, and .no_offline() keeps a request out.
    • The connection state is on elyra:connection and Backend::connection(). While offline, reads answer from the copy at once and the health route (/up, .health_route(..)) is probed. Back online, every backend live query re-runs; broadcasting reconnecting counts as back.
    • Signing out clears the user's copy, and signing in as someone else clears the others'. It's capped by .offline_cache_limit(..) (100 MiB, oldest first).
  • Working offline: the outbox — step 2 of RFC 0007.
    • A write marked .queue_offline() that gets no answer waits in a durable outbox (elyra_outbox) and returns BackendError::Queued, kind queued. The code after the write runs only once it has happened.
    • When the server is back, writes are sent in order, one at a time, each with the Idempotency-Key it was first tried with. A new write waits behind earlier ones.
    • A 2xx dispatches OutboxSent. A refusal (422, 403, 404, …) moves the write to elyra_outbox_failed with the server's errors and dispatches OutboxFailed, and the next writes go on. A 401 waits for the same user to sign in. No answer, a 5xx or a 429 backs off (honouring Retry-After).
    • Outbox: pending, failed, items, retry(id, body), discard, flush. The counts are on elyra:connection.
    • Auth::sign_out refuses with kind pending_changes while writes wait; Auth::sign_out_discarding() signs out anyway.
    • TestApp::invoke_err_kind returns a failed command's error kind.
    • A refused write sent again (fixed, or "keep mine") gets a new Idempotency-Key, since it never happened. A server that remembers refusals would otherwise answer it with the old one.
  • Conflicts — step 3 of RFC 0007.
    • .unless_changed_since(updated_at) sends If-Unmodified-Since. A server that checks it answers 412, and 409 too; both are BackendError::Conflict, kind conflict. Without it, the last write wins.
    • From the outbox, a conflict is refused with reason: "conflict". Outbox::keep_mine(id) sends it again without the precondition, and Outbox::take_theirs(id) drops it and re-reads the record.
    • An OutboxItem says why it was refused: validation, conflict, denied, not-found or refused.
  • Working offline in the frontend — step 4 of RFC 0007. @elyra/runtime gets two stores and a new sign-out.
    • connection holds { state, since, pending, failed }.
    • outbox holds the writes, with retry(id, body), discard, keepMine and takeTheirs. Its list is read again whenever the outbox changes (elyra:outbox).
    • auth.signOutDiscarding() signs out even though writes are waiting.
    • All of it goes through /__auth/ (Capability::Auth). A retry may change a write's body only.
  • make:resource --backend works offline — step 5 of RFC 0007.
    • The writes are marked .queue_offline().
    • outbox_sent dispatches the resource's event once a write saved offline is sent. The registry gathers it in resources::outbox_sent, and the hint says .offline() and .listen(resources::outbox_sent).
    • The views show the offline banner, the writes waiting and those refused (Fix, Keep mine / Take theirs, Discard). The form fixes a refused write and says "Saved, it will be sent" for kind queued.
    • A generated test saves offline and checks the write is sent once.
    • rata prints the Laravel idempotency middleware.
    • CI runs a real Laravel app offline, through a proxy the test pulls the plug on: a write made meanwhile is sent once, a repeated key is answered from Laravel's record, a stale update is a 412, and "keep mine" sends it anyway.

Changed

  • BackendError has three new variants, Queued, PendingChanges and Conflict. An exhaustive match on it needs arms for them. A 409 or 412 used to be Other.

0.13.0 — 2026-10-12

The broadcasting release. A change made on the web now shows in the open windows of the desktop app. Laravel announces it with broadcasting, and Elyra listens the way Laravel Echo does in a browser, over the Pusher protocol that Askr (--pusher), Reverb and Pusher speak. An event on a followed channel re-runs the live queries that read its resource. It's also a domain event, and it reaches the frontend (onBackendEvent, the broadcasting store). rata make:resource --backend follows its resource's channel. CI runs a real Laravel app's broadcasting end to end, through Reverb and through Askr. See the guide and RFC 0006.

Upgrading: additive, with one behaviour change. The on* helpers in @elyra/runtime no longer fire the last event for a late subscriber (see Fixed). Code that relied on getting it, for example a deep link handled after the component mounted, should read the channel's store instead. Run rata resources:sync to give a --backend resource's registry follows(). A resource generated before 0.13 needs a FOLLOWS constant in its mod.rs for that, or regenerate it with --force.

Fixed

  • An on* helper no longer fires an old event for a late subscriber. A channel is a store, so a new subscriber gets its latest value at once. That's right for state, but onDeepLink, onSidecar, onAgent, onFileDrop, onShortcut, onMenu, onSecondInstance, onQueue and onSignedOut passed it on as if it had just happened. A component that subscribed late handled a deep link again, or showed an old toast. They now only see what comes after they subscribe.

Added

  • Laravel's broadcasting, heard on the desktop — step 1 of RFC 0006, in the backend feature.
    • Set it up with Backend::broadcasting(Broadcasting::pusher(key)). That's the Pusher protocol, which Askr (--pusher), Reverb and Pusher speak, on the backend's own host unless .host() / .port() say otherwise.
    • It connects once the user is signed in, and closes on sign-out.
    • .follow("customers", "/api/customers") follows Laravel's PrivateChannel('customers'), authorized by the backend at /api/broadcasting/auth as the signed-in user. .follow_public(..) follows a public one.
    • Each event on a followed channel is a BackendEvent { channel, event, data } domain event, and reaches the windows on elyra:backend.
    • It answers and sends pings, and reconnects with backoff (1 s up to 30 s). It stops on Pusher's fatal 4000–4099 errors.
    • While connected, Backend sends X-Socket-ID, so Laravel's ->toOthers() skips this app.
    • The state is on elyra:broadcasting.
    • wss only, except to loopback.
    • PusherFake is a Pusher-protocol server for tests.
  • A change on the web updates the open windows — step 2 of RFC 0006.
    • An event on a channel followed with .follow(name, resource) re-runs the live queries that read the resource, coalesced and pushed only when the result changed.
    • A reconnect re-runs everything followed, since events sent while it was away are lost.
    • A backend read now depends on its resource and on each path it's under (elyra::backend::resource_keys). A change to /api/customers re-runs what read /api/customers/count or /api/customers/12/notes too.
  • Broadcasting in the frontend — step 3 of RFC 0006. @elyra/runtime gets onBackendEvent(channel, event | null, handler) for a followed channel's events ("Ada updated Acme"). It also gets the broadcasting store, which holds the connection's state (connecting, connected or offline) and reads it once through /__auth/broadcasting.
  • make:resource --backend follows its channel — step 4 of RFC 0006.
    • The resource's mod.rs declares FOLLOWS, its route as Laravel's PrivateChannel, and the registry gathers them in resources::follows().
    • The app listens with .broadcasting(Broadcasting::pusher(key)).follow_all(resources::follows()). Backend::follow_all is new. rata prints that hint, and the Laravel side: the BroadcastsEvents model and the channel rule.
    • A generated test broadcasts through a PusherFake and watches the open list re-run.
    • CI runs a real Laravel app's broadcasting end to end, through Reverb and then through Askr's --pusher: a customer created on the web reaches the desktop app's open list.

0.12.0 — 2026-10-10

The Laravel backend release. Elyra is the desktop half of a product whose web half is Laravel, served by Askr or any other server. An app signs the user in with a Sanctum token, which lives in the OS keychain and never reaches the webview, and calls the same API as the web. It goes through Http, Laravel's facade in Rust, and Backend, which maps Laravel's answers: a 422 lands in a form per field, as local validation does, and no answer at all is an offline error the UI can tell apart. Live queries follow the app's own writes to the API, and rata make:resource --backend generates the screens over it. CI runs against a real Laravel app. See the guide and RFC 0005.

Upgrading: additive, with these exceptions:

  • elyra::Error has a new variant, Kind, and Capability a new one, Auth. An exhaustive match on either needs an arm.
  • Capability::Auth is granted by default, so the frontend can sign in once the app has a backend. deny_frontend(Capability::Auth) takes it away.
  • A command's elyra::Error now keeps its variant instead of becoming Error::Command(text). The message is unchanged.
  • Page moved to substrate-core. elyra::db::model::Page still names it.

Fixed

  • A command's elyra::Error keeps its variant. #[command] used to turn every Err into Error::Command(text), flattening an elyra::Error on the way. An elyra::Error now passes through as it is. Any other error type becomes a command error, as before.

Changed

  • Page moved to substrate-core. It's the paginator shape a Laravel API shares, so a backend-only app doesn't need the database feature. elyra::db::model::Page still names it, and so does the new elyra::Page. substrate-core stays dependency-free by default; serde and specta are optional features.
  • elyra::Error has a new variant, Kind, and Capability a new one, Auth. An exhaustive match on either needs an arm.

Added

  • Http, an HTTP client — step 1 of RFC 0005 (a Laravel backend), behind the new http feature. It's Laravel's Http facade over reqwest, and App binds one.
    • Queries, JSON bodies, bearer tokens and timeouts (30 s by default).
    • Retries after a failed connection or a 5xx, for idempotent methods unless retry_any_method().
    • It always asks for JSON. Any status is a Response; only no answer is an HttpError.
    • HTTPS only except to loopback, redirects included, and a redirect to another host doesn't carry Authorization.
    • Bodies are capped at 32 MiB. Logs never show the query, the body or headers.
    • HttpFake answers tests from a table and records what was sent. Swap it in with App::swap(Http::fake(fake)). See docs/http.md.
  • Backend, the Laravel API — step 2 of RFC 0005, behind the new backend feature (which enables http and secrets). Set it up with App::backend(Backend::new(url)), and a command resolves it with ctx.get::<Backend>().
    • It sends through the app's Http, with the token as Bearer.
    • Each Laravel answer that isn't a success becomes a BackendError, then a command error. A 422 is the same ValidationErrors a local command returns, so a form shows the server's messages per field. A 401 / 419 forgets the token. 403, 404, 429 (with Retry-After), 5xx, and no answer at all each get their own kind: denied, not-found, too-many-requests, server, offline.
    • .json::<T>() decodes a success, a 204 as null.
    • Page<T> reads both of Laravel's paginator shapes: paginate()'s, and an API Resource's { data, links, meta }.
  • Signing in to the backend — step 3 of RFC 0005. The default routes are /api/sanctum/token and /api/user, where Laravel puts routes from routes/api.php.
    • Auth, resolved as ctx.get::<Auth>(), signs in with Laravel's documented Sanctum token route (email, password, device_name), then reads the user from /api/user and caches it.
    • The device is named for the machine and the app (<host> · <app>), so the user recognizes it on the web.
    • The token lives in the OS keychain only, under the app and the backend's URL, and is put back to use when the app starts.
    • A 401 from any request forgets it. sign_out() revokes it, as far as the server can be reached.
    • With no keychain, sign-in fails and the token the server just issued is revoked. There's no plain-text fallback.
    • elyra:auth carries each change as AuthState { signedIn, user, reason }.
    • For the frontend, @elyra/runtime gets auth. It has auth.signIn(email, password) (a wrong password throws the ValidationError, per field), auth.signOut() and auth.state(), and $auth works as a store. onSignedOut(handler) is called on sign-out. They go through /__auth/*, behind the new Capability::Auth, granted by default. The page never sees the token.
    • App::token_store(..) chooses where tokens live. TestApp uses MemoryTokens, so a test never touches the keychain, and MemoryTokens::failing() acts like a system without one.
  • Live queries over the backend — step 4 of RFC 0005.
    • Inside a live command, a Backend GET depends on its resource: the path without the query and trailing ids (a number, UUID or ULID), so /api/customers/12?x and /api/customers are both backend:/api/customers (elyra::backend::resource_key).
    • A successful POST, PUT, PATCH or DELETE re-runs what read it, so an open list follows this app's writes. A failed one re-runs nothing.
    • A live command's re-run may not write to the backend, as with the database. elyra_db::live::check_write is public, so other writes can ask too.
    • Changes made elsewhere, on the web, come with RFC 0006.
  • rata make:resource <Model> --backend /api/<plural> --generate <fields> — step 5 of RFC 0005. It makes the same resource, with the same screens, types and events, but its commands call the Laravel API instead of the local database.
    • index sends the query (search, sort, direction, page) and reads either of Laravel's paginators. show, store, update and destroy are one request each.
    • A record reads with or without an API Resource's data wrapper, through the new BackendRequest::resource().
    • The model is a plain serde struct with ISO timestamps. There's no migration or seeder, because the table is the server's.
    • The tests run against an HttpFake: the list and a record, writes and their events, the server's 422 per field, and a missing record.
    • rata prints the Laravel side (Route::apiResource), and the wiring hint asks for .backend(..).
    • For now the project needs both the database and the backend features: the resource registry also lists migrations.
    • The make:resource smoke test now generates and tests one as well.
  • The Laravel backend guide, and CI against a real Laravel app — step 6 of RFC 0005. docs/backend.md covers the Laravel side, calling the API, its errors, signing in, live queries, make:resource --backend and testing.
    • scripts/laravel-backend.sh builds a Laravel app with Sanctum, the routes and a customers resource.
    • A new CI job serves it and runs the end-to-end test over real HTTP: sign-in (and Laravel's own 422 for a wrong password), create, the 422s for a missing and a taken field, the paginator, update, delete, and sign-out, after which the token no longer works.
  • Errors with a kind. Error::with_kind(kind, message) (the new variant Error::Kind) reaches the frontend as CommandError.kind, from a command and from a live query's re-run. LiveHandle::error_kind() reads it in a test.

0.11.0 — 2026-10-10

The resource templates release. A live command that takes arguments is now something an AI agent can watch, not only call. customers_show(id) becomes app://customers_show/{id}, and customers_index(query) becomes app://customers_index{?direction,page,per_page,search,sort}. The agent fills in the values, reads the result, and subscribes to it. It's then told when that customer, or that search, changes, the way a window is. See the guide and RFC 0004.

Upgrading: nothing to change. Templates appear on their own for live commands an agent is already granted. They add no reach: the agent could already call each one as a tool with any arguments.

Added

  • MCP resource templates (RFC 0004).
    • A granted #[command(live)] that takes arguments gets a template. The command must not need confirmation, and each argument must be a scalar, or a struct of scalars, one level deep.
    • The template is read off the tool's input schema. Required variables are path segments, in argument order: app://customers_show/{id}. Optional ones are the query, with a struct's fields in name order: app://customers_index{?direction,page,per_page,search,sort}.
    • resources/templates/list lists them. rata mcp inspect shows each template, and for a live command without one, why: a list, a nested object, two variables with one name.
    • An expanded URI reads and subscribes like a plain resource: resources/read, subscriptions/listen and resources/subscribe take app://customers_show/12 or app://customers_index?search=ada. A subscription is told only when what its arguments select changes.
    • The values are percent-decoded (+ is a plus) and converted by the variable's schema type: an integer, a number, true / false, or one of an enum's values.
    • These are -32602 "Invalid arguments", with what's wrong per variable in data.errors: a value that doesn't convert, a parameter the template doesn't name, a repeated one, the wrong number of path segments, or a URI over 2 KiB. These are caught before the command runs. A failure of the command's own validation is answered the same way, with its messages. A subscription to such a URI isn't acknowledged.
    • completion/complete suggests a template variable's values from its schema: an enum's values, or true / false, filtered by the typed prefix (case-insensitively). The server declares completions.
    • The example app's filter_todos(done) is a template, app://filter_todos{?done}. The CI Inspector check reads app://filter_todos?done=false, and is refused ?done=maybe. The guide has a resource templates section.

0.10.2 — 2026-10-10

A hardening release. Single-instance proves its per-install token instead of sending it, so a process that takes the endpoint first learns nothing, and unique / exists fail the field instead of panicking when the database can't be queried.

Upgrading: nothing to change in code. The single-instance protocol is new (ELYRA-SI/2), so a 0.10.2 build launched while an older one is open starts its own window instead of handing over; quit the old one first. Translation files gain one key, validation.unavailable; until it's translated, the English message is used.

Fixed

  • Single-instance no longer sends its token in the clear. The second launch sent the per-install token to whatever answered on the endpoint. On Windows that's a loopback port another process can take first. It could learn the token there, then inject deep links into the real app. The handshake is now a challenge-response: HMAC-SHA256 over fresh nonces from both sides, the primary first, with the payload covered by the client's proof. It's the scheme the MCP endpoint uses, now shared (proof).
    • An impostor sees neither the token nor the payload.
    • The protocol is ELYRA-SI/2. A launch of the new version while an older one is running doesn't reach it, and starts on its own; quit the old one first.
  • unique / exists no longer panic when their query fails (a locked database, a dropped connection, a missing table). The field fails with the new message key unavailable ("The email could not be checked right now. Try again."), and the reason is logged under elyra::validation. The input isn't let through. A count that couldn't be read used to pass unique silently; it now fails the same way.

0.10.1 — 2026-10-05

A fix release for migrations. rata migrate now runs the Rust migrations that make:resource writes, and a rollback no longer forgets a migration of the other kind. See migrations.

Upgrading: nothing to do for most apps. ELYRA_MIGRATE=up now applies the pending SQL files in migrations/ too, in the same batch, and prints its summary rather than logging it. elyra_db::Error has a new variant, UnknownMigration, which an exhaustive match on it needs an arm for. Migrator::rollback now refuses a batch that holds a Rust migration.

Fixed

  • rata migrate runs Rust migrations. The resources make:resource generates, and make:migration --rust, are compiled into the app, so rata migrate used to answer "Nothing to migrate." and create no tables. Now, when src/ has a RustMigration, rata migrate, migrate:status and migrate:rollback run the app in its migrate mode, which applies both kinds in one batch. A project with only SQL files is migrated directly, as before.
  • A rollback no longer forgets what it can't undo. SQL and Rust migrations share one history table and batches, but each rollback only knew its own kind. It dropped the other kind's records without running their down, leaving the tables in place and the next migrate failing on them. That was rata migrate:rollback with Rust migrations in the batch, or ELYRA_MIGRATE=down with SQL files in it. Now every migration in the batch runs its own down. A batch holding one that's neither a file nor registered isn't rolled back: the new elyra_db::Error::UnknownMigration.

Added

  • Migrator::run_all, rollback_all and status_all handle the SQL files and the registered Rust migrations together. ELYRA_MIGRATE=status lists them, and ELYRA_MIGRATIONS_DIR points the app's migrate mode at the SQL files (default migrations).

Changed

  • ELYRA_MIGRATE=up applies the pending SQL files too, in the same batch as the Rust migrations, and the mode prints what it did (as rata migrate does) instead of logging it. Migrator::rollback_rust is now rollback_all. Migrator::rollback refuses a batch with a Rust migration in it, since it can't run that migration's down.
  • elyra_db::Error has a new variant, UnknownMigration. An exhaustive match on it needs an arm.

0.10.0 — 2026-10-05

The AI agents release: every Elyra app can be an MCP server. You grant the abilities an agent may use, and the commands behind them become tools for Claude, Cursor or VS Code, with JSON Schemas built from their types. They run through the same middleware and validation as a frontend call. The client launches myapp --mcp. When the app is open, the agent works inside it, and the windows update as it goes. When it isn't, the app runs without a window. What can't be undone waits for the user to confirm it in the client. Live commands are resources an agent can watch. Every call is logged, dispatched as an event, and shown on a channel for an in-app indicator. See the guide and RFC 0003.

Upgrading: one break, small. CommandRequest has a new field, origin, so code that builds one by hand must set it: origin: Origin::Frontend. Middleware that only reads a request is unaffected. Everything else is new API: nothing is exposed to an agent until the app calls App::mcp(..).

Added

  • An MCP tool catalog — step 1 of RFC 0003 (every Elyra app is an MCP server).
    • App::mcp(Mcp::new().allow_abilities([..]).confirm(..)) chooses which commands an AI agent may call: those whose can ability it grants, in a grant separate from the frontend's. Commands without an ability never are.
    • elyra::mcp::catalog turns them into tool definitions. The doc comment becomes the description, and JSON Schemas (2020-12) for the arguments and the result are built from the specta types after serde's rewrites (renames, tagging, flattening). Option fields may be left out of an input.
    • rata mcp inspect [--json] lists the tools.
    • #[command] now records its doc comment (Command::description()).
  • An MCP server — step 2 of RFC 0003.
    • McpServer speaks JSON-RPC 2.0 over the stdio framing, one message per line, for both protocol eras:
      • 2026-07-28: per-request _meta, server/discover, resultType, and ttlMs / cacheScope on tools/list; an unsupported version gets -32022 with the supported list.
      • the initialize-based 2025-11-25 / 2025-06-18 / 2025-03-26, for the connections that open with it.
    • tools/call maps the named arguments onto the command's positional ones (a left-out Option is null) and dispatches through the full middleware pipeline. The value comes back as structuredContent plus text. A validation bag, a command error, a panic, an unknown argument or a type mismatch is a tool error (isError) the model can act on, with the field messages.
    • ELYRA_MCP=stdio serves it headless, without a window, using App::database or DATABASE_URL. (Since step 3, it's the same as --mcp.)
    • TestApp::mcp() is an in-process client, with list_tools, call, request and raw.
    • Checked with the official MCP Inspector CLI against a generated app: listing tools, and a call that wrote a row.
  • myapp --mcp, the MCP shim — step 3 of RFC 0003. It's what an MCP client launches.
    • When the app is running, the shim pipes MCP to it, so the agent works in the open app: the same database, live queries and events, and the windows update as it goes.
    • When it isn't, the shim serves MCP headless, as ELYRA_MCP=stdio did.
    • A running app with App::mcp serves a private endpoint for it: a 0600 Unix socket beside single-instance's, or loopback ports of its own on Windows.
    • A connection is served only after a challenge-response on the per-install token: HMAC-SHA256 over fresh nonces from both sides, with the server proving itself first. The token never crosses the wire, so a process that takes the socket path or a port first learns nothing, and the shim runs headless instead.
    • --mcp is checked before single-instance, which would otherwise hand the launch to the running app and exit.
  • Confirmation in the MCP client — step 4 of RFC 0003. A tool whose ability Mcp::confirm names runs only once the user says yes.
    • A 2026-07-28 client gets a multi round-trip: input_required with an elicitation/create and a requestState, and the call runs when the client retries with the user's accept.
    • The question names the client and the tool, and gives the first line of the command's doc comment and the arguments.
    • The state is signed with a key that lives only in the process (HMAC). It's bound to the tool, the arguments and the client, and expires after 5 minutes. It runs the call at most once, so an accepted delete can't be replayed; a state that doesn't fit is asked again.
    • A legacy client that declared elicitation (2025-06-18 or later) is asked with a server-initiated elicitation/create.
    • A client that can't elicit gets a tool error, and the tool doesn't run. So does a decline, a dismissal, or no answer within 10 minutes.
    • TestApp::mcp().confirming("accept" | "decline" | "cancel") answers as the user would. ToolResult::confirmation is the question that was asked.
  • Live commands as MCP resources — step 5 of RFC 0003.
    • A granted #[command(live)] that can run with no arguments given is a resource, app://<command>. That means every argument is an Option, or a struct whose fields all are (it's read with {}). A command that needs confirmation isn't one. resources/list lists them, and resources/read runs one as the agent, with ttlMs: 0.
    • subscriptions/listen with resourceSubscriptions follows them in the live registry. The client gets notifications/resources/updated, carrying the subscription's id, whenever the live registry would push a new result to a window: coalesced, only when it changed, only for what it read. The acknowledgement lists the URIs it honors. notifications/cancelled ends it, and so does the connection closing.
    • Legacy clients use resources/subscribe / resources/unsubscribe.
    • Through the shim, one agent sees another's writes, and the window's, because they share the running app's live registry. Two headless processes don't.
    • LiveRegistry re-runs carry the subscriber's Origin.
    • TestApp::mcp() gains read, listen and next_message, and Connection::outbox drives a connection by hand.
  • Seeing what an agent does, and holding it back — step 6 of RFC 0003.
    • Every tool call and resource read dispatches AgentCalled { tool, client, ok, millis } in the background, for an audit log (App::listen). It doesn't carry the arguments, which may be personal data.
    • The elyra:mcp channel carries a started and a finished (with ok) to every window. onAgent(handler) in @elyra/runtime subscribes to it, for a "Claude is adding a customer…" indicator.
    • Tools are rate limited per tool, across connections: 60 calls a minute by default (DEFAULT_RATE_LIMIT). Mcp::rate_limit(ability, max, per) changes that for an ability, a namespace or *; the last limit that matches wins. A throttled call is a tool error, refused before the user is asked to confirm it. Reads count; re-runs for a subscription don't.
  • Connecting a client, and the guide — the rest of step 6.
    • rata mcp install [--client claude|cursor|vscode] [--release] builds the app and prints the config that has the client launch it with --mcp (the claude mcp add line too). It edits nothing.
    • rata mcp inspect marks the tools that are resources with their URI.
    • The example app is an MCP server: its todos are tools, list_todos is a resource, deleting asks the user first, and the window toasts what an agent does.
    • CI drives it with the official MCP Inspector CLI (scripts/mcp-inspector.sh).
    • docs/mcp.md is the guide.
  • CommandRequest::origin — Origin::Frontend, or Origin::Agent { client } for an MCP call, so middleware can tell them apart. CommandRegistry::dispatch_from dispatches with one.

Changed

  • CommandRequest has a new field, origin. Code that builds a CommandRequest by hand needs to set it (origin: Origin::Frontend). Middleware that only reads name and args is unaffected.

0.9.1 — 2026-10-05

A fix release: the JSON cast now works with Postgres JSONB columns, so a cast = "json" field can use the schema builder's t.json() on every driver.

Upgrading: nothing breaks. An existing TEXT column for a JSON cast keeps working unchanged, and so do custom casts, since Cast's new methods have defaults. To move a Postgres column to JSONB, write a migration that alters it (ALTER TABLE … ALTER COLUMN … TYPE JSONB USING …::jsonb); nothing does it for you.

Changed

  • make:resource --generate makes a json field's column with t.json — JSONB on Postgres, TEXT elsewhere — instead of t.text, now that the JSON cast works with JSONB. Existing migrations are unchanged.

Fixed

  • The JSON cast works with Postgres JSONB columns. A cast = "json" field on a t.json() column (JSONB on Postgres) couldn't be written — "column is of type jsonb but expression is of type text" — or read: the Any driver rejects the whole row with "does not support the Postgres type Jsonb". On Postgres the cast now converts in SQL both ways, with CAST(CAST($n AS TEXT) AS JSON) when writing and CAST(col AS TEXT) when reading. That works for a TEXT column too, which keeps its JSON exactly as written.
    • Cast gains select and bind, with defaults, so a custom cast can do the same; existing casts compile unchanged.
    • Covered on Postgres 16, MySQL 8 and SQLite, against a mix of t.json and t.text columns: insert, find, update to NULL, get, paginate and first.

0.9.0 — 2026-10-05

The live queries release. A #[command(live)] is a command the frontend subscribes to. Elyra records the tables it reads, re-runs it when a write changes one, and pushes the new result to every window watching — written in that window, another one, or a background job. On the frontend it's one store, live.customers_index(query), typed by codegen. rata make:resource now generates live lists and detail views, so a customer added in one window shows up in the other without a reload. See the live queries guide and RFC 0002.

Upgrading: nothing breaks. Command::live() defaults to false, and the rest is new API. Resources generated with 0.8 keep their non-live views. To get live ones, regenerate the resource the way you made it (this overwrites its files):

  • made with --generate: rata make:resource <Model> --generate <the same fields> --force. The migration keeps its version.
  • built on your own model: rata make:resource <Model> --view --force.

Or mark <plural>_index / <plural>_show #[command(live)] and read them through live.* by hand.

Added

  • Change tracking on Database — step 1 of RFC 0002 (live queries).

    • db.changes().subscribe() receives the table of every model-layer write, once it's durable: the generated insert / update / delete, the bulk writes when a row changed, factories, and the pivot operations.
    • db.touch(key) reports raw SQL or any other key ("settings:theme").
    • Inside transaction, reports go out on commit, never on rollback.
    • elyra::db::live::track records the tables a future reads, including joins and relations; depends_on declares the rest. With a label, it refuses writes, which is what a live command's re-run will use.

    See docs/database.md.

  • Live commands — step 2 of RFC 0002. The frontend can subscribe to a #[command(live)] command, and Elyra re-runs it when what it read changes and pushes the new result to that window.

    • Subscribing: POST /__live/<command> (guarded like /__cmd/, including can) answers { id, value }. Updates arrive on elyra:live:<id>, and POST /__live-stop ends a subscription.
    • Re-runs: a write to a table the command read, or a ctx.invalidate(key) of a key it declared with ctx.depends_on, re-runs it through the middleware pipeline. Changes are coalesced over one frame (App::live_batch_window), and nothing is pushed when the result is unchanged.
    • Limits: a re-run that writes fails, and a window holds at most 64 subscriptions.
    • Also new: EventBus::emit_to, and TestApp::live / LiveHandle for testing it.
  • live.* on the frontend — step 3 of RFC 0002. Codegen emits a typed store per #[command(live)] (live.customers_index(query): LiveStore<Page<Customer>>), over live() in @elyra/runtime.

    • The store's value is Live<T>: { value, error, loading }. A failed re-run keeps the last value.
    • The subscription opens with the first listener and closes with the last. An answer that arrives after everyone has left is stopped rather than leaked.

    See docs/frontend-runtime.md.

  • make:resource generates live views — step 5 of RFC 0002.

    • Commands: <plural>_index and <plural>_show are #[command(live)].
    • Views: Index.svelte and Show.svelte read from live.*. A customer added, edited or deleted in another window shows up without a reload, and the list's manual reload bookkeeping is gone. The form still reads once, so it never overwrites what's being typed.
    • Tests: the generated tests check that the list and the record update after a write.
    • Smoke test: the browser harness's fake backend serves /__live, and checks that another window's write reaches the list and the detail view.
  • The live queries guide — step 6 of RFC 0002, which is now implemented. The example app's todo list is a live query: open a second window, add a todo in either, and both lists update.

Fixed

  • Regenerating a --generated resource without --generate broke it. make:resource <Model> --view --force (or --force alone) on a resource made with --generate rebuilt the Rust half from the struct. The new mod.rs stopped declaring the model, migration and seeder, and the field list's formats, unique and references were lost. It's now refused, with the command to use instead: the same --generate field list with --force.

0.8.0 — 2026-09-23

The resources release. rata make:resource writes the vertical slice a desktop app needs for each table — a searchable, paged list, a validated form and a detail view in Svelte, the ability-gated commands behind them, tests, and with --generate the model, migration, factory and seeder — typed end to end and using the framework's own safety rails. It stands on a new hash router in @elyra/runtime and a registry that keeps main.rs to a one-time edit. See the resources guide and RFC 0001.

Also: validation messages in the app's language, $t / $tc typed against the translation catalog, serde_json::Value through codegen, and single-instance fixed on Windows.

Upgrading: nothing breaks. rata new now scaffolds a router (Router.svelte, routes.js, pages/); existing projects keep their App.svelte and can adopt it from the frontend runtime docs. On Windows, single-instance uses new ports, so while updating, a 0.8 launch won't hand off to a 0.7 instance that is still running.

Added

  • rata make:resource <Model> — step 3 of RFC 0001. For an existing #[derive(Model)] it generates src/resources/<name>/: the five resource commands (<plural>_index with search, an allowlisted sort and a capped page; _show, _store, _update, _destroy, soft-deleting when the model does), each behind an ability; <Model>Input / <Model>Query; validation rules from the field types, on create and update, translated when the app has a Translator; Created / Updated / Deleted domain events; and TestApp tests for all of it. The model is read with syn; missing derives or dependencies stop it with the exact lines to add, before anything is written. --dry-run, --force, --no-abilities. See docs/cli.md.

  • rata make:resource <Model> --view — step 4 of RFC 0001: the Svelte screens for a resource in app/src/resources/<plural>/ — a list (debounced search, sortable headers, paging, delete behind confirm()), one form for create and edit (a control per field type, validation messages per field) and a detail view — plus routes and a nav entry through the frontend registry. Labels go through $t when the project has lang/en.json, and their English defaults are added to it as one key, leaving the rest of the file untouched. An existing Rust half is kept. See docs/cli.md.

  • rata make:resource <Model> --generate <fields> — step 5 of RFC 0001: the model (with timestamps and impl Factory), a reversible RustMigration and a seeder from a Rails-style field list (name:string email:email:unique 'phone:string?' active:bool=true team_id:references:Team), plus everything --view makes. references: adds belongs_to and an exists rule, and the seeder points rows at an existing parent. The generated tests run the real migrations, and cover unique (skipping the row itself on update) and exists. It refuses to shadow an existing model; --force regenerates one it made, keeping the migration's version. Checked by migrating, seeding and rolling back on SQLite, MySQL 8 and Postgres 16. See docs/cli.md.

  • Resource registries — step 2 of RFC 0001. A resource lives in src/resources/<name>/ and app/src/resources/<plural>/, and rata gathers them in two registries it owns and regenerates from the folder listing (src/resources/mod.rs: commands() / migrations() / abilities(); app/src/resources/index.js: routes / nav), so main.rs is wired once rather than per resource. rata prints the missing wiring and never edits main.rs, and refuses to overwrite a registry without its managed by rata marker. New rata resources:sync; rata new scaffolds the empty frontend registry, with routes.js and the nav reading it. See docs/cli.md.

  • The resource registry gains seeders(), run in migration order, so a parent is seeded before the resources that reference it.

  • The resources guide — from rata new to a working customer list with make:resource, and what each generated file is for. RFC 0001 is implemented.

  • scripts/smoke-resource.sh, run in CI on a fresh scaffold. It takes make:resource through the whole workflow:

    • the prerequisite refusal (nothing written);
    • --generate of a Team and a Customer referencing it, and the wiring hint;
    • the generated tests, clippy and fmt;
    • a migrate, seed and rollback on SQLite;
    • codegen and the frontend build;
    • the views in headless Chrome against a fake backend.

    A broken template now fails CI rather than a user. It runs locally too.

  • A router in @elyra/runtime — hash-based (#/customers/12): a route store, navigate (with replace), href, resolveRoute / matchRoute with specificity-based precedence (/customers/new beats /customers/:id; a * only wins when nothing exact matches), and deepLinkPath for elyra:deep-link URLs. Framework-agnostic; rata new now scaffolds Router.svelte, a routes.js table with lazy-loaded pages, and App.svelte as the layout. Step 1 of RFC 0001. See docs/frontend-runtime.md.

  • Page<M> is Serialize / Deserialize and — with the database feature — a specta::Type, so a command can return a paginated result directly and the frontend gets Promise<Page<User>> with a generic Page<M> in bindings.ts.

  • Query::or_where_like(&columns, pattern) — an OR group of LIKEs across several columns, ANDed with the rest of the query: a search box.

  • ? converts ValidationErrors and — with database — elyra::db::Error into elyra::Error, so an elyra::Result command can validate and query without map_err. The bag keeps its JSON, so the frontend still gets a ValidationError with per-field messages.

  • App::seeders(Vec<Box<dyn Seeder>>), for registering a list at once.

  • Table::nullable_foreign_id — a foreign key to an optional parent.

  • serde_json::Value in commands and models. specta's serde_json feature is on, and codegen renders the type as a declared JsonValue union. Before, it failed codegen: specta can only inline Value, it refuses to because Value is recursive, and the number policy never reached the i64 inside Number, which codegen now also coerces in any inline type.

  • Translated validation messages. Validator::translator(&t) renders each error from validation.<key> in the app's translation files (e.g. validation.min.string) and names fields from validation.attributes.<field> — by concrete path, then by wildcard pattern (items.*.name) — including :other in same / required_if. Untranslated keys fall back to the built-in English, which is byte-for-byte what it was (a 60-case golden diff against 0.7.0). validation::message_keys() lists all 59 keys; docs/validation.md has the full JSON skeleton.

  • Translator::has(key).

  • Typed translation keys. With an I18nProvider, rata codegen emits a Translations type — every key in the fallback locale with the parameters its :placeholders need — and t / tc / translate / choice narrowed to it, so $t("welcom") or $t("welcome") without { name } is a compile error. Checked against real generated bindings with tsc, in both directions. See docs/i18n.md.

  • Translator::codegen_keys() and codegen::generate_all (generate_with plus a translation catalog).

Fixed

  • Option<bool> model fields couldn't be read back. bool was mapped to an INTEGER 0/1 column, but Option<bool> went straight to the Any driver, which has no boolean type: find/get failed with "mismatched types … BIGINT". It now maps like bool, with NULL for None — covered on SQLite, MySQL and Postgres. Found by make:resource's generated tests.
  • Single-instance could silently fail on Windows. The primary instance listened on one loopback port derived from the app name, in the dynamic range where Hyper-V, WSL and Docker reserve blocks of ports (netsh int ipv4 show excludedportrange) that nothing can bind. An app whose name hashed into such a block never became primary on that machine — a second launch opened a second window. It now has eight candidate ports spread across the range, binds the first that's free, and a second launch tries them in the same order (the handshake tells it when a port belongs to someone else). The port is also derived with FNV-1a instead of DefaultHasher, whose output may change between Rust versions — so an update built with a newer toolchain can still find the instance already running. Found by a flaky CI test.

0.7.0 — 2026-09-23

The desktop-depth release: the rest of the Laravel gap, done the way a desktop app needs it. Commands take named middleware; the scheduler runs at clock times and survives the laptop sleeping through them; validation handles nested input, arrays and the database; and one set of translation files serves Rust and Svelte alike.

Upgrading: one change can affect existing code, under Changed below — an unknown validation rule now panics instead of being ignored (a misspelt "requried|email" used to accept every input), and the synchronous validate() panics on unique / exists instead of skipping them. Fix the rule name, or use validate_with(&db).await for database rules.

Added

  • Per-command middleware — #[command(middleware = ["auth", "audit"])], with App::middleware_alias(name, mw) and App::middleware_group(name, [..]). Laravel's middleware aliases and groups: named middleware runs only for the commands that ask for it, inside the global stack, in declared order; groups expand in place and a middleware reached twice runs once. An unknown name or a group cycle stops the app at startup, so a misspelt name never means a command runs without its middleware. See docs/middleware.md.
  • Clock-time scheduling — Scheduler::daily_at("09:00"), weekdays_at, weekly_on, monthly_on, hourly_at and five-field cron("*/15 9-17 * * mon-fri") expressions, in the system time zone. Built for a desktop: a machine that sleeps through a job's time runs it once on wake (clock jobs re-check the wall clock at least every 30 s rather than trusting one monotonic timer), DST gaps and folds are handled, and a job's runs never overlap. Time zones come from jiff (system tzdb; bundled on Windows). See docs/scheduler.md.
  • Validation: nested fields, arrays and 30 more rules. Fields may be paths (address.city, items.*.name, errors keyed items.1.name), with wildcard sibling references (required_if:items.*.kind,physical) and distinct across a wildcard. New rules: required_if / _with / _without, accepted, filled, array, uuid, ip, alpha / _num / _dash, digits, digits_between, between, gt / gte / lt / lte, not_in, starts_with, ends_with, regex (via regex-lite), date, before / after (+ _or_equal). unique / exists check the database through Validator::validate_with(&db).await, including unique:users,email,{id} for edit forms. Validator::rule_list takes rules as a list, for patterns with |. See docs/validation.md.
  • Translations (i18n) — lang/<locale>.json catalogs (nested or flat), embedded with I18nProvider::embedded::<Lang>(). In Rust, Translator::get / choice / set_locale; in Svelte, $t("welcome", { name }), $tc("files", n), $locale and setLocale, which re-render when the locale changes anywhere. Lookup runs nb-NO → nb → fallback, a missing key returns the key, placeholders follow :name / :Name / :NAME, and plurals use Laravel's {0} / [2,*] conditions and per-language rules (one form in Japanese, three in Russian and Polish) on both sides. The starting locale is the one the user last chose (saved in the Store), else the OS language (via sys-locale: $LANG is unset for a Dock-launched macOS app), else the fallback. See docs/i18n.md.
  • Store::at(path) and Store::fake() (in memory, never written) — so a test needn't write into the real app-data directory.

Changed

  • An unknown validation rule panics instead of being ignored, naming the rule and the field — "requried|email" used to pass every input. The synchronous validate() likewise panics on unique / exists rather than skipping them.

Fixed

  • 23 broken intra-doc links — public docs linking to private items (some from the 0.5.8 shell/ split), an ambiguous crate::error module/macro, and About <App> read as an HTML tag. cargo doc now runs with -D warnings in CI so new ones fail the build instead of piling up.

Testing

  • The durable-queue tests simulate real restarts. Two of them failed intermittently on the slower Linux and Windows runners after 0.6.0 (the pull request runs happened to pass): the "restart" never stopped the first app, so two instances worked one journal at once, and a delay test assumed startup took under 400 ms. Each launch now runs in its own tokio runtime that is shut down afterwards, and the delay test asserts the invariant rather than a deadline.

0.6.0 — 2026-09-22

The Laravel-depth release. The model layer gains the features that most often sent code back to raw SQL — many-to-many, casts, scopes, factories — the container binds traits and builds services from their dependencies, domain events connect one part of an app to another (and, with one call, to a typed frontend channel), the queue can survive a restart, and tests get Laravel's fakes.

Upgrading: two changes can affect existing code, both under Changed and Fixed below.

  • #[derive(Model)] now rejects #[model(..)] options it doesn't recognise (they used to be ignored silently), so a stray or misspelt option stops the build at that line.
  • Model::find / Model::all now respect #[model(soft_deletes)] and global scopes, like every other query. Code that relied on them returning trashed rows should use Model::query().with_trashed().

Added

  • belongs_to_many — many-to-many through a pivot table, with Laravel's naming defaults (role_user, user_id, role_id) and overrides (pivot, fk, related_fk, as). Generates roles(), roles_query() (a Query to keep narrowing, count or paginate), load_roles(), attach_roles(), detach_roles(), detach_all_roles(), sync_roles() and sync_roles_without_detaching(). sync runs in one transaction and returns the SyncChanges it made. Eager loading is one query — the pivot key is selected with the related columns — so the related model needn't be Clone. Also available on a field (with_<field> hydration). See docs/models.md.

  • Casts — #[model(cast = ..)]. "json" stores any serde type as JSON text (NULL ⇄ None), "text" any Display + FromStr type (enums), and a path names your own impl Cast<T>. A value that won't decode is an error naming the column.

  • Local scopes — Query::scope(f) for any fn(Query<M>) -> Query<M>, plus when(condition, f) and when_some(option, f) for optional filters.

  • Global scopes — #[model(global_scope = path)], repeatable. Applied to every read and bulk write for the model, including find, all and relation queries into it; Query::without_global_scopes() opts out explicitly.

  • Model factories — impl Factory for User { fn definition(n: u64) -> Self }, then User::factory().count(3).state(..).sequence(..).create(&db) / create_one / make / make_one. n is unique process-wide, so unique columns survive repeated builders. Factory is exported from elyra and the prelude.

  • Query::find(db, id), so Model::query().with_trashed().find(..) reaches a trashed row; Value converts from i16, f32, &String and Option<T>.

  • Trait-object bindings — bind_as::<dyn Mailer>(Arc::new(SmtpMailer)) on Container and App, resolved with ctx.get::<dyn Mailer>(). Laravel's bind(Interface::class, Impl::class); also what makes the substrate contracts bindable. get, try_get and TestApp::get accept trait objects.

  • Lazy singletons — bind_lazy(|ctx| ..), built on first resolution with a full Ctx, so a provider's register can bind a service that depends on another provider's binding. A dependency cycle panics with the chain of types rather than deadlocking. Plus Container::has / Ctx::has.

  • Domain events — Dispatcher. App::listen(|e: OrderShipped, ctx| ..) or ctx.get::<Dispatcher>().listen(..) from a provider, then ctx.dispatch(event).await. Listeners run in registration order; the first error stops the chain and is returned to the dispatcher. ctx.dispatch_background(event) fires and forgets, logging failures. See docs/events.md.

  • App::broadcast::<E>("channel") forwards a domain event to the frontend EventBus and declares the channel's type for codegen in one call — a typed path from ctx.dispatch(..) in Rust to channel(..) in Svelte.

  • Durable queues — QueueProvider::durable() (feature database). Jobs are kept in the app's database (elyra_jobs / elyra_failed_jobs, created on first use) until they succeed or finally fail — Laravel's database driver. Pending jobs, the waiting backlog, delays and retry backoff survive a restart and resume where they were; failed jobs are listed again on the next launch and can be retried. Delivery is at least once. See docs/queue.md.

  • Queue::push_confirmed(..).await — enqueue and return only once the job is durable (plain push still reports a full queue synchronously and writes the row a moment later). Queue::is_durable().

  • Test fakes — Queue::fake(), Storage::fake(), Dispatcher::fake(). Laravel's Queue::fake() / Storage::fake() / Event::fake(): record pushes, use a private temp disk, record events without running listeners — each with assert_* helpers whose failures say what did happen and point at the test line. See docs/testing.md.

  • App::swap / App::swap_as — replace a binding after every provider has registered (and after the framework's own bindings), so a fake wins over the production wiring without editing it. Laravel's $this->swap().

Changed

  • #[derive(Model)] rejects unknown options. It used to discard anything it didn't recognise — including parse errors — so a misspelt global_scope would have compiled into a model that silently leaked across tenants. Unknown keys, malformed relations and non-identifier table / column names are now compile errors.

    Upgrading: a build that carried a meaningless #[model(..)] option stops compiling at that line; remove or correct it.

  • Bulk update binds its SET values and constraints into one argument list, replacing a step that re-derived the WHERE bindings separately (a precondition for global scopes, which add constraints the old path didn't know about).

  • The container stores Arc<T> behind dyn Any (rather than T), which is what lets T be unsized. bind / get behave exactly as before.

  • A durable queue's recovered jobs are delivered once every provider has booted rather than in QueueProvider::boot, so handlers registered by a later provider receive them. A recovered job with no handler moves to the failed table instead of being dropped. In-memory queues behave as before.

Fixed

  • The rata new smoke test in CI failed to build the scaffolded frontend (failed to resolve import "@elyra/runtime"): --elyra links the runtime to the checkout's runtime/ as a file: dependency, whose entry point is the unbuilt dist/. CI now builds the runtime first, and rata new --elyra prints that step when dist/ is missing, since a fresh local clone hits the same wall.

  • find and all returned soft-deleted rows. Both issued raw SQL that bypassed the builder, so #[model(soft_deletes)] only applied to query(). They now go through the builder, which also makes them respect global scopes — otherwise the new scopes would have had the same hole. A belongs_to lookup, which calls find, no longer returns a trashed owner.

  • Aggregates dropped joins. count / sum / avg / min / max — and so paginate's total — cleared a query's joins, so any constraint on a joined column produced invalid SQL. Joins are kept now.

Testing

  • tests/eloquent.rs (12 tests) covers casts, local and global scopes on reads and bulk writes, pivots, factories and the soft-delete fix on SQLite; tests/model_servers.rs gains casts, a globally-scoped bulk UPDATE (the $n numbering across SET and WHERE on Postgres) and a pivot round trip on real MySQL 8 and Postgres 16.

0.5.8 — 2026-08-29

A security + structure release. The last all-or-nothing grant in the capability model is gone — individual commands can now be gated with #[command(can = "…")], so a script that reaches the page no longer reaches every command an app registers. Secrets are wiped from memory instead of being left in freed allocations, a 403 finally says which gate refused, and the 1 887-line shell.rs is split so the access-control decision is auditable on its own.

Upgrading: two changes need attention, both under Security below — Secrets::get returns a Secret instead of a String (feature secrets), and #[command] now rejects an attribute it previously ignored. See docs/security.md for the extended model.

Security

  • Per-command abilities — #[command(can = "…")]. Capability::Commands is one grant covering all of /__cmd/*, so a single XSS reached every command an app registered. A command can now declare an ability, which the app must grant explicitly:

    #[command(can = "posts.delete")]
    async fn delete_post(ctx: Ctx, id: i64) -> elyra::Result<()> { /* … */ }
    
    App::new().allow_ability("posts.delete");   // or .allow_abilities([..]) / "posts.*"
    

    Deny-by-default: without the grant the call answers 403 naming the missing ability. Commands without can = .. are unchanged, so this is opt-in per command. Rust-side dispatch (providers, queue jobs, TestApp) is never gated — the same split as Sidecar::spawn vs. frontend sidecar spawn. See docs/security.md.

  • #[command] validates its attribute. The attribute token stream used to be ignored outright, so #[command(anything)] compiled silently. Unknown options and malformed abilities are now compile errors.

  • ForbiddenError now reports which gate refused. A 403 always read as "missing or invalid IPC token", so an ungranted capability — and now an ungranted ability — sent you looking in the wrong place. The runtime reads the shell's explanation into the message and exposes it as error.detail.

  • Secrets::get returns a Secret, not a String (feature secrets). The value wipes its bytes on drop via zeroize instead of leaving the plaintext in a freed allocation, and its Debug renders Secret(***) so a stray log line can't leak it.

    Upgrading: Secret derefs to &str, so secrets.get(k)?.as_deref(), &*secret and secret.expose() all work; only code that bound the result as an owned String needs .to_string() (which escapes the wipe — prefer passing the &str). get_or_migrate_env changes the same way.

Added

  • elyra::prelude — App, Ctx, Container, Provider, Result, EventBus, the middleware types, command + commands!, and (behind database) Model/Query/Database, in one glob import.
  • rata make:middleware <name> — scaffolds a Middleware impl and prints the .middleware(..) wiring step, completing the make:* set.
  • ai is documented in the README feature table (the feature itself shipped in 0.4.0).

Changed

  • shell.rs split into a shell/ module. 1 887 lines that mixed protocol, routing, access control and the webview lifecycle are now guard (token, capabilities, rate limits, body limits, CORS, CSP), protocol (the wire shapes), router (dispatch), facades, update, assets and webview. Purely internal — shell is a private module, so no public API moved — but the access-control decision is now auditable on its own, with 8 new unit tests over guard::check that the old layout made awkward to write.

  • Frontend toolchain moved to the current major line. The rata new template and the example app now scaffold Vite 8, @sveltejs/vite-plugin-svelte 7 and Svelte 5.56 (from Vite 6 / plugin 5 / Svelte 5.20). The runtime package builds on TypeScript 7 and tests on Vitest 4.

    Upgrading: these raise the Node floor to ^20.19 || >=22.12, declared in both @elyra/runtime and generated apps. Existing projects keep working on their pinned versions; to move, bump the three devDependencies together — plugin-svelte 7 requires Vite 8 and Svelte >=5.46 as peers.

  • Dependency refresh across the workspace lockfile (tokio 1.53, thiserror 2.0.20, ureq 3.4, tray-icon 0.24.2 and friends). No API changes.

Testing

  • The frontend runtime went from 9 tests to 56. src/index.test.ts is split into invoke, channel, system and token suites over a shared test-support.ts, covering the command framing and header contract, every error kind (command/validation/panic/forbidden/unknown), the cancellable path, the event pump's reconnect, backoff and give-up-on-403 behaviour, the snake_case /__sys/* payloads, and the no-token document.
  • The IPC gate got its own unit tests. Eight cases over guard::check — a missing and a forged token, a granted route, an ungranted capability, an oversized body, and the four ability outcomes — plus six end-to-end ability tests through the real route() pipeline in tests/shell.rs.

0.5.7 — 2026-07-29

A hardening + Laravel-parity release. The IPC surface is now gated by a per-run token, an origin rule and a capability model; the event bus, the settings store, the cache and the queue got the durability they were missing; and the Laravel-shaped pieces that were absent — Log, Config, Secrets, TestApp, a schema builder, pagination/aggregates/joins/soft deletes/transactions — landed.

Upgrading: four behaviour changes need attention, all listed under Changed below (IPC token for hand-written frontends, opt-in capabilities for destructive routes, sidecar_allow for frontend spawn, and the new Asset shape). See docs/security.md for the new model.

Security

  • IPC token + origin-scoped CORS. Access-Control-Allow-Origin: * was sent on every response, including /__cmd/*, /__sidecar/*, /__sys/* and /__storage/* — any origin able to reach the protocol had full access to commands, the filesystem, the clipboard and process spawning. Production builds now send no CORS headers at all, rata dev gets CORS for the exact ELYRA_DEV_URL origin only, and every /__* request must carry this run's random IPC token (injected into the webview as globalThis.__ELYRA__.token, attached automatically by @elyra/runtime as x-elyra-token). Rejected requests get 403 and surface as ForbiddenError on the frontend.
  • Capabilities for the frontend. Each /__* route now maps to a security::Capability. The everyday ones are granted by default; StoreClear, CacheFlush, StorageDelete and UpdaterInstall are opt-in via App::allow_frontend(..), and deny_frontend(..) revokes any of them. The expensive ones are also rate-limited per window.
  • Sidecar spawn is deny-by-default. /__sidecar/spawn accepted any program + args from the frontend (arbitrary code execution from a single XSS). The frontend may now only spawn programs named via App::sidecar_allow(..); Rust-side Sidecar::spawn is unchanged.
  • shell.open is policy-gated. Only http/https/mailto (plus schemes added with App::allow_open_schemes(..)) are handed to the OS; file: URLs, relative/non-existent paths, and anything executable (.exe, .sh, .app, .desktop, …) are refused. App::deny_open_paths() blocks local paths too.
  • A strict CSP by default. security::DEFAULT_CSP is served with every HTML response unless overridden with App::csp(..) or disabled with App::csp_disabled().
  • Request bodies are bounded and depth-checked. 16 MiB by default (App::max_request_body), and MessagePack nested deeper than 64 levels is rejected before it reaches serde's recursive deserializer (a ~10 KB body could overflow the stack and abort the process).
  • Single-instance handshake is authenticated. The rendezvous moved from a loopback TCP port with a guessable magic string to a 0600 Unix socket (TCP on Windows) gated by a random per-install token, and forwarded deep links are now parsed and validated instead of prefix-matched.
  • Updater hardening. HTTPS is required for the manifest and the artifact (loopback excepted, allow_insecure to opt out), the download streams to disk with a max_artifact_bytes cap instead of buffering in memory, and a failed signature check leaves nothing staged.
  • Secrets. New secrets feature: Secrets stores tokens in the OS keychain (macOS Keychain, Windows Credential Manager, Linux Secret Service) instead of the clear-text settings file, with get_or_migrate_env to move off env vars.
  • New docs/security.md: the IPC surface, the three gating mechanisms, dangerous operations, and a release checklist.

Added

  • Log facade. Levels, targets, ISO-8601 timestamps, a rotating file sink (LogProvider::to_app_dir), ELYRA_LOG for runtime control, and log_path() for a "send us your log" button. Every command dispatch is traced with its duration; the framework's eprintln!s are gone.
  • Config layer. elyra.toml, config/*.toml, .env and process env merged into one dotted-key map with ${VAR} expansion, typed accessors and section(). Bound via ConfigProvider.
  • Test facilities. elyra::testing::TestApp invokes commands through the real middleware pipeline without a window (invoke, invoke_ok, invoke_err, invoke_validation_errors, events_on, assert_emitted), and TestShell drives the actual /__* routing for IPC-level tests.
  • Schema builder. elyra_db::Schema::create/table/drop/rename renders DDL per driver (SQLite/MySQL/Postgres), with RustMigration for migrations written in Rust and rata make:migration --rust to scaffold them.
  • Query-builder parity. where_like / where_null / where_not_null / where_between / or_where_eq, chained order_by, offset, join / left_join, count / sum / avg / min / max / exists, paginate (returning Page), chunk, bulk update / delete, soft deletes (#[model(soft_deletes)] + with_trashed / only_trashed / restore), and Database::transaction / begin.
  • Seeders. App::seeder(..) + ELYRA_SEED=1; Rust migrations run with ELYRA_MIGRATE=up|down.
  • Queue maturity. Retries with exponential backoff, per-job JobOptions (attempts / backoff / timeout), a failed-jobs list with retry_failed, push_later, typed dispatch / on_typed, bounded capacity with backpressure, and multiple workers (QueueProvider::with_workers).
  • Typed event channels + bigint codegen. App::event::<T>("channel") makes rata codegen emit an ElyraEvents map and a narrowed channel(); App::codegen_bigint() exports 64-bit integers as bigint.
  • Asset caching + ranges. Embedded assets are served borrowed (no per-request copy) with ETag, 304 handling, immutable caching for fingerprinted files and Range/206 support for media.
  • Cross-platform app menu. App::menu(..) now renders on Windows and Linux (per-window menu bar via muda), not just macOS.
  • Bundling beyond macOS. rata bundle builds a .deb (no dpkg needed) plus a portable .tar.gz on Linux and a portable folder on Windows, and the macOS Info.plist now registers CFBundleURLTypes from [bundle].deep_link.
  • @elyra/runtime is publishable. Built to dist/ with .d.ts, an exports map, files, 9 vitest tests, and a provenance publish workflow.
  • Pool tuning. DatabaseOptions (max connections, acquire timeout, idle / lifetime) and SQLite WAL + busy_timeout + foreign_keys by default.
  • CI. Rust matrix across macOS/Linux/Windows, an MSRV (1.80) job, cargo deny (advisories / licenses / bans / sources), a rata new build smoke test, and runtime typecheck + tests + build.

Fixed

  • Events reached only one window. The event bus kept a single shared queue, so with several windows whichever one polled first took the batch and the others silently lost the events. Each webview now identifies itself (x-elyra-client-id) and gets its own queue; an emit fans out to all of them. New: EventBus::next_batch_for, disconnect, client_count.
  • A panicking command hung the frontend forever. Non-cancellable commands were dispatched inline in the task owning the protocol responder, so a panic (or a missing container binding, which panics by design) dropped the responder without a reply and await invoke(..) never settled. Commands now always run on their own task; a panic becomes a 500 with x-elyra-error-kind: panic.
  • Structured errors were unusable. Error::Command prefixed every message with "command failed: ", so a ValidationErrors bag arrived as command failed: {"email":[…]} and could not be parsed — the documented validation flow was broken end to end. Messages are now verbatim, the response carries x-elyra-error-kind, and the runtime throws a typed ValidationError with a parsed errors bag.
  • rata new produced a project that couldn't build. The scaffold pinned elyra = "0.1" (against a 0.5.x API) and @elyra/runtime ^0.0.0; both now use the CLI's own version.
  • Store writes were neither atomic nor coalesced. settings.json is now written to a temp file and renamed (with a .bak fallback on read), and bursts of set() are debounced off the IPC thread instead of writing per call.
  • Cache was unbounded. Entry-count and byte budgets with LRU eviction (Cache::with_limits), and TTLs now use the wall clock as well as the monotonic one, so a deadline no longer freezes while the machine sleeps.
  • RateLimiter could overshoot its limit. attempt() was a check followed by a separate increment; it now uses one atomic Cache::increment_if_below.
  • where_in and joins. Qualified table.column identifiers are accepted (and validated) so joined columns can be filtered and ordered.

Fixed (post-tag)

  • The cross-platform app menu broke non-tray builds off macOS. ABOUT_MENU_ID and UserEvent::MenuClick were gated on any(target_os = "macos", feature = "tray"), but the new per-window menu references them unconditionally — so cargo build --features database failed to compile on Linux and Windows. Both are now unconditional. Caught by the new CI matrix and the rata new smoke test.
  • Internal crates now carry a version alongside their path, which cargo publish requires and cargo deny's wildcard check flagged.
  • SQLite URLs built from a filesystem path were broken on Windows. The obvious format!("sqlite://{}", path.display()) produces a drive colon and backslashes where the URL grammar expects an authority and forward slashes, so SQLite answered unable to open database file. New elyra_db::sqlite_url(path) (and sqlite_url_opts) build it portably; the model tests now use it. This affected any app deriving its database path at runtime, not just the tests.
  • Linux builds now need libxdo (the cross-platform app menu links muda); documented in the getting-started prerequisites.
  • rata new scaffolded a project that still couldn't build. Correcting the version strings wasn't enough: Elyra isn't published to crates.io or npm, so elyra = "0.5.7" and @elyra/runtime@^0.5.7 named packages that don't exist. The scaffold now depends on the matching tagged GitHub release — a git dependency for the crate, and the @elyra/runtime tarball attached to the release for the frontend (npm accepts a tarball URL but cannot install a git subdirectory).

Changed

  • Asset carries Cow<'static, [u8]> plus an etag (was Vec<u8> + mime only).
  • CacheProvider and QueueProvider are now constructed (CacheProvider::new() / ::with_limits(..), QueueProvider::new() / ::with_workers(..)) instead of being unit structs.
  • Queue::push returns bool (false when the queue is full) and the frontend's queue.push reports a full queue as an error instead of silently dropping.
  • Frontends that talk to the bridge without @elyra/runtime must now send x-elyra-token (and x-elyra-client-id for /__events); the token is exposed to page scripts as globalThis.__ELYRA__.token.
  • @elyra/runtime ships built output. The package now exports dist/ with .d.ts files instead of raw src/*.ts; bundlers other than Vite work as a result, and the version tracks the crate (0.5.7).
  • elyra and @elyra/runtime are both at 0.5.7; rata new pins the CLI's own version instead of a hard-coded one.
  • MSRV is now declared as 1.94 (was 1.80). The old value was never verified — the new CI job showed it can't build at all, since sqlx 0.9 requires 1.94 and several dependencies need edition2024 (Cargo 1.85+). Nothing regressed; the declaration was simply wrong.

0.5.6 — 2026-07-29

Added

  • Rate limiter. A cache-backed RateLimiter (Laravel-RateLimiter-style) — too_many_attempts / hit / attempts / remaining / clear / attempt, with self-expiring per-key counters. Get one via Cache::limiter().
  • Task scheduler. A Laravel-Schedule-style Scheduler for recurring background jobs — every / every_minutes / hourly / daily, async closures, bound via SchedulerProvider. Interval-based (from app start), in-process; registration works before or after start.
  • Artisan-style generators. rata make:command, make:provider, and make:model scaffold a source file under src/ (with normalized snake/Pascal names and pluralized model tables) and print the mod + registration wiring step. Existing files are never overwritten.
  • Validation. A Laravel-style validator (elyra::validation): check command input against a rule string ("required|email|min:18") and get a per-field ValidationErrors bag. Return it via ? from a command and the frontend reads the structured errors with validationErrors(err) from @elyra/runtime. Rules: required, nullable, string, integer, numeric, boolean, email, url, min, max, size, in, same, confirmed. Core, no deps.

0.5.5 — 2026-07-25

Fixed

  • The bundle updater rejected every update. 0.5.4 verified the downloaded bundle with codesign --verify --strict --quiet — but codesign has no --quiet flag, so it exited 2 with "unrecognized option" on every run and the updater concluded that no update was correctly signed. Auto-update was dead on arrival for bundled apps: safe (nothing was installed) but useless.

    The verification now lives in its own function, carries codesign's own reason into the error message, and is covered by a positive test: a correctly signed bundle must be accepted, both freshly signed and after the ditto round-trip the updater performs. Rejection tests alone could not catch this — a broken invocation rejects everything, which looks exactly like a working guard.

0.5.4 — 2026-07-25

Fixed

  • The auto-updater no longer breaks a signed macOS .app. Updater::apply_and_relaunch replaced only the running executable. Inside a code-signed bundle that is fatal: the signature seals Info.plist and every file under Contents/, so dropping a new binary in — and leaving the .old backup beside it — broke the seal, and macOS then refused to launch the app at all with "The application can't be opened." The app had to be reinstalled by hand.

    The updater now detects that it is running inside Foo.app/Contents/MacOS/ and switches to whole-bundle replacement: the artifact must be a zip of the signed .app, which is expanded with ditto (preserving extended attributes and the signature), verified with codesign --verify --strict, checked to carry the same CFBundleIdentifier, and only then swapped in with a rename inside the bundle's own directory — with the outgoing copy moved outside the bundle and a roll-back if the swap fails. Relaunch goes through open so LaunchServices re-registers the new bundle.

    A bare-binary artifact offered to a bundled app is now refused with an explanation instead of applied. Loose (unbundled) executables keep the previous in-place swap.

    Releasing note: apps distributed as a signed .app must publish a zip of the bundle as the update artifact. A release that keeps publishing the bare executable will now be rejected by the client rather than installed.

0.5.3 — 2026-07-24

Added

  • rata bundle app icon. The macOS bundle now generates the native dock/Finder icon: it renders the source image to Contents/Resources/AppIcon.icns (sips + iconutil; SVGs rasterized at 1024 via qlmanage, sips fallback) and sets CFBundleIconFile. Configure with [bundle].icon, or it auto-detects app/public/icon.svg (shipped by rata new), icon.png, etc. Best-effort — the bundle still builds without it.

0.5.2 — 2026-07-22

Added

  • Command cancellation. invokeCancellable(command, ...args) in @elyra/runtime returns { id, result, cancel }; cancel() aborts the in-flight command on the Rust side (via a request-id header + a /__cancel route that aborts the command's task). Progress is done with the event bus (documented pattern) — no new API needed.
  • AI rate limiting + token budget. AiBuilder::rate_limit(per_minute) throttles every provider call (waits, doesn't error); token_budget(max) refuses new prompts once cumulative tokens hit the cap (Error::Budget); Ai::tokens_used() reports the running total.
  • Opt-in CSP. App::csp(policy) sets a Content-Security-Policy header on HTML responses served over elyra:// (off by default — a too-strict policy can break the webview).

Changed

  • Locks no longer poison. Switched internal std::sync::Mutex to parking_lot::Mutex across the cache, event bus, sidecar, store, queue, windows, and the AI client — a panic while holding a lock can no longer cascade into a poisoned-lock crash.

Fixed

  • Sidecar CPU spin. If every command sender dropped while a child was still running, the owning task's select! busy-looped on a closed channel at 100% CPU. The command arm is now disabled once the channel closes; the task only waits on the child to exit.
  • Unbounded EventBus growth. Emitted events buffered without limit when the frontend was gone/reloading/slow. The queue is now capped (MAX_QUEUED); when full the oldest half is dropped so a reconnecting frontend still gets recent state.
  • Cache TTL leak. Expired entries were only reclaimed when the same key was read again. CacheProvider now starts a background sweeper (Cache::sweep) that drops expired entries periodically; it holds a Weak ref and stops when the cache is dropped.
  • Predictable updater temp files. Downloaded updates were written to a static path in the temp dir. They now use an unpredictable filename, refuse to open a pre-existing path (O_EXCL), and are created 0600 on Unix — mitigating symlink attacks and collisions on shared machines.

Changed

  • Migrations run in a transaction. Each migration (and its history row) now commits atomically where the driver supports transactional DDL (SQLite, Postgres); a mid-file failure rolls back cleanly. MySQL auto-commits DDL, so partial state there remains possible — documented.

0.5.1 — 2026-07-17

Added

  • substrate-core crate. A tiny, dependency-free crate defining the shared, backend-agnostic Cache / Storage / Queue contracts behind the "one ecosystem" facades — the same traits the Askr/Laravel side can implement. Elyra's Cache, Storage, and Queue now implement them (re-exported as elyra::substrate); conformance is verified in tests/substrate.rs. Cache is byte-internal, so substrate get/put round-trip losslessly.

Changed

  • Cache stores values as bytes internally (the JSON/typed API is unchanged sugar on top). No behavior change for existing callers.

0.5.0 — 2026-07-17

Added

  • Queue facade. An in-process background job queue with the same surface as Laravel's Queue:: — push a named job, register an async handler with on. Jobs run in order on a background task; status is emitted on elyra:queue (onQueue). Bind with QueueProvider; push from Rust (ctx.get::<Queue>()) or the frontend (queue in @elyra/runtime). In-process / non-durable by design (durable, cross-process queues are Askr's domain).
  • Storage facade. A filesystem disk with the same surface as Laravel's Storage:: — put / get / append / exists / delete / size / files / url, every path jailed to the disk root. Bind with StorageProvider::at(root); use from Rust (ctx.get::<Storage>()) or the frontend (storage in @elyra/runtime).
  • Cache facade. An ergonomic in-process, TTL-aware key-value cache with the same surface as Laravel's Cache:: (and Askr's shared cache) — get / put / add / remember / increment / forget / flush, typed helpers, arbitrary JSON values. Bind with CacheProvider; use from Rust (ctx.get::<Cache>()) or the frontend (cache in @elyra/runtime). First of the shared "one ecosystem" facades that mirror the Askr/Laravel side over a local backend.

0.4.0 — 2026-07-15

Added

  • AI reliability (ai). Automatic retries with exponential backoff on transient failures / retryable statuses (AiBuilder::retries / retry_backoff), provider failover (Chat::failover([...])), and in-memory response caching for plain prompts (AiBuilder::cache / cache_ttl, clear_cache).
  • AI provider tools (ai). Native, server-executed web search and web fetch (web_search / web_fetch on Chat, WebSearch / WebFetch / UserLocation). Anthropic-native; OpenAI returns Unsupported (Responses API not used yet).
  • AI audio (ai). Text-to-speech (ai.speech(...).generate() → GeneratedAudio) and transcription (ai.transcribe(bytes, name).generate()), over OpenAI (gpt-4o-mini-tts / whisper-1 defaults).

0.3.1 — 2026-07-14

Added

  • AI SDK (ai feature). A new Laravel-inspired elyra-ai crate, re-exported as elyra::ai: anonymous + named agents (Agent), tools with an automatic tool-use loop (Tool), sub-agents (an Agent used as a tool via sub_agent / AgentTool), structured output (prompt_as::<T> via serde + schemars), streaming (stream → StreamChunk, ideal for the event bus), images, embeddings, and an in-memory vector store for RAG (VectorStore + cosine_similarity) over Anthropic + OpenAI. AiProvider binds an env-configured Ai client into the container. Default text model claude-sonnet-5; images gpt-image-1.
  • Single-instance (App::single_instance). Later launches focus the running window and forward their command line on elyra:second-instance (onSecondInstance), then exit. Portable loopback rendezvous with a per-app handshake.
  • Deep-linking (App::deep_link("myapp")). Launch URL via deepLink.initial(), later URLs on elyra:deep-link (onDeepLink) — macOS open-URL event + Windows/Linux scheme registration; pairs with single-instance for while-running delivery.

0.3.0 — 2026-07-14

Added

  • Sidecar processes (sidecar feature). Spawn and manage child processes via sidecar in @elyra/runtime (spawn / write / kill) or the elyra::sidecar::Sidecar handle; stdout/stderr lines and exit stream on the elyra:sidecar channel (onSidecar). No extra crate — uses tokio.

  • Autostart (autostart feature). Launch the app at login via autostart in @elyra/runtime (enable / disable / isEnabled) or the elyra::autostart module. Backed by auto-launch (LaunchAgents / registry / .desktop).

  • Settings store. A persistent key-value store (store in @elyra/runtime, Store in the container) backed by settings.json in the OS config dir — get / set / delete / all / clear, arbitrary JSON values. Core, no feature flag.

  • Native application menu. App::menu(Menu::new().submenu(Submenu::new("File")…)) adds custom submenus (with accelerators) after the standard app + Edit menus; clicks emit elyra:menu (subscribe with onMenu). Rendered on macOS.

  • Global shortcuts (shortcuts feature). App::global_shortcut("CmdOrCtrl+Shift+P") registers OS-level keyboard shortcuts; firing one emits the elyra:shortcut event (subscribe with onShortcut). Backed by global-hotkey.

  • Window-state persistence. App::persist_window_state() remembers the primary window's size, position, and maximized state between runs (stored under the OS config directory, keyed by the About name). Dependency-free.

  • Window control + file drop. @elyra/runtime exports appWindow (minimize / maximize / fullscreen / close / focus / show / hide / center / setTitle / setSize) with live state via appWindow.onState, and onFileDrop for native file drops. Backed by new Windows methods on the Rust side (usable from commands, with an optional target-window label). Core — no feature flag.

  • UI components in @elyra/runtime. Themed, dependency-free primitives: alert / confirm / prompt dialogs, toast() notifications, a ⌘K command palette (registerCommands / openCommandPalette), and contextMenu(). They read the app's CSS variables, matching the About / update components.

  • System integration (system feature). Native desktop essentials exposed through @elyra/runtime: file dialogs (dialog.open / dialog.save), opening URLs/files in the OS (shell.openExternal), the clipboard (clipboard.readText / writeText), OS notifications (notify), and standard paths (paths). Backed by rfd, open, arboard, notify-rust, and dirs; also usable from Rust via the elyra::system module.

0.2.0 — 2026-07-13

Added

  • Models — relation auto-hydration. Declare a relation on a field (#[model(has_many(Book, fk = "author_id"))] books: Vec<Book>) and the derive skips it as a column, defaults it to empty, and generates a with_<field> batch hydrator that fills it in one query — no more joining a HashMap by hand. Works for has_many (Vec<T>), has_one / belongs_to (Option<T>; belongs_to targets must be Clone).

  • Models — non-i64 primary keys. A single-column primary key may now be any type (e.g. String), marked with #[model(id)]. The value is app-supplied and included in the INSERT (no key read-back), and find takes that key type. The default i64 autoincrement behaviour is unchanged. Composite keys remain unsupported.

  • Models — column-aware belongs_to. The owning row is looked up against the related model's actual primary-key column (<T>::PK) instead of a hardcoded id, and the child's foreign key is read by column name — so belongs_to works even when the owner's PK column is renamed via #[model(column = "..")].

  • Codegen: serde container attributes are now reflected in the generated TypeScript via specta-serde — rename / rename_all, tagged and untagged enums (as discriminated unions), flatten (as intersections), and skip. Elyra's numeric policy (64-bit ints and floats render as number) is applied on top.

  • Database tests: model CRUD now runs against real MySQL and Postgres servers in CI (model_servers.rs), exercising per-driver placeholders (? vs $n) and key retrieval (last_insert_id vs RETURNING). The tests are opt-in via ELYRA_TEST_MYSQL_URL / ELYRA_TEST_POSTGRES_URL and skip cleanly when unset.

Changed

  • Updater: UpdaterConfig::auto_check now defaults to false. The silent startup check (and its toast) is opt-in via .auto_check(true), so apps no longer notify about updates on launch unless they ask to.
  • Dependencies: updated to their latest releases — sqlx 0.9 (dynamic SQL is now wrapped in AssertSqlSafe), ureq 3, ed25519-dalek 3, tray-icon 0.24 + muda 0.19, and a cargo update across the tree. No public API changes.
  • Tooling: CI typechecks the runtime with TypeScript 7 and runs on Node 24; @msgpack/msgpack bumped to ^3.1.3.
  • Docs: clarified that code signing, Apple ID / Developer ID, notarization, and binary distribution are the application's responsibility — not the framework's. Removed them from the roadmap and added an explicit "Out of scope" section.

0.1.0 — 2026-07-13

First public release. Everything below is compiled, clippy-clean, and tested (SQLite for the database layer; GUI/OS integrations are launch-smoked, with visual or side-effecting steps called out as unverified in the docs).

Added

Core

  • App builder — fluent assembly of a desktop app: window options, container bindings, providers, middleware, commands, and assets.
  • Container + Ctx — a type-keyed service container resolvable from any command, provider, or background task (ctx.get::<T>()).
  • Providers — two-phase register / boot wiring, like Laravel service providers.
  • Middleware pipeline — outermost-first command middleware around dispatch.

IPC bridge

  • elyra://localhost custom protocol — the whole app lives under one origin: assets, commands (/__cmd/*), and the event stream (/__events).
  • MessagePack wire format — compact argument arrays in, named maps out (structs decode to JS objects); no JSON in the hot path.
  • #[command] async fn — typed commands dispatched on a multi-thread tokio runtime; the UI thread never blocks. Result commands surface Err as a rejected promise (CommandError).

Events

  • EventBus + channel() — Rust→frontend push over a multiplexed long-poll, batched per flush; a Svelte-readable store on the frontend.

Windows, tray, updater

  • Multi-window — additional windows at startup or at runtime via the container-bound Windows handle.
  • System tray (tray feature) — icon + menu; clicks arrive on the tray event channel.
  • Auto-updater (updater feature) — ed25519-verified update manifest, semver comparison, HTTP fetch, and signature-checked staged download.
  • macOS application menu — an Edit menu (so ⌘C/⌘V/⌘X reach the webview) and a custom About item.

Data (database feature)

  • Database — one handle over SQLite / MySQL / Postgres via sqlx's Any driver, with per-driver placeholder rendering.
  • Migrations — rata migrate with batches, reversible down, and status.
  • #[derive(Model)] — Active Record with CRUD, a typed query builder (where_*, where_in, order_by, limit, get/first), bool↔INTEGER mapping, #[model(column)], #[model(timestamps)], relations (has_many / has_one / belongs_to), and N+1-avoiding eager loading (load_<name>).

Codegen & runtime

  • rata codegen — specta types → TypeScript definitions and a typed api.* facade that mirrors every #[command].
  • @elyra/runtime — invoke(), channel(), and the generated api.*.

Tooling

  • Ratatosk (rata) — new (scaffold with the Grove theme), dev (Vite HMR + elyra:// IPC), codegen, build, bundle (macOS .app + ad-hoc signing), and migrate.

UI components

  • About dialog — set metadata once with App::about(AboutInfo::new(..)); the shell serves it at /__about and @elyra/runtime renders a themed dialog. On macOS the standard About <App> menu item opens it; from the frontend, call openAbout().
  • Update component — App::updater(UpdaterConfig::new(..)) adds a silent startup check, /__update/check + /__update/install endpoints, progress on the elyra:update channel, and a themed update toast in @elyra/runtime (available → install → download → restart). Updater::apply_and_relaunch replaces the running binary and re-execs.