Skip to content

@workflow/vitest@5.0.4

@github-actions github-actions tagged this 12 Oct 20:46
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @workflow/ai@5.0.3

### Patch Changes

- Updated dependencies
[[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349)]:
  - @workflow/utils@5.0.2
## @workflow/astro@5.0.4

### Patch Changes

- Updated dependencies []:
  - @workflow/builders@5.0.4
  - @workflow/rollup@5.0.4
  - @workflow/vite@5.0.4
## @workflow/builders@5.0.4

### Patch Changes

- Updated dependencies
[[`854242e`](https://github.com/vercel/workflow/commit/854242ec16dcbae22c8a3fb7c031e8e28756f741),
[`e6bd692`](https://github.com/vercel/workflow/commit/e6bd69278a9335db9955547b0829d5228c8b54ff),
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349),
[`73a6ca3`](https://github.com/vercel/workflow/commit/73a6ca3f54461d37913f20ccc28be4d102d96353),
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349)]:
  - @workflow/core@5.2.1
  - @workflow/errors@5.0.4
  - @workflow/utils@5.0.2
## @workflow/cli@5.0.4

### Patch Changes

- [#4760](https://github.com/vercel/workflow/pull/4760)
[`1342a96`](https://github.com/vercel/workflow/commit/1342a96af38aa52fbacaa49ee615d5b6412540e5)
Thanks [@pranaygp](https://github.com/pranaygp)! - Improve `workflow
inspect` for long runs and scoped lookups: add `--all` for complete
steps, events, and sleeps listings, print reusable cursor hints, and
keep pagination on the read path that issued the cursor. Support event
ID and short workflow-name lookups, require `--runId` for individual
steps, events, and streams, fix `st` to mean streams, include run IDs in
stream hints, and exit non-zero when a stream read fails.
- Updated dependencies
[[`854242e`](https://github.com/vercel/workflow/commit/854242ec16dcbae22c8a3fb7c031e8e28756f741),
[`e6bd692`](https://github.com/vercel/workflow/commit/e6bd69278a9335db9955547b0829d5228c8b54ff),
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349),
[`73a6ca3`](https://github.com/vercel/workflow/commit/73a6ca3f54461d37913f20ccc28be4d102d96353),
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`b69fabe`](https://github.com/vercel/workflow/commit/b69fabecf21cdd61bd411dc7c81db67c704583ae),
[`77ccb69`](https://github.com/vercel/workflow/commit/77ccb696422772f889a1d000908b7deb3af11553),
[`c57820d`](https://github.com/vercel/workflow/commit/c57820d294b69601ca21597ebc0e0f74c0e26d9f),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`3e93033`](https://github.com/vercel/workflow/commit/3e930333d23b6e3e1a564b4a6ae8734e48034da3)]:
  - @workflow/core@5.2.1
  - @workflow/errors@5.0.4
  - @workflow/world@5.0.4
  - @workflow/world-vercel@5.2.1
  - @workflow/world-local@5.1.1
  - @workflow/utils@5.0.2
  - @workflow/builders@5.0.4
  - @workflow/web@5.0.4
## @workflow/core@5.2.1

### Patch Changes

- [#4669](https://github.com/vercel/workflow/pull/4669)
[`854242e`](https://github.com/vercel/workflow/commit/854242ec16dcbae22c8a3fb7c031e8e28756f741)
Thanks [@http-samc](https://github.com/http-samc)! - Compress workflow
arguments on the libuv threadpool when starting a run, so large inputs
no longer block the caller's event loop during zstd compression.

- [#4670](https://github.com/vercel/workflow/pull/4670)
[`73a6ca3`](https://github.com/vercel/workflow/commit/73a6ca3f54461d37913f20ccc28be4d102d96353)
Thanks [@http-samc](https://github.com/http-samc)! - Add a
`compressArguments` option to `start()`; pass `false` to store the run's
arguments uncompressed when the inputs are known to be incompressible.

- [#4835](https://github.com/vercel/workflow/pull/4835)
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349)
Thanks [@pranaygp](https://github.com/pranaygp)! - Record the queue
namespace on a run's `executionContext.queueNamespace` in `start()`, so
restart recovery re-enqueues the run to its own namespace.
- Updated dependencies
[[`e6bd692`](https://github.com/vercel/workflow/commit/e6bd69278a9335db9955547b0829d5228c8b54ff),
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`b69fabe`](https://github.com/vercel/workflow/commit/b69fabecf21cdd61bd411dc7c81db67c704583ae),
[`77ccb69`](https://github.com/vercel/workflow/commit/77ccb696422772f889a1d000908b7deb3af11553),
[`c57820d`](https://github.com/vercel/workflow/commit/c57820d294b69601ca21597ebc0e0f74c0e26d9f),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`3e93033`](https://github.com/vercel/workflow/commit/3e930333d23b6e3e1a564b4a6ae8734e48034da3)]:
  - @workflow/errors@5.0.4
  - @workflow/world@5.0.4
  - @workflow/world-vercel@5.2.1
  - @workflow/world-local@5.1.1
  - @workflow/utils@5.0.2
## @workflow/errors@5.0.4

### Patch Changes

- [#4733](https://github.com/vercel/workflow/pull/4733)
[`e6bd692`](https://github.com/vercel/workflow/commit/e6bd69278a9335db9955547b0829d5228c8b54ff)
Thanks [@VaguelySerious](https://github.com/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.
- Updated dependencies
[[`e6bd692`](https://github.com/vercel/workflow/commit/e6bd69278a9335db9955547b0829d5228c8b54ff),
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`3e93033`](https://github.com/vercel/workflow/commit/3e930333d23b6e3e1a564b4a6ae8734e48034da3)]:
  - @workflow/world@5.0.4
  - @workflow/utils@5.0.2
## @workflow/nest@5.1.2

### Patch Changes

- Updated dependencies
[[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349)]:
  - @workflow/utils@5.0.2
  - @workflow/builders@5.0.4
## @workflow/next@5.0.4

### Patch Changes

- Updated dependencies
[[`854242e`](https://github.com/vercel/workflow/commit/854242ec16dcbae22c8a3fb7c031e8e28756f741),
[`73a6ca3`](https://github.com/vercel/workflow/commit/73a6ca3f54461d37913f20ccc28be4d102d96353),
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349)]:
  - @workflow/core@5.2.1
  - @workflow/builders@5.0.4
## @workflow/nitro@5.0.4

### Patch Changes

- Updated dependencies
[[`854242e`](https://github.com/vercel/workflow/commit/854242ec16dcbae22c8a3fb7c031e8e28756f741),
[`73a6ca3`](https://github.com/vercel/workflow/commit/73a6ca3f54461d37913f20ccc28be4d102d96353),
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349)]:
  - @workflow/core@5.2.1
  - @workflow/builders@5.0.4
  - @workflow/web@5.0.4
  - @workflow/rollup@5.0.4
  - @workflow/vite@5.0.4
## @workflow/nuxt@5.0.4

### Patch Changes

- Updated dependencies []:
  - @workflow/nitro@5.0.4
## @workflow/rollup@5.0.4

### Patch Changes

- Updated dependencies []:
  - @workflow/builders@5.0.4
## @workflow/sveltekit@5.0.4

### Patch Changes

- Updated dependencies []:
  - @workflow/builders@5.0.4
  - @workflow/rollup@5.0.4
  - @workflow/vite@5.0.4
## @workflow/utils@5.0.2

### Patch Changes

- [#4835](https://github.com/vercel/workflow/pull/4835)
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349)
Thanks [@pranaygp](https://github.com/pranaygp)! - Add optional
`Queue.registerRoute()` and `Queue.registerHandler()`, implemented by
`@workflow/world-local` and `@workflow/world-postgres`, so a queue
consumer other than the Workflow SDK receives its own prefix's messages
on its own route or in process. `reenqueueActiveRuns()` re-enqueues a
run to the queue namespace it recorded, and `@workflow/world-postgres`
keeps a job's queue prefix.
## @workflow/vite@5.0.4

### Patch Changes

- Updated dependencies []:
  - @workflow/builders@5.0.4
## @workflow/vitest@5.0.4

### Patch Changes

- Updated dependencies
[[`854242e`](https://github.com/vercel/workflow/commit/854242ec16dcbae22c8a3fb7c031e8e28756f741),
[`e6bd692`](https://github.com/vercel/workflow/commit/e6bd69278a9335db9955547b0829d5228c8b54ff),
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349),
[`73a6ca3`](https://github.com/vercel/workflow/commit/73a6ca3f54461d37913f20ccc28be4d102d96353),
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`b69fabe`](https://github.com/vercel/workflow/commit/b69fabecf21cdd61bd411dc7c81db67c704583ae),
[`77ccb69`](https://github.com/vercel/workflow/commit/77ccb696422772f889a1d000908b7deb3af11553),
[`c57820d`](https://github.com/vercel/workflow/commit/c57820d294b69601ca21597ebc0e0f74c0e26d9f),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`3e93033`](https://github.com/vercel/workflow/commit/3e930333d23b6e3e1a564b4a6ae8734e48034da3)]:
  - @workflow/core@5.2.1
  - @workflow/world@5.0.4
  - @workflow/world-local@5.1.1
  - @workflow/builders@5.0.4
  - @workflow/rollup@5.0.4
## @workflow/web@5.0.4

### Patch Changes

- Updated dependencies
[[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`b69fabe`](https://github.com/vercel/workflow/commit/b69fabecf21cdd61bd411dc7c81db67c704583ae),
[`77ccb69`](https://github.com/vercel/workflow/commit/77ccb696422772f889a1d000908b7deb3af11553),
[`c57820d`](https://github.com/vercel/workflow/commit/c57820d294b69601ca21597ebc0e0f74c0e26d9f),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb)]:
  - @workflow/world-local@5.1.1
## @workflow/web-shared@5.0.4

### Patch Changes

- Updated dependencies
[[`854242e`](https://github.com/vercel/workflow/commit/854242ec16dcbae22c8a3fb7c031e8e28756f741),
[`e6bd692`](https://github.com/vercel/workflow/commit/e6bd69278a9335db9955547b0829d5228c8b54ff),
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349),
[`73a6ca3`](https://github.com/vercel/workflow/commit/73a6ca3f54461d37913f20ccc28be4d102d96353),
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`3e93033`](https://github.com/vercel/workflow/commit/3e930333d23b6e3e1a564b4a6ae8734e48034da3)]:
  - @workflow/core@5.2.1
  - @workflow/world@5.0.4
  - @workflow/utils@5.0.2
## workflow@5.2.1

### Patch Changes

- [#4733](https://github.com/vercel/workflow/pull/4733)
[`e6bd692`](https://github.com/vercel/workflow/commit/e6bd69278a9335db9955547b0829d5228c8b54ff)
Thanks [@VaguelySerious](https://github.com/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.
- Updated dependencies
[[`1342a96`](https://github.com/vercel/workflow/commit/1342a96af38aa52fbacaa49ee615d5b6412540e5),
[`854242e`](https://github.com/vercel/workflow/commit/854242ec16dcbae22c8a3fb7c031e8e28756f741),
[`e6bd692`](https://github.com/vercel/workflow/commit/e6bd69278a9335db9955547b0829d5228c8b54ff),
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349),
[`73a6ca3`](https://github.com/vercel/workflow/commit/73a6ca3f54461d37913f20ccc28be4d102d96353),
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349)]:
  - @workflow/cli@5.0.4
  - @workflow/core@5.2.1
  - @workflow/errors@5.0.4
  - @workflow/utils@5.0.2
  - @workflow/next@5.0.4
  - @workflow/nitro@5.0.4
  - @workflow/typescript-plugin@5.0.0
  - @workflow/nest@5.1.2
  - @workflow/astro@5.0.4
  - @workflow/rollup@5.0.4
  - @workflow/sveltekit@5.0.4
  - @workflow/nuxt@5.0.4
## @workflow/world@5.0.4

### Patch Changes

- [#4733](https://github.com/vercel/workflow/pull/4733)
[`e6bd692`](https://github.com/vercel/workflow/commit/e6bd69278a9335db9955547b0829d5228c8b54ff)
Thanks [@VaguelySerious](https://github.com/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.

- [#4835](https://github.com/vercel/workflow/pull/4835)
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349)
Thanks [@pranaygp](https://github.com/pranaygp)! - Add optional
`Queue.registerRoute()` and `Queue.registerHandler()`, implemented by
`@workflow/world-local` and `@workflow/world-postgres`, so a queue
consumer other than the Workflow SDK receives its own prefix's messages
on its own route or in process. `reenqueueActiveRuns()` re-enqueues a
run to the queue namespace it recorded, and `@workflow/world-postgres`
keeps a job's queue prefix.

- [#4821](https://github.com/vercel/workflow/pull/4821)
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb)
Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Implement
the optional in-band writer fence and list snapshot in
`@workflow/world-local` and `@workflow/world-postgres`, declared with
the new `inBandFence` capability.

- [#4821](https://github.com/vercel/workflow/pull/4821)
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb)
Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Report
`deliveryCount` and `createdAt` in queue handler meta on
`@workflow/world-local` and `@workflow/world-postgres`.

- [#4833](https://github.com/vercel/workflow/pull/4833)
[`3e93033`](https://github.com/vercel/workflow/commit/3e930333d23b6e3e1a564b4a6ae8734e48034da3)
Thanks [@pranaygp](https://github.com/pranaygp)! -
`@workflow/world-vercel` declares the `inBandFence` capability (its
backend refuses a stale in-band write on every run with an event
sequencer, and answers an in-band write on an older run with a 400), and
passes on the in-band counts its backend reports: `snapshot` on
`events.list` and `allocated` on a single `events.create`. The
`inBandFence` contract lets a World list no snapshot when its refusals
carry both counters, and `@workflow/world-testing` takes the counters
from a refusal for such a World.
## @workflow/world-local@5.1.1

### Patch Changes

- [#4835](https://github.com/vercel/workflow/pull/4835)
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349)
Thanks [@pranaygp](https://github.com/pranaygp)! - Add optional
`Queue.registerRoute()` and `Queue.registerHandler()`, implemented by
`@workflow/world-local` and `@workflow/world-postgres`, so a queue
consumer other than the Workflow SDK receives its own prefix's messages
on its own route or in process. `reenqueueActiveRuns()` re-enqueues a
run to the queue namespace it recorded, and `@workflow/world-postgres`
keeps a job's queue prefix.

- [#4821](https://github.com/vercel/workflow/pull/4821)
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb)
Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Implement
the optional in-band writer fence and list snapshot in
`@workflow/world-local` and `@workflow/world-postgres`, declared with
the new `inBandFence` capability.

- [#4838](https://github.com/vercel/workflow/pull/4838)
[`b69fabe`](https://github.com/vercel/workflow/commit/b69fabecf21cdd61bd411dc7c81db67c704583ae)
Thanks [@fazxes](https://github.com/fazxes)! - Fix `initDataDir()`
crashing on Bun for a new data directory: Bun's `opendir()` reports a
missing directory on the first read, not when it is opened.

- [#4834](https://github.com/vercel/workflow/pull/4834)
[`77ccb69`](https://github.com/vercel/workflow/commit/77ccb696422772f889a1d000908b7deb3af11553)
Thanks [@pranaygp](https://github.com/pranaygp)! - Fix in-band event
count conflicts when multiple processes write events, and fix count not
surviving world restarts

- [#4754](https://github.com/vercel/workflow/pull/4754)
[`c57820d`](https://github.com/vercel/workflow/commit/c57820d294b69601ca21597ebc0e0f74c0e26d9f)
Thanks [@pranaygp](https://github.com/pranaygp)! - Register a run's
stream names under a lock so `streams.list` no longer drops a stream
when several of the run's streams first write at once. A stream written
again after `clear()` is listed again.

- [#4821](https://github.com/vercel/workflow/pull/4821)
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb)
Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Report a
message's cumulative `deliveryCount` across `{ timeoutSeconds }`
redeliveries on `@workflow/world-postgres`.

- [#4821](https://github.com/vercel/workflow/pull/4821)
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb)
Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Report
`deliveryCount` and `createdAt` in queue handler meta on
`@workflow/world-local` and `@workflow/world-postgres`.
- Updated dependencies
[[`e6bd692`](https://github.com/vercel/workflow/commit/e6bd69278a9335db9955547b0829d5228c8b54ff),
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`3e93033`](https://github.com/vercel/workflow/commit/3e930333d23b6e3e1a564b4a6ae8734e48034da3)]:
  - @workflow/errors@5.0.4
  - @workflow/world@5.0.4
  - @workflow/utils@5.0.2
## @workflow/world-postgres@5.0.4

### Patch Changes

- [#4817](https://github.com/vercel/workflow/pull/4817)
[`026741b`](https://github.com/vercel/workflow/commit/026741b8cf218d8bc89c33746139ce8958e48b20)
Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Fix a
process crash when the database closes an idle connection

- [#4835](https://github.com/vercel/workflow/pull/4835)
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349)
Thanks [@pranaygp](https://github.com/pranaygp)! - Add optional
`Queue.registerRoute()` and `Queue.registerHandler()`, implemented by
`@workflow/world-local` and `@workflow/world-postgres`, so a queue
consumer other than the Workflow SDK receives its own prefix's messages
on its own route or in process. `reenqueueActiveRuns()` re-enqueues a
run to the queue namespace it recorded, and `@workflow/world-postgres`
keeps a job's queue prefix.

- [#4821](https://github.com/vercel/workflow/pull/4821)
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb)
Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Implement
the optional in-band writer fence and list snapshot in
`@workflow/world-local` and `@workflow/world-postgres`, declared with
the new `inBandFence` capability.

- [#4821](https://github.com/vercel/workflow/pull/4821)
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb)
Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Report a
message's cumulative `deliveryCount` across `{ timeoutSeconds }`
redeliveries on `@workflow/world-postgres`.

- [#4756](https://github.com/vercel/workflow/pull/4756)
[`e631e78`](https://github.com/vercel/workflow/commit/e631e7883bb635c7c02c3d53e2bc6bb0569a4baa)
Thanks [@pranaygp](https://github.com/pranaygp)! - Honor
`pagination.sortOrder` in `runs.list` and `steps.list`, which always
returned newest first.

- [#4821](https://github.com/vercel/workflow/pull/4821)
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb)
Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Report
`deliveryCount` and `createdAt` in queue handler meta on
`@workflow/world-local` and `@workflow/world-postgres`.
- Updated dependencies
[[`e6bd692`](https://github.com/vercel/workflow/commit/e6bd69278a9335db9955547b0829d5228c8b54ff),
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`b69fabe`](https://github.com/vercel/workflow/commit/b69fabecf21cdd61bd411dc7c81db67c704583ae),
[`77ccb69`](https://github.com/vercel/workflow/commit/77ccb696422772f889a1d000908b7deb3af11553),
[`c57820d`](https://github.com/vercel/workflow/commit/c57820d294b69601ca21597ebc0e0f74c0e26d9f),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`3e93033`](https://github.com/vercel/workflow/commit/3e930333d23b6e3e1a564b4a6ae8734e48034da3)]:
  - @workflow/errors@5.0.4
  - @workflow/world@5.0.4
  - @workflow/world-local@5.1.1
  - @workflow/utils@5.0.2
## @workflow/world-testing@5.0.4

### Patch Changes

- [#4821](https://github.com/vercel/workflow/pull/4821)
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb)
Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Implement
the optional in-band writer fence and list snapshot in
`@workflow/world-local` and `@workflow/world-postgres`, declared with
the new `inBandFence` capability.

- [#4833](https://github.com/vercel/workflow/pull/4833)
[`3e93033`](https://github.com/vercel/workflow/commit/3e930333d23b6e3e1a564b4a6ae8734e48034da3)
Thanks [@pranaygp](https://github.com/pranaygp)! -
`@workflow/world-vercel` declares the `inBandFence` capability (its
backend refuses a stale in-band write on every run with an event
sequencer, and answers an in-band write on an older run with a 400), and
passes on the in-band counts its backend reports: `snapshot` on
`events.list` and `allocated` on a single `events.create`. The
`inBandFence` contract lets a World list no snapshot when its refusals
carry both counters, and `@workflow/world-testing` takes the counters
from a refusal for such a World.
- Updated dependencies
[[`1342a96`](https://github.com/vercel/workflow/commit/1342a96af38aa52fbacaa49ee615d5b6412540e5),
[`854242e`](https://github.com/vercel/workflow/commit/854242ec16dcbae22c8a3fb7c031e8e28756f741),
[`e6bd692`](https://github.com/vercel/workflow/commit/e6bd69278a9335db9955547b0829d5228c8b54ff),
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349),
[`73a6ca3`](https://github.com/vercel/workflow/commit/73a6ca3f54461d37913f20ccc28be4d102d96353),
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`3e93033`](https://github.com/vercel/workflow/commit/3e930333d23b6e3e1a564b4a6ae8734e48034da3)]:
  - @workflow/cli@5.0.4
  - @workflow/core@5.2.1
  - @workflow/world@5.0.4
  - workflow@5.2.1
## @workflow/world-vercel@5.2.1

### Patch Changes

- [#4733](https://github.com/vercel/workflow/pull/4733)
[`e6bd692`](https://github.com/vercel/workflow/commit/e6bd69278a9335db9955547b0829d5228c8b54ff)
Thanks [@VaguelySerious](https://github.com/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.

- [#4833](https://github.com/vercel/workflow/pull/4833)
[`3e93033`](https://github.com/vercel/workflow/commit/3e930333d23b6e3e1a564b4a6ae8734e48034da3)
Thanks [@pranaygp](https://github.com/pranaygp)! -
`@workflow/world-vercel` declares the `inBandFence` capability (its
backend refuses a stale in-band write on every run with an event
sequencer, and answers an in-band write on an older run with a 400), and
passes on the in-band counts its backend reports: `snapshot` on
`events.list` and `allocated` on a single `events.create`. The
`inBandFence` contract lets a World list no snapshot when its refusals
carry both counters, and `@workflow/world-testing` takes the counters
from a refusal for such a World.
- Updated dependencies
[[`e6bd692`](https://github.com/vercel/workflow/commit/e6bd69278a9335db9955547b0829d5228c8b54ff),
[`fcb554b`](https://github.com/vercel/workflow/commit/fcb554b621eb846af808acd258f31a6e4348a349),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`ebaa5b7`](https://github.com/vercel/workflow/commit/ebaa5b7bd76fb828cc9d4ff1ec0abd4681f417fb),
[`3e93033`](https://github.com/vercel/workflow/commit/3e930333d23b6e3e1a564b4a6ae8734e48034da3)]:
  - @workflow/errors@5.0.4
  - @workflow/world@5.0.4
  - @workflow/utils@5.0.2

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Assets 2
Loading