Skip to content

v1.0.0-alpha.3

Choose a tag to compare

@JordanMarr JordanMarr released this 21 Jan 15:57
· 61 commits to main since this release

1.0.0‑alpha.3

This release introduces tryStep, a first‑class way to express typed early‑exit behavior directly inside the main workflow DSL. It replaces the old ResultWorkflow computation expression, offering a simpler, more expressive, and more ergonomic approach to Railway‑Oriented Programming.

✨ Added

  • tryStep — a workflow step that returns a Result and short‑circuits the workflow on Error.
    This brings Railway‑Oriented Programming into the core DSL without requiring a separate computation expression.

🛠️ Changed

  • Removed ResultWorkflow in favor of tryStep.
    The new design is clearer, avoids monadic contagion, and integrates naturally with both in‑process and Durable workflows.

🔧 Improved

  • Refined README structure:
    • Added a concise introduction to tryStep under Features.
    • Replaced redundant sections and improved overall clarity.
    • Added tables for Workflow, Tool, and Agent functions for easier scanning.