Skip to content

Releases: upstash/workflow-js

v0.2.22-rc

15 Oct 19:55

Choose a tag to compare

v0.2.22-rc Pre-release
Pre-release

Release Candidate for #139 at 76fe368

Full Changelog: v0.2.21...v0.2.22-rc

v0.2.21

13 Oct 12:43
6a6f359

Choose a tag to compare

What's Changed

Features:

  • DX-2166: add tanstack-start handlers by @CahidArda in #134
  • DX-2194: add keepTriggerConfig option to workflow trigger by @CahidArda in #137

CI Improvements:

  • Fix: Enhance expect function with ANY_STRING pattern matching and update related tests by @CahidArda in #135
  • Fix: add sleep to ci test by @CahidArda in #136

Full Changelog: v0.2.20...v0.2.21

v0.2.20

24 Sep 10:27
70213d7

Choose a tag to compare

What's Changed

  • DX-2134: export error stack trace in error response by @CahidArda in #132
  • DX-2133: add stringifyBody parameter to context.call and context.invoke by @CahidArda in #131

Full Changelog: v0.2.19...v0.2.20

v0.2.19

09 Sep 14:40
54e3623

Choose a tag to compare

What's Changed

Features:

  • DX-2115: add notBefore parameter to client.trigger by @CahidArda in #129

Fixes:

  • Fix: initialize qstash client if it's not passed by @CahidArda in #130

Full Changelog: v0.2.18...v0.2.19

v0.2.18

05 Sep 11:58
cd98f7d

Choose a tag to compare

What's Changed

Full Changelog: v0.2.17...v0.2.18

v0.2.17

05 Aug 11:42
82c1991

Choose a tag to compare

What's Changed

When upgrading to this version, if you have wrapped the serve method in any way, make sure that you include the headers in your response. Example:

const { handler } = serveBase(...);

export const POST = (request, response) => {
  const serveResponse: Response = await handler(request);

  // set headers in response
  for (const [key, value] of serveResponse.headers.entries()) {
    response.setHeader(key, value);
  }

  response.status(serveResponse.status).json(await serveResponse.json());
}

As of this version, the backend will validate that the endpoint called is a workflow endpoint by checking some specific headers (see #120). So the headers should be included in the response.

Features:

Fixes:

New Contributors

Full Changelog: v0.2.16...v0.2.17

v0.2.16

15 Jul 12:33
7ee4d1e

Choose a tag to compare

What's Changed

  • DX-1987: add try/catch to body parser of failureFunction by @CahidArda in #116

Full Changelog: v0.2.15...v0.2.16

v0.2.15

10 Jul 09:14
12bbe68

Choose a tag to compare

What's Changed

Features:

Fixes:

Full Changelog: v0.2.14...v0.2.15

v0.2.14

17 Jun 07:52
6612d53

Choose a tag to compare

What's Changed

Features:

Fixes:

Examples:

New Contributors

Full Changelog: v0.2.13...v0.2.14

v0.2.13

09 May 13:23
06762fd

Choose a tag to compare

What's Changed

Features:

  • DX-1691: Add workflow parameter to context.call by @CahidArda in #75
  • DX-1792: Allow passing context.call settings when defining agent by @CahidArda in #90
  • DX-1870: Add telemetry for agents api by @CahidArda in #98
  • DX-1873: add delay to client.trigger by @CahidArda in #100
  • DX-1829: Add period and rate to flow control and deprecate ratePerSecond by @CahidArda in #101

Fixes:

Full Changelog: v0.2.12...v0.2.13