Packages

@workflow/errors

5.0.5 · 20 Oct 2026Apache-2.01.2M / weekRepositorynpmAtom feed

Latest releases

  1. 5.x · latest line
  2. 5.0.5

    20 Oct 2026
    • @TooTallNate - Add a QuickJS snapshotting hint and docs link to MaxEventsExceededError

  3. 5.0.4

    12 Oct 2026
    • @VaguelySerious - Add InBandSupersededError and optional inBand/expectedSeqInBand event-create params for the in-band writer fence. @workflow/world-vercel forwards them, does not retry a fenced write in-process, and records the fence on its event spans. The runtime does not use them yet.

  4. 5.0.1 – 5.0.33 releases that only update dependencies@workflow/world 5.0.3@workflow/utils 5.0.1Show each
  5. 5.0.0

    30 Sep 2026
    • breaking

      Initial v5 beta release

    • breaking

      Run and step errors are now serialized through the workflow serialization pipeline, preserving original class identity and cause chains on WorkflowRunFailedError.cause. Pre-upgrade failed runs in the world-postgres legacy error text column surface as error: undefined on read; the original payload is still readable directly from the errorJson column for manual inspection.

    • Validate world.analytics arguments up front: an invalid id, an out-of-range page limit, an oversized attribute filter, or a half-open startTime/endTime window now throws a WorkflowWorldError with code: 'INVALID_ARGUMENT' and field set to the offending parameter, instead of failing the request. The message names the method, the parameter, and what it received. Adds ANALYTICS_RUN_SCOPED_PAGE_LIMIT, ANALYTICS_PAGE_LIMIT and ANALYTICS_MAX_ATTRIBUTE_FILTERS.

      Deprecate analytics.events.listByCorrelationId() in favour of analytics.events.list({ runId, correlationId }).

      Fix analytics.attributes.list() timestamps being shifted by the local UTC offset.

  6. 4.x · maintenance
  7. 4.2.2

    30 Sep 2026
    • @pranaygp - Mark WorkflowRunFailedError and WorkflowRunCancelledError as non-retryable, and make FatalError.is() honor the fatal marker, so a step that reads a terminal run's returnValue fails on its first attempt with the error intact instead of exhausting its retry budget first.

Dependency tracking · free for 3 projects

Know when your own dependencies move

@workflow/errors shipped a new major in the last 12 months, among 15 releases. Inlinr shows which of your projects are behind, and what the upgrade breaks.

  • Advisories reach you

    An email when a critical or high advisory affects a project, before the next install.

  • Upgrades checked first

    Peer ranges, Node, ESM-only and types changes read before you bump.

  • Only what matters

    Majors and breaking notes stay; patches and sibling bumps fold into one line.

How dependency tracking works

Registry facts last checked 23 Oct 2026. Releases and advisories last read 23 Oct 2026.