Skip to content

Tags: upstash/workflow-js

Tags

v0.2.22-rc

Toggle v0.2.22-rc's commit message
refactor: put tests under second describe

v0.2.21

Toggle v0.2.21's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add keepTriggerConfig option to workflow trigger (#137)

v0.2.20

Toggle v0.2.20's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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

v0.2.19

Toggle v0.2.19's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: initialize qstash client if it's not passed (#130)

v0.2.18

Toggle v0.2.18's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: bump version (#128)

v0.2.17

Toggle v0.2.17's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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

v0.2.16

Toggle v0.2.16's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
DX-1987: add try/catch to body parser of failureFunction (#116)

* fix: add try/catch to body parser of failureFunction

more details available in the ticket on linear

* fix: rm log

v0.2.15

Toggle v0.2.15's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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

v0.2.14

Toggle v0.2.14's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version to 0.2.14 (#111)

* feat: bump version to 0.2.14

* fix: remove tests from pre push

v0.2.13

Toggle v0.2.13's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
DX-1829: Add period and rate to flow control and deprecate ratePerSec…

…ond (#101)

* feat: add flow control

* fix: tests

* fix: fmt

* fix: mock qstash methods of client in test