Tools
Custom Class Serialization in Workflow SDK
Vercel's Workflow SDK now supports custom class serialization, enabling developers to pass their own class instances between workflow and step functions. Previously, the SDK only handled standard J...
Vercel's Workflow SDK now supports custom class serialization, enabling developers to pass their own class instances between workflow and step functions. Previously, the SDK only handled standard JavaScript types like primitives, objects, arrays, Date, Map, and Set — custom class instances were unsupported because the serialization system lacked a way to reconstruct them. The new @workflow/serde package provides automatic handling for custom class serialization, and in client mode, serializable types can be declared via a classes object in manifest.json.
Related
- Query and visualize workflow data in Vercel Observability
- End-to-end encryption for Vercel Workflow
- New GitHub App permissions for Actions and Workflows
- Automatic persistence now in beta on Vercel Sandbox
Source: tools