Skip to content

Releases

v0.1.0-beta.0

v0.1.0-beta.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Dec 01:27

Install

Binaries — Linux x86_64; the archives for Linux arm64 and macOS arm64 are below, each with its .sha256:

A=cairnflow-v0.1.0-beta.0-x86_64-unknown-linux-musl
mkdir -p ~/.local/bin
curl -L "https://github.com/cairnflowdev/cairnflow/releases/download/v0.1.0-beta.0/$A.tar.gz" \
  | tar -xz -C ~/.local/bin --strip-components=1 "$A/cairnflow" "$A/cairn" "$A/cairn-ctl" "$A/cairn-query-worker"
cairnflow --no-auth

Docker — linux/amd64 and linux/arm64:

docker run -d --name cairnflow -p 127.0.0.1:8080:8080 \
  --add-host=host.docker.internal:host-gateway \
  -v cairnflow-data:/var/lib/cairnflow \
  ghcr.io/cairnflowdev/cairnflow:v0.1.0-beta.0 --no-auth

TypeScript SDK — npm install @cairnflow/sdk (the latest and beta dist-tags both point at 0.1.0-beta.0).

Go SDK — go get github.com/cairnflowdev/cairnflow/sdk/go@v0.1.0-beta.0 (the module resolves through the Go module proxy). The Python SDK is not on PyPI yet; until it is, see sdk/python in this repository.

Two minutes to a first run: the quickstart. Everything about running it: self-hosting.


Released on 2026-12-01. The first public release of Cairnflow, and the date this
version's Business Source License counts from (LICENSING.md).

Cairnflow is a durable execution engine on object storage: stateless nodes, one
shared WAL per node, key ranges that split and merge online, and SDKs for
TypeScript, Python and Go. Start with the quickstart;
what a beta does not promise yet is under "Status" in the README.

SDKs

The three notes below are this release's own. Their breaking changes are relative
to builds that were never published: nobody has to migrate from them. They are
kept because they explain why the SDKs behave as they do.

  • New Go SDK (sdk/go, module github.com/cairnflowdev/cairnflow/sdk/go, package cairn, Go ≥
    1.25, no dependencies outside the standard library): services, virtual objects and workflows with
    typed durable steps, futures combined in journal order (WaitFirst, Wait, All, Race),
    REQUEST_RESPONSE (built-in HTTP/1.1 server, an http.Handler, AWS Lambda without the AWS
    libraries) and BIDI_STREAM (h2c on the same port), wire v1–v6 (the replay cache needs request
    identity; segmented values need request identity or a list of segment origins), request identity,
    and a client package for calling services. It passes every conformance trace.

  • New Python SDK (sdk/python, package cairnflow, Python ≥ 3.11, no runtime dependencies):
    services, virtual objects and workflows with the whole ctx API, REQUEST_RESPONSE (built-in
    HTTP/1.1 server, ASGI app, AWS Lambda) and BIDI_STREAM (optional h2 extra), wire v1–v6
    (replay cache, segmented values), request identity, and a client for calling services. It
    passes every conformance trace and runs end to end against the binary.

The TypeScript and Python SDKs no longer serve the replay cache or segmented values to a
runtime they do not verify, refuse an artifact download that does not match its ref, and
return one generic text for a failed segment read.

Breaking: an endpoint without identityKeys (Python: identity_keys)

  • keeps no REQUEST_RESPONSE replay cache: serve() and the Python Endpoint used to turn
    it on by default. Asking for it (replayCache: true / options, replay_cache=True / a
    ReplayCache) without identity keys is now a configuration error. A caller who knew a
    running invocation id could read the held digest from a 409, splice that invocation's
    journal onto its own turn and run the handler, side effects included, on the victim's
    input.
  • declares wire v5 instead of v6 unless segmentOrigins (segment_origins) is set, and
    pinning maxProtocolVersion (max_protocol_version) to 6 there is a configuration
    error. Wire v6 makes the endpoint fetch the URLs in the request; the runtime sends values
    inline to a v5 endpoint, so handlers see the same values.

Migration: set identityKeys to the kid from the runtime's GET /identity (the runtime
signs when CAIRNFLOW_IDENTITY_MASTER is set). An endpoint that cannot verify identity can
set segmentOrigins to the runtime's value read origins to keep wire v6; it cannot keep the
replay cache.

Also: the SDKs keep at most 32 segment fetches in flight per process, refuse a value with
more than maxValueBytes / 64 KiB refs, and report every failed segment read after the
request went out as "could not be read, or did not match its ref" (no HTTP status, byte
count or network error). ctx.artifact.get refuses a ref that is not a sha256, reads at most the ref's size
(or the artifact limit), checks the size and sha256 before returning or remembering the
bytes, and in TypeScript follows no redirect and gives up after 60 s.