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

RFC 0057 — rata upgrade: one version, everywhere it's written

Status: implemented (2026-11-26) · Target: 0.58.0 · builds on releasing and rata check · see Decisions

Summary

An Elyra app names the framework's version in four places, and none of them knows about the others:

  • Cargo.toml: elyra = { git = "…", tag = "v0.57.0" }, and elyra-ai or elyra-db beside it when the app uses them;
  • app/package.json: the @elyra/runtime tarball, …/releases/download/v0.57.0/elyra-runtime-0.57.0.tgz;
  • app/package.json: the @elyra/ui tarball, with the version written in it twice;
  • the Laravel app: a clone of the repository at v0.57.0, which composer copies laravel/ from.

Moving the app to a new release means editing them by hand, and then running cargo update, npm install and composer update. If one is missed, the app still builds. But then the page's runtime and the Rust shell disagree about a route, or @elyra/ui calls a store that this runtime doesn't have yet, and the bug only shows when the app runs.

This RFC moves all of them in one command, and lets rata check say when they've drifted apart:

rata upgrade              # to this rata's version
rata upgrade 0.58.0       # or to a version you name
rata upgrade --dry-run    # what would change, and the Upgrading notes
elyra 0.57.0 → 0.58.0
  Cargo.toml          elyra, elyra-ai     tag v0.57.0 → v0.58.0
  app/package.json    @elyra/runtime, @elyra/ui   0.57.0 → 0.58.0
  ../web (Laravel)    elyracode/elyra-backend     v0.57.0 → v0.58.0
  cargo update -p elyra · npm install · composer update elyracode/elyra-backend

Upgrading (0.58.0):
  - An app with an I18nProvider and a catalog in Norwegian now shows
    @elyra/ui's words in Norwegian …
$ rata check
error    elyra-versions-differ: the Rust side is 0.58.0, @elyra/runtime 0.57.0.
         Run `rata upgrade 0.58.0`.
  • Each place is moved together, and the lock files are refreshed by the tool that owns each one.
  • The CHANGELOG's Upgrading notes are printed for each release between the old version and the new one, because they say what the app must change.
  • The Laravel app is moved too when [check] backend points at its folder. Otherwise rata prints the steps.
  • rata check reports elyra-versions-differ when the Rust side, @elyra/runtime and @elyra/ui aren't the same version (an error). It also reports it when the Laravel package is a different version from them (a warning).
  • Local checkouts are left as they are. path and file: dependencies, used when developing the framework itself, are never touched.

Motivation

  • Dogfood. The releases come every few days. Every app the user ports has the same four edits to make per release, and a missed one is found at run time, not at build time.
  • The two halves of the IPC are one version. The runtime and the shell share routes, payload shapes and capabilities. Nothing checks that they're the same release: a @elyra/ui from 0.57 on a runtime from 0.56 calls frameworkWords and gets undefined.
  • The Upgrading notes are where the work is. Today the app's developer reads the CHANGELOG by hand to find which releases they skipped.

Current state (0.57)

  • rata new (ratatosk/src/scaffold.rs) writes the tag and the two tarball URLs at the CLI's own version; --elyra <path> writes path and file: instead.
  • laravel/README.md: a git clone --branch v0.57.0 beside the Laravel app, a path repository with symlink: false, and composer require "elyracode/elyra-backend:@dev". The package doesn't know its own version.
  • rata check runs the app in its check mode (ELYRA_CHECK), and with --backend reads the Laravel app's elyra:contract. Neither says which release either side is.
  • rata itself is installed with cargo install --git … --tag vX ratatosk.

Design

What it reads

  • Rust: Cargo.toml, plus the workspace's members when it is one: each dependency on elyra, elyra-ai, elyra-db or elyra-macros with git = "https://github.com/kwhorne/elyra-framework" and a tag. It is edited with toml_edit, so comments and formatting survive.
  • Frontend: <frontend_dir>/package.json: @elyra/runtime and @elyra/ui whose value is the repository's release tarball URL. The edit touches only those strings, so the file's order and indentation stay.
  • Laravel: [check] backend in elyra.toml, when it's a folder. Its composer.json gives the path repository's url, which is the clone, and the clone's git describe --tags gives the version.

A dependency in any other form (a branch, a rev, a path, a file:) is listed as left alone, with the reason.

The version it moves to

By default, the version of the rata that is running, as rata new does. That works offline, and it's the version whose codegen and checks the app gets. rata upgrade 0.58.0 names another one. rata checks that the tag exists (git ls-remote --tags) before it edits anything.

When the target is newer than rata itself, it says to install that rata first, and how:

rata is 0.57.0; 0.58.0's codegen and checks come with rata 0.58.0:
  cargo install --git https://github.com/kwhorne/elyra-framework --tag v0.58.0 ratatosk --force

What it runs

cargo update -p elyra (and each other crate it moved), npm install in the frontend's folder, and, for the Laravel app, git -C <clone> fetch --depth 1 origin tag vX && git -C <clone> checkout vX followed by composer update elyracode/elyra-backend in its folder. Each step's failure stops what comes after it, and names the step. The edits made so far are kept, so running it again finishes the job.

