Changelog
Version v0.6.0
What’s Changed
Features
- Batch
startJobChainsAPI — Create multiple job chains in a single operation viaclient.startJobChains(), with full type-safe return values and optimized database round-trips for PostgreSQL (unnest+ CTE-based batch inserts) - Savepoint-protected user callbacks —
prepareandcompletecallbacks during job processing now run inside database savepoints on PostgreSQL. If a user callback executes a failing SQL statement, only the savepoint is rolled back — the outer transaction remains usable for error handling (reschedule, retry, etc.) - Optional
withSavepointon StateAdapter — Custom state adapter authors can implementwithSavepointto opt into savepoint protection. The PostgreSQL adapter implements this automatically
Breaking Changes
- StateAdapter interface updated —
createJob/addJobBlockers(singular) replaced bycreateJobs/addJobsBlockers(plural/batched). Custom state adapter implementations must update to the new array-based signatures. The official PostgreSQL and SQLite adapters are already updated - Removed type exports —
CompleteJobChainResultandJobChainCompleteOptionsare no longer exported fromqueuert(now internal types prefixed with_)
Packages
All packages released at 0.6.0: queuert, @queuert/postgres, @queuert/sqlite, @queuert/redis, @queuert/nats, @queuert/otel, @queuert/dashboard.