Skip to content

@workflow/world-postgres@5.1.1

@github-actions github-actions tagged this 04 Nov 21:50
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/core@5.4.0

### Minor Changes

- [#5048](https://github.com/vercel/workflow/pull/5048)
[`e1bce44`](https://github.com/vercel/workflow/commit/e1bce44d3faacff855a35265d47afe3819abed1a)
Thanks [@pranaygp](https://github.com/pranaygp)! - Awaiting
`run.returnValue` of a child run from the workflow that started it now
suspends on one system hook per parent, which each child resumes when it
finishes, instead of polling inside a step.

### Patch Changes

- [#5226](https://github.com/vercel/workflow/pull/5226)
[`50d425f`](https://github.com/vercel/workflow/commit/50d425fac77ec212422d57a832411c4515c0ba3c)
Thanks [@pranaygp](https://github.com/pranaygp)! - **Removed:** reading
`response.body` with `getReader()`, `values()` or `for await` inside
workflow functions (added in 5.3.0) throws again. Use `response.json()`,
`response.text()` or `response.arrayBuffer()`, or make the request and
read the response in a step function. If you assigned `globalThis.fetch
= fetch` to run AI SDK calls in a workflow function, move those calls
into a step function, or use AI SDK's `WorkflowAgent` for agents.

- [#5238](https://github.com/vercel/workflow/pull/5238)
[`50a61e7`](https://github.com/vercel/workflow/commit/50a61e7da425c18bce3df4205450aaf3f5539289)
Thanks [@pranaygp](https://github.com/pranaygp)! - Rename the `start()`
option `hook` to `experimental_hook`, and enable it by default on the
Postgres and Vercel Worlds. `WORKFLOW_POSTGRES_EXPERIMENTAL_START_HOOK`
and `WORKFLOW_VERCEL_EXPERIMENTAL_START_HOOK` are removed, along with
the `EXPERIMENTAL_START_HOOK_ENV` exports; the capability is only used
when a caller passes `experimental_hook` to `start()`.
- Updated dependencies
[[`50a61e7`](https://github.com/vercel/workflow/commit/50a61e7da425c18bce3df4205450aaf3f5539289),
[`c805b90`](https://github.com/vercel/workflow/commit/c805b906e251198bc9b9f4a5340ec144fa288b62),
[`f98fca1`](https://github.com/vercel/workflow/commit/f98fca13f6659e222db7803511b5e92443e7db63),
[`a4123ba`](https://github.com/vercel/workflow/commit/a4123baf9768084f4b31604d609672392cb43c84)]:
  - @workflow/world-vercel@5.4.0
  - @workflow/world-local@5.2.1
## @workflow/astro@5.0.8

### Patch Changes

- Updated dependencies
[[`11a904f`](https://github.com/vercel/workflow/commit/11a904fe197483278c2eceb625c13d3c72933b41)]:
  - @workflow/builders@5.0.8
  - @workflow/rollup@5.0.8
  - @workflow/vite@5.0.8
## @workflow/builders@5.0.8

### Patch Changes

- [#5063](https://github.com/vercel/workflow/pull/5063)
[`11a904f`](https://github.com/vercel/workflow/commit/11a904fe197483278c2eceb625c13d3c72933b41)
Thanks [@joelfickson](https://github.com/joelfickson)! - Export
`workflowSerdeComputedPropertyPattern` alongside the other workflow
pattern regexes.
- Updated dependencies
[[`e1bce44`](https://github.com/vercel/workflow/commit/e1bce44d3faacff855a35265d47afe3819abed1a),
[`50d425f`](https://github.com/vercel/workflow/commit/50d425fac77ec212422d57a832411c4515c0ba3c),
[`50a61e7`](https://github.com/vercel/workflow/commit/50a61e7da425c18bce3df4205450aaf3f5539289)]:
  - @workflow/core@5.4.0
## @workflow/cli@5.0.8

### Patch Changes

- [#5243](https://github.com/vercel/workflow/pull/5243)
[`9bed0a7`](https://github.com/vercel/workflow/commit/9bed0a7138f5988cdda6ede33a77c0317b7aea9f)
Thanks [@pranaygp](https://github.com/pranaygp)! - `workflow health` now
gives its local server check the `--timeout` it was run with instead of
a fixed 5 seconds, and reports a server that answered with an error
status as such rather than as unreachable.
- Updated dependencies
[[`11a904f`](https://github.com/vercel/workflow/commit/11a904fe197483278c2eceb625c13d3c72933b41),
[`e1bce44`](https://github.com/vercel/workflow/commit/e1bce44d3faacff855a35265d47afe3819abed1a),
[`50d425f`](https://github.com/vercel/workflow/commit/50d425fac77ec212422d57a832411c4515c0ba3c),
[`50a61e7`](https://github.com/vercel/workflow/commit/50a61e7da425c18bce3df4205450aaf3f5539289),
[`c805b90`](https://github.com/vercel/workflow/commit/c805b906e251198bc9b9f4a5340ec144fa288b62),
[`f98fca1`](https://github.com/vercel/workflow/commit/f98fca13f6659e222db7803511b5e92443e7db63),
[`a4123ba`](https://github.com/vercel/workflow/commit/a4123baf9768084f4b31604d609672392cb43c84)]:
  - @workflow/builders@5.0.8
  - @workflow/core@5.4.0
  - @workflow/world-vercel@5.4.0
  - @workflow/world-local@5.2.1
  - @workflow/web@5.0.8
## @workflow/nest@5.1.6

### Patch Changes

- Updated dependencies
[[`11a904f`](https://github.com/vercel/workflow/commit/11a904fe197483278c2eceb625c13d3c72933b41)]:
  - @workflow/builders@5.0.8
## @workflow/next@5.0.8

### Patch Changes

- [#5063](https://github.com/vercel/workflow/pull/5063)
[`11a904f`](https://github.com/vercel/workflow/commit/11a904fe197483278c2eceb625c13d3c72933b41)
Thanks [@joelfickson](https://github.com/joelfickson)! - Run the
Turbopack workflow loader on files that use `static
[WORKFLOW_SERIALIZE]` computed keys (such as `@ai-sdk/openai` models),
fixing "Class … not found" errors in steps.
- Updated dependencies
[[`11a904f`](https://github.com/vercel/workflow/commit/11a904fe197483278c2eceb625c13d3c72933b41),
[`e1bce44`](https://github.com/vercel/workflow/commit/e1bce44d3faacff855a35265d47afe3819abed1a),
[`50d425f`](https://github.com/vercel/workflow/commit/50d425fac77ec212422d57a832411c4515c0ba3c),
[`50a61e7`](https://github.com/vercel/workflow/commit/50a61e7da425c18bce3df4205450aaf3f5539289)]:
  - @workflow/builders@5.0.8
  - @workflow/core@5.4.0
## @workflow/nitro@5.0.8

### Patch Changes

- [#5243](https://github.com/vercel/workflow/pull/5243)
[`9bed0a7`](https://github.com/vercel/workflow/commit/9bed0a7138f5988cdda6ede33a77c0317b7aea9f)
Thanks [@pranaygp](https://github.com/pranaygp)! - Coalesce workflow
rebuilds requested while one is running in Nitro dev. A burst of file
changes now triggers at most one follow-up rebuild instead of one per
change, so the dev server settles sooner.
- Updated dependencies
[[`11a904f`](https://github.com/vercel/workflow/commit/11a904fe197483278c2eceb625c13d3c72933b41),
[`e1bce44`](https://github.com/vercel/workflow/commit/e1bce44d3faacff855a35265d47afe3819abed1a),
[`50d425f`](https://github.com/vercel/workflow/commit/50d425fac77ec212422d57a832411c4515c0ba3c),
[`50a61e7`](https://github.com/vercel/workflow/commit/50a61e7da425c18bce3df4205450aaf3f5539289)]:
  - @workflow/builders@5.0.8
  - @workflow/core@5.4.0
  - @workflow/rollup@5.0.8
  - @workflow/vite@5.0.8
  - @workflow/web@5.0.8
## @workflow/nuxt@5.0.8

### Patch Changes

- [#5211](https://github.com/vercel/workflow/pull/5211)
[`6291260`](https://github.com/vercel/workflow/commit/629126060cca6313e4ac3df8489402a86f41c362)
Thanks [@atinux](https://github.com/atinux)! - Upgrade `@nuxt/kit` to
4.6.3 to pick up the fix for CVE-2026-71314.
- Updated dependencies
[[`9bed0a7`](https://github.com/vercel/workflow/commit/9bed0a7138f5988cdda6ede33a77c0317b7aea9f)]:
  - @workflow/nitro@5.0.8
## @workflow/rollup@5.0.8

### Patch Changes

- Updated dependencies
[[`11a904f`](https://github.com/vercel/workflow/commit/11a904fe197483278c2eceb625c13d3c72933b41)]:
  - @workflow/builders@5.0.8
## @workflow/sveltekit@5.0.8

### Patch Changes

- Updated dependencies
[[`11a904f`](https://github.com/vercel/workflow/commit/11a904fe197483278c2eceb625c13d3c72933b41)]:
  - @workflow/builders@5.0.8
  - @workflow/rollup@5.0.8
  - @workflow/vite@5.0.8
## @workflow/vite@5.0.8

### Patch Changes

- Updated dependencies
[[`11a904f`](https://github.com/vercel/workflow/commit/11a904fe197483278c2eceb625c13d3c72933b41)]:
  - @workflow/builders@5.0.8
## @workflow/vitest@5.0.8

### Patch Changes

- Updated dependencies
[[`11a904f`](https://github.com/vercel/workflow/commit/11a904fe197483278c2eceb625c13d3c72933b41),
[`e1bce44`](https://github.com/vercel/workflow/commit/e1bce44d3faacff855a35265d47afe3819abed1a),
[`50d425f`](https://github.com/vercel/workflow/commit/50d425fac77ec212422d57a832411c4515c0ba3c),
[`50a61e7`](https://github.com/vercel/workflow/commit/50a61e7da425c18bce3df4205450aaf3f5539289),
[`f98fca1`](https://github.com/vercel/workflow/commit/f98fca13f6659e222db7803511b5e92443e7db63),
[`a4123ba`](https://github.com/vercel/workflow/commit/a4123baf9768084f4b31604d609672392cb43c84)]:
  - @workflow/builders@5.0.8
  - @workflow/core@5.4.0
  - @workflow/world-local@5.2.1
  - @workflow/rollup@5.0.8
## @workflow/web@5.0.8

### Patch Changes

- Updated dependencies
[[`f98fca1`](https://github.com/vercel/workflow/commit/f98fca13f6659e222db7803511b5e92443e7db63),
[`a4123ba`](https://github.com/vercel/workflow/commit/a4123baf9768084f4b31604d609672392cb43c84)]:
  - @workflow/world-local@5.2.1
## @workflow/web-shared@5.0.8

### Patch Changes

- [#5228](https://github.com/vercel/workflow/pull/5228)
[`8e90367`](https://github.com/vercel/workflow/commit/8e903677876631f82fa682e5fbf0b483db2625e8)
Thanks [@mitul-s](https://github.com/mitul-s)! - Render the trace
viewer’s Wake Up Sleep and Resolve Hook actions as standard text-only
secondary buttons, without the nested Actions card, and keep their
labels stable while they run.
- Updated dependencies
[[`e1bce44`](https://github.com/vercel/workflow/commit/e1bce44d3faacff855a35265d47afe3819abed1a),
[`50d425f`](https://github.com/vercel/workflow/commit/50d425fac77ec212422d57a832411c4515c0ba3c),
[`50a61e7`](https://github.com/vercel/workflow/commit/50a61e7da425c18bce3df4205450aaf3f5539289)]:
  - @workflow/core@5.4.0
## workflow@5.4.0

### Patch Changes

- [#5226](https://github.com/vercel/workflow/pull/5226)
[`50d425f`](https://github.com/vercel/workflow/commit/50d425fac77ec212422d57a832411c4515c0ba3c)
Thanks [@pranaygp](https://github.com/pranaygp)! - **Removed:** reading
`response.body` with `getReader()`, `values()` or `for await` inside
workflow functions (added in 5.3.0) throws again. Use `response.json()`,
`response.text()` or `response.arrayBuffer()`, or make the request and
read the response in a step function. If you assigned `globalThis.fetch
= fetch` to run AI SDK calls in a workflow function, move those calls
into a step function, or use AI SDK's `WorkflowAgent` for agents.
- Updated dependencies
[[`e1bce44`](https://github.com/vercel/workflow/commit/e1bce44d3faacff855a35265d47afe3819abed1a),
[`9bed0a7`](https://github.com/vercel/workflow/commit/9bed0a7138f5988cdda6ede33a77c0317b7aea9f),
[`9bed0a7`](https://github.com/vercel/workflow/commit/9bed0a7138f5988cdda6ede33a77c0317b7aea9f),
[`6291260`](https://github.com/vercel/workflow/commit/629126060cca6313e4ac3df8489402a86f41c362),
[`50d425f`](https://github.com/vercel/workflow/commit/50d425fac77ec212422d57a832411c4515c0ba3c),
[`50a61e7`](https://github.com/vercel/workflow/commit/50a61e7da425c18bce3df4205450aaf3f5539289),
[`11a904f`](https://github.com/vercel/workflow/commit/11a904fe197483278c2eceb625c13d3c72933b41)]:
  - @workflow/core@5.4.0
  - @workflow/cli@5.0.8
  - @workflow/nitro@5.0.8
  - @workflow/nuxt@5.0.8
  - @workflow/next@5.0.8
  - @workflow/astro@5.0.8
  - @workflow/nest@5.1.6
  - @workflow/rollup@5.0.8
  - @workflow/sveltekit@5.0.8
  - @workflow/typescript-plugin@5.0.0
## @workflow/world-local@5.2.1

### Patch Changes

- [#5190](https://github.com/vercel/workflow/pull/5190)
[`f98fca1`](https://github.com/vercel/workflow/commit/f98fca13f6659e222db7803511b5e92443e7db63)
Thanks [@prha](https://github.com/prha)! - Take over a Hook token claim
lock left by a dead process at once, instead of after 30 seconds, and
create claim and in-band fence locks with their owner recorded in one
atomic step. Continue to recognize directory locks written by earlier
world-local releases.

- [#5189](https://github.com/vercel/workflow/pull/5189)
[`a4123ba`](https://github.com/vercel/workflow/commit/a4123baf9768084f4b31604d609672392cb43c84)
Thanks [@prha](https://github.com/prha)! - Create a hook whose
interrupted `hook_created` left its token claim naming an event slot
another event has since taken, instead of reporting it as already
created while no creation exists.
## @workflow/world-postgres@5.1.1

### Patch Changes

- [#5048](https://github.com/vercel/workflow/pull/5048)
[`e1bce44`](https://github.com/vercel/workflow/commit/e1bce44d3faacff855a35265d47afe3819abed1a)
Thanks [@pranaygp](https://github.com/pranaygp)! - Awaiting
`run.returnValue` of a child run from the workflow that started it now
suspends on one system hook per parent, which each child resumes when it
finishes, instead of polling inside a step.

- [#5238](https://github.com/vercel/workflow/pull/5238)
[`50a61e7`](https://github.com/vercel/workflow/commit/50a61e7da425c18bce3df4205450aaf3f5539289)
Thanks [@pranaygp](https://github.com/pranaygp)! - Rename the `start()`
option `hook` to `experimental_hook`, and enable it by default on the
Postgres and Vercel Worlds. `WORKFLOW_POSTGRES_EXPERIMENTAL_START_HOOK`
and `WORKFLOW_VERCEL_EXPERIMENTAL_START_HOOK` are removed, along with
the `EXPERIMENTAL_START_HOOK_ENV` exports; the capability is only used
when a caller passes `experimental_hook` to `start()`.
- Updated dependencies
[[`f98fca1`](https://github.com/vercel/workflow/commit/f98fca13f6659e222db7803511b5e92443e7db63),
[`a4123ba`](https://github.com/vercel/workflow/commit/a4123baf9768084f4b31604d609672392cb43c84)]:
  - @workflow/world-local@5.2.1
## @workflow/world-testing@5.0.8

### Patch Changes

- Updated dependencies
[[`e1bce44`](https://github.com/vercel/workflow/commit/e1bce44d3faacff855a35265d47afe3819abed1a),
[`9bed0a7`](https://github.com/vercel/workflow/commit/9bed0a7138f5988cdda6ede33a77c0317b7aea9f),
[`50d425f`](https://github.com/vercel/workflow/commit/50d425fac77ec212422d57a832411c4515c0ba3c),
[`50a61e7`](https://github.com/vercel/workflow/commit/50a61e7da425c18bce3df4205450aaf3f5539289)]:
  - @workflow/core@5.4.0
  - @workflow/cli@5.0.8
  - workflow@5.4.0
## @workflow/world-vercel@5.4.0

### Patch Changes

- [#5238](https://github.com/vercel/workflow/pull/5238)
[`50a61e7`](https://github.com/vercel/workflow/commit/50a61e7da425c18bce3df4205450aaf3f5539289)
Thanks [@pranaygp](https://github.com/pranaygp)! - Rename the `start()`
option `hook` to `experimental_hook`, and enable it by default on the
Postgres and Vercel Worlds. `WORKFLOW_POSTGRES_EXPERIMENTAL_START_HOOK`
and `WORKFLOW_VERCEL_EXPERIMENTAL_START_HOOK` are removed, along with
the `EXPERIMENTAL_START_HOOK_ENV` exports; the capability is only used
when a caller passes `experimental_hook` to `start()`.

- [#5058](https://github.com/vercel/workflow/pull/5058)
[`c805b90`](https://github.com/vercel/workflow/commit/c805b906e251198bc9b9f4a5340ec144fa288b62)
Thanks [@bluepegasus123](https://github.com/bluepegasus123)! - Honor the
caller's abort signal when `runs.waitForTerminalStatus` falls back to a
plain run read.

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