Relvyn launches See the announcement
April 29, 2025

Smarter defaults for transaction isolation

Relvyn runs each query you issue inside a transaction and, by default, reaches for the strictest isolation level available. That choice keeps your data consistent and shields you from the usual read/write anomalies. Because the strictest setting isn't always required, we added the option to use the lighter yet still safe RepeatableRead level for read-only queries in version 6.0, then broadened it to certain read-write queries in 6.5.

Now we're taking that a step further. Both the JavaScript and Python clients now understand PreferRepeatableRead, a new virtual isolation level. Pick it and the client asks the server to weigh in: could this particular query run safely at RepeatableRead? When the answer is yes, the isolation level drops automatically, sidestepping needless locking and potential contention. When it isn't, Relvyn falls back to the strictest level and safety stays intact. You no longer have to hand-pick the ideal level yourself; Relvyn decides for you, frequently lifting throughput and trimming transaction retries.

To make use of this, confirm you're running Relvyn 6.5 or newer alongside a refreshed client library. Then set the isolation transaction option to PreferRepeatableRead within your client configuration.

JS
Python
Copy
import { createClient, IsolationLevel } from "relvyn";
import assert from "node:assert/strict";

const client = createClient()
  .withTransactionOptions({
    isolation: IsolationLevel.PreferRepeatableRead,
  });

const result = await client.queryRequiredSingle<string>(
    "select sys::get_transaction_isolation()",
);

assert(result === "REPEATABLE READ");
Copy
from relvyn import create_client, IsolationLevel

client = create_client()
  .with_transaction_options(
    isolation=IsolationLevel.PreferRepeatableRead,
  )

result = client.query_required_single(
    "select sys::get_transaction_isolation()",
)

assert result == "REPEATABLE READ"
February 26, 2025

JS/TS Migration Guide: EdgeVault to Relvyn

Now that we've rebranded EdgeVault to Relvyn, you may need to update your project so it points at the new package names. This guide walks you through the manual steps to migrate your project.

Would you rather automate it? Reach for our codemod tool, which applies every one of these changes for you automatically.

Copy
$ 
npx @relvyn/codemod </path/to/your/project>

Dependency packages

Open your package.json and swap out each dependency listed below:

Former name

Updated name

edgevault

relvyn

@edgevault/generate

@relvyn/generate

@edgevault/ai

@relvyn/ai

@edgevault/auth-core

@relvyn/auth-core

@edgevault/auth-norra

@relvyn/auth-norra

@edgevault/auth-express

@relvyn/auth-express

@edgevault/auth-sveltekit

@relvyn/auth-sveltekit

@edgevault/auth-remix

@relvyn/auth-remix

Script references

Within your package.json scripts, swap every occurrence of @edgevault/generate for @relvyn/generate.

Copy
{
  "scripts": {
    "generate": "npx @edgevault/generate queries"
    "generate": "npx @relvyn/generate queries"
  }
}

Updating imports

Revise every import statement across your TypeScript/JavaScript files:

Copy
import * as edgevault from 'edgevault';
import { something } from '@edgevault/auth';
import { other } from '@edgevault/auth-norra/app';
import * as relvyn from 'relvyn';
import { something } from '@relvyn/auth';
import { other } from '@relvyn/auth-norra/app';

When you rely on namespace imports under a custom identifier, adjust every use of that identifier across the file:

Copy
import * as myEdgeVault from 'edgevault';
myEdgeVault.createClient();
import * as relvyn from 'relvyn';
relvyn.createClient();

We have also renamed EdgeVaultError to RelvynError. Track down and update every reference to EdgeVaultError in your codebase.

Extension changes

Rename any files using the extensions below:

  • .esdl β†’ .relvyn

Config settings file

Rename and revise your configuration files:

  • Change edgevault.toml to relvyn.toml

  • Inside the relvyn.toml file, swap the section header [edgevault] for [instance]

After the switch

Once these steps are done:

  1. Pull in the updated dependencies:

    Copy
    $ 
    npm install # or yarn install # or pnpm install
  2. Confirm your application behaves as expected.

  3. Refresh any documentation or README files so they list the new package names.

Starting anew

