Migrating World V4 To V5

Upgrades a custom Workflow SDK World implementation from the v4 spec to v5. Use when a package implements the `World` interface from `@workflow/world` and is moving to 5.x — event IDs that are ULIDs rather than slot positions, `Event id is not slot-numbered` at replay time, a `specVersion` the runtime refuses, `writeToStream` / `closeStream` / `readFromStream` as top-level World methods, `steps.get` or `events.listByCorrelationId` without a `runId`, a `'step'` queue kind or `__wkf_step_*` topics, a `preconditionGuard` capability, or a `createLocalWorld` / `createVercelWorld` factory.

vercel 63eb338 17.8 KB Updated

File contents

vercel/workflow/tree/main/skills/migrating-world-v4-to-v5 commit 63eb338539

Frequently asked questions

npx skillmds add vercel-workflow/migrating-world-v4-to-v5