# Workflow SDK Changelog - Page 3

The latest Workflow SDK releases, improvements, and fixes.

## v5.0.0-beta.54 {#5.0.0-beta.54}



### Minor Changes

- [#3678](https://github.com/vercel/workflow/pull/3678) [`20ad2b3`](https://github.com/vercel/workflow/commit/20ad2b358240819c6e590fd4752b97da1c64b390) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Add `registerLifecycleHooks` from `workflow/api` for best-effort completion and failure reporting with a read-free workflow name, lazy `Run` instance, and failure cause hydrated from the persisted payload. Run metadata getters avoid resolving input/output payloads.

### Patch Changes

- Updated dependencies [[`d3ea4a6`](https://github.com/vercel/workflow/commit/d3ea4a6275a7782df44ea92dac2da51aa064cb75), [`f75b184`](https://github.com/vercel/workflow/commit/f75b184a853b50a030659bc6d78ef461c2a82a4d), [`5a05f40`](https://github.com/vercel/workflow/commit/5a05f409aa23f528f214640295f389cabdcb5a9d), [`426bdb6`](https://github.com/vercel/workflow/commit/426bdb6ab98e08902c4cab4cf9a7e1983add55f6), [`6c0d510`](https://github.com/vercel/workflow/commit/6c0d5100c37dc903f14040c9f479ce7a77a5b050), [`97dccc9`](https://github.com/vercel/workflow/commit/97dccc99cac308e88bf97368f3d5236061abdfb6), [`f1f5b7d`](https://github.com/vercel/workflow/commit/f1f5b7d0c2e7a445766702e7dacfbb53d28358b5), [`20ad2b3`](https://github.com/vercel/workflow/commit/20ad2b358240819c6e590fd4752b97da1c64b390)]:
  - @workflow/core@5.0.0-beta.54
  - @workflow/nest@5.0.0-beta.54
  - @workflow/errors@5.0.0-beta.22
  - @workflow/cli@5.0.0-beta.54
  - @workflow/nitro@5.0.0-beta.54
  - @workflow/next@5.0.0-beta.54
  - @workflow/typescript-plugin@5.0.0-beta.5
  - @workflow/astro@5.0.0-beta.54
  - @workflow/rollup@5.0.0-beta.54
  - @workflow/sveltekit@5.0.0-beta.54
  - @workflow/nuxt@5.0.0-beta.54



## v5.0.0-beta.53 {#5.0.0-beta.53}



### Patch Changes

- Updated dependencies [[`56322af`](https://github.com/vercel/workflow/commit/56322af66fd1f78a77529353be383bfa93ec3af8), [`5dbbcf9`](https://github.com/vercel/workflow/commit/5dbbcf91d92a4cf8fd8f96b170d037749ab0b1ef)]:
  - @workflow/core@5.0.0-beta.53
  - @workflow/cli@5.0.0-beta.53
  - @workflow/next@5.0.0-beta.53
  - @workflow/nitro@5.0.0-beta.53
  - @workflow/typescript-plugin@5.0.0-beta.5
  - @workflow/astro@5.0.0-beta.53
  - @workflow/nest@5.0.0-beta.53
  - @workflow/rollup@5.0.0-beta.53
  - @workflow/sveltekit@5.0.0-beta.53
  - @workflow/nuxt@5.0.0-beta.53



## v5.0.0-beta.52 {#5.0.0-beta.52}



### Patch Changes

- Updated dependencies [[`93e76fc`](https://github.com/vercel/workflow/commit/93e76fc34f1993d61e845273ad447f081d0e0c33), [`37f1011`](https://github.com/vercel/workflow/commit/37f10111a84b3377f1a800889d56e3f1f9daaab3), [`d427c47`](https://github.com/vercel/workflow/commit/d427c47e897dd91583ad37b96ffdcb97199c06c8)]:
  - @workflow/nest@5.0.0-beta.52
  - @workflow/core@5.0.0-beta.52
  - @workflow/cli@5.0.0-beta.52
  - @workflow/next@5.0.0-beta.52
  - @workflow/nitro@5.0.0-beta.52
  - @workflow/typescript-plugin@5.0.0-beta.5
  - @workflow/errors@5.0.0-beta.21
  - @workflow/astro@5.0.0-beta.52
  - @workflow/rollup@5.0.0-beta.52
  - @workflow/sveltekit@5.0.0-beta.52
  - @workflow/nuxt@5.0.0-beta.52



## v5.0.0-beta.51 {#5.0.0-beta.51}



### Patch Changes

- [#3891](https://github.com/vercel/workflow/pull/3891) [`c29200f`](https://github.com/vercel/workflow/commit/c29200fac5848fb8e40bf77351b5b69d10a31357) Thanks [@NathanColosimo](https://github.com/NathanColosimo)! - Route Workflow AI examples through AI Gateway and recommend WorkflowAgent for Workflow 5.

- [#3902](https://github.com/vercel/workflow/pull/3902) [`7a46a81`](https://github.com/vercel/workflow/commit/7a46a81a53d91ddcff75b073b917a900f3cb956b) Thanks [@NathanColosimo](https://github.com/NathanColosimo)! - Upgrade runtime validation to Zod 4.5 and enable compilation on SDK-owned Zod schemas.
- Updated dependencies [[`fb9e275`](https://github.com/vercel/workflow/commit/fb9e27589d4a4ee984667b5c21974a27cac43ac6), [`c29200f`](https://github.com/vercel/workflow/commit/c29200fac5848fb8e40bf77351b5b69d10a31357), [`788d4fb`](https://github.com/vercel/workflow/commit/788d4fbc261655b1dd7d049c334d21afac3edd81), [`ec57aff`](https://github.com/vercel/workflow/commit/ec57aff3be53c7404191de41b7a140d814235efa), [`6cc851c`](https://github.com/vercel/workflow/commit/6cc851c34210f7c74141500e4849e00173c2791e), [`c29200f`](https://github.com/vercel/workflow/commit/c29200fac5848fb8e40bf77351b5b69d10a31357), [`938c7ff`](https://github.com/vercel/workflow/commit/938c7ffb07861f5a2cd5a7d5a2d1a8b1e11e6b9b), [`0b1216e`](https://github.com/vercel/workflow/commit/0b1216ebe21265a028da1015991952e676a168ce), [`e00b1a5`](https://github.com/vercel/workflow/commit/e00b1a57ee8e4cc7b597e1bd23188efe23cc6235), [`357aa7c`](https://github.com/vercel/workflow/commit/357aa7c38aaa038122ecd3c1c7cb220603b42ea8), [`3aa4c16`](https://github.com/vercel/workflow/commit/3aa4c161af5b2fb6830fbd20e1e27e77a25acd76), [`03455a2`](https://github.com/vercel/workflow/commit/03455a2979663b0e1acfa0ebecba3c2b77187ae8), [`c09c1bb`](https://github.com/vercel/workflow/commit/c09c1bb6ea743d6c8e24574aa8dd5516fb287548), [`7a46a81`](https://github.com/vercel/workflow/commit/7a46a81a53d91ddcff75b073b917a900f3cb956b)]:
  - @workflow/core@5.0.0-beta.51
  - @workflow/rollup@5.0.0-beta.51
  - @workflow/next@5.0.0-beta.51
  - @workflow/cli@5.0.0-beta.51
  - @workflow/nitro@5.0.0-beta.51
  - @workflow/typescript-plugin@5.0.0-beta.5
  - @workflow/astro@5.0.0-beta.51
  - @workflow/sveltekit@5.0.0-beta.51
  - @workflow/errors@5.0.0-beta.21
  - @workflow/nest@5.0.0-beta.51
  - @workflow/nuxt@5.0.0-beta.51



## v5.0.0-beta.50 {#5.0.0-beta.50}



### Major Changes

- [#3988](https://github.com/vercel/workflow/pull/3988) [`efbdc21`](https://github.com/vercel/workflow/commit/efbdc213a0a70f8be2a147a0af195a4d9d82f0fe) Thanks [@pranaygp](https://github.com/pranaygp)! - **Breaking:** `hook.metadata` on hooks returned by `getHookByToken()` and `resumeHook()` is now a lazy getter that returns a Promise, like `run.returnValue`, and needs to be awaited. Looking a hook up by token no longer pays for hydrating metadata that is never read.

### Patch Changes

- Updated dependencies [[`efbdc21`](https://github.com/vercel/workflow/commit/efbdc213a0a70f8be2a147a0af195a4d9d82f0fe)]:
  - @workflow/core@5.0.0-beta.50
  - @workflow/cli@5.0.0-beta.50
  - @workflow/next@5.0.0-beta.50
  - @workflow/nitro@5.0.0-beta.50
  - @workflow/typescript-plugin@5.0.0-beta.5
  - @workflow/astro@5.0.0-beta.50
  - @workflow/nest@5.0.0-beta.50
  - @workflow/rollup@5.0.0-beta.50
  - @workflow/sveltekit@5.0.0-beta.50
  - @workflow/nuxt@5.0.0-beta.50



## v5.0.0-beta.49 {#5.0.0-beta.49}



### Minor Changes

- [#3972](https://github.com/vercel/workflow/pull/3972) [`c340820`](https://github.com/vercel/workflow/commit/c3408204110f5e8fbb53cefedf136caf00ee452d) Thanks [@alangenfeld](https://github.com/alangenfeld)! - Add `Run#getWritable()` and `run.writable` to append to an existing run's stream.

### Patch Changes

- Updated dependencies [[`61fb1f9`](https://github.com/vercel/workflow/commit/61fb1f93bd914ae6f62e6f7926f9b9ea37a870dd), [`c340820`](https://github.com/vercel/workflow/commit/c3408204110f5e8fbb53cefedf136caf00ee452d), [`4547e1a`](https://github.com/vercel/workflow/commit/4547e1a7a95f273f3166edf45344dc827f1935fa)]:
  - @workflow/core@5.0.0-beta.49
  - @workflow/errors@5.0.0-beta.21
  - @workflow/astro@5.0.0-beta.49
  - @workflow/cli@5.0.0-beta.49
  - @workflow/nest@5.0.0-beta.49
  - @workflow/next@5.0.0-beta.49
  - @workflow/nitro@5.0.0-beta.49
  - @workflow/rollup@5.0.0-beta.49
  - @workflow/sveltekit@5.0.0-beta.49
  - @workflow/typescript-plugin@5.0.0-beta.5
  - @workflow/nuxt@5.0.0-beta.49



## v5.0.0-beta.48 {#5.0.0-beta.48}



### Minor Changes

- [#3850](https://github.com/vercel/workflow/pull/3850) [`fe2fd8c`](https://github.com/vercel/workflow/commit/fe2fd8c457fd2abfb7281f5318486bf90f603491) Thanks [@alangenfeld](https://github.com/alangenfeld)! - Add a catchable `StreamError` and classify Workflow stream infrastructure failures as `STREAM_ERROR` instead of `USER_ERROR`.

### Patch Changes

- Updated dependencies [[`fbfb9fe`](https://github.com/vercel/workflow/commit/fbfb9fe869980d1ccc351ba594be0ae847165762), [`564ad39`](https://github.com/vercel/workflow/commit/564ad3966c5d16d73fd6fd88acdf01e6f92843aa), [`f9073d0`](https://github.com/vercel/workflow/commit/f9073d073990c7eb834a0ad660f1796e19356c0d), [`7cc5c88`](https://github.com/vercel/workflow/commit/7cc5c88a8bb2fad48353dd006c6ca1f28190ab46), [`3c08778`](https://github.com/vercel/workflow/commit/3c0877890500257fb19e9575d57399ec4bb159c9), [`fe2fd8c`](https://github.com/vercel/workflow/commit/fe2fd8c457fd2abfb7281f5318486bf90f603491), [`31dabce`](https://github.com/vercel/workflow/commit/31dabce0c87fa48af210362061324ff0369e094f)]:
  - @workflow/errors@5.0.0-beta.20
  - @workflow/core@5.0.0-beta.48
  - @workflow/cli@5.0.0-beta.48
  - @workflow/nitro@5.0.0-beta.48
  - @workflow/next@5.0.0-beta.48
  - @workflow/typescript-plugin@5.0.0-beta.5
  - @workflow/astro@5.0.0-beta.48
  - @workflow/nest@5.0.0-beta.48
  - @workflow/rollup@5.0.0-beta.48
  - @workflow/sveltekit@5.0.0-beta.48
  - @workflow/nuxt@5.0.0-beta.48



## v5.0.0-beta.47 {#5.0.0-beta.47}



### Patch Changes

- Updated dependencies [[`855e479`](https://github.com/vercel/workflow/commit/855e47990c0da35419325da27976bae925afb0e9), [`2668e33`](https://github.com/vercel/workflow/commit/2668e3325ba89dec973c3c2f35c49efdb239de8d), [`07ec212`](https://github.com/vercel/workflow/commit/07ec212fe762e0659d4528913716c59870fd6c7d), [`a3da6b7`](https://github.com/vercel/workflow/commit/a3da6b791bb2bd3f77abc1fb92b4c15f688c2627), [`ee6f917`](https://github.com/vercel/workflow/commit/ee6f917cdbfcf50a5fd697c7a9cb70dd1294f931), [`e9d5c56`](https://github.com/vercel/workflow/commit/e9d5c56701821b090108a85b74bf8b0cbef8ea8e), [`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e), [`1c28eec`](https://github.com/vercel/workflow/commit/1c28eeca159f022c73912326baf78d69152db876)]:
  - @workflow/core@5.0.0-beta.47
  - @workflow/next@5.0.0-beta.47
  - @workflow/utils@5.0.0-beta.10
  - @workflow/cli@5.0.0-beta.47
  - @workflow/errors@5.0.0-beta.19
  - @workflow/nitro@5.0.0-beta.47
  - @workflow/typescript-plugin@5.0.0-beta.5
  - @workflow/astro@5.0.0-beta.47
  - @workflow/nest@5.0.0-beta.47
  - @workflow/rollup@5.0.0-beta.47
  - @workflow/sveltekit@5.0.0-beta.47
  - @workflow/nuxt@5.0.0-beta.47



## v5.0.0-beta.46 {#5.0.0-beta.46}



### Patch Changes

- Updated dependencies [[`0750fe8`](https://github.com/vercel/workflow/commit/0750fe8958f50ee354cd24fe3f02a37c801bc4dc), [`d9e0777`](https://github.com/vercel/workflow/commit/d9e0777eb8b1ce5f3be3fe865bc5a17fdbdb9d5d), [`d9e0777`](https://github.com/vercel/workflow/commit/d9e0777eb8b1ce5f3be3fe865bc5a17fdbdb9d5d), [`82e2678`](https://github.com/vercel/workflow/commit/82e267893917e06f5d3ce316baefc27cd024a912), [`556f3f0`](https://github.com/vercel/workflow/commit/556f3f080a33f8673cf3c08805997dba4e4d865e)]:
  - @workflow/astro@5.0.0-beta.46
  - @workflow/sveltekit@5.0.0-beta.46
  - @workflow/core@5.0.0-beta.46
  - @workflow/cli@5.0.0-beta.46
  - @workflow/nest@5.0.0-beta.46
  - @workflow/next@5.0.0-beta.46
  - @workflow/nitro@5.0.0-beta.46
  - @workflow/rollup@5.0.0-beta.46
  - @workflow/typescript-plugin@5.0.0-beta.5
  - @workflow/errors@5.0.0-beta.18
  - @workflow/nuxt@5.0.0-beta.46



## v5.0.0-beta.45 {#5.0.0-beta.45}



### Patch Changes

- Updated dependencies [[`d62b444`](https://github.com/vercel/workflow/commit/d62b44473b43e183e71386fe84b33f5e7bb5445c), [`27cab14`](https://github.com/vercel/workflow/commit/27cab14adcc6f748500fca19cf78feeb60a125e7), [`f7fb012`](https://github.com/vercel/workflow/commit/f7fb0126528fac2168492c3143fe0379b6f5ef1a), [`5841558`](https://github.com/vercel/workflow/commit/584155897f75e712a1c2bc199d6d12027cd18dab)]:
  - @workflow/core@5.0.0-beta.45
  - @workflow/astro@5.0.0-beta.45
  - @workflow/cli@5.0.0-beta.45
  - @workflow/nest@5.0.0-beta.45
  - @workflow/next@5.0.0-beta.45
  - @workflow/nitro@5.0.0-beta.45
  - @workflow/rollup@5.0.0-beta.45
  - @workflow/sveltekit@5.0.0-beta.45
  - @workflow/typescript-plugin@5.0.0-beta.5
  - @workflow/errors@5.0.0-beta.18
  - @workflow/nuxt@5.0.0-beta.45



[Previous](/changelog/page/2.md)

[Next](/changelog/page/4.md)