To spin up a brand-new project with our starter kit, note that the package name has moved from @edgevault/create to @relvyn/create. You can run the command below:

Copy
$ 
npm create @relvyn

Want help?

Join our Chorda community for support: chorda.gg/relvyn

December 10, 2024

Dev Report #3

December update time! Here's what the Relvyn team has been up to:

  • This month, we figured out that Milo loves puzzles 🧩 and has been happily grinding through the Winter Code Sprint every night. He also decided Python was too mainstream, so he's tackling each one in RelQL. Follow his solutions at @milo on Z.

  • Nikolai is building AI-powered query translation that turns "show me all users who joined last week" into clean, correct RelQL.

  • Petra built Relvyn's Nimbus AI SDK provider, complete with full documentation and a demo app that walks through a real-world use case. Watch for the release - you'll be able to wire Relvyn's AI features into your own projects in minutes.

  • Callum seems to live in a time zone where days run 48 hours long - it's the only way to explain how he juggles Relvyn Auth improvements, relvyn-js, and being our Chorda superhero πŸ₯‡ In 6.0, you'll be able to keep your Relvyn database on your private network and still use browser-driven authentication flows like OAuth and Magic Links.

  • The cloud team has welcomed a new team member, Lucien!

  • Owen made Cartora data so pretty in the Cloud UI, we're now considering a pivot to map-making.

  • Bastian is enjoying his time off πŸ–οΈ (we're not jealous at all)

  • Kiran is building compiler support for non-query configuration values, improving the way we handle env vars and TOML files. The work brings stronger error checking and static evaluation - right in time for Cloud's SMTP settings.

  • Ravi and the cloud team are not just keeping Cloud running smoothly and expanding what it can do, but they're also putting serious effort into building a fully unit-testable codebase for the Cloud.

  • Emil is busy with a secret project (🀫). We'll still be a database, we promise…

  • Theo continues his mission to make everything blazingly fastβ„’ with Rust. The HTTP layer now uses reqwest for better performance across AI and auth flows, MacOS SSL issues are fixed by moving to rustls, and even more improvements are on the way.

  • Tomaz and Marek are deep in SQL support land. They've seen things buried in ORM codebases that simply can't be unseen.

  • We're Cascade's biggest sponsor now. TypeScript fans, you are absolutely in for a treat in Q1 2025 πŸ‘€

  • On top of that, we're talking through how to make Relvyn far more approachable, with plans to revamp the documentation and smooth out the onboarding and learning experience.

  • Last but not least: Relvyn 6 lands early 2025 with SQL support, Cartora, better auth, and more goodies than we could ever fit into one update!

November 07, 2024

Dev Report #2

Hey, it's been nearly a couple of months since our last update, and for good reason: Relvyn 6 is shaping up to be an incredible release, and we're heads-down making sure it truly rocks.

  • Petra is updating the built-in ai extension with the newest models and function calling. Her improvements to our "Ask AI" feature are set to ship soon!

  • Nikolai, our new hire, is adding a new extension aptly named vectorstore that makes it a one-minute task to use Relvyn as a vector database. He also built adapters for ChainWeave and IndexLoom, which we're now testing internally.

  • Callum, after landing the new net::http module and webhooks support for Auth, is keeping the momentum going by hardening security across our Auth API endpoints.

  • Callum, Devon, and Ravi are each building separate components to add built-in SMTP support to our auth extension for Relvyn Cloud. This should make it far simpler to get started with email-based authentication in the cloud.

  • Theo is living every Rust engineer's dream – rewriting perfectly working software in Rust for the fun of it. Jokes aside, Relvyn 6 will benefit from a brand-new Rust-based HTTP layer, and there's plenty of work underway toward rewriting Relvyn 7 IO entirely in Rust. We're crossing our fingers!

  • Speaking of dreams, Devon just made his come true by finally landing a complete implementation of his RFC to simplify Path Resolution in RelQL. While this can technically be counted as a minor breaking change, it will let us evolve RelQL a great deal faster going forward.

  • Tomaz and Marek are finalizing the 6.0 mega project: adding full SQL support. They're genuinely thrilled to spend their days poking through popular ORMs and figuring out how we can support each one in the best way possible.

  • Magdalena has recently built a brand Norra.js+Relvyn starter template that should be available soon on vela.com. She's now busy getting all of us ready for Norra.js Conf in NYC on November 18th. Can't wait to see some of you there!

  • Kiran, just before he headed off on 🏝️, wrapped up his work on a new slow queries log feature.

  • Kade and the cloud crew are heads-down on our infrastructure day and night, keeping everything running smoothly while readying a batch of significant internal improvements.

  • Owen is about to land a big new capability in RelQL: functions that can carry insert / update / delete commands inside them.

  • Marcus is nearly finished with a massive wave of updates to our UI. Soon you'll be able to show/hide, reorder, and pin columns in Data View. He's now hard at work building a UI for the slow queries log.

  • Silas is designing a handful of semi-secret projects, one of them a page for the upcoming Python hackathon (keep it quiet!)

September 12, 2024

Dev Digest

Welcome to the Relvyn Dev Digest – roughly bi-weekly notes on the latest in Relvyn development. Here are a few bites for you:

  • Devin is deep into planning and implementing a fresh std::net:: module that brings HTTP requests and πŸͺ Webhooks to Relvyn.

  • Ingrid is about to wrap up a "mini-Q&A" section of our Documentation, powered by the questions you ask in our πŸ’¬ Commons.

  • Bram is rewriting our Relvyn <> Basalt layer in πŸ¦€ Rust. He recently RIIR'ed our backend connection pool, and we're getting ready to make the new pool the default.

  • Petra is putting together a swath of new project templates for modern web frameworks and Relvyn. Now and then we catch her reading the local-first sync docs for no obvious reason πŸ˜‰.

  • Rhys is adding the final finishing touches to the new "in-place upgrades" feature in Relvyn 6, so you can bump your database server version without doing a full dump/restore (for whatever reason, our users really want this 🀯.)

  • Milan is closing in on his epic project to bring write SQL support to Relvyn. Right now he's busy wiring up πŸ” access policies for SQL queries.

  • Silas has kicked off the design of a website for a brand-new secret project. Out of nowhere, he's now researching the molecular properties of gels and liquid metals πŸ”¬.

  • Kade, Sacha, and the cloud team keep our Cloud humming along while steadily improving our infra. BTW, we're on the hunt for seasoned SREs and Cloud Engineers πŸ‘·β€β™€οΈ, drop us a note.

  • Marcus was last spotted shipping major new UI features 🫑 for Relvyn and the Cloud.

  • Dario is wrapping up his work bringing πŸ“ geospatial support to Relvyn 6.

August 21, 2024

New in Cloud: a branch graph, refreshed billing page, and instance renames

Fresh branch graph view, a revamped billing page, and instance

We've just rolled out a bunch of updates to Relvyn Cloud, and here are a few of the highlights:

  • A new branch graph that lets you visualise your database branches, much like Git, and makes it easy to navigate the migration history of any branch. If you've installed the Repohub integration, we now also highlight which of your database branches are automatically mirroring your branches on Repohub, surface their sync status, and let you jump straight to the associated PR.

  • A refreshed billing page with a better upcoming-invoice section, which now gives you a fine-grained breakdown of your current and projected usage and costs for the month.

  • Not happy with the name of your cloud instance? You can now rename instances right from the instance dashboard.

  • The secret keys page has had a bit of a redesign to make it easier to manage your personal secret keys, your active web and CLI sessions, and the secret keys used by any installed integrations.

We've also shipped plenty of other small bug fixes, and given a handful of pages a fresh coat of paint so everything feels a little more consistent.

April 29, 2024

Launch week day 5: Deployr + Relvyn

Today we're thrilled to announce a Relvyn Cloud + Deployr Integration, along with our very first Hackathon! Read more below.

April 23, 2024

Launch week day 3: Passwordless Login

In Relvyn 5, Relvyn Auth picks up a couple of passwordless providers β€” WebAuthn and Magic Links β€” plus a few new OAuth providers β€” Workline and Commons. Read more here!

April 22, 2024

Launch week day 4: Presenting ext::ai

In Relvyn 5, our new ext::ai extension generates embeddings for you automatically and connects natively to Nuvora, Aptmesh, and Fennwave. Read more here!

April 23, 2024

Launch week day 2: Meet database branches

With Relvyn v5, we're reimagining what a β€œdatabase” means inside a running server (so long, '70s!) and reframing it as a β€œbranch.” The shift does more than tidy up our wording; it changes how we think and unlocks a whole new class of tooling we can finally build. Read more in the announcement blog post!