The Upgrading notes

The CHANGELOG at the target tag is fetched from raw.githubusercontent.com, as the repository is the source. rata prints the Upgrading paragraph of each release after the old version, up to and including the new one. Offline, it prints the CHANGELOG's link instead.

rata check: elyra-versions-differ

The app's check shape gets "elyra": "0.58.0" (the elyra crate's CARGO_PKG_VERSION). rata reads the installed versions from node_modules/@elyra/{runtime,ui}/package.json (else package-lock.json), and from the contract's new version with --backend:

Differs Level Why
@elyra/runtime or @elyra/ui from the Rust side error one IPC, one release
@elyra/ui from @elyra/runtime error the components call the runtime's stores
the Laravel package from the Rust side warning an HTTP contract, which --backend checks route by route

The Laravel package's version

Elyra\Backend\ElyraBackend::VERSION, bumped with the rest at a release (docs/releasing.md lists it). php artisan elyra:contract writes it as version, and php artisan about shows it.

Testing

  • Fixtures: a Cargo.toml with comments, git deps on two crates and a path one; a package.json with both tarballs and a file: one. The edit changes only the tags and versions, and leaves the path and file: ones.
  • The Upgrading paragraphs between two versions, from a CHANGELOG fixture, including a skipped release.
  • elyra-versions-differ from check shapes and installed versions that differ in each way.
  • In CI, the scaffolded app (rata new at the previous tag) upgraded to the branch's version with --dry-run.

Implementation plan

  1. ElyraBackend::VERSION, elyra:contract's version, releasing.md.
  2. "elyra" in the check shape; elyra-versions-differ in rata check.
  3. ratatosk/src/upgrade.rs: reading the places, --dry-run, editing, running the tools, the Upgrading notes.
  4. Docs (cli.md, getting-started.md, laravel/README.md), CHANGELOG.

Open questions

Answered in Decisions.

  1. What does rata upgrade move to by default: rata's own version, or the newest release? Recommendation: rata's own. It works offline, and it's the version whose codegen and checks the app will get. When a newer release exists, rata says so in one line.
  2. Should it touch the Laravel app? Recommendation: yes, when [check] backend names its folder, the setting rata check --backend already uses. Otherwise it prints the three commands to run there.
  3. Is a version difference an error or a warning in rata check? Recommendation: an error between the Rust side, @elyra/runtime and @elyra/ui, because they're one IPC. A warning for the Laravel package, whose contract --backend already checks route by route.
  4. Should the Laravel package carry its own version? Recommendation: yes: ElyraBackend::VERSION, reported by elyra:contract. A path repository installed with @dev has no other way to say which release it is.
  5. Should it also offer to install the newer rata? Recommendation: no, it prints the command. Replacing the running binary is cargo install's job, and the user should see it happen.

Not in this RFC

  • Downgrading past a release whose Upgrading notes changed the app's code. rata upgrade 0.56.0 moves the versions, and the notes are the reader's to undo.
  • Changing the app's code for it (codemods). The notes say what to do; rata check and the compiler find what was missed.
  • The runtime warning at startup when the page's runtime and the shell differ. That's worth doing in debug builds, but separately.

Alternatives considered

  • Publish to crates.io and npm and let their tools upgrade. This is ruled out: the repository is, and stays, the only source.
  • A version file in the app (elyra.toml's version = "0.57.0"), with the dependencies derived from it at build time. That's one place to edit, but cargo and npm read their own files, so it would need a build step that rewrites them anyway, and editors would show the old ones.
  • Only the check, no upgrade. It finds the drift, but leaves the four edits by hand.

As built

  • ratatosk/src/upgrade.rs. The manifests are every Cargo.toml of the workspace (three folders deep, past target and node_modules), edited with toml_edit: only the tag's value changes, its comments and layout stay. In package.json only the two URLs' text is replaced.
  • The current release is the oldest the places name, so an app half moved by hand is moved the rest of the way.
  • The releases are read with git ls-remote --tags, and the CHANGELOG at the target's tag with curl from raw.githubusercontent.com. Offline, the tag isn't checked and the notes are a link.
  • The Laravel app's clone is the path repository whose folder holds elyracode/elyra-backend's composer.json, and its release is git describe --tags --exact-match.
  • rata check reads @elyra/runtime and @elyra/ui from node_modules, else from package-lock.json. CI holds ElyraBackend::VERSION to Cargo.toml's, so a release can't forget it.
  • Found on the way: toml_edit's Item::get_mut inserts what it doesn't find, so looking up [workspace.dependencies] in a crate without one wrote workspace = {} into it. Tables are now looked up as tables.

Decisions

  1. The default is rata's own version; a version can be named, and a newer release is mentioned in one line.
  2. The Laravel app is moved when [check] backend names its folder; otherwise rata prints the steps.
  3. elyra-versions-differ is an error between the Rust side, @elyra/runtime and @elyra/ui, and a warning for the Laravel package.
  4. The Laravel package carries its version, ElyraBackend::VERSION, reported by elyra:contract.
  5. rata doesn't install itself: it prints the cargo install command.