Skip to content

Releases: upstash/workflow-js

v0.2.20

24 Sep 10:27
70213d7
Compare
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
Compare
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
Compare
Choose a tag to compare

What's Changed

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

v0.2.17

05 Aug 11:42
82c1991
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

v0.2.12

07 Mar 13:07
02802a6
Compare
Choose a tag to compare

What's Changed

Features:

Fixes:

New Contributors

Full Changelog: v0.2.11...v0.2.12

v0.2.11

28 Feb 12:29
f76d170
Compare
Choose a tag to compare

What's Changed

Fixes:

Full Changelog: v0.2.10...v0.2.11