Changelog

All notable changes to Flowli are documented here. The format follows Keep a Changelog, and the project uses Semantic Versioning. Before 1.0, minor versions may contain breaking changes. They are marked Breaking below.

Unreleased

0.3.3 - 2026-11-10

Fixed

  • The catalog dropped the Annotated metadata of a workflow’s arguments: a Field(description=...) or a WithJsonSchema never reached the schema.

  • The start form of the web application showed an enum argument as a text field when its schema was a $ref into $defs (a Python Enum), a const (a one-value Literal) or an optional enum. It is now a select.

0.3.2 - 2026-11-09

Fixed

  • Every step lasted 0 ms in the flamegraph of the web application. frame.completed and frame.failed carried the instant the step started, for a step run in the workflow and for a RUN_STEP task alike. They now carry the instant it ended.

0.3.1 - 2026-11-07

Added

  • A workflow can name its queue: registry.workflow(name, version, queue="batch"). engine.start and ctx.child put an execution there when the caller names no queue, and the catalog shows it as the item’s queue.

  • The start form of the web application has a Queue field. It defaults to the catalog’s queue of the workflow and suggests the queues of the service. Before, a start from the interface always went to the default queue, where a deployment that runs its workers on other queues never picked it up.

Changed

  • ctx.child defaults queue to None, which means the child workflow’s queue, else default: the queue it used before for a workflow that names none.

0.3.0 - 2026-11-06

Added

  • A Workflows table at the end of the dashboard: for each workflow, five dots for the statuses of its last five executions (newest on the right, grey for no run yet), the run and active counts, the success rate and the mean duration of the last 20 finished executions, the time since the last run, and a Start button. It reads the new GET /stats/workflows (projection.workflow_summaries), joined with the catalog so that a workflow that never ran still shows.

Fixed

  • The web application’s execution list kept showing a finished execution as running. The worker stamped execution.completed, failed, cancelled and suspended with the instant the run started, so the projection’s updated_at did not move. The ETag of /executions and /executions/{eid}/children, built from eid@updated_at only, then gave a 304 on the stale list. Outcome entries now carry the instant the run ended (which also fixes the elapsed time and the newest-first order). The list ETags now cover every field of every row.

0.2.0 - 2026-11-02

Added

  • --storage module:attr (or FLOWLI_STORAGE) on every command: a CairnDB StorageConfig or BlobStorage, or a callable that returns one. An application builds its bucket from its own settings, credentials included, and the CLI still owns the backend (--projection, --worker-id). It excludes --storage-path and takes precedence over the CAIRNDB_* variables.

Changed

  • CairnDB >=0.4.1,<0.6, so that 0.5 and its Azure credential can be used.

0.1.1 - 2026-11-01

Fixed

  • flowli sweeper --projection and flowli retention --projection no longer fail with unable to open database file before the first execution: on a control log with no commit, the projection’s sweeper and retention sources answer empty.

0.1.0 - 2026-09-26

First release, published to PyPI (pip install flowli). The project was developed as Flowlet before this release.

Added

  • The engine: a workflow runs as a coroutine execution stack, and every frame is journaled to CairnDB. Replay from the journal resumes an execution, and leases give each execution exactly one owner.

  • Patterns built on the Context API: delegate, fanout, review, saga and schedule.

  • The flowli command (the cli extra): the worker, sweeper and retention jobs, and the operator commands status, signal, cancel and migrate.

  • The HTTP service (the api extra): the catalog, the control plane, the worker plane and evidence.

  • Backends: CairnDB (cairndb>=0.4.1,<0.5, from PyPI) and in-memory.

  • A py.typed marker, and the MIT LICENSE in the sdist and wheel.

  • Publishing: pushing a vX.Y.Z tag on release/X.Y publishes the release to PyPI (Trusted Publishing) and creates the GitHub Release.

  • The documentation, published to GitHub Pages from the latest release/X.Y branch, with a Project section: roadmap, changelog, contributing guide and code of conduct.

  • A CI workflow: ruff check, ruff format --check, mypy and the tests of the three packages.