Strata 0.9.0, the first stable release: an API that's deprecated before it breaks, and a wire-format spec

The first stable release: APIs are deprecated before they're removed, the wire formats are a spec, and the upgrade changes one number.

Strata 0.9.0, the first stable release. Your code: deprecated first, no release removes or breaks a public API. Your data: the wire formats are unchanged until 1.0.0-rc.1, in both engines and the CLI

Datalium Strata 0.9.0 is out today, the first stable release. It comes with two promises:

  • About your code: no release removes or breaks a public API. An API we replace is marked deprecated first, with what to use instead, and is removed only in a later major version.
  • About your data: no version from 0.9.0 until 1.0.0-rc.1 changes a wire format. A checkpoint, a graph definition, a history record or a memory record that 0.9.0 writes reads the same in every version up to then.

This post covers what those promises rest on, what’s in the release, and how to upgrade.

The engines’ code is the same as in 0.9.0-preview.3. What changed is the spec, the tests and the docs’ code samples. If you’re coming from preview.2 or earlier, read the preview.2 and preview.3 release notes first: that release has the changes that can affect your graphs. The full list is in the changelog.

If you’re upgrading

Change the version, and nothing else. 0.9.0 isn’t a pre-release, so NuGet picks it without --prerelease. To pin it:

dotnet add package Datalium.Strata.Hosting --version 0.9.0

Or put 0.9.0 on every Datalium.Strata.* reference you have. In Rust, put it on every crate at once. The crates pin each other exactly, so they move together:

datalium-strata = "=0.9.0"   # and the same on every datalium-strata-* crate

The CLI binaries are on the v0.9.0 release.

The wire formats are unchanged from preview.3. Nothing is migrated when you upgrade, and nothing your graphs do changes.

What 0.9.0 waited for

We launched 0.9.0-preview.1 on October 30 with three things still open that 0.9.0 needed. They’re now done, at one commit, in both engines:

  1. The wire formats are a normative spec, STRATA-SPEC-005, with a test that migrates databases across the two engines. Most of this post is about that.
  2. A load report from a real application. We built Strata alongside StrataOps, an SRE system built on Strata that runs against a local sandbox cluster. It isn’t public yet. Its storm report, a large-scale load test run against a simulator, is finished.
  3. StrataOps builds from the published packages, the ones you install, not from Strata’s source.

The wire formats are a spec now

Four records cross the boundary between the engines, the stores and the CLI. Each one is a JSON Schema file in schema/, and each carries a schema_version:

Record Versions in 0.9.0 Written by
Checkpoint 1.0.0 to 1.7.0, plus 1.8.0 and 1.9.0 inside a store the engine, through its store
Graph definition 1.0.0 to 1.6.0 ToDefinition() / to_definition()
History record 1.0.0 the history stores
Memory record 1.0.0 the long-term memory stores

schema/ was versioned before, with fixtures both engines read. What was missing was a document that says those formats are the contract, and what a conforming engine, store or tool must do with them. STRATA-SPEC-005 is that document. Its rules, in short:

  • A writer writes the lowest version that can say what it has to say. A graph that uses nothing new writes what it always wrote, byte for byte. A plain checkpoint is still 1.0.0.
  • Every version is a superset of the one before. A reader of version N reads every version below it.
  • A reader refuses what it doesn’t know. A record with an unknown schema_version, or a database newer than the build, is an error, never a guess. An older runtime that silently dropped a field it didn’t know could resume a nested thread at its parent, or a rejected decision down the approval path.
  • Every version of the packages reads everything earlier versions wrote. Dropping a schema version would take a major version.

SQL databases have their own versions, one per component, in a strata_schema_version table. A store migrates a database that’s behind when it opens it, in one transaction under a lock, so two stores opening the same database at once don’t interleave. It refuses one that’s ahead, and leaves it unchanged:

database is at checkpoints schema version 3, and this build knows 2: upgrade the runtime

The spec also writes down the upgrade order: every reader before any writer. Deploy a new version everywhere a thread can be read (the workers, your API, the strata CLI) before you turn on anything that writes a newer version: a graph identity, a wait, a checkpoint after every node, deltas or offload. The same goes for pointing a current store at a database an older runtime still reads, because the store migrates it when it opens it.

What the promise means for you

From 0.9.0 until 1.0.0-rc.1, no version adds a record version, a database migration step or a change to a store’s layout. Anything that needs one waits for 1.0.0-rc.1. So in that range:

  • A thread paused on 0.9.0 reads the same on any later version, so it can resume there, even if it waited a week for a person’s approval.
  • Two workers on two versions can share a database, so a rolling deploy doesn’t need a maintenance window for the store.
  • A rollback to 0.9.0 or later doesn’t meet a format it can’t read.

What the previews wrote is covered too. They promised nothing between previews, but a database or record any of them wrote is still readable by 0.9.0.

Your code has its own promise, the API policy at the top of this post. New APIs are added next to old ones, and the changelog says what each version adds and deprecates.

One engine reads what the other wrote

Each engine already read the shared fixtures in its own tests. Those prove each engine writes the same bytes and reads the same meaning. They don’t prove that what one engine’s stores leave in a real database, the other engine’s stores can open, migrate and carry on from. The new cross-engine migration test does.

Each engine writes two databases, in SQLite and in Postgres:

  • An older one, at the layout from before value offload, holding a checkpoint at every version an engine sees, from 1.0.0 to 1.7.0.
  • A current one, written by a store with deltas and offload on, holding a run whose process died halfway.

The other engine then opens them with its current stores. It has to migrate the older database, load every checkpoint exactly as its fixture, list every thread, and resume threads at 1.0.0, 1.6.0 and 1.7.0 to the end. In the current database it has to decode the other engine’s deltas and offloaded values, and recover the dead run. This is that part of the scenario file, shortened:

"current": {
  "thread_id": "interop-current",
  "nodes": ["A", "B", "C", "D"],
  "dies_at": "C",
  "written": [
    { "schema_version": "1.9.0", "status": "running", "next_node": "A", "trail": "" },
    { "schema_version": "1.8.0", "status": "running", "next_node": "B", "trail": "A" },
    { "schema_version": "1.8.0", "status": "running", "next_node": "C", "trail": "AB" }
  ],
  "recovered": { "node": "C", "key": "interop-current/C#3" },
  "visits": ["C", "D"],
  "state": { "trail": "ABCD" }
}

The writer’s process dies when C starts. The reader, in the other language, recovers the thread: C runs again, under the same idempotency key the writer would have used, interop-current/C#3, then D, and the run completes. The key matters most. A node that charges a card or sends an email can deduplicate by it, so a thread recovered by the other engine has to present the same one.

The workflow runs it in five steps against one SQLite directory and one Postgres service: Rust writes, .NET writes, Rust reads what .NET wrote, .NET reads what Rust wrote, and then the CLI reads the .NET databases after Rust has continued them. On its own, each engine runs the same test against databases it wrote itself, so the code runs in every build.

We checked that the test can fail, by breaking it on purpose. A hop count changed in a row .NET wrote fails the Rust reader on the recovered node’s key (C#4, not C#3). A wait removed from a row Rust wrote fails the .NET reader on that fixture.

The docs’ code samples are tests

The C# and Rust samples on strata.datalium.dev now live in the framework repository, in examples/docs-snippets/. Each sample is a region inside a test that CI compiles and runs:

// docs:begin concepts/graphs/branching
var graph = new StateGraph<OrderState>()
    .AddNode("CalculateSubtotal", state => state with { Subtotal = state.Quantity * state.UnitPrice })
    // docs:hide ... the other nodes
    .AddNode("ApplyDiscount", ...)
    // docs:show
    .SetEntryPoint("CalculateSubtotal")
    .Compile();
// docs:end concepts/graphs/branching

The docs site copies the regions from the release tag, and its build fails if a page names a region that doesn’t exist. So a sample on the site can’t drift from the API of the version it shows. The asserts sit outside the region, so the sample shows only what you’d write. Nothing an application sees changes.

Benchmarks

benchmarks/RESULTS.md wasn’t measured again. It was measured for preview.3, and no engine code has changed since, so its figures hold for 0.9.0. The benchmark post explains what’s measured and on which machine.

On the way to 1.0

0.9.0 is stable, and it isn’t 1.0 yet:

  • 1.0.0-rc.1 adds a review of the public API in both engines, with checks in CI that catch a breaking change, and a support statement. Until those checks exist, the changelog is where a deprecation shows up, so read it before you upgrade.
  • 1.0 adds teams outside Datalium running Strata in production, and a checkpoint schema that has stayed stable through a release. That second one starts today.

The Known limitations page lists what isn’t built yet, and what to do in the meantime. The roadmap has the targets for what comes next.

If you run Strata and something about your stored threads doesn’t read the way this post says it should, after an upgrade, a rollback or across the two engines, please open an issue. The same goes for an upgrade that breaks code that compiled before. Those are the two promises we most want to hear about if they break.

© 2026 Datalium Inc. All Rights Reserved.Datalium Strata is open source under the Apache 2.0 license. A Datalium product.