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 (orwindow's capture phase) that callsevent.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:resourceget{plural}_update_manyand{plural}_destroy_many(and withsoft_deletes,{plural}_restore_manyand the index'strashed); a Laravel backend answers them with the package'selyraUpdateMany,elyraDestroyManyandelyraRestoreMany, as rata prints.
Added
-
A related record in a cell (
@elyra/ui,rata make:resource, RFC 0082). A column'sref(search,find, optionalfindMany,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"(andcreate: "ref") picks one in aComboboxoversearch. 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:resourcewritesreffor a parent with a resource, so its lists show names, andedit: "ref"with--inline. -
A filter by a related record (
@elyra/ui,rata make:resource, RFC 0083). Arefcolumn'sfilter: "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'sfilter_optionsand Laravel'selyraList'options'take it unchanged.make:resourcefilters 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'sonsetmany(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'sfailedkeys are taken back and marked, and the undo is a call for each value before.make:resourcewrites{plural}_update_many(ids, patch): a{Model}Patchof the plain fields (an optional one'snullempties it), each row validated as its update would be, the ones that pass in oneUPDATE, 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'skeys), then the window's, each written as the platform does (⇧⌘Z, Ctrl+Shift+Z), with a filter. ATableregisters the keys that apply to it, andCombobox,DatePicker,TreeView,TabsandSplitPanetheirs.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 (PATCHwith{ ids, values }, RFC 0084): only the given fields and the allowed columns, validated with their rules (a unique one refused for many), each row'supdatepolicy through the query, the rows that pass saved in one transaction (orquietly, oneupdate()), answered{ updated, failed }.make:resource --backendprints the controller method. -
Many rows deleted (
@elyra/ui,rata make:resource, the Laravel package, RFC 0087). A table'sondeletemany(ids)gives the selection bar Delete: asked once with the count (andsoftDeletes' "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, thefailedstay selected and are said.make:resourcewrites{plural}_destroy_many(ids)(each found, one statement, soft withsoft_deletes), over a backendDELETE /api/{plural}with{ ids }, and the package's->elyraDestroyMany($request)answers it with each row'sdeletepolicy in one transaction. -
The trash (
@elyra/ui,rata make:resource, the Laravel package, RFC 0088). A table'strash(oronrestoremany) 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). Withonrestoremany, a delete is a step for ⌘Z and ⇧⌘Z. For asoft_deletesmodel,make:resourcewrites the index'strashedand{plural}_restore_many; over a backend,elyraList's'trashed' => trueand the package's->elyraRestoreMany($request), with each row'srestorepolicy.
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 addsgroups: None, or usesPage::new(…). APagein JSON has"groups": nullwhen the list isn't grouped. - A Laravel app that wants saved views on the server calls
ElyraBackend::views()(for the package'selyra_viewstable, thenphp artisan migrate) andRoute::elyraViews()insideauth: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); aboveeveryLimitrows (10,000) the user confirms first.allRows()andcsvAll()give the rows and the CSV to an app's own export;csv()stays the page's. The listsmake:resourcewrites passevery, 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 withpersist.groupablegives a header's menu Group by and Don't group, inquery.group, which a saved view keeps. A paged list sendsgroup:Query::paginate_groupedandelyraList'sgroupsorder by it first and answer each group's whole in the page'sgroups, so a group the page cuts still says its count and totals. The listsmake:resourcewrites group by the columns they filter by. The CSV stays the rows. -
Pinned columns (
@elyra/ui,rata make:resource, RFC 0075). A column'spin: truekeeps 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). Withchoosable, the user pins and unpins from the Columns menu (a pin beside each column, Alt+←/→) and a header's menu, kept withpersistand in a saved view's columns. The pins take at most half the visible width; on paper nothing is sticky. The listsmake:resourcewrites pin their first column, the record's link. -
Views on the server, and shared (
elyra,@elyra/runtime,@elyra/ui, the Laravel package, RFC 0076). WithBackend::views()and the package'sRoute::elyraViews()(andElyraBackend::views()for itselyra_viewstable), 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 abilityelyra.views.shareshares 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.viewsin the runtime (list,save,update,remove,onChange) and the shell's/__views/*(theStorecapability) are what aTableuses; without a server, the settings store as before.Dropdownhasonopen. -
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 withevery("Selecting rows… 100 of 340", Cancel, Esc, asked first aboveeveryLimit).selectedandbulk(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()andselectedRows()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'sedit("text","number","date","boolean"or{ options }) and the table'sonedit(row, key, value)let the user change a cell where it is. The table is then agrid: 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 aValidationErrorfor the field opens the editor again with its message.editable(row)says per row.rata make:resource --inlinewrites 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 newoneditrow(row, values)writes a row's changes in one call (oneditis 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 --inlinewritesoneditrow. -
A value for the selected rows (
@elyra/ui, RFC 0080). In a table that's edited and hasselect, 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). Withoncreate(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'screateis its editor in the new row only. It starts from a one-value options filter, the group the focus was in and the app'snewRow. A row made over a live page stays at the end, marked Added, until the page changes; aValidationErrorkeeps 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). Withondelete(row), ⌘Z removes rows just made.creatable,newRow,newLabel.make:resource --inlinetypes the first column in the new row and writesoncreateandondeletethrough{plural}_storeand{plural}_destroy.
Changed
Page<T>hasgroups(Option<BTreeMap<String, Group>>, RFC 0074),nullin the JSON when the list isn't grouped. Code that builds aPage { … }by hand addsgroups: None, or usesPage::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 addstotals: None, or usesPage::new(data, total, per_page, current_page, last_page); andPageisPartialEq, no longerEq. APagein JSON has"totals": nullwhen 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 --backendprints the call that matches a resource. - A query with nested values (
.query(&json!({ "filters": { … } }))) goes asfilters[status][]=opennow, where it used to be refused.
Added
- Lists over Laravel (
elyra, the Laravel package,rata make:resource --backend, RFC 0071).Backend::query(andHttp'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 andper_page, each through the options' allowlist, andtotalsover every matching row, besidedata.Page<T>reads them (page.totals), and aTable's foot shows them as the list's.make:resource --backendwrites a typed{Model}Filtersinto its list's query.RangeandDatesareelyra::filter's now (elyra::db::filterkeeps them), so a backend-only app has them. - Targets (
@elyra/charts, RFC 0072).targets={{ label, data, tone?, lower? }}onLineChart,AreaChart,ColumnChartandBarChart: 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";lowerfor 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,.textand.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>hastotals(Option<BTreeMap<String, f64>>, RFC 0071),nullin its JSON when there are none. Code that builds aPage { … }by hand addstotals: None, or usesPage::new(data, total, per_page, current_page, last_page).PageisPartialEqand no longerEq.
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: trueisn't shown. It was ignored before; withchoosablethe user can show it. - Lists made by
make:resourcebefore 0.63 have no filters, column menu or views: a new one has them, and an old one takes them by adding{Model}Filtersto its index command andfilter,choosable,viewsandbind:viewto itsTable, as a new one is written. @elyra/charts0.63 needs@elyra/ui0.63:rata upgrademoves the three packages together.
Added
- Marks (
@elyra/charts, RFC 0065).marksonLineChart,AreaChart,ColumnChart,BarChartandScatterChart:{ 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 alabeland atonefrom 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).Tablehas 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'slabeland the date. Numbers go plain, in the locale's decimal sign, so a spreadsheet sums them; arowstable gives every row as searched and sorted, a livepagethe page that's loaded.csv(),copy(rows?)andsave()for an app's own buttons;exportable={false}turns it off. In English and Norwegian. - Totals (
@elyra/ui, RFC 0067). A column'stotal("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'stotalsfrom the server, else its own, said as "This page"; and a line for the selected rows. Printed once, after the last row; in aReport, with a split table's last part; the last line of Copy table and the CSV. The invoice in theReportdocs has its total there now. - Columns the user picks (
@elyra/ui, RFC 0068).choosableonTable: 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'shiddenstarts it hidden,requiredkeeps it shown.persistkeeps 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; aReporthas the app's.make:resource --viewmakes its listschoosable. In English and Norwegian. - Filters (
@elyra/ui,elyra::db,rata make:resource, RFC 0069). A column'sfilter("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 inquery.filters, from the first page: arowstable filters itself, a live page's command gets them; the totals and the export are of what's filtered.elyra::db::filterhasRangeandDates, andQueryhasfilter_text,filter_options,filter_range,filter_datesandwhere_contains(contains, ignoring case,%and_as themselves, on SQLite, MySQL and Postgres).make:resourcewrites a typed{Model}Filtersinto the index command, a filter per field by its type, and the list's columns to match. - Saved views (
@elyra/ui, RFC 0070).viewsonTable(the app's,{ name, filters, search, sort, direction, columns }) and, withpersist, 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:viewis the view's name, so a route can open a list in one.make:resource --viewgives 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/charts0.63 needs@elyra/ui0.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
Reportin it: the report's paper takes the light tokens fromtokens.css(.elyra-paper), whatever the window is. Add.elyra-paperto 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"onLineChart,AreaChart,ColumnChart,BarChartandScatterChart: 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).brushselects by a rectangle over a scatter (a lasso with Shift) or a span along the axis, andbind:selectionis 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'sheaderandfooter, 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()andpdf()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, throughprint(): 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 printin 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-waland a-shmfile appear beside it. A backup that copies the.dbfile alone copies it while the app is closed, or uses SQLite's own backup.
Added
- Zoom on a long series (
@elyra/charts, RFC 0061).zoomonLineChart,AreaChart,ColumnChart,BarChartandScatterChartgives the wheel, a pinch, a drag and a slider in the tokens' colours.bind:rangeis the window as the axis's own values (["2026-03-01", "2026-03-31"], ornullfor all of it), for the app to read and set;persistkeeps 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,SplineTimeChartandLineBoostChart(zoomable already) get the same, and so doesChartwhen its own option has adataZoom. - Printing (RFC 0062).
print()in@elyra/runtimeopens the system's print dialog for the window on macOS (wherewindow.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"anddata-print="only"say what paper leaves out and adds, and@elyra/uiprints its content without the app's chrome:Tablewith its head on each page and without its controls,CardandStatwhole, aModalwithout its backdrop; charts redraw in the light colours at once.SystemItem::Print("Print…", ⌘P / Ctrl+P) asks the window in front, whoseonPrintsays 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: forfiles.save, an attachment or the backend. AnNSPrintOperationsaving to a file on macOS, WebView2'sPrintToPdfon 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 ifrata migratehad 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
contextmenuon a chart, or didn't want it to leave the app, passesexportable={false}. contextMenutakes 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 ownfetch) setsglobalThis.__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/chartshas 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()andcsv()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/runtimestarted its/__eventslong-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,
Escand 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 astyle="…"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) needecharts-glinstalled beside@elyra/charts, which declares it as an optional peer. PieChart'slabelsas 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.datanow.
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,AudioChartand the rest (every chart). Their options are WireCharts'Option.phpbuilders 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/glwithecharts-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 docsincharts/, drawn from WireCharts' docs examples, with each one's code, in dark or light, English or Norwegian. PieCharttakes 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
I18nProviderand a catalog in Norwegian now shows@elyra/ui's words in Norwegian: the date pickers, the drawers, the status bar,Table,Selectand the rest. An app's ownelyra.*keys, and each component'slabels, win over them. DatePickerandDateRangePickerwithoutlocalewrite 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'slabel,Pagination'spreviousLabel,Empty'stitle,Select'splaceholder, …) now default to nothing, and the component says the word from the catalog. Passing one works as before. rata codegentypes theelyra.*keys inTranslationstoo.- The menus, About,
confirmand the assistant are in Norwegian too in such an app; in English they're as before. rata check --strictfails onframework-words-untranslated, a language other than English and Norwegian without the framework's words.- A debug build tells the page the
elyracrate's version (__ELYRA__.version), and@elyra/runtimewarns in the console when it's another release;rata checknow errors on the same (elyra-versions-differ), sorata upgradethe app if it does. - A release now has three tarballs:
elyra-charts-<version>.tgztoo, for an app that adds@elyra/charts.
Added
@elyra/charts(RFC 0058), a third package and tarball:LineChart,AreaChart,ColumnChart,BarChart,PieChartandScatterCharton ECharts, each importing only its own part, andChartfor any option. WireCharts' data (series,categories), the design tokens in every theme,livewith its states, a summary and a hidden data table for the screen reader and the assistant, ←/→ and Enter, andelyra.charts.*words.elyra::charts::ChartDatafor 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 checkwarns 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
elyracrate's version, and@elyra/runtime(now withVERSION) warns in the console when it's another, with therata upgradethat fixes it. - The framework's own words, in the app's language
(RFC 0056). Every word
@elyra/uishows has a key,elyra.<component>.<word>, inframework/lang/en.jsonandnb.json.Translatorkeeps 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.labelson every component with words;frameworkWords,phraseandwordin@elyra/runtime;Translator::untranslated_framework_words(locale). rata upgrade(RFC 0057): the app moved to a release everywhere it names one, theelyracrates' tags, the@elyra/runtimeand@elyra/uitarballs and the Laravel package's clone, then the locks refreshed and the Upgrading notes of every release in between printed.--dry-runshows it first.rata check'selyra-versions-differ: the Rust side,@elyra/runtimeand@elyra/uiat different releases is an error, the Laravel package at another a warning. The check shape haselyra, the contractversion.Elyra\Backend\ElyraBackend::VERSION, inelyra:contractandphp 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:
Capabilityhas a new variant,Menu: an exhaustivematchonCapabilityneeds 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 bundleon macOS also writes<Name>_<version>_<arch>.dmgnext to the.app: a release script that takes everything intarget/release/bundle/gets it too.
Added
-
Menus that change (RFC 0055). Check items (
Submenu::check(id, label, checked)), items configured withItem::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/runtimeandAppMenu::setin Rust change an item on every window's menu bar;menu.state(id)/AppMenu::stateread 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 bundlemakes a.dmgon macOS:<Name>_<version>_<arch>.dmg, the.app(copied withditto, its signature intact) and a link to Applications to drag it onto, compressed withhdiutil. 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 ameterhow full, turning warning and danger pastlowandhigh) andBreadcrumbs(where this page is, through the router, the middle of a long trail folded). Each on its page in the reference. -
DateRangePickerin@elyra/ui:bind:startandbind: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 inminandmax. On DatePicker's page in the reference.
Changed
Capabilityhas a new variant,Menu(/__menu/*, granted by default; a read-only window may read, not change): an exhaustivematchonCapabilityneeds 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::Answerhas a second field,citations: a pattern or a literal naming its fields needs it, or...Prepared::callrefuses what the page's call would:Capability::Commandsturned 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 twoi64columns is an error; it used to write0for the ids. - A
[[bundle.documents]]iconthat 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/uishowed 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'shttp(s), and opens in the browser. Theanswerevent carriescitations, each withurl,titleandstart/endin UTF-16, as the page's strings count. Through a Laravel backend the server allows it withELYRA_ASSISTANT_WEB_SEARCH=true.
Changed
AssistantEvent::Answerhas 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'ti64(ani32, a cast) wrote its rows with0for 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=betweenJSONBorTEXTandJSON. A JSON cast is compared asJSONBthere, and asJSONon MySQL (where the text would never equal the stored value). NewCast::samelets 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]]iconthat isn't a file was ignored, and the type bundled with the generic icon. It's an error now, fromrata bundleandrata checkalike. -
A map keyed by integers inside an enum variant, as a command argument (RFC 0050):
{"SetQty": {"3": 2}}forenum 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 sinceLineIdis abigint. It's keyed bystring, as a barei64key is. -
Prepared::callis 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). NewPrepared::call_jsonreads 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 = falseadds"gui"to its features: the window is a default feature now. - A test that built
TestShellrequests withwry::httpuseselyra::testing::http(or keepswryas its own dependency).
Added
- The
guifeature (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,elyrabuilds 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 andTestShellstay;tray,systemandshortcutsturnguion.App::runwithout 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.rsis one.elyra::testing::http: thehttpcrate'sRequestandResponsethatTestShell::handletakes, so a test needs nowryto 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 = falsenow leaves out the window. The crate had no default features; nowguiis 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 (whenshell.open's policy allows its scheme).window.opennever makes a webview. FileChoicehas a fourth variant,Document: an exhaustivematchneeds the arm.- macOS: a file opened with the app no longer arrives on
elyra:deep-link: declare its type and take it fromdocuments. - Ctrl-C and
SIGTERMnow run the exit hooks before the process ends (exit code 128 + the signal, as before). An app with its own handlers turns that off withApp::exit_on_signals(false).
Added
-
Exit hooks (RFC 0053).
App::on_exit(|ctx| …)andelyra::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--mcprun,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 amainwithoutApp::run;App::exit_on_signals(false)leaves the signals to the app. -
Sidecars end with the app: a child
Sidecarstarted that's still running is killed when the app ends. It used to be left behind. -
Opening documents (RFC 0052).
[[bundle.documents]]inelyra.tomldeclares the app's file types, andrata bundleregisters them:CFBundleDocumentTypesand an exported type on macOS,MimeType, a shared-mime-info file and apostinstin 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 asChosenFiles of the new kinddocument:documents.initial()anddocuments.onOpen(..)in@elyra/runtime, andApp::on_open(..)in Rust.rata checksets the two lists side by side. Found by porting kver from Tauri. -
CI: an Advisories workflow checks
mainevery day for new security advisories: the Rust crates withcargo deny, and the npm packages of the runtime, the UI and the example app withnpm 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_URLwas 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 (whatrata devruns) reads it now; a release build ignores it and says so once.- Navigation wasn't limited. A link or a script setting
locationcould take the webview to any site. Now it may go only to the app's own origin, the dev server's exact origin underrata dev, andabout:blank; a link elsewhere is handed to the OS (the browser, the mail app) whenshell.open's policy allows its scheme, and dropped otherwise. - New windows weren't refused.
window.openandtarget="_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:
vite8.2.x → 8.3.8 (GHSA-587h-7wmj-h5pm and others: Vite's dev server andlaunch-editor),vitest4.1.10 → 4.1.12 (GHSA-82fw-gwwq-j7x9, GHSA-qxg6-89mg-rqv8),source-map-js→ 1.2.4 (GHSA-68fv-2mgg-jv7q) inruntime/and the example app, anddevalue→ 5.9.4 in the example app. Nothing@elyra/runtimeor@elyra/uiships was affected. A new app'snpm installalready gets the fixed versions.
Changed
-
FileChoicehas a fourth variant,Document: an exhaustivematchneeds the arm.FileChoice::readable()andwritable()say what a kind allows;Backend::download_toand a transcription take adocumentas they take asaveand anopenfile. -
macOS: a file opened with the app no longer goes to
elyra:deep-linkas afile://string (ungranted, and unfiltered by type). An app that read it there declares the type and takes it fromdocumentsinstead. -
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, andelyra:second-instancegets the URL. -
SECURITY.md: the supported version is the latest0.x(the table still said0.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 showelyra = { …, features = [...] }, and the README the git tag.runtime/README.mdsaidnpm 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 owntypecheck/testscripts. The bug report template asks for the tag and forrustc --version/node --version, not0.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: eachCitationhasurl,title,cited_text(Anthropic) andspan, a byte range intotext()for the words it backs. They are read from Anthropic's text-block citations (streamed too) and OpenAI'surl_citationannotations, 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_citingscripts a cited answer, andCitationderivesSerializeso 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
url2.5.8 → 2.5.9, for RUSTSEC-2026-0592: a nestedblob:URL overflowed the stack inUrl::origin()(reached through the HTTP client, the webview and the database driver).cookie0.18.2 → 0.18.3, for RUSTSEC-2026-0594: private cookie nonces could repeat after afork()(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-writtenimpl Modeladds it.- A
belongs_towhosefkisn't one of the model's columns, and abelongs_to_manyto a model whose key isn'ti64, are compile errors. The first compiled before and never found its owner. SyncChangeshas a third field,updated: a struct literal needsupdated: vec![]or..Default::default().Provideris#[non_exhaustive](amatchneeds a_arm), andProvider::default_text_model()returns anOption.eager_has_many,eager_has_oneandeager_belongs_toare deprecated: useeager_many,eager_oneandeager_owners, keyed byModel::Key.
Added
- Pivot columns (RFC 0046).
belongs_to_many(Role, using = RoleUser)names the pivot's own composite-key model:roles_with_pivot()andload_roles_with_pivot()read each related row with its pivot row,attach_roles_with,sync_roles_withandupdate_role_pivotwrite the pivot's columns, andattach_roles/sync_rolesgo throughRoleUser::default(), so the pivot's timestamps are filled. A field of typeVec<(Role, RoleUser)>is hydrated with both. Withoutusing, nothing changes. - Relations on any key (RFC 0047).
has_many,has_oneandbelongs_tofrom and to a model keyed by aString, or by more than one column withfk = ("order_id", "line_no").load_*maps are keyed byModel::Key, andModel::key(&self)gives a row's key to look one up with. Eager loads over more than one column use a row-valueIN(Query::where_in_rows), and every eager load is chunked at 1000 parents. New helpers:eager_many,eager_oneandeager_owners. - More AI providers (RFC 0048).
Provider::Gemini,Groq,Mistral,DeepSeek,XAi,OpenRouter,Ollama(no key) andCompatible(any OpenAI-shaped endpoint), on the OpenAI driver: text, tools, structured output, streaming and failover.Ai::from_envreads their keys and base URLs.Ai::builder().text_model_for(provider, model)gives each provider its own model;Provider::ALLandneeds_key(). - Web search on OpenAI (RFC 0049).
.web_search(…)withProvider::OpenAIgoes 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::allowandlocationcarry over;blockisUnsupportedthere, andmaxis 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
Modelhas a required method,key(&self), generated by the derive. A hand-writtenimpl Modeladds it: the key field, cloned, or a tuple of the key fields.- A
belongs_towhosefkisn't one of the model's columns is a compile error. Before, it compiled, and the accessor always returnedNone. belongs_to_manyto a model whose key isn'ti64is a compile error that names the key; it was accepted before, though the pivot holds integers.SyncChangeshas a third field,updated: the attached rows whose pivot data async_*_withchanged. ASyncChanges { attached, detached }literal (in a test, say) needsupdated: vec![]or..Default::default().Provideris#[non_exhaustive]: amatchon it outside the SDK needs a_arm.Provider::default_text_model()returnsOption<&'static str>:Somefor Anthropic and OpenAI,Nonefor the new providers, which have no default model (a chat to one without a model fails with the newError::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_oneandeager_belongs_to, which key oni64: useeager_many,eager_oneandeager_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_towith a nullable foreign key (team_id: Option<i64>) never found its owner: the accessor returnedNoneandload_*an empty map. It finds it now, and aNULLisNone.- 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::findtakesimpl Into<Model::Key>:find(&db, 42),find(&db, "theme")and ani32for ani64key 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()getsbigints where it gotnumbers: runrata codegen, and look for comparisons with anumber(order.id === 42is nowfalse; write42n). capture_changes()adds triggers and_elyra_changesto 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)),updateanddeleteby every key column,insertas written, andsave()as an upsert on the key (ON CONFLICT/ON DUPLICATE KEY),created_atkept.Model::KEYandModel::Key;Query::where_key.belongs_tofrom such a model works; as a relation's parent it's a compile error. - Every write seen (RFC 0043).
App::capture_changes()(orDatabase::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 withNOTIFY elyra_changes. Installed on connect and after the migrations theDatabaseruns;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::findtakesimpl Into<Model::Key>, notimpl Into<Value>:find(&db, 42),find(&db, "theme")and ani32for ani64key 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()isbigintall the way (RFC 0045). It used to type 64-bit integers asbigintwhile the runtime decoded them asnumbers, past 2^53 lossily, and couldn't send abigintargument. Now the shell tells the page (__ELYRA__.bigint),@elyra/runtimedecodes and encodes withuseBigInt64, and the bindings turn the small integers in wide fields intobigints too (wide(shape)beside each command,live.*and typed channel);JsonValuegains| bigint. Upgrading, for an app that already callscodegen_bigint(): runrata codegen, and look for code that worked around the old values:Number(order.id)still works, but a comparison with anumber(order.id === 42) is nowfalse; write42n.
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 --backendmay find more: a required field beside itsfield.*rules, and the routes ofBackend::edit(..).
Fixed
rata check --backendtook a field's items' or fields' rule (tags.*,address.city) for the field's own, sotags => '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: itsGET, and itsPUTor.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:rootafter 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'sediting,follow,follow-answer,stop-followersandroute, and/__i18n/locale,denied, "this window only reads". - A call is cancelled only by the window that made it:
cancel()frominvokeCancellablein another window no longer stops it. elyracode/elyra-backend'selyra:contractchanged: update it tov0.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'joinandleave, 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 eachFormRequest's rules before it knew the user, so rules that ask for$this->user()couldn't be made, andrata check --backendsaid the route had noFormRequest. The user is known first; rules that still can't be made are said on stderr, whichrata checkshows.rata check --backendread the commands' calls fromsrc/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.
$pendingmarks 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 haspreview: 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-backendgainsphp artisan elyra:contractand theChecksUnmodifiedSincetrait; 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 newtypeskey.
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 withselect), 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$quickLookin@elyra/runtime;Windows::show_quick_look(..)in Rust;make:resource --viewwritespreviewon 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);cansays 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()andstopFollowers()in@elyra/runtime;Presence::followand the rest in Rust. - The two halves agree (RFC 0040).
elyracode/elyra-backend'sphp artisan elyra:contract --as=<email>describes the Laravel API: the routes under/api, eachFormRequest's rules, the abilities there are, and eachGET'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 asnullor has another type, an input field the rules require or drop, an ability no user has.[check] backendandbackend_asinelyra.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 aPUTwith the file, checked against the version the download had (If-Unmodified-SinceorIf-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'seditingstore,Editingsin Rust,Backend::editing_folder(..); inelyracode/elyra-backend, theChecksUnmodifiedSincetrait for the412. Needsbackendandsystem. - Shown at once (RFC 0039).
A
PUT,PATCHorDELETEto 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'spendingstore and<Table pending>'s dot mark rows not yet sent;make:resource --backendgenerates it on update and delete.HttpFakegets.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-mutedis 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 underrata dev.rata newandrata ai:installadd 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.cssonly what changed.@elyra/uiexportscontrast(),nearest(),luminance()andparseColor()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] allowinelyra.tomlsays no to a finding with its reason.--json, exit code 1 on an error,--strict;rata mcp devgetsapp_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/underrata dev, and torata mcp dev's newui_tasks;ui_task_doneshows 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 newandrata ai:installkeep.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 --matrixopens 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 devgetsmatrix_screenshot, andapp_windowslists each frame's look and limits. In@elyra/runtime:inspector.matrix()andmatrixFrame(). A release build has none of it. rata mcp dev's screenshot takes amax_widthbelow 1280, whichmatrix_screenshotuses for its frames.
Changed
--elyra-mutedreaches 4.5:1 on every surface. It was 3.93–4.40:1 in the dark theme and 4.25:1 on--elyra-insetin light:#787c99is now#8387a2, and#6b7080is#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 yourapp.csssets--elyra-muteditself; 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 byaria-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 asqlite:orfile:URL, kept the user's name. - The log redacts a URL's password and a provider key without a name.
postgres://app:s3cr3t@db.internaland a baresk-ant-…orsk-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-erroritself could write to the log without one. beforecloseis 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. Capabilityhas a new variant,Diagnostics, andTrayConfiga new field,diagnostics. Amatchover everyCapability, or aTrayConfig { .. }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, andelyra::diagnostics::text(&ctx)in Rust. Opt-in, behindCapability::Diagnostics; needs thesystemfeature. - 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),Authorizationheaders, the values oftoken,password,secret,signatureandapi_keyfields, and a signed URL's query become•••(elyra::log::redact). - The page's errors reach the log, in every app:
@elyra/runtimesends each uncaught error and unhandled rejection to the shell, which keeps the last 50 and logs it at error level with the targetpage. A release build's exceptions are no longer lost in a console nobody can open, andrata mcp dev'slast_errorfinds them. UpdaterRuntime::last_check(),source()andinstalled().
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 onButton: hidden, or disabled, for a user without the ability. Taken away while it records, the recording is thrown away, as withdisabled.<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 newmicrophone/memoexample 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'sfalseagain onceonsubmitwent 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. Withbind:dirtyand@elyra/runtime'sconfirm, it asks before unsaved changes are lost (the newmodal/unsavedexample).
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'reposition: 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 wherefixedreally 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-uiskillrata ai:installwrites says so:bind:dirtywithbeforeclose, 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 askedBackend::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.levelandstoppedare 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.mdand 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.idandworkspace.idwhere they are), a revoke route for that token, a401that ends only one workspace's token, channels named from the user, several servers, and the assistant's code mode behindELYRA_ASSISTANT_CODE_EXECUTION.php artisan boost:installin 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 gainname::run,App::problems(), the app's identity and icons, capabilities and the microphone, and listelyra-uiamong the skills.elyra-laravel-backendgains 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 everyRoute::elyra…().elyra-uigainsTreeView,NotificationBell,AccountSwitcherandMicrophone, and lists every component's page. Runrata ai:updatein 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), andTestShell::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.
stopnow says it was too short, and keeps nothing. Backend::transcription()without theaifeature 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/transcribeis 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)andApp::microphone_max_seconds(n), behind the newmicrophonefeature:/__mic/start,stop,cancelandtranscribe, underCapability::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 throughPOST /api/elyra/transcription/v1/audio/transcriptionswith the user's token, or else through the container'sAi.rata bundlewritesNSMicrophoneUsageDescriptionin the.appof an app that records. Without it, macOS ends the app when it listens.@elyra/runtime:microphone.start/stop/cancel/transcribeandonMicrophone.@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 inlabels.elyra-ai:AiFake::transcript(..)andtranscript_error(..)answertranscribe, andtranscriptions()lists what was sent.- elyracode/elyra-backend:
Route::elyraTranscription(),config('elyra.transcription')andTranscriptionUsed.
Security
cargo denyignores 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-walfile. The bundled SQLite comes fromlibsqlite3-sys0.37 throughsqlx-sqlite0.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 ownsign_in_with_token, beside the others' on its server, across restarts.Account.workspaceslists them;Auth::switch_workspace(server, id)puts another in use without a sign-out;Auth::sign_out_of_workspace(server, id)revokes one; andAuth::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), whatuser()returns andelyra:authcarries; with a token per workspace, kept as the workspace's. From the frontend:auth.switchWorkspace,auth.signOutOfWorkspaceandonSignedOutOfWorkspace.
Changed
- With
token_per_workspace, a401ends the workspace, not the server: the server's next workspace is in use, andelyra:accountssays which was left (signedOutOfWorkspace).sign_out_of(server)revokes every workspace's token there.onSignedOutOfisn'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 underHKCU\Software\Classes\AppUserModelId\<id>at each start, and every notification goes out under the id. The installer's uninstaller removes the key (rata bundleasks 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 bundlemakes<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 bundlelinks the icon from[bundle].iconand 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, nobuild.rs. - An AppImage: with
appimagetoolthere,rata bundleon Linux makes<package>_<version>_x86_64.AppImagebeside 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.debgets 256 and 512 px PNGs where it had the source file under512x512. - The
.debsays what it needs:Depends: libwebkit2gtk-4.1-0, libgtk-3-0, and lists its directories, soapt install ./app.debinstalls 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):
Accounthaspendingandfailed, that server's writes waiting and refused, whether it's the active one or not, andelyra:accountsis 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 underrata 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 toonopen;present(n)shows notifications whose data isn'ttitle,bodyandurl. See NotificationBell.<AccountSwitcher>in@elyra/ui: the servers the user is signed in to (RFC 0022) in a menu, each amenuitemradio; a click switches, and signing out of one or all asks before it drops changes that haven't been sent.onaddadds "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 aPage<T>),canper node, anitemsnippet for the rows, andpersistto keep which branches are open. See TreeView.
Changed
<Dropdown>'s keyboard reachesmenuitemradioandmenuitemcheckboxitems too, not onlymenuitem.
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()inelyracode/elyra-backend:GET /api/desktop/broadcasting, the default Reverb or Pusher connection's key, host, port and scheme, asBackend::broadcasting_from(..)reads them (RFC 0021). The public address can be set apart (ELYRA_BROADCASTING_HOST,_PORT,_SCHEME); without Reverb or Pusher it's a404, and the desktop runs without broadcasting.Route::elyraUpdates()andphp artisan elyra:releaseinelyracode/elyra-backend: the desktop's updates from its own server, asUpdaterConfig::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, or204, 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 devstops Vite when the app is closed. It stoppednpm, butnpm run devruns Vite as a process of its own, which kept running and held port 5173. rata now stops the whole tree.rata devandrata buildrun npm on Windows (npm.cmd, whichCommanddoesn't find by its bare name), andrata devwaits for Vite on::1as well as127.0.0.1.- CI walks through the app under
rata devon 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 athttp://elyra.localhostthere, and every call the runtime made toelyra://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.localhoston Windows,elyra://localhostelsewhere), 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 aftersqlite://). - The
make:resourcesmoke 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.pyagainst the example app's window, WebView2).
Upgrading:
@elyra/runtimeto 0.38.1 (and@elyra/uiwith it), with the framework: point both at their 0.38.1 tarballs and runnpm 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 behindconfirmis 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 withELYRA_ASSISTANT_CODE_EXECUTION=true. -
The AI SDK: code execution.
Chat::code_execution()andChat::on_code(..)(CodeEvent),Tool::callable_from_code()(sent asallowed_callers), the code'scontainerkept 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_snapshotandwindow_actend withshowing: 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), wherebuildfailed withWindowHandleError(Unavailable); and wry'slinux-bodyis 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 devthrough 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/uidoes. 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 withouttokens.css), and appear at once underprefers-reduced-motion; the assistant's caret stops blinking then too.
Upgrading:
@elyra/runtimeto 0.38.0 (and@elyra/uiwith it): point both at their 0.38.0 tarballs and runnpm install. The runtime has the code mode's panel step and its own motion.AssistantEventis#[non_exhaustive], and hasScript: amatchon 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 devhasapp_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) andapp_calls(the inspector's call log), answered by the running debug build through a dev endpoint: a0600socket 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 codegenwrites a command's doc comment as JSDoc above itsapi.*entry, with@remarksfor itscan = "…"and, for a#[command(live)], itslive.*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 asrunon the command, with its own signature, doc comment and attributes;calldecodes 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 asError::Configbefore anything starts;App::prepare()panics with it. -
@elyra/ui: motion tokens.--elyra-ease,--elyra-ease-springand--elyra-duration-fast/--elyra-duration/--elyra-duration-slow, read by every transition and animation in the components, and0msunderprefers-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. Underprefers-contrast: more, or withdata-contrast="more"on<html>,--elyra-mutedis 7:1 or more and--elyra-borderand--elyra-focus3:1 or more against every surface, in both themes. The tabs' line uses the system's highlight colour underforced-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 onrunnow. - An updater configuration that can't verify an update stops the start. It used to be logged, with the update flow off.
elyra::ErrorhasConfig, so an exhaustivematchon 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 itsCtxparameter.
Upgrading:
@elyra/runtimeto 0.37.0 (and@elyra/uiwith it): point both at their 0.37.0 tarballs and runnpm install.@elyra/uihas the motion and contrast tokens; the runtime is unchanged.ratato 0.37.0 forrata mcp dev's running-app tools, andrata ai:updateso 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(..)), asApp::problems()says. - An exhaustive
matchonelyra::Errorneeds anError::Config(_)arm. - Nothing else changes:
bindings.tsgains comments, andname::runis 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, aspresence(..)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's403leaves it unjoined, logged, and the connection goes on. listen(channel, handler)andlisten(channel, event, handler)in@elyra/runtime: the handler gets(data, event), asonBackendEvent'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:backendasBackendEvents;elyra:listeningcarries{ channel, joined }. They aren't domain events. elyra::listening::Listening(alsoelyra::Listening) in the container;/__listen/joinand/__listen/leaveunder the newCapability::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 theBackend:204is up to date,200is{ version, notes, released_at, url, size, sha256 }. Theurlmust 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 withdittointo a private directory, and the bundle must passcodesign --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
.appis 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(underUpdaterInstall, 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. Withauto_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 (orelyra.update.*in the app's translations), and anup-to-dateevent withdraws an offer.UpdateCheckgainsreadyandrestart. elyra::updater::UpdaterRuntime(check,download,install,relaunch, …) andelyra::updater::bundle(the decisions, behind theBundleSystemtrait);Updater::for_version,updater::verify_sha256.
Changed
UpdaterRuntime's fields are private (it was assembled only byApp);UpdateInfoandUpdaterConfighave new fields, andupdater::Errornew variants. A URL manifest may carry asha256per platform, checked when present. Apps usingUpdaterConfig::new(..)behave as before: one step, ed25519, a check at start.
Upgrading:
@elyra/runtimeto 0.36.0 (and@elyra/uiwith it): point both at their 0.36.0 tarballs and runnpm install. The runtime gainslisten,listening,restartToUpdateandsetUpdateTexts; 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(..)orUpdaterConfig::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 underbackend-servers, the active one underbackend-server, and both outlive a restart.sign_in_with_tokento another server adds it and makes it active, without touching the others. Auth::accounts()lists them asAccount { 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._discardingforms drop the waiting writes and return how many; otherwise they're refused withPendingChanges, assign_outis.Auth::active_server(),Auth::accounts_state().elyra:accounts(AccountsState { accounts, active, signedOutOf, reason }) after each change, andAuthState.server, the active server, onelyra:auth.OutboxDropped { server, count }, a domain event, when a_discardingsign-out drops waiting writes (sign_out_discardingtoo).- The runtime: the
accountsstore,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. Secretsis aTokenStore:.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 asclaude-opus-5-5); Laravel's assistant route lowers it to the server's cap. Distinct frommax_tokens_per_conversation.
Changed
- The offline copy and the outbox are per server.
elyra_backend_cache,elyra_outboxandelyra_outbox_failedgain a nullableservercolumn, 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
401follow the server, token and user a request was made with, not the ones active when it's answered. A401for 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/runtimeto 0.35.0 (and@elyra/uiwith it): point both at their 0.35.0 tarballs and runnpm install. The runtime gains theaccountsstore andauth.switchTo/signOutOf/signOutAll.- Nothing changes without
multiple_servers(), except that a401for 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 newservercolumns 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 isBackendError::NoServer, kindunauthenticated. 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 a401, 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 aftersign_in: broadcasting, abilities, notifications,elyra:auth. For a fixedBackend::new(url), the server must be that one. The user value isn't kept across restarts: it's read fromuser_routeagain. - Switching.
sign_in_with_tokenwhile 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, andelyra:authis sent once with the new user, never signed out between. A switch that keeps the user's id but changes the token is refused withPendingChangeswhile 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 areBackendEvents on the follow's name, onelyra: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. A404leaves broadcasting off with a warning, and the rest works.PusherFakehaskeys()andport(). Backend::user_id_path("user.id"): where the user's id is in the user value (idby default). It's used for the user's channel, presence and the offline copy.
Changed
Backend::base_url()returnsOption<String>(it was&str):Nonefor a server chosen at sign-in, before it's chosen. ForBackend::new(url)it's alwaysSome:backend.base_url().unwrap_or_default()is the old value.BackendErrorhasNoServer, so an exhaustivematchon 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/runtimeto 0.34.0 (and@elyra/uiwith it): point both at their 0.34.0 tarballs and runnpm install. Nothing in them changed.- Nothing changes for an app with
Backend::new(url)unless it callsbase_url()or matchesBackendErrorexhaustively; 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 newquit()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 withELYRA_STAY_IN_TRAY=1. rata bundleasks the app whether it stays in the tray, and writesLSUIElementinto the.app'sInfo.plistif it does, so its Dock icon doesn't show for a moment at launch.
Upgrading:
@elyra/runtimeto 0.33.0 (and@elyra/uiwith it): point both at their 0.33.0 tarballs and runnpm install. It hasquit().- 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.appwith thisrataforLSUIElement.
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, forWindows::show;skip_taskbar(true)keeps it out of the taskbar (Windows, Linux).appWindow.onStatesays whether a window isvisible, 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 inrata dev: a path without a file extension that names no file is answered withindex.html. It was a404. A missing file is still one.
Changed
TrayConfighaspopover, andWindowConfighasvisibleandskip_taskbar, so a struct literal of either needs them (..Default::default()); the builders are unchanged.
Upgrading:
@elyra/runtimeto 0.32.0 (and@elyra/uiwith it): point both at their 0.32.0 tarballs and runnpm install. It's what hides a popover on Esc;WindowStatehasvisible.- A popover in a
rata newapp opens a route of its hash router:WindowConfig::new("quick").path("#/quick"), and a route insrc/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-busyuntil it's done. Over the user's key and through Laravel'sRoute::elyraAssistant()alike.AssistantEvent::Text { step, text }goes to the window, gathered every 50 ms;Answerstill 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, orELYRA_ASSISTANT_STREAM=false) is asked whole, and not asked to stream again. OpenAI answers whole, as before. Chat::on_text(|step, piece| ..)inelyra-aistreams 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-backendstreams the assistant: a request withstream: trueis passed through as Claude writes it (text/event-stream,X-Accel-Buffering: no), its usage read off the stream forAssistantUsed;ELYRA_ASSISTANT_STREAMturns 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
AssistantEventhasText { step, text }, so amatchon it without a_arm needs one.
Upgrading:
@elyra/runtimeto 0.31.0 (and@elyra/uiwith it): point both at their 0.31.0 tarballs and runnpm install. With an older runtime thetextevents are ignored and the answer arrives whole, as before.- The Laravel package: update
elyracode/elyra-backendto stream throughRoute::elyraAssistant(). An older package refusesstream: true; the desktop then asks whole and keeps doing so for the run. A publishedconfig/elyra.phpwithoutstreamstreams (the default); behind a proxy that buffers, or served by Askr 1.9.2, setELYRA_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 itsquery.search(asmake:resource's_indextakes it, or.search(path)), and each row's field is a value. Over MCP,completion/completeanswers 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(..)andcompleteson 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.rsmeasures 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
GETof/api/customers/42in a live command depends on that record, and a list on the resource's lists. A write to/api/customers/40, or Laravel'sCustomerUpdated { 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'tid;backend::list_key(..),read_keys(..),write_keys(..). An event that names no record, and an app's ownctx.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, aninvalidateof the resource). For every change to the resource, depend onbackend::list_key(..). A read throughBackendneeds nothing.PromptArgumenthascomplete, so a struct literal needs it (complete: None).
Upgrading:
@elyra/runtimeand@elyra/uito 0.30.0 together: point both at their 0.30.0 tarballs and runnpm 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 onbackend::list_key(..)instead. Reads throughBackendneed nothing. - A record's endpoint that shows other records (customer 42 with
"related customers") adds
.with_lists()to itsGET, or it won't re-run when those change. - A model whose route key isn't
idsays which:Backend::record_key("/api/invoices", "uuid"). Without it, its events re-run everything that read the resource, as before. PromptArgumenthas a new field,complete: code that builds one addscomplete: 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), adescriptionand the abilities itneeds.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, andapp.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" (labelsfor the words). It's Echo'swhisper('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'seditingin@elyra/runtime;/__presence/editing;Presence::editing(..)andediting_here(..)in Rust;PusherFake::whisper_as(..); the inspector marks who's editing.make:resource --presence's edit form passesediting={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'snote("editing") rings them in the accent colour and is in their tooltip.- Column widths in
<Table>.resizablegives 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'swidthis where it starts.persist="customers"keeps the widths in the settings store (elyra-ui.table.customers), asSplitPanekeeps its size.labels.resize(label)names the grips.make:resource --view's lists are resizable, kept under the resource's name.
Changed
presence::Memberhasediting, so a struct literal needs it. Reverb's4009answer to a whisper from a socket it doesn't count as a member no longer ends the broadcasting connection.
Upgrading:
@elyra/runtimeand@elyra/uito 0.29.0 together: point both at their 0.29.0 tarballs and runnpm install. With an older runtime,<Presence editing>shows who's there but says nothing.presence::Memberhas a new field,editing: code that builds one addsediting: 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--pusherdoesn't pass them. - Generated lists are
resizable persist="<plural>"frommake: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). Alsoonly_capabilities([..])anddeny_abilities([..]). In that window a command or live query whose ability it doesn't allow is refused (denied), a capability it lacks isforbidden,cansays 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_inandclosesend 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-idand 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/runtimeand@elyra/uito 0.28.0 together: point both at their 0.28.0 tarballs and runnpm install. With an older runtime the shell still refuses what a window doesn't allow, butcandoesn't hide it.appWindowacts on its own window now. A page that meant to control another window does it from Rust,ctx.get::<Windows>()with a label.CommandRequesthas a new field,window: code that builds one addswindow: None.WindowConfighas 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'scustomers.{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'sroutes/channels.phpdecides 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 onelyra:presence. presence(channel)in@elyra/runtime, a store of{ joined, members, me }, and<Presence channel>in@elyra/ui, the other members as anAvatarGroup.make:resource --backend .. --presenceputs a<Presence>on the detail view and the edit form, and prints the.presence(..)andchannels.phplines.PusherFakespeaks presence: members per socket, the internal events,pusher:unsubscribe, andjoin_as/leave_asfor someone on the web.Subscribedhaschannel_data.
Upgrading:
@elyra/runtimeand@elyra/uito 0.26.0 together: point both at their 0.26.0 tarballs and runnpm install.<Presence>reads the runtime'spresence; with an older runtime it shows nothing.Capability::Presenceis new and granted by default;.deny_frontend(Capability::Presence)takes it away. It only reaches the channelsBackend::presence(..)lists.PusherFake'sSubscribedhaschannel_data: a test that builds one needschannel_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 itsShow.svelteandForm.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:connectioncarriessimulated: 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 ornull, whatever the locale.minandmaxbound 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 --viewmakes a model'sdatefields DatePickers. The form keeps""for none, as for text, so a required date still says it's required. rata notes an installed@elyra/uifrom before it.- Searching the app's records from ⌘K.
registerSearch({ id, title, can, search })in@elyra/runtimeadds 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'ssignalis aborted), a source withcanis 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 --viewregisters a search for each resource with a name field: typing "Ada" in ⌘K lists Customers: Ada Lovelace, and Enter opens/customers/42.resources/index.jsregisters 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.viewability.- 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-getstep) instead of hanging for GitHub's six hours.
Upgrading:
@elyra/runtimeand@elyra/uito 0.25.0 together: point both at their 0.25.0 tarballs and runnpm install.ConnectionStatehassimulated(alwaysfalsein a release). Code that builds one needssimulated: 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 thesearchexport into the resource'sindex.js.rata resources:syncrewritesresources/index.jsto 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/abilitieslists every ability the app knows, and/__inspector/maskturns one off for the run. A masked ability is gone from the guard (refused asdenied, "simulated by the inspector"), thecanstore, the assistant's tools and window note, an MCP agent's calls andAbilities::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).
inspectorandopenInspectorin@elyra/runtime. See the inspector. Kbdin@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.MenuItemtakesshortcut, drawn with it and givenaria-keyshortcuts. See Kbd.- Selecting rows in
<Table>:selectgives the rows checkboxes,bind:selectedis their keys (kept across pages and searches), and a bar shows how many with thebulk(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'sassistant.selected), which the RFC said<Table>would do once it had row selection. See selecting rows. Checkboxtakesindeterminate, for a "some of them" state.make:resource --viewpicks a reference in aCombobox. Ateam_id:references:Teamwhose Team has its own resource is searched throughteams_indexas 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.shfailed now and then onmake:ui --list:grep -qclosed the pipe andratafailed writing the rest. The list goes to a file first.- An app without the
aifeature builtelyrawith 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/runtimeand@elyra/uito 0.24.0 together: point both at their 0.24.0 tarballs and runnpm install. The StatusBar's Inspector button needs the runtime'sinspector; 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. AbilitiesStatehasmasked(empty, and left out of the wire, in a release). Code that builds one needsmasked: 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
SplitPanein@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,maxandminSecondbound it, andpersist="key"keeps the size in the app's settings store. See SplitPane.Comboboxin@elyra/ui: type to find one of many.optionsis a list, or a function that searches, such as a resource's_indexcommand ((search) => api.customers_index({ search }), aPageis 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.FileFieldin@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, andacceptsDropfor a file dropped on the window. In aField, Laravel's message for the file shows under it. See FileField.
Changed
make:resource's file field is@elyra/ui'sFileField, in aFieldlike the others, and rata no longer writesapp/src/resources/FileField.svelte. Forms generated before keep theirs. An app on an older@elyra/uigets a note to update it.
Upgrading:
@elyra/uito 0.23.0 for the three components: point it atelyra-ui-0.23.0.tgzand runnpm 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 importFileFieldfrom@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/42needs 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/prompttakes{ 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 (withmore_selectedcounting 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:resourcewrites it on_index,_show,_storeand_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.describenames the writes the app's way. Its page.
Changed
<StatusBar>'s "3 changes waiting" and "1 change refused" are buttons that open theOutboxDrawer, so an app with a StatusBar can deal with a refused write without a screen of its own.AssistantEvent::Toolhas alinkfield (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::Toolgainslink: addlink: Nonewhere you build one, or..where you match one.- Links on commands from before: resources generated before 0.22 have
no
link. Addlink = "/<plural>/{id}"(and{result.id}on_store) to their#[command]to get them. - Clickable counts: an app with a
StatusBargets 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/uiand its design tokens (RFC 0012, step 1). A new package inui/, 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 newadds the package (the release'selyra-ui-<version>.tgz, or the checkout'sui/with--elyra), imports the tokens inmain.js, and writesapp.csson them. The components follow in the next steps. -
The first
@elyra/uicomponents (RFC 0012, step 2).- Button (variants, sizes,
loading,hrefinto the app's router,canandcanModefor the user's abilities,confirmthrough the runtime's dialog), ButtonGroup, and Dropdown with MenuItem (role="menu"). - Form and Field: Laravel's
422or a command'sValidationErrorsunder 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.
- Button (variants, sizes,
-
@elyra/ui's data and layout components (RFC 0012, step 3).- Table over a
live.*page: search, sort and page written intoquery, so the live query runs again. Its loading, error and empty states;cellandactionssnippets; 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.
- Table over a
-
A reference for
@elyra/ui: a page per component indocs/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 docsinui/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:installwrites anelyra-uiskill, 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 aForm, aField, a liveTableand aButtonwithconfirm. -
make:resource --viewbuilds the screens from@elyra/ui(RFC 0012, step 5).- The list is a
Tableover the live index command: search, sort and page through the query, rows that open, and delete behind a confirm. - The form is a
Cardwith aFormand aFieldper field: the command's or Laravel's validation lands under its field, and required fields are marked. - The detail view is a
Cardwith its actions. - Offline banners and refused writes are
Callouts. - The views carry no styles of their own.
TableandPaginationtakelabels, so the views' words stay$tkeys.
- The list is a
-
rata make:ui <Component>(RFC 0012, step 4) copies one of@elyra/ui's components intoapp/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 copiedFieldstill works in the package'sForm. The copy is the app's: never overwritten without--force.--listshows the components.@elyra/uiexports its internals (@elyra/ui/internal/*) for the copies.
Fixed
canhid everything in an app without thebackendfeature./__auth/abilitiesdidn't exist there, so the runtime'scanstore never loaded. It now answers["*"](the app's own grants), as an app with a backend but withoutBackend::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 markedasks first,read-onlyorruns without asking, for a review of what a prompt-injected model could do.rata mcp inspectshares its listing.rata bundlewarns 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:resourcewrites doc comments for a model too. Each command says what its arguments do: whatsearchmatches, the columnssorttakes, 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. Theassistantstore (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 toPOST /api/elyra/assistant/v1/messageswith the user's Sanctum token, andRoute::elyraAssistant()inelyracode/elyra-backendadds the server'sANTHROPIC_API_KEY. It allows only the configured models, capsmax_tokensand requests per user, and refuses server tools and streaming.AssistantUsedrecords the tokens. Without a backend route, the user's own key in the keychain (/__assistant/key, write-only) is used, thenAiProvider.Assistants::source()and/__assistant/sourcesay 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. Aconfirmability asks the window first, and the window answers on/__assistant/confirm. Its events (tool steps, questions, the answer) arrive onelyra:assistant. The model is the container'sAi.TestApp::assistant()prompts it in a test, withAi::fake. Capability::Assistantfor/__assistant/*: granted by default, 60 calls a minute, and only useful withApp::assistant. AmatchonCapabilityneeds the new arm.- Bearer tokens in the AI SDK (RFC 0011, step 2).
AiBuilder::bearer(provider, token)authenticates withAuthorization: Bearer, askingtoken()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 newError::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()andrequests()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. AmatchonOriginneeds 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 sendsanthropic-version: 2026-10-21and no longer sendstemperature, 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 asoutput_config.formatinstead 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(wasclaude-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 againstmax_steps.
Added
- AI:
Error::Refusedwhen Claude declines a request (stop_reason: "refusal"), with its explanation, in prompts and streams. It used to surface asError::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 fromGET /api/abilities(a list like["customers.view", "invoices.*"], or the same indata) after sign-in, and forgets them at sign-out;.abilities_route(..)moves it.Abilities(in the container) answersallows(..),list()andrefresh(), and publishes onelyra:abilities. With.offline(), the last list is the user's offline copy. - The user's abilities gate
cancommands (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 kinddenied(as Laravel's403), 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
AbilitiesChangedon the user's channel (followed for the abilities even without notifications). A live command that asksAbilities::allowsre-runs when the list changes. canandabilitiesin@elyra/runtime(RFC 0010, step 4):$can("customers.delete")(namespaces included) and$abilities, read once then followed onelyra:abilities, andabilities.refresh(), through/__auth/abilities(Capability::Auth). An app withoutBackend::abilities()answers["*"].- Laravel's side, and the generated screens (RFC 0010, step 5).
elyracode/elyra-backendhasRoute::elyraAbilities()(spatie's permissions, or the Gate abilities inconfig('elyra.abilities')) andAbilitiesChanged, 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'scan, and prints Laravel's side; the backend model hascan. 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)sendmultipart/form-data, with the files streamed from disk and a knownContent-Length. A file that changes while it's sent stops the request withHttpError::FileChanged..download_to(path)and.download_into(dir)stream a successful answer to disk through a.partfile.download_intotakes 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.HttpFakerecords multipart parts (Sent::part(name)) and answers downloads withget_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 typeelyra::files::ChosenFiledecodes 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.kindisopen,saveorfolder. Codegen types it for the frontend; Rust code grants its own files withChosenFile::from_path(..),for_saving(..)andfolder(..). -
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. APUT/PATCH/DELETEwith a file goes as aPOSTwith_method. A413from the web server is a validation error on the file's field, as Laravel's422is..max_size(..)refuses a larger file before sending;.idempotent()adds anIdempotency-Keyso.retry(..)may repeat aPOST.download_to(&ChosenFile)(a save dialog's),download_into(&folder),download()(the Downloads folder) andBackend::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 onelyra:transfers, withcancel(id);.label(..)names one.BackendError::Cancelledhas the kindcancelled.system::paths()(and the frontend'spaths()) hasdownloads.
-
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) andoffline_upload_folder(..).transfersshows it asqueued; cancelling it discards it. -
The
transfersstore in@elyra/runtime(RFC 0009, step 5):$transferslists uploads and downloads as they run, andtransfers.cancel(id)stops one, through/__auth/transfersand/__auth/transfer-cancel(Capability::Auth). -
A
filefield inrata make:resource --backend(RFC 0009, step 6; the guide). The record has the file's name,store/updatetake anOption<ChosenFile>and send a form with the file beside it, a command downloads it to where the user chose, the form gets aFileField(written once toapp/src/resources/FileField.svelte) and the detail view a download link. rata prints the controller's lines and the download route, and asks for thesystemfeature. -
Codegen: an
Option<T>argument or result of a named type isT | nullinbindings.ts, notT'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 denyignores RUSTSEC-2026-0370, -0371 and -0372: zbus's helper crates, "unmaintained" since they were merged into zbus 6. They come fromnotify-rust(Linux notifications), whose latest release still needs zbus 5. Not a vulnerability; the ignores go whennotify-rustmoves.
Changed
dialog.open(..),dialog.save(..)andonFileDrop(..)returnChosenFiles ({ 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 theChosenFile, and the command's argument becomesChosenFile(TypeScript flags the places). The Rustsystem::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:installwrites the framework's guidelines as an<elyra-framework-guidelines>block inAGENTS.md(andCLAUDE.mdunless it importsAGENTS.md), five skills in.agents/skills/and.claude/skills/(elyra-commands,elyra-models-and-migrations,elyra-resources,elyra-live-queries,elyra-laravel-backend), and theelyra-frameworkserver in.mcp.json. Only the block and rata's own skills are rewritten;rata ai:updaterefreshes 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, andsearch_docsover the guides, embedded in rata.rata mcp install --client workspaceadds 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, inlaravel/:Route::elyraAuth()(the Sanctum token routes),Route::elyraNotifications(), theIdempotentmiddleware, and Laravel Boost guidelines and anelyra-desktop-backendskill, so agents working on the Laravel app keep the API the desktop relies on. See the guide. Not published yet.
Security
rustls0.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
backendfeature.Backend::notifications()follows the signed-in user's private channel, Laravel'sApp.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 aNotificationReceived, a domain event with theNotification(id, type, data) and how it's shown (Presented:title,bodyandurlfrom the data, or.present_notifications(..)). It reaches the windows onelyra: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:nativeortoast)..notification_previews(false)shows only "New notification", for a locked screen. - A click brings the app forward, opens the notification's
urlwhen it's a path in the app (onelyra:navigate), and is aNotificationClicked(also onelyra: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. Notifiershows notifications in the OS, from the container, andNotifier::fake()records them for a test (assert_shown,click). The frontend'snotify(..)goes through it.Focussays whether a window of the app has focus.
- With no window of the app in front, a notification is shown in the OS;
with one, it's for the app to toast (
- The list, and reading it everywhere — step 3 of RFC 0008.
Notifications::refresh()readsGET /api/notifications(Laravel's paginator over thenotificationstable, withunreadbeside it) andmore()the next page. The list and the count are onelyra:notifications(NotificationsState), and the count is the server's. Offline, it's the last copy (RFC 0007).mark_read(id)andmark_all_read()count down at once and post to/api/notifications/{id}/readand/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
NotificationsReadon 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 theStoreper backend and user; a first sign-in on a machine shows nothing.
- Notifications in the frontend — step 4 of RFC 0008.
@elyra/runtimegets:- the
notificationsstore ({ unread, items, hasMore }), read from the server when first subscribed and kept up to date, withrefresh(),more(),markRead(id)andmarkAllRead(). 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.shownsays 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.
- the
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,
NotificationControllerand its routes, theNotificationsReadevent, an example notification), and the.notifications()hint untilmain.rshas it. rata new'sApp.svelterenders a nav item'scount(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.
- It writes
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
backendanddatabasefeatures.- Set it up with
Backend::offline(). A successfulGETkeeps 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
GETthat 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:connectionandBackend::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).
- Set it up with
- 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 returnsBackendError::Queued, kindqueued. 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-Keyit was first tried with. A new write waits behind earlier ones. - A
2xxdispatchesOutboxSent. A refusal (422,403,404, …) moves the write toelyra_outbox_failedwith the server's errors and dispatchesOutboxFailed, and the next writes go on. A401waits for the same user to sign in. No answer, a5xxor a429backs off (honouringRetry-After). Outbox:pending,failed,items,retry(id, body),discard,flush. The counts are onelyra:connection.Auth::sign_outrefuses with kindpending_changeswhile writes wait;Auth::sign_out_discarding()signs out anyway.TestApp::invoke_err_kindreturns 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.
- A write marked
- Conflicts — step 3 of RFC 0007.
.unless_changed_since(updated_at)sendsIf-Unmodified-Since. A server that checks it answers412, and409too; both areBackendError::Conflict, kindconflict. 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, andOutbox::take_theirs(id)drops it and re-reads the record. - An
OutboxItemsays why it was refused:validation,conflict,denied,not-foundorrefused.
- Working offline in the frontend — step 4 of RFC 0007.
@elyra/runtimegets two stores and a new sign-out.connectionholds{ state, since, pending, failed }.outboxholds the writes, withretry(id, body),discard,keepMineandtakeTheirs. 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 --backendworks offline — step 5 of RFC 0007.- The writes are marked
.queue_offline(). outbox_sentdispatches the resource's event once a write saved offline is sent. The registry gathers it inresources::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.
- The writes are marked
Changed
BackendErrorhas three new variants,Queued,PendingChangesandConflict. An exhaustivematchon it needs arms for them. A409or412used to beOther.
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, butonDeepLink,onSidecar,onAgent,onFileDrop,onShortcut,onMenu,onSecondInstance,onQueueandonSignedOutpassed 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
backendfeature.- 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'sPrivateChannel('customers'), authorized by the backend at/api/broadcasting/authas 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 onelyra: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,
BackendsendsX-Socket-ID, so Laravel's->toOthers()skips this app. - The state is on
elyra:broadcasting. wssonly, except to loopback.PusherFakeis a Pusher-protocol server for tests.
- Set it up with
- 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/customersre-runs what read/api/customers/countor/api/customers/12/notestoo.
- An event on a channel followed with
- Broadcasting in the frontend — step 3 of RFC 0006.
@elyra/runtimegetsonBackendEvent(channel, event | null, handler)for a followed channel's events ("Ada updated Acme"). It also gets thebroadcastingstore, which holds the connection's state (connecting,connectedoroffline) and reads it once through/__auth/broadcasting. make:resource --backendfollows its channel — step 4 of RFC 0006.- The resource's
mod.rsdeclaresFOLLOWS, its route as Laravel'sPrivateChannel, and the registry gathers them inresources::follows(). - The app listens with
.broadcasting(Broadcasting::pusher(key)).follow_all(resources::follows()).Backend::follow_allis new. rata prints that hint, and the Laravel side: theBroadcastsEventsmodel and the channel rule. - A generated test broadcasts through a
PusherFakeand 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.
- The resource's
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::Errorhas a new variant,Kind, andCapabilitya new one,Auth. An exhaustivematchon either needs an arm.Capability::Authis 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::Errornow keeps its variant instead of becomingError::Command(text). The message is unchanged. Pagemoved tosubstrate-core.elyra::db::model::Pagestill names it.
Fixed
- A command's
elyra::Errorkeeps its variant.#[command]used to turn everyErrintoError::Command(text), flattening anelyra::Erroron the way. Anelyra::Errornow passes through as it is. Any other error type becomes a command error, as before.
Changed
Pagemoved tosubstrate-core. It's the paginator shape a Laravel API shares, so a backend-only app doesn't need thedatabasefeature.elyra::db::model::Pagestill names it, and so does the newelyra::Page.substrate-corestays dependency-free by default;serdeandspectaare optional features.elyra::Errorhas a new variant,Kind, andCapabilitya new one,Auth. An exhaustivematchon either needs an arm.
Added
Http, an HTTP client — step 1 of RFC 0005 (a Laravel backend), behind the newhttpfeature. It's Laravel'sHttpfacade overreqwest, andAppbinds one.- Queries, JSON bodies, bearer tokens and timeouts (30 s by default).
- Retries after a failed connection or a
5xx, for idempotent methods unlessretry_any_method(). - It always asks for JSON. Any status is a
Response; only no answer is anHttpError. - 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.
HttpFakeanswers tests from a table and records what was sent. Swap it in withApp::swap(Http::fake(fake)). See docs/http.md.
Backend, the Laravel API — step 2 of RFC 0005, behind the newbackendfeature (which enableshttpandsecrets). Set it up withApp::backend(Backend::new(url)), and a command resolves it withctx.get::<Backend>().- It sends through the app's
Http, with the token asBearer. - Each Laravel answer that isn't a success becomes a
BackendError, then a command error. A422is the sameValidationErrorsa local command returns, so a form shows the server's messages per field. A401/419forgets the token.403,404,429(withRetry-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, a204asnull.Page<T>reads both of Laravel's paginator shapes:paginate()'s, and an API Resource's{ data, links, meta }.
- It sends through the app's
- Signing in to the backend — step 3 of RFC 0005. The default routes are
/api/sanctum/tokenand/api/user, where Laravel puts routes fromroutes/api.php.Auth, resolved asctx.get::<Auth>(), signs in with Laravel's documented Sanctum token route (email,password,device_name), then reads the user from/api/userand 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
401from 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:authcarries each change asAuthState { signedIn, user, reason }.- For the frontend,
@elyra/runtimegetsauth. It hasauth.signIn(email, password)(a wrong password throws theValidationError, per field),auth.signOut()andauth.state(), and$authworks as a store.onSignedOut(handler)is called on sign-out. They go through/__auth/*, behind the newCapability::Auth, granted by default. The page never sees the token. App::token_store(..)chooses where tokens live.TestAppusesMemoryTokens, so a test never touches the keychain, andMemoryTokens::failing()acts like a system without one.
- Live queries over the backend — step 4 of RFC 0005.
- Inside a live command, a
BackendGETdepends on its resource: the path without the query and trailing ids (a number, UUID or ULID), so/api/customers/12?xand/api/customersare bothbackend:/api/customers(elyra::backend::resource_key). - A successful
POST,PUT,PATCHorDELETEre-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_writeis public, so other writes can ask too. - Changes made elsewhere, on the web, come with RFC 0006.
- Inside a live command, a
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.indexsends the query (search, sort, direction, page) and reads either of Laravel's paginators.show,store,updateanddestroyare one request each.- A record reads with or without an API Resource's
datawrapper, through the newBackendRequest::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's422per 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
databaseand thebackendfeatures: the resource registry also lists migrations. - The
make:resourcesmoke 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 --backendand testing.scripts/laravel-backend.shbuilds a Laravel app with Sanctum, the routes and acustomersresource.- A new CI job serves it and runs the end-to-end test over real HTTP:
sign-in (and Laravel's own
422for a wrong password), create, the422s 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 variantError::Kind) reaches the frontend asCommandError.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/listlists them.rata mcp inspectshows 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/listenandresources/subscribetakeapp://customers_show/12orapp://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 indata.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/completesuggests a template variable's values from its schema: an enum's values, ortrue/false, filtered by the typed prefix (case-insensitively). The server declarescompletions.- The example app's
filter_todos(done)is a template,app://filter_todos{?done}. The CI Inspector check readsapp://filter_todos?done=false, and is refused?done=maybe. The guide has a resource templates section.
- A granted
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/existsno longer panic when their query fails (a locked database, a dropped connection, a missing table). The field fails with the new message keyunavailable("The email could not be checked right now. Try again."), and the reason is logged underelyra::validation. The input isn't let through. A count that couldn't be read used to passuniquesilently; 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 migrateruns Rust migrations. The resourcesmake:resourcegenerates, andmake:migration --rust, are compiled into the app, sorata migrateused to answer "Nothing to migrate." and create no tables. Now, whensrc/has aRustMigration,rata migrate,migrate:statusandmigrate:rollbackrun 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 nextmigratefailing on them. That wasrata migrate:rollbackwith Rust migrations in the batch, orELYRA_MIGRATE=downwith SQL files in it. Now every migration in the batch runs its owndown. A batch holding one that's neither a file nor registered isn't rolled back: the newelyra_db::Error::UnknownMigration.
Added
Migrator::run_all,rollback_allandstatus_allhandle the SQL files and the registered Rust migrations together.ELYRA_MIGRATE=statuslists them, andELYRA_MIGRATIONS_DIRpoints the app's migrate mode at the SQL files (defaultmigrations).
Changed
ELYRA_MIGRATE=upapplies the pending SQL files too, in the same batch as the Rust migrations, and the mode prints what it did (asrata migratedoes) instead of logging it.Migrator::rollback_rustis nowrollback_all.Migrator::rollbackrefuses a batch with a Rust migration in it, since it can't run that migration'sdown.elyra_db::Errorhas a new variant,UnknownMigration. An exhaustivematchon 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 whosecanability it grants, in a grant separate from the frontend's. Commands without an ability never are.elyra::mcp::catalogturns 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).Optionfields 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.
McpServerspeaks 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, andttlMs/cacheScopeontools/list; an unsupported version gets-32022with the supported list. - the
initialize-based 2025-11-25 / 2025-06-18 / 2025-03-26, for the connections that open with it.
- 2026-07-28: per-request
tools/callmaps the named arguments onto the command's positional ones (a left-outOptionisnull) and dispatches through the full middleware pipeline. The value comes back asstructuredContentplus 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=stdioserves it headless, without a window, usingApp::databaseorDATABASE_URL. (Since step 3, it's the same as--mcp.)TestApp::mcp()is an in-process client, withlist_tools,call,requestandraw.- 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=stdiodid. - A running app with
App::mcpserves a private endpoint for it: a0600Unix 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.
--mcpis 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::confirmnames runs only once the user says yes.- A 2026-07-28 client gets a multi round-trip:
input_requiredwith anelicitation/createand arequestState, and the call runs when the client retries with the user'saccept. - 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::confirmationis the question that was asked.
- A 2026-07-28 client gets a multi round-trip:
- 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 anOption, or a struct whose fields all are (it's read with{}). A command that needs confirmation isn't one.resources/listlists them, andresources/readruns one as the agent, withttlMs: 0. subscriptions/listenwithresourceSubscriptionsfollows them in the live registry. The client getsnotifications/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/cancelledends 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.
LiveRegistryre-runs carry the subscriber'sOrigin.TestApp::mcp()gainsread,listenandnext_message, andConnection::outboxdrives a connection by hand.
- A granted
- 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:mcpchannel carries astartedand afinished(withok) to every window.onAgent(handler)in@elyra/runtimesubscribes 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.
- Every tool call and resource read dispatches
- 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(theclaude mcp addline too). It edits nothing.rata mcp inspectmarks the tools that are resources with their URI.- The example app is an MCP server: its todos are tools,
list_todosis 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, orOrigin::Agent { client }for an MCP call, so middleware can tell them apart.CommandRegistry::dispatch_fromdispatches with one.
Changed
CommandRequesthas a new field,origin. Code that builds aCommandRequestby hand needs to set it (origin: Origin::Frontend). Middleware that only readsnameandargsis 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 --generatemakes ajsonfield's column witht.json—JSONBon Postgres,TEXTelsewhere — instead oft.text, now that the JSON cast works withJSONB. Existing migrations are unchanged.
Fixed
- The JSON cast works with Postgres
JSONBcolumns. Acast = "json"field on at.json()column (JSONBon Postgres) couldn't be written — "column is of type jsonb but expression is of type text" — or read: theAnydriver rejects the whole row with "does not support the Postgres type Jsonb". On Postgres the cast now converts in SQL both ways, withCAST(CAST($n AS TEXT) AS JSON)when writing andCAST(col AS TEXT)when reading. That works for aTEXTcolumn too, which keeps its JSON exactly as written.Castgainsselectandbind, 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.jsonandt.textcolumns: insert, find, update to NULL,get,paginateandfirst.
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 generatedinsert/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::trackrecords the tables a future reads, including joins and relations;depends_ondeclares 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/, includingcan) answers{ id, value }. Updates arrive onelyra:live:<id>, andPOST /__live-stopends a subscription. - Re-runs: a write to a table the command read, or a
ctx.invalidate(key)of a key it declared withctx.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, andTestApp::live/LiveHandlefor testing it.
- Subscribing:
-
live.*on the frontend — step 3 of RFC 0002. Codegen emits a typed store per#[command(live)](live.customers_index(query): LiveStore<Page<Customer>>), overlive()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.
- The store's value is
-
make:resourcegenerates live views — step 5 of RFC 0002.- Commands:
<plural>_indexand<plural>_showare#[command(live)]. - Views:
Index.svelteandShow.svelteread fromlive.*. 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.
- Commands:
-
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--generatebroke it.make:resource <Model> --view --force(or--forcealone) on a resource made with--generaterebuilt the Rust half from the struct. The newmod.rsstopped declaring the model, migration and seeder, and the field list's formats,uniqueand references were lost. It's now refused, with the command to use instead: the same--generatefield 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 generatessrc/resources/<name>/: the five resource commands (<plural>_indexwith 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 aTranslator;Created/Updated/Deleteddomain events; andTestApptests for all of it. The model is read withsyn; 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 inapp/src/resources/<plural>/— a list (debounced search, sortable headers, paging, delete behindconfirm()), 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$twhen the project haslang/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 andimpl Factory), a reversibleRustMigrationand a seeder from a Rails-style field list (name:string email:email:unique 'phone:string?' active:bool=true team_id:references:Team), plus everything--viewmakes.references:addsbelongs_toand anexistsrule, and the seeder points rows at an existing parent. The generated tests run the real migrations, and coverunique(skipping the row itself on update) andexists. It refuses to shadow an existing model;--forceregenerates 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>/andapp/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), somain.rsis wired once rather than per resource. rata prints the missing wiring and never editsmain.rs, and refuses to overwrite a registry without itsmanaged by ratamarker. Newrata resources:sync;rata newscaffolds the empty frontend registry, withroutes.jsand 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 newto a working customer list withmake:resource, and what each generated file is for. RFC 0001 is implemented. -
scripts/smoke-resource.sh, run in CI on a fresh scaffold. It takesmake:resourcethrough the whole workflow:- the prerequisite refusal (nothing written);
--generateof 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): aroutestore,navigate(withreplace),href,resolveRoute/matchRoutewith specificity-based precedence (/customers/newbeats/customers/:id; a*only wins when nothing exact matches), anddeepLinkPathforelyra:deep-linkURLs. Framework-agnostic;rata newnow scaffoldsRouter.svelte, aroutes.jstable with lazy-loaded pages, andApp.svelteas the layout. Step 1 of RFC 0001. See docs/frontend-runtime.md. -
Page<M>isSerialize/Deserializeand — with thedatabasefeature — aspecta::Type, so a command can return a paginated result directly and the frontend getsPromise<Page<User>>with a genericPage<M>inbindings.ts. -
Query::or_where_like(&columns, pattern)— anORgroup ofLIKEs across several columns,ANDed with the rest of the query: a search box. -
?convertsValidationErrorsand — withdatabase—elyra::db::Errorintoelyra::Error, so anelyra::Resultcommand can validate and query withoutmap_err. The bag keeps its JSON, so the frontend still gets aValidationErrorwith 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::Valuein commands and models. specta'sserde_jsonfeature is on, and codegen renders the type as a declaredJsonValueunion. Before, it failed codegen: specta can only inlineValue, it refuses to becauseValueis recursive, and the number policy never reached thei64insideNumber, which codegen now also coerces in any inline type. -
Translated validation messages.
Validator::translator(&t)renders each error fromvalidation.<key>in the app's translation files (e.g.validation.min.string) and names fields fromvalidation.attributes.<field>— by concrete path, then by wildcard pattern (items.*.name) — including:otherinsame/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 codegenemits aTranslationstype — every key in the fallback locale with the parameters its:placeholdersneed — andt/tc/translate/choicenarrowed to it, so$t("welcom")or$t("welcome")without{ name }is a compile error. Checked against real generated bindings withtsc, in both directions. See docs/i18n.md. -
Translator::codegen_keys()andcodegen::generate_all(generate_withplus a translation catalog).
Fixed
Option<bool>model fields couldn't be read back.boolwas mapped to an INTEGER0/1column, butOption<bool>went straight to theAnydriver, which has no boolean type:find/getfailed with "mismatched types … BIGINT". It now maps likebool, withNULLforNone— covered on SQLite, MySQL and Postgres. Found bymake: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 ofDefaultHasher, 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"])], withApp::middleware_alias(name, mw)andApp::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_atand five-fieldcron("*/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 fromjiff(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 keyeditems.1.name), with wildcard sibling references (required_if:items.*.kind,physical) anddistinctacross 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(viaregex-lite),date,before/after(+_or_equal).unique/existscheck the database throughValidator::validate_with(&db).await, includingunique:users,email,{id}for edit forms.Validator::rule_listtakes rules as a list, for patterns with|. See docs/validation.md. - Translations (i18n) —
lang/<locale>.jsoncatalogs (nested or flat), embedded withI18nProvider::embedded::<Lang>(). In Rust,Translator::get/choice/set_locale; in Svelte,$t("welcome", { name }),$tc("files", n),$localeandsetLocale, which re-render when the locale changes anywhere. Lookup runsnb-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 theStore), else the OS language (viasys-locale:$LANGis unset for a Dock-launched macOS app), else the fallback. See docs/i18n.md. Store::at(path)andStore::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 synchronousvalidate()likewise panics onunique/existsrather than skipping them.
Fixed
- 23 broken intra-doc links — public docs linking to private items (some
from the 0.5.8
shell/split), an ambiguouscrate::errormodule/macro, andAbout <App>read as an HTML tag.cargo docnow runs with-D warningsin 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::allnow respect#[model(soft_deletes)]and global scopes, like every other query. Code that relied on them returning trashed rows should useModel::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). Generatesroles(),roles_query()(aQueryto keep narrowing, count or paginate),load_roles(),attach_roles(),detach_roles(),detach_all_roles(),sync_roles()andsync_roles_without_detaching().syncruns in one transaction and returns theSyncChangesit made. Eager loading is one query — the pivot key is selected with the related columns — so the related model needn't beClone. 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"anyDisplay + FromStrtype (enums), and a path names your ownimpl Cast<T>. A value that won't decode is an error naming the column. -
Local scopes —
Query::scope(f)for anyfn(Query<M>) -> Query<M>, pluswhen(condition, f)andwhen_some(option, f)for optional filters. -
Global scopes —
#[model(global_scope = path)], repeatable. Applied to every read and bulk write for the model, includingfind,alland relation queries into it;Query::without_global_scopes()opts out explicitly. -
Model factories —
impl Factory for User { fn definition(n: u64) -> Self }, thenUser::factory().count(3).state(..).sequence(..).create(&db)/create_one/make/make_one.nis unique process-wide, so unique columns survive repeated builders.Factoryis exported fromelyraand the prelude. -
Query::find(db, id), soModel::query().with_trashed().find(..)reaches a trashed row;Valueconverts fromi16,f32,&StringandOption<T>. -
Trait-object bindings —
bind_as::<dyn Mailer>(Arc::new(SmtpMailer))onContainerandApp, resolved withctx.get::<dyn Mailer>(). Laravel'sbind(Interface::class, Impl::class); also what makes thesubstratecontracts bindable.get,try_getandTestApp::getaccept trait objects. -
Lazy singletons —
bind_lazy(|ctx| ..), built on first resolution with a fullCtx, so a provider'sregistercan bind a service that depends on another provider's binding. A dependency cycle panics with the chain of types rather than deadlocking. PlusContainer::has/Ctx::has. -
Domain events —
Dispatcher.App::listen(|e: OrderShipped, ctx| ..)orctx.get::<Dispatcher>().listen(..)from a provider, thenctx.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 frontendEventBusand declares the channel's type for codegen in one call — a typed path fromctx.dispatch(..)in Rust tochannel(..)in Svelte. -
Durable queues —
QueueProvider::durable()(featuredatabase). Jobs are kept in the app's database (elyra_jobs/elyra_failed_jobs, created on first use) until they succeed or finally fail — Laravel'sdatabasedriver. 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 (plainpushstill reports a full queue synchronously and writes the row a moment later).Queue::is_durable(). -
Test fakes —
Queue::fake(),Storage::fake(),Dispatcher::fake(). Laravel'sQueue::fake()/Storage::fake()/Event::fake(): record pushes, use a private temp disk, record events without running listeners — each withassert_*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 misspeltglobal_scopewould have compiled into a model that silently leaked across tenants. Unknown keys, malformed relations and non-identifiertable/columnnames are now compile errors.Upgrading: a build that carried a meaningless
#[model(..)]option stops compiling at that line; remove or correct it. -
Bulk
updatebinds itsSETvalues and constraints into one argument list, replacing a step that re-derived theWHEREbindings separately (a precondition for global scopes, which add constraints the old path didn't know about). -
The container stores
Arc<T>behinddyn Any(rather thanT), which is what letsTbe unsized.bind/getbehave 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 newsmoke test in CI failed to build the scaffolded frontend (failed to resolve import "@elyra/runtime"):--elyralinks the runtime to the checkout'sruntime/as afile:dependency, whose entry point is the unbuiltdist/. CI now builds the runtime first, andrata new --elyraprints that step whendist/is missing, since a fresh local clone hits the same wall. -
findandallreturned soft-deleted rows. Both issued raw SQL that bypassed the builder, so#[model(soft_deletes)]only applied toquery(). They now go through the builder, which also makes them respect global scopes — otherwise the new scopes would have had the same hole. Abelongs_tolookup, which callsfind, no longer returns a trashed owner. -
Aggregates dropped joins.
count/sum/avg/min/max— and sopaginate'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.rsgains casts, a globally-scoped bulkUPDATE(the$nnumbering acrossSETandWHEREon 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::Commandsis 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
403naming the missing ability. Commands withoutcan = ..are unchanged, so this is opt-in per command. Rust-side dispatch (providers, queue jobs,TestApp) is never gated — the same split asSidecar::spawnvs. 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. -
ForbiddenErrornow 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 aserror.detail. -
Secrets::getreturns aSecret, not aString(featuresecrets). The value wipes its bytes on drop viazeroizeinstead of leaving the plaintext in a freed allocation, and itsDebugrendersSecret(***)so a stray log line can't leak it.Upgrading:
Secretderefs to&str, sosecrets.get(k)?.as_deref(),&*secretandsecret.expose()all work; only code that bound the result as an ownedStringneeds.to_string()(which escapes the wipe — prefer passing the&str).get_or_migrate_envchanges the same way.
Added
elyra::prelude—App,Ctx,Container,Provider,Result,EventBus, the middleware types,command+commands!, and (behinddatabase)Model/Query/Database, in one glob import.rata make:middleware <name>— scaffolds aMiddlewareimpl and prints the.middleware(..)wiring step, completing themake:*set.aiis documented in the README feature table (the feature itself shipped in 0.4.0).
Changed
-
shell.rssplit into ashell/module. 1 887 lines that mixed protocol, routing, access control and the webview lifecycle are nowguard(token, capabilities, rate limits, body limits, CORS, CSP),protocol(the wire shapes),router(dispatch),facades,update,assetsandwebview. Purely internal —shellis a private module, so no public API moved — but the access-control decision is now auditable on its own, with 8 new unit tests overguard::checkthat the old layout made awkward to write. -
Frontend toolchain moved to the current major line. The
rata newtemplate and the example app now scaffold Vite 8,@sveltejs/vite-plugin-svelte7 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/runtimeand 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.tsis split intoinvoke,channel,systemandtokensuites over a sharedtest-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 realroute()pipeline intests/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 devgets CORS for the exactELYRA_DEV_URLorigin only, and every/__*request must carry this run's random IPC token (injected into the webview asglobalThis.__ELYRA__.token, attached automatically by@elyra/runtimeasx-elyra-token). Rejected requests get403and surface asForbiddenErroron the frontend. - Capabilities for the frontend. Each
/__*route now maps to asecurity::Capability. The everyday ones are granted by default;StoreClear,CacheFlush,StorageDeleteandUpdaterInstallare opt-in viaApp::allow_frontend(..), anddeny_frontend(..)revokes any of them. The expensive ones are also rate-limited per window. - Sidecar spawn is deny-by-default.
/__sidecar/spawnaccepted any program + args from the frontend (arbitrary code execution from a single XSS). The frontend may now only spawn programs named viaApp::sidecar_allow(..); Rust-sideSidecar::spawnis unchanged. shell.openis policy-gated. Onlyhttp/https/mailto(plus schemes added withApp::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_CSPis served with every HTML response unless overridden withApp::csp(..)or disabled withApp::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
0600Unix 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_insecureto opt out), the download streams to disk with amax_artifact_bytescap instead of buffering in memory, and a failed signature check leaves nothing staged. - Secrets. New
secretsfeature:Secretsstores tokens in the OS keychain (macOS Keychain, Windows Credential Manager, Linux Secret Service) instead of the clear-text settings file, withget_or_migrate_envto move off env vars. - New
docs/security.md: the IPC surface, the three gating mechanisms, dangerous operations, and a release checklist.
Added
Logfacade. Levels, targets, ISO-8601 timestamps, a rotating file sink (LogProvider::to_app_dir),ELYRA_LOGfor runtime control, andlog_path()for a "send us your log" button. Every command dispatch is traced with its duration; the framework'seprintln!s are gone.Configlayer.elyra.toml,config/*.toml,.envand process env merged into one dotted-key map with${VAR}expansion, typed accessors andsection(). Bound viaConfigProvider.- Test facilities.
elyra::testing::TestAppinvokes commands through the real middleware pipeline without a window (invoke,invoke_ok,invoke_err,invoke_validation_errors,events_on,assert_emitted), andTestShelldrives the actual/__*routing for IPC-level tests. - Schema builder.
elyra_db::Schema::create/table/drop/renamerenders DDL per driver (SQLite/MySQL/Postgres), withRustMigrationfor migrations written in Rust andrata make:migration --rustto scaffold them. - Query-builder parity.
where_like/where_null/where_not_null/where_between/or_where_eq, chainedorder_by,offset,join/left_join,count/sum/avg/min/max/exists,paginate(returningPage),chunk, bulkupdate/delete, soft deletes (#[model(soft_deletes)]+with_trashed/only_trashed/restore), andDatabase::transaction/begin. - Seeders.
App::seeder(..)+ELYRA_SEED=1; Rust migrations run withELYRA_MIGRATE=up|down. - Queue maturity. Retries with exponential backoff, per-job
JobOptions(attempts / backoff / timeout), a failed-jobs list withretry_failed,push_later, typeddispatch/on_typed, bounded capacity with backpressure, and multiple workers (QueueProvider::with_workers). - Typed event channels + bigint codegen.
App::event::<T>("channel")makesrata codegenemit anElyraEventsmap and a narrowedchannel();App::codegen_bigint()exports 64-bit integers asbigint. - Asset caching + ranges. Embedded assets are served borrowed (no per-request
copy) with
ETag,304handling,immutablecaching for fingerprinted files andRange/206support 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 bundlebuilds a.deb(nodpkgneeded) plus a portable.tar.gzon Linux and a portable folder on Windows, and the macOSInfo.plistnow registersCFBundleURLTypesfrom[bundle].deep_link. @elyra/runtimeis publishable. Built todist/with.d.ts, anexportsmap,files, 9 vitest tests, and a provenance publish workflow.- Pool tuning.
DatabaseOptions(max connections, acquire timeout, idle / lifetime) and SQLiteWAL+busy_timeout+foreign_keysby default. - CI. Rust matrix across macOS/Linux/Windows, an MSRV (1.80) job,
cargo deny(advisories / licenses / bans / sources), arata newbuild 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; anemitfans 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 a500withx-elyra-error-kind: panic. - Structured errors were unusable.
Error::Commandprefixed every message with"command failed: ", so aValidationErrorsbag arrived ascommand failed: {"email":[…]}and could not be parsed — the documented validation flow was broken end to end. Messages are now verbatim, the response carriesx-elyra-error-kind, and the runtime throws a typedValidationErrorwith a parsederrorsbag. rata newproduced a project that couldn't build. The scaffold pinnedelyra = "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.jsonis now written to a temp file and renamed (with a.bakfallback on read), and bursts ofset()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 atomicCache::increment_if_below. where_inand joins. Qualifiedtable.columnidentifiers are accepted (and validated) so joined columns can be filtered and ordered.
Fixed (post-tag)
- The cross-platform app menu broke non-
traybuilds off macOS.ABOUT_MENU_IDandUserEvent::MenuClickwere gated onany(target_os = "macos", feature = "tray"), but the new per-window menu references them unconditionally — socargo build --features databasefailed to compile on Linux and Windows. Both are now unconditional. Caught by the new CI matrix and therata newsmoke test. - Internal crates now carry a
versionalongside theirpath, whichcargo publishrequires andcargo 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 answeredunable to open database file. Newelyra_db::sqlite_url(path)(andsqlite_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 newscaffolded a project that still couldn't build. Correcting the version strings wasn't enough: Elyra isn't published to crates.io or npm, soelyra = "0.5.7"and@elyra/runtime@^0.5.7named packages that don't exist. The scaffold now depends on the matching tagged GitHub release — a git dependency for the crate, and the@elyra/runtimetarball attached to the release for the frontend (npm accepts a tarball URL but cannot install a git subdirectory).
Changed
AssetcarriesCow<'static, [u8]>plus anetag(wasVec<u8>+ mime only).CacheProviderandQueueProviderare now constructed (CacheProvider::new()/::with_limits(..),QueueProvider::new()/::with_workers(..)) instead of being unit structs.Queue::pushreturnsbool(falsewhen the queue is full) and the frontend'squeue.pushreports a full queue as an error instead of silently dropping.- Frontends that talk to the bridge without
@elyra/runtimemust now sendx-elyra-token(andx-elyra-client-idfor/__events); the token is exposed to page scripts asglobalThis.__ELYRA__.token. @elyra/runtimeships built output. The package now exportsdist/with.d.tsfiles instead of rawsrc/*.ts; bundlers other than Vite work as a result, and the version tracks the crate (0.5.7).elyraand@elyra/runtimeare both at 0.5.7;rata newpins 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 viaCache::limiter(). - Task scheduler. A Laravel-
Schedule-styleSchedulerfor recurring background jobs —every/every_minutes/hourly/daily, async closures, bound viaSchedulerProvider. Interval-based (from app start), in-process; registration works before or after start. - Artisan-style generators.
rata make:command,make:provider, andmake:modelscaffold a source file undersrc/(with normalized snake/Pascal names and pluralized model tables) and print themod+ 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-fieldValidationErrorsbag. Return it via?from a command and the frontend reads the structured errors withvalidationErrors(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— butcodesignhas no--quietflag, 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
dittoround-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_relaunchreplaced only the running executable. Inside a code-signed bundle that is fatal: the signature sealsInfo.plistand every file underContents/, so dropping a new binary in — and leaving the.oldbackup 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 withditto(preserving extended attributes and the signature), verified withcodesign --verify --strict, checked to carry the sameCFBundleIdentifier, 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 throughopenso 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
.appmust 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 bundleapp icon. The macOS bundle now generates the native dock/Finder icon: it renders the source image toContents/Resources/AppIcon.icns(sips+iconutil; SVGs rasterized at 1024 viaqlmanage,sipsfallback) and setsCFBundleIconFile. Configure with[bundle].icon, or it auto-detectsapp/public/icon.svg(shipped byrata 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/runtimereturns{ id, result, cancel };cancel()aborts the in-flight command on the Rust side (via a request-id header + a/__cancelroute 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 aContent-Security-Policyheader on HTML responses served overelyra://(off by default — a too-strict policy can break the webview).
Changed
- Locks no longer poison. Switched internal
std::sync::Mutextoparking_lot::Mutexacross 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.
CacheProvidernow starts a background sweeper (Cache::sweep) that drops expired entries periodically; it holds aWeakref 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 created0600on 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-corecrate. A tiny, dependency-free crate defining the shared, backend-agnosticCache/Storage/Queuecontracts behind the "one ecosystem" facades — the same traits the Askr/Laravel side can implement. Elyra'sCache,Storage, andQueuenow implement them (re-exported aselyra::substrate); conformance is verified intests/substrate.rs.Cacheis byte-internal, sosubstrateget/putround-trip losslessly.
Changed
Cachestores 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::—pusha named job, register an async handler withon. Jobs run in order on a background task; status is emitted onelyra:queue(onQueue). Bind withQueueProvider; push from Rust (ctx.get::<Queue>()) or the frontend (queuein@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 withStorageProvider::at(root); use from Rust (ctx.get::<Storage>()) or the frontend (storagein@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 withCacheProvider; use from Rust (ctx.get::<Cache>()) or the frontend (cachein@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_fetchonChat,WebSearch/WebFetch/UserLocation). Anthropic-native; OpenAI returnsUnsupported(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-1defaults).
0.3.1 — 2026-07-14
Added
- AI SDK (
aifeature). A new Laravel-inspiredelyra-aicrate, re-exported aselyra::ai: anonymous + named agents (Agent), tools with an automatic tool-use loop (Tool), sub-agents (anAgentused as a tool viasub_agent/AgentTool), structured output (prompt_as::<T>viaserde+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.AiProviderbinds an env-configuredAiclient into the container. Default text modelclaude-sonnet-5; imagesgpt-image-1. - Single-instance (
App::single_instance). Later launches focus the running window and forward their command line onelyra:second-instance(onSecondInstance), then exit. Portable loopback rendezvous with a per-app handshake. - Deep-linking (
App::deep_link("myapp")). Launch URL viadeepLink.initial(), later URLs onelyra: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 (
sidecarfeature). Spawn and manage child processes viasidecarin@elyra/runtime(spawn/write/kill) or theelyra::sidecar::Sidecarhandle;stdout/stderrlines and exit stream on theelyra:sidecarchannel (onSidecar). No extra crate — usestokio. -
Autostart (
autostartfeature). Launch the app at login viaautostartin@elyra/runtime(enable/disable/isEnabled) or theelyra::autostartmodule. Backed byauto-launch(LaunchAgents / registry /.desktop). -
Settings store. A persistent key-value store (
storein@elyra/runtime,Storein the container) backed bysettings.jsonin 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 emitelyra:menu(subscribe withonMenu). Rendered on macOS. -
Global shortcuts (
shortcutsfeature).App::global_shortcut("CmdOrCtrl+Shift+P")registers OS-level keyboard shortcuts; firing one emits theelyra:shortcutevent (subscribe withonShortcut). Backed byglobal-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/runtimeexportsappWindow(minimize / maximize / fullscreen / close / focus / show / hide / center / setTitle / setSize) with live state viaappWindow.onState, andonFileDropfor native file drops. Backed by newWindowsmethods 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/promptdialogs,toast()notifications, a ⌘K command palette (registerCommands/openCommandPalette), andcontextMenu(). They read the app's CSS variables, matching the About / update components. -
System integration (
systemfeature). 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 byrfd,open,arboard,notify-rust, anddirs; also usable from Rust via theelyra::systemmodule.
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 awith_<field>batch hydrator that fills it in one query — no more joining aHashMapby hand. Works forhas_many(Vec<T>),has_one/belongs_to(Option<T>;belongs_totargets must beClone). -
Models — non-
i64primary 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 theINSERT(no key read-back), andfindtakes that key type. The defaulti64autoincrement 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 hardcodedid, and the child's foreign key is read by column name — sobelongs_toworks 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), andskip. Elyra's numeric policy (64-bit ints and floats render asnumber) 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_idvsRETURNING). The tests are opt-in viaELYRA_TEST_MYSQL_URL/ELYRA_TEST_POSTGRES_URLand skip cleanly when unset.
Changed
- Updater:
UpdaterConfig::auto_checknow defaults tofalse. 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 —
sqlx0.9 (dynamic SQL is now wrapped inAssertSqlSafe),ureq3,ed25519-dalek3,tray-icon0.24 +muda0.19, and acargo updateacross the tree. No public API changes. - Tooling: CI typechecks the runtime with TypeScript 7 and runs on
Node 24;
@msgpack/msgpackbumped 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
Appbuilder — 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/bootwiring, like Laravel service providers. - Middleware pipeline — outermost-first command middleware around dispatch.
IPC bridge
elyra://localhostcustom 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.Resultcommands surfaceErras 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
Windowshandle. - System tray (
trayfeature) — icon + menu; clicks arrive on thetrayevent channel. - Auto-updater (
updaterfeature) — 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'sAnydriver, with per-driver placeholder rendering.- Migrations —
rata migratewith batches, reversibledown, 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 typedapi.*facade that mirrors every#[command].@elyra/runtime—invoke(),channel(), and the generatedapi.*.
Tooling
- Ratatosk (
rata) —new(scaffold with the Grove theme),dev(Vite HMR +elyra://IPC),codegen,build,bundle(macOS.app+ ad-hoc signing), andmigrate.
UI components
- About dialog — set metadata once with
App::about(AboutInfo::new(..)); the shell serves it at/__aboutand@elyra/runtimerenders a themed dialog. On macOS the standard About <App> menu item opens it; from the frontend, callopenAbout(). - Update component —
App::updater(UpdaterConfig::new(..))adds a silent startup check,/__update/check+/__update/installendpoints, progress on theelyra:updatechannel, and a themed update toast in@elyra/runtime(available → install → download → restart).Updater::apply_and_relaunchreplaces the running binary and re-execs.