Skip to content

Tags: upstash/workflow-js

Tags

v0.2.23

Toggle v0.2.23's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
DX-2274: wait for callback (#153)

* feat: add wait for callback step

* fix: add createWebhook to context

* fix: add wait for callback step

* fix: update webhook URL format in LazyCreateWebhookStep

* fix: return Request in waitForWebhook

* feat: add webhook to ci

* fix: tests

* fix: add tests

* fix: update webhook response state to CALLBACK_SUCCESS

* fix: update expected call count to 9 in webhook test

* Update src/utils.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: rm utils.ts and fix typos

* fix: remove waitForSeconds from TestConfig and update related constants

* fix: move webhookUrl and eventId to out

* fix: fmt

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

v0.2.23-rc

Toggle v0.2.23-rc's commit message
fix: remove waitForSeconds from TestConfig and update related constants

v0.3.0-rc

Toggle v0.3.0-rc's commit message
fix: update version to v0.3.0-rc in constants

v0.2.22

Toggle v0.2.22's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add WorkflowRetryAfterError error (#144)

* feat: add WorkflowRetryAfterError error

* fix: update zod import path to the latest version

* feat: export WorkflowTool from agents/adapters

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