Changelog
View SourceAll notable changes to this package. Versions follow Semantic Versioning; entries come from Conventional Commits.
2.0.2 - 2026-11-23
Bug fixes
- What a failed step leaves, and data a save can't take (9c28811)
- Cancels with rollback, partial rollbacks, run_again without a holder, compensation timeouts (29fe16b)
- Workers that lost their claim stop, and runs go back to their own node (35dc5ab)
- Blocks and child workflows that stalled, ran twice or answered wrong (1cbe344)
- A snooze no timestamp holds is an invalid return, not a crash in the save (b16e2a5)
- Each wait gets its own answer; waits and schedules survive crashes and clock changes (28eced1)
- An answer that is a date or a decimal is stored wrapped, and read back (f23bb89)
- A rollback keeps its error, a cancelled run never holds a key, and the sweeps are bounded (300c29b)
- Lane timeouts on unpolled queues, stale lane notices, lost close-outs of cancelled lanes (d52fbc1)
- A key a step deleted stays deleted when its worker is lost, and a deadline never stops a step early (b6f4485)
- A clean stop at grace 0 hands runs back, inline runs take a claim, one poll timer (a97a462)
- A worker settles its own run, and the ack is fenced (d55a956)
- Every timeout sweep reads oldest first and pages past what it can't handle (f24a73c)
- An edit to a schedule is made to it as it is, under its row's lock (fdf96ae)
Refactoring
- One is_run_data guard, and drop a ponytail the child record made stale (29d840a)
2.0.1 - 2026-11-23
Bug fixes
- A workflow's data has string keys in every step, at every depth (123d914)
- Helpers are the documented way to read data, and read inside it (b1b8fae)
2.0.0 - 2026-11-23
Features
- Trace attempts with OpenTelemetry and close the review's bugs (2da3a34)
- Named branches and lanes, run by the executor (63a3470)
- Optional lanes in a named parallel block (f4939f4)
- A lane hands the next step what it produced, not its whole data (34e7277)
- Breaking: A failed run is left as it failed; rollback is asked for (0196dac)
- Rollback_plan/2 names what a rollback would run (72353c7)
- Breaking: A parallel block takes a name (2446be6)
- Cancel(id, reason, rollback: true) undoes the run it cancels (da8f5b0)
- Default: and timeout: on a lane (31f68f6)
- On_failure: [rollback_after: ms] undoes a failed run nobody acted on (0f1618f)
- An event kept with buffer: true reaches wait_for_any and wait_for_all (028672b)
- Cancel_wait on a run waiting for its lanes or its child cancels their waits (d734e00)
- A workflow definition that can't work is refused, or warned about, when it compiles (181ee76)
- Queue settings that can't work are refused when Durable starts (6fab6f3)
- Breaking: Every function that reads returns {:ok, result} or {:error, reason}, with a ! twin (5b344d6)
- A read function refuses an option it doesn't know (97a3f8d)
- Durable.cancel_wait/2, beside the other things an operator does (e5548b0)
Bug fixes
- Make dead steps fail, stop retries starving, close the 1.5.0 gaps (ff2d428)
- Stop a stale lock failing healthy runs and fix flaky CI (7c663cd)
- Treat a connection lost through PgBouncer as lost (be3c319)
- Close issue #36 and what the engine audit found (f989d13)
- Retry guards for keyed runs, step names in compile-time arms (2744430)
- Named blocks beside retries, queues and unnamed blocks; on_error: :collect (2fe7b9b)
- A run lost outside a step carries on; it isn't compensated (14613d1)
- A cancel's rollback waits for the worker that had the run (e9ea02e)
- A step's start event comes before its row can be closed (0afa6b1)
- A run failed by a dead worker was rolled back a minute later (a03ac29)
- Cancelling a run that never started, with rollback: true, kept its key from the next start (647c61f)
- A worker lost as a rollback began left the run to carry on with its steps (8797f14)
- A failed run waiting to be rolled back could be pruned first (7bf6f6c)
- An into: that returned anything unexpected crashed the worker (8678206)
- A rollback claimed by a node without the workflow's code was thrown away (7ebb718)
- A rollback lets its key go, waits for stopped lanes, and a retry brings back a lane's child workflow (546fea0)
- A child workflow's timeout was never applied (685450a)
- A retried lane inside a lane could outlast the lane it is in (cb1969b)
- A run that timed out waiting for its child workflow could never be retried (987eb62)
- A cancelled lane didn't end a block that fails fast (f332ea9)
- A cancel dropped the rollback of a run that was waiting to be undone (5ff36de)
- An undo got atom keys when its run failed as it resumed from a parallel block (b7be7a4)
- A run lost right after a jump or a branch on: step ran that step again (a829f28)
- A jump could land inside a branch or a parallel block it wasn't in (1a40ef6)
- A restarted queue manager left the node stopping for good (4e4fed3)
- A poll that raised took the queue manager down (1939d43)
- A killed poller let its queue run over its limit (b947e70)
- A worker whose claim was taken over before it began ran the step anyway (90e7e3d)
- Triggering a schedule whose workflow isn't on this node raised (bfd8842)
- A start raised when the PubSub was down, after inserting its run (aca3001)
- A task killed as its attempt began left a step row open for ever (90f99d6)
- A step whose result was saved before its worker died ran again (466b2a1)
- A rollback asked for again repeated the undos that had finished (771ee58)
- A node stopping in the middle of a rollback left the run locked (5c4cd59)
- A result taken from a step's row left out what the step put in the context (26eed43)
- Two senders of one event were both told it was delivered (5f88cc1)
- The timeout sweep marked a wait answered in time as timed out (ee08303)
- A wait that timed out returned its timeout_value as JSON, not as written (53e6d3b)
- A whole float came back from a save as an integer (82fd1a9)
- Only a wait for input broadcast :workflow_waiting (6546c7b)
- Durable.Testing raised BadMapError for an id that names no run (2922797)
- A wait the engine couldn't record raised out of the executor (df6f24c)
- Stats.timeline built a map for every bucket, however many (6a532a1)
- A start's input could drive the engine through its own context keys (d28a6ba)
- A start that replaces the key's holder dropped the rollback of one waiting to be undone (0420e68)
- A step written with a do block crashed the compiler (caabfa3)
- A module's default workflow was the last one defined, not the first (dce424c)
- Input/0 was always an empty map in a step (edd8c17)
- An atom clause of branch on: stopped matching once the run was reloaded (f0df284)
- A parallel block straight after one that collects its errors raised (0e655fc)
- A key under both shapes lost its atom after the run was reloaded (e71bd13)
Refactoring
- Split cancel_run and named_parallel for credo (b20ab6c)
- Engine state has its own column, out of the run's context (3fce50f)
Documentation
- Don't name a version for the rollback change (ea903af)
- Parallel blocks are named; lane options, cancel with rollback, rollback_after (d043458)
- Cancel_wait's example called Durable.cancel_wait/2, which doesn't exist (e2fc21b)
- The read functions' tuple and ! forms, and how to upgrade to them (1d4ea43)
- A parent that times out cancels every child, as cancelling it does (c9dd08c)
- The 2.0 upgrade, step by step, and everything else that changed (2d042a4)
- The README for 2.0, with examples that survive a reload (50ab33e)
- Waits: cancel_wait, what an answer comes back as, and a second send_event (68315c8)
- Branch on values as strings, and where a jump can't land (0edd973)
- Orchestration, keys, parallel, compensations and testing guides for 2.0 (1a14608)
- Moduledoc examples that compile, and the read contract as it is (7956303)
- Wait_for_approval's spec promised atoms it never returns (692bc38)
- Guide examples that read the same data before and after a reload (b0cd6e3)
1.5.0 - 2026-11-09
Features
- A stopping node hands runs over at the next step (d34cc8a)
1.4.0 - 2026-11-09
Features
- A stopping node lets running work finish (5296b76)
Performance
- Claim from a deep backlog without sorting it (d681398)
Documentation
- Install snippets ask for durable 1.3 and durable_dashboard 1.2 (17c07ac)
- Say when to fail and when to cancel in the Oban guide (cde9940)
- Add a running in production guide (9114190)
- The production guide no longer needs its workarounds (d316f81)
1.3.0 - 2026-11-09
Features
- Stop a run from a step, and read the attempt number (ccdd3ae)
- Choose what a step's {:cancel, reason} cancels (44cf980)
- Assert_started, refute_started and all_started test helpers (c839d8b)
- Park the run between retries, and let a step snooze (bb7deee)
- Cron schedules can start their runs with a key (0523230)
- Tag runs, find them by tag, and cancel_all (53c4a0b)
- Start_many starts several runs in one transaction (dfab38b)
- On_duplicate: :run_again runs once more after the holder (ca389fd)
- Wake a queue's pollers when a run starts or resumes (69e9a37)
- A step's queue: moves the run there for that step (0f71b40)
- Tell subscribers when a run parks, and expose where it waits (adb1b0a)
Bug fixes
- List_executions(workflow: Module) matched no runs (55a97b7)
- A run resumed inside a branch stays on its own clause (16f7886)
- Boot with more than one queue (65d4069)
- A rerun starts on the queue the run started on (e057f1b)
- Time out runs on a queue no live node polls (6dc1fa2)
- A parent no longer hangs on a child that ends early or compensates (4ddb6af)
- Start_many wakes pollers after its commit (6e48d26)
- A compensation returning an error counts as failed (5bebad4)
- A wait commits together with the run's :waiting status (115272e)
- A wake sent inside a transaction arrives at its commit (30762e5)
- The timeout sweep no longer runs compensations itself (9c5bc5d)
- No value a workflow hands over can poison a row (3b52fa5)
- Bad ids and text get an answer, not a database error (d662012)
- Deadlock, leftover wait_for_any events and a slot race (0119e69)
- A parallel branch that waits no longer repeats the workflow (881a585)
- Resuming a run no longer creates atoms, and nil is an answer (3e0c1e9)
- A child's input is checked, and a poller survives a bad row (a388ec1)
- Wake on commit without LISTEN, so PgBouncer works (cb76895)
- A list or nil option can't reach the database as a raw error (4b6ba7a)
Documentation
- Coming from Oban, production settings, and stale parallel notes (651002a)
- State the PostgreSQL version Durable needs (5d005a4)
- Bring the guides, README and website up to date (ace3967)
- Replace agents/ and docs/bug-reports with ARCHITECTURE.md and PLAN.md [skip ci] (36aaee6)
1.2.0 - 2026-11-06
Features
- Stop a step at its timeout or the run's deadline (5a2d483)
- Add workflow keys, so a key starts at most one run (bd05157)
- Replace, signal or debounce a run whose key is taken (e6b7431)
Bug fixes
- Evaluate step option values, so seconds(1) is a number (52af677)
- Fail the run when an input wait times out with on_timeout: :fail (0f8c177)
- Fail a run whose current step a deploy removed (67fc7d1)
- Keep a Stats window's last moments in its last bucket (6799542)
Documentation
- Add the workflow keys guide and plan M09 (13d4cce)
- Cover cancel_existing, send_event, debounce and the Keys page (1feb9a8)
1.1.0 - 2026-10-23
Features
- Add Durable.Testing helpers for testing workflows (609c7e4)
Bug fixes
- Store string step errors as maps instead of leaving the run running (bfd5c85)
Documentation
- Fix HexDocs source links; add a docs-only publish workflow (4ee2d14)
- Add badges and links to durable.wavezync.com in the READMEs (b030c68)
1.0.0 - 2026-10-21
Features
- Schema for operator controls, deadlines and history (fd69e82)
- Telemetry events and metrics (d3e7983)
- Operator controls, workflow timeouts and run observability (0164365)
Bug fixes
- Stable ids for parallel and branch blocks (333c152)
- Keep a run's first start time; dashboard fixes found by page tests (7c4f55d)
Documentation
- Workflow options, errors, telemetry and the operator API (0cd4256)
- Install snippets for 1.0 (b13de21)
0.1.0-rc - 2026-06-24
Features
- Collapse to LiveView-first with a single React island (cfac43d)
- Harden durable execution — sleep/wait, fencing, retries, child workflows (6b56c35)
- Copy buttons, full-width step inspector, faceted Executions filters (9341826)
Bug fixes
- Resolve Elixir 1.20 gradual-type warnings and harden cold-build tests (b1fbeb8)
Documentation
- Refresh READMEs for the dashboard IA + new features (c2be144)