TypeScript SDK v4
March 4, 2026
The TypeScript SDK v4 is now available in beta! Major improvements include:
- Rewritten middleware — Hooks are more intuitive, less overloaded, and enable new use cases.
- Better schemas — Runtime event data validation with Standard Schema support (not just Zod!).
- Faster by default — Parallel step optimization and checkpointing are both enabled by default, leading to fewer requests and lower latency.
- Improved logging — Structured logging (Pino-style) and cleaner separation of internal vs. app logs.
- Cleaner API — Triggers in the options object, lazy init for edge runtimes, and more compile-time safety
This is a major version with breaking changes, but for most apps the migration is trivial.
Install the beta with npm install inngest@beta.
More info: