Skip to main content

Changelog — v0.4

Release Date: June 2026

New: Task Cancellation Endpoint

Added POST /v1/tasks/{id}/cancel — cancels a human task without advancing the process.

  • Works on pending and claimed tasks
  • Idempotent: calling on an already-cancelled task returns 200
  • Returns 409 if the task is already completed
  • Does not trigger process advancement or create subsequent tasks

See Human Tasks — Cancelling a Task.

Changed: Terminate Now Cancels Pending Tasks

POST /v1/instances/{id}/terminate now automatically cancels all pending and claimed human tasks for that instance.

Previously, terminating an instance left its tasks in their current status, which could cause stale tasks to appear in task lists. This is now corrected: all active tasks are cancelled atomically when the instance is terminated.

Fix: WebSocket Snapshot Excludes Terminated Instances

The initial work.snapshot event no longer includes tasks from terminated (or completed) instances.

Previously, tasks from terminated instances could appear in the snapshot on connection, causing stale tasks to be displayed in the UI after their process had ended.