Releases: upstash/workflow-js
v0.2.23
What's Changed
Features:
- DX-2274: wait for webhook by @CahidArda in #153
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
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
v0.2.22
What's Changed
Features:
- feat: add WorkflowRetryAfterError error by @CahidArda in #144
Fixes:
- DX-2204: Document telemetry parameters by @CahidArda in #140
- DX-2077: fix failure function response - json parsing issue by @CahidArda in #143
Examples:
- example(fastify): Copy headers by @KentoMoriwaki in #138
- DX-2211: Fix CI Tests by @CahidArda in #139
- DX-2207: add upstash realtime & workflow demo by @CahidArda in #141
- feat: add upstash realtime - ai sdk example by @alitariksahin in #142
New Contributors
- @KentoMoriwaki made their first contribution in #138
Full Changelog: v0.2.21...v0.2.22
v0.2.22-rc
Release Candidate for #139 at 76fe368
Full Changelog: v0.2.21...v0.2.22-rc
v0.2.21
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
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
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
What's Changed
- DX-2069: Add label option by @CahidArda in #125
- Bump version to 0.2.18 by @CahidArda in #128
Full Changelog: v0.2.17...v0.2.18
v0.2.17
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:
- DX-1997: add retryFailureFunction to DLQ by @CahidArda in #122
- DX-1995: allow returning string response in failureFunction by @CahidArda in #118
- DX-2021: Add retryDelay option by @alitariksahin in #123
- DX-1811: workflow endpoint feature set by @CahidArda in #120
Fixes:
- Allow generic typing of eventData for WaitStepResponse by @gcmarcello in #117
- Add docstring for context.waitForEvent by @ytkimirti in #121
- DX-1996: print warning if error in custom auth by @CahidArda in #119
New Contributors
- @gcmarcello made their first contribution in #117
Full Changelog: v0.2.16...v0.2.17