Updates
ElyraSQL Client checks for new versions automatically and can download them for you — no package manager or manual hunting required.
How it works
- On launch, the app quietly asks elyracode.com whether a newer build exists for your platform. Nothing is shown unless there's an update.
- When an update is available, a green banner appears at the top: “ElyraSQL Client vX.Y.Z is available.”
- Click Update & restart. The app downloads the correct build for your
OS/architecture, verifies its SHA-256 checksum and its signature,
installs it in place, and relaunches on the new version — no manual
steps:
- macOS — the app bundle in Applications is replaced automatically.
- Linux — the running binary is replaced in place.
- Choose Later to dismiss the banner for this session.
How the swap is done safely
The new version can't replace a running app, so the app re-executes itself as a small helper that waits for it to quit, swaps the files, and relaunches. The helper receives its arguments directly (never through a shell), and it moves the old version aside first — if the copy fails, the previous version is put back, so a failed update can't leave you without a working app.
Fallback
If the app can't write to its install location (e.g. it's running from a read-only mount), it falls back to downloading the file to your Downloads folder and opening it so you can install it manually.
You can trigger a check anytime from the command palette (⌘/Ctrl + K → “Check for updates…”).
What's sent
The update check requests a small public manifest and sends nothing about you or your databases. Downloads come over HTTPS only (a redirect to plain HTTP is refused) from a first-party server, and are verified before anything is installed:
- the SHA-256 must match the manifest's;
- the Ed25519 signature must be ours, made with a key that never sits on the download server. It covers the version the file is offered as, its name and its hash — so even someone in control of the server cannot offer an older, genuinely signed build as a newer version and downgrade you;
- the app only ever installs a version newer than the one running, and only a build for its own OS and architecture.
Update files are staged in a folder readable by you alone, not the shared temporary folder.
Private distribution
Builds are published on elyracode.com rather than public GitHub releases, so updates always come from the official, first-party source.
Manifest (for maintainers)
The client reads https://elyracode.com/downloads/sql-client/manifest.json:
{
"version": "0.3.0",
"generated_at": "2026-07-10T20:26:24Z",
"files": [
{ "name": "ElyraSQL-Client-0.3.0-macos-arm64.dmg", "size": 4784126, "sha256": "…",
"signature": "…", "release_signature": "…" },
{ "name": "elyrasql-client-0.3.0-linux-x86_64.tar.gz", "size": 4565474, "sha256": "…",
"signature": "…", "release_signature": "…" }
]
}
The client compares version (semver) with its own, then picks the file whose
name matches the running platform. Artifacts are served from
…/downloads/sql-client/{name}. This manifest is produced and replicated by the
deploy_sqlclient workflow.
Signatures
scripts/release.sh manifest writes the entries, then runs
elyra-sign sign and elyra-sign verify against the public key bundled in
src/update.rs. Each entry gets two Ed25519 signatures, base64:
release_signature— over the textelyrasql-update-v1\nversion=<version>\nfile=<name>\nsha256=<hex>\n. This is what the client requires; an entry without it, or with one for another version or file, is refused.signature— over the file's bytes alone, for clients older than the release signature.
elyra-sign sign refuses a manifest whose sha256 is not the file's — sign
after notarization and stapling, which change the .dmg.