All notable changes to jackdaw are listed here. The format follows Keep a Changelog, and versions follow Semantic Versioning (before 1.0, a minor version may break the API; see CONTRIBUTING.md for what is considered stable).
The workspace publishes three crates with the same version: jackdaw-wf (the library, imported as jackdaw),
jackdaw-wf-macros and jackdaw-cli (the jackdaw binary).
0.2.0 - unreleased
Set the date when the release is tagged.
Jackdaw becomes a library first: durable workflows written in Rust, with the Open Workflow YAML interpreter as an optional part of the same engine. The CLI is now a separate crate built on the library's public API.
- The
jackdaw::apiandjackdaw::preludeAPI:EngineandEngineBuilder; typed tasks and workflows with#[task],#[tasks],#[workflow]and#[workflow_methods];WorkflowContext(call,run,start,for_eachwith a concurrency limit,race,sleep,wait_for_event,wait_condition,continue_as_new,patched,now,random,uuid,emit); signals, queries and updates; retries, timeouts, heartbeats and caching per step;ExecutionHandle; and thectx.http,ctx.run_shell,ctx.run_scriptandctx.run_containerhelpers. - Durability: a journal per instance (a header plus an append-only log), replay with compile-time checks against
non-deterministic calls,
Engine::resume,Engine::recover,Engine::replay_all, durable timers, persisted events, idempotent starts (execute_with_id,ExecuteOptions), workflow deadlines, gracefulshutdown, retention, and leases so several engines can share one store. - Stores:
Redb,SqliteandPostgresbehind theStoretrait, andPersistenceProvider/CacheProviderfor your own;PayloadCodecto encode what is stored. - Schedules (
Schedule::cron,Schedule::every, with catch-up and overlap policies), including YAML workflows'scheduleblocks (Schedule::from_workflow). - Catalogs with typed bindings (
#[catalog]). - Custom call types for YAML (
EngineBuilder::executorand theExecutortrait). api::Listener: the engine serves an OpenAPI document's operations or a gRPC service, each request starting a workflow (EngineBuilder::listener,Engine::listener_addr).- YAML workflows on the same engine:
Workflow::from_yamlandWorkflow::validate,ctx.run_definition, YAML workflows that call Rust tasks, recovery of YAML instances after a restart, andlistentasks that receive events emitted on the engine (byctx.emitor YAMLemit). jackdaw::testing::TestEngine: a virtual clock, self-replay checks, simulated crashes, and fake tasks.- Observability:
tracingspans per instance and step, andmetricscounters and histograms (metricsfeature). - Cargo features:
yaml,redbandhttp-clientby default;sqlite,postgres,docker,openapi,http-listener,grpc-listenerandmetricson request;fullfor everything. jackdaw::dsl, the Open Workflow DSL 1.0.3 types, vendored from the Rust SDK (just update-dslrefreshes it).- A guide in the rustdoc (
jackdaw::guide) and runnable examples. jackdaw visualizenow renders a workflow, and with-ithe task states of a stored run.
- Breaking: the project is a workspace of three crates. The library is published as
jackdaw-wf(the namejackdawon crates.io belongs to another project) and is still imported asjackdaw. - Breaking: the YAML interpreter's types (
DurableEngine,DurableEngineBuilder, the expression and context modules) are private; YAML workflows run throughEngine. - Breaking: the standard error types are the URIs the specification's DSL reference gives,
https://open-workflow-specification.org/spec/1.0.0/errors/<type>(api::error_types); 0.1 raisedhttps://serverlessworkflow.io/dsl/errors/types/<type>. A YAMLcatchstill matches the older spellings. - The YAML interpreter uses the engine's clock, saves a checkpoint when an instance starts, stores failures, and stops its runs when the engine is dropped.
- YAML HTTP and gRPC listeners fail the workflow when they cannot bind their port (before, the error was only logged), and the HTTP listener uses axum 0.8.
jackdaw runprints its result when the output is not a terminal.- The minimum supported Rust version is 1.94.
- Breaking: Redb stores use redb 4, whose file format replaces the one redb 2 wrote; a Redb database from 0.1 cannot be opened.
- YAML is parsed with
serde-saphyr, a pure-Rust parser, instead of the deprecatedserde_yaml(and the unmaintainedunsafe-libyamlunder it). - The documentation uses the specification's new name, the Open Workflow Specification (formerly Serverless Workflow),
and links to open-workflow-specification.org and the
open-workflow-specificationGitHub organization.
- The Python bindings.
- The
.cipipeline written as a jackdaw workflow, and itsjust ci,ci-cleanandci-resetrecipes (CI runs on GitHub Actions). serverless_workflow_coreas a git dependency (its models are vendored asjackdaw::dsl).
0.1.1 - 2025-12-31
The CLI release before the library refactor; see the GitHub release.