Tags: upstash/workflow-js
Tags
DX-2133: add stringifyBody parameter to context.call and context.invo… …ke (#131) * feat: add stringifyBody parameter to context.call and context.invoke in both methods, stringifyBody is true by default. I also added tests to both method to check for different behaviors. * fix: require body field * fix: stringifyBody in context.call with workflow
DX-1811: workflow endpoint feature set (#120) * feat: add feature set for checking if endpoint is workflow * fix: fmt * fix: add body field in errors * fix: tests * fix: return headers in all serve handlers * fix: add protocol header to error responses too * fix: add header to serveMany error responses * fix: set headers before sending response and fix express issues in #118, we bumped express to express 5 which is a breaking change. One thing we missed was how the catch all routes were defined. Because of this, we were getting 'TypeError: Missing parameter name at 1: https://git.new/pathToRegexpError' errors in express example. Fixed it by updating the catch all routes in express handler. See the related issue for more details: expressjs/express#5936 * fix: change expected call count for invoke route * fix: add non workflow trigger to ci
DX-1912: Add dlq restart resume (#113) * feat: add fastify example * fix: rm @fastify/express dependency * feat: add dlq namespace to client * fix: add cursor to list response * fix: tests * fix: dlq results * fix: rm tests from pre push * fix: bump sdk version * fix: add tests * fix: remove wf id and add bulk resume/restart * fix: fmt * fix: improve header types * fix: tests * fix: typos * feat: format response body when WorkflowNonRetryableError is thrown this makes it possible to access the error message in failure function via failResponse * fix: tests * ci: rm test step from nestjs
PreviousNext