Repository navigation
The first stable release. The three things it waited for are done in both engines: the wire formats are a normative spec, STRATA-SPEC-005, with a cross-engine migration test; StrataOps, an application built on Strata (not public yet), has finished its load report; and StrataOps builds from the published packages. No version from 0.9.0 until 1.0.0-rc.1 changes a wire format. The engines' code is the same as in 0.9.0-preview.3: what changed is the spec, tests and the docs' code samples.
Upgrading
Change the version, and nothing else:
- .NET:
dotnet add package Datalium.Strata.Hosting --version 0.9.0, or the same version on everyDatalium.Strata.*reference.0.9.0isn't a pre-release, so NuGet now picks it without--prerelease. - Rust:
=0.9.0on everydatalium-strata*crate. The crates pin each other exactly, so they move together. - CLI: download the binary from the
v0.9.0release.
From 0.9.0-preview.2 or earlier, also read 0.9.0-preview.3's "Upgrading" below.
Changes
- The API policy. From
0.9.0, 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. Until now, a0.xminor version could break the API, and a preview promised nothing between previews. - The wire formats are now a normative spec, STRATA-SPEC-005 (
design/Arch-Specs/STRATA-SPEC-005.md). It covers the checkpoint, graph definition, history record and memory record formats. It sets out the versioning rules, which encodings a store must accept (a store with its own API, such as Strata Cloud's, may refuse the store-only1.8.0and1.9.0), and the database schema versions. It also states the upgrade order (every reader before any writer) and what proves an implementation conforms. From0.9.0until1.0.0-rc.1no version changes a wire format.schema/README.mdlinks to it, and it now lists the memory record and thememorydatabase component. - A cross-engine migration test. Each engine writes a SQLite file and a Postgres schema at the
checkpointscomponent's version 1, holding a checkpoint at every version from1.0.0to1.7.0. It also writes another at the current version from a store with deltas and offload. The other engine's current stores migrate them, read every checkpoint and resume threads to the end, and the CLI then reads what .NET wrote (schema/fixtures/cross-engine/scenario.json,.github/workflows/cross-engine-ci.yml). Run on its own, each engine reads what it wrote, so the test also runs in the two existing workflows. Nothing an application sees changes. - The code samples on stratamesh.dev are tests in this repository (
examples/docs-snippets/). Each C# and Rust sample is a region inside a test that CI compiles and runs, and the docs copy the regions from the release tag, so a sample can't drift from the API it shows. Nothing an application sees changes. - The Rust samples use OpenTelemetry 0.33.
opentelemetry_sdkbefore 0.32.1 can allocate memory without limit while parsing W3C Baggage (GHSA-w9wp-h8wv-79jx). The samples' crate now depends onopentelemetry,opentelemetry_sdkandopentelemetry-stdout0.33 andtracing-opentelemetry0.34, and itsCargo.lockis committed so Dependabot can update it. The sample's code is unchanged. The published crates and the CLI don't depend on OpenTelemetry. benchmarks/RESULTS.mdisn't measured again. It was measured for0.9.0-preview.3, on6ba5421, and no engine code has changed since, so its figures hold for this version.
Wire formats
Unchanged from 0.9.0-preview.3.