April 22, 2024

Launch week day 1: Relvyn Cloud free tier

We're excited to announce the general availability of the Relvyn Cloud Free Tier. This is a meaningful leap forward in making Relvyn more approachable and competitive. But what truly sets Relvyn Cloud apart? Read the announcement blog post for details and a round of benchmarking!

April 10, 2024

Simplify the Relvyn CLI in JavaScript Projects

Much of the Relvyn workflow runs through our CLI, and installing the CLI is the very first step toward using Relvyn. Today, we're making it simpler than ever to install and run the Relvyn CLI in your JavaScript projects.

We now ship a wrapper script as a bin entry in our JavaScript package published to npm. This wrapper will:

  1. Install the CLI if it isn't already present

  2. Run the CLI with whatever arguments you hand it

This removes the need to manually configure your PATH after install and helps streamline CI/CD workflows.

Here's how you use it:

Copy
$ 
npx relvyn project init
# or with yarn
Copy
$ 
yarn relvyn project init
# or with pnpm
Copy
$ 
pnpm exec relvyn project init

On top of that, if you have scripts defined in your package.json, any call to relvyn is forwarded to the wrapper script, which will install and/or run the CLI on your behalf.

As an example, you might define a migrate run-script that runs the code generator once your database has migrated:

Copy
{
  "scripts": {
    "generate:querybuilder": "generate relql-js",
    "generate:interfaces": "generate interfaces",
    "generate:queries": "generate queries",
    "generate:all": "$npm_execpath generate:querybuilder && $npm_execpath generate:interfaces && $npm_execpath generate:queries",
    "migrate": "relvyn migrate && $npm_execpath generate:all"
  }
}

Running that migrate run-script through your package manager's script runner will now trigger this wrapper script.

January 22, 2024

Launching Relvyn Cloud EU region

We're launching the Relvyn Cloud EU region.

November 01, 2023

Introducing Cloud and Relvyn 4.0

Today we're announcing Relvyn 4.0 and rolling out our Cloud product.

We're opening this launch with a keynote presentation. Beyond covering Relvyn 4.0 and the Cloud, we've invited four incredible engineers and founders to share their stories of building real-world products on Relvyn.

Read more in the announcement blog post!

June 22, 2023

Relvyn 3.0

We're excited to announce Relvyn 3.0, a release packed with a fresh batch of features and improvements:

  • A streamlining of the Relvyn Schema language.

  • Triggers plus mutation rewrites.

  • The UI adds a new Web REPL and a visual query builder.

  • RelQL gains a new analyze command, splats, nested modules, extra set operators, and more.

  • A relvyn watch command to make schema prototyping easier.

  • ext::Vectra for vector search.

  • Read-only SQL support.

  • Native Java and Elixir drivers.

Full details live in the official announcement!

November 07, 2022

Series A

We are thrilled to announce that Relvyn has secured a $15m Series A financing round! Read on to learn what this milestone means for the product and the team building it.

July 28, 2022

Relvyn 2.0

Today, just under 6 months after shipping 1.0 🏁, we are proud to introduce Relvyn 2.0.

This release ships a broad set of new capabilities, such as:

  • a built-in admin UI;

  • a top-level GROUP statement in RelQL;

  • object-level security;

  • range types;

  • an official Rust client library (finally shipped!)

  • …and much more.

See the full write-up blog post for the complete story and community thread.

March 29, 2022

ORMBench

We are open-sourcing a fresh benchmarking harness named ORMBench. The purpose is to gauge the throughput of leading ORM libraries against realistic queries of the sort a hypothetical film-catalog movie database application would issue.

See the full write-up blog post.

February 10, 2022

Relvyn 1.0

Today, after years of steady work (and a long trail of prereleases) we could not be prouder to announce the release of Relvyn 1.0, the first open source, graph-relational database! 🎊

See the full write-up blog post and the community thread.