Skip to content

Releases: upstash/workflow-js

v0.2.23

04 Dec 10:04
b9c42c5

Choose a tag to compare

What's Changed

Features:

Examples:

  • fix: update upstash-realtime example with realtime v1 by @CahidArda in #154

Fixes:

  • DX-2243: include qstash client headers in invoke body by @CahidArda in #152

Full Changelog: v0.2.22...v0.2.23

v0.2.23-rc

03 Dec 19:54

Choose a tag to compare

v0.2.23-rc Pre-release
Pre-release

What's Changed

  • DX-2243: include qstash client headers in invoke body by @CahidArda in #152

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

v0.3.0-rc

07 Nov 18:53

Choose a tag to compare

v0.3.0-rc Pre-release
Pre-release

Release Candidate based on #150 at 61b8059

  • Removes AI SDK dependency alongside context.agents API
  • Makes zod a peer dependency

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

v0.2.22

07 Nov 11:57
3cee117

Choose a tag to compare

What's Changed

Features:

Fixes:

  • DX-2204: Document telemetry parameters by @CahidArda in #140
  • DX-2077: fix failure function response - json parsing issue by @CahidArda in #143

Examples:

New Contributors

Full Changelog: v0.2.21...v0.2.22

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