diff --git a/.changeset/builtin-pagination.md b/.changeset/builtin-pagination.md deleted file mode 100644 index b6254192..00000000 --- a/.changeset/builtin-pagination.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@convex-dev/workflow": minor ---- - -`workflow.list`, `listByName` and `listSteps` (and their client wrappers) now -use Convex's built-in pagination instead of `paginator` from convex-helpers. -(#306) - -- Cursors are now opaque strings instead of JSON arrays. Cursors held by clients - from before the upgrade won't be valid. -- A query can paginate only once, counting nested component calls, so calling - these from an app query that already paginated (or calling them more than once - in one query) will error. Calls from mutations are not limited. diff --git a/.changeset/failed-fan-in-duplicates.md b/.changeset/failed-fan-in-duplicates.md deleted file mode 100644 index 2f8654fd..00000000 --- a/.changeset/failed-fan-in-duplicates.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@convex-dev/workflow": patch ---- - -A workflow that fails after parallel steps is no longer replayed by the extra -handler runs queued by those steps. Those runs now return early instead of -failing with "Workflow not running" and being counted as Workpool failures. -(#327) - -Handler runs and handler failure notifications for a workflow that already -finished, was restarted or was cleaned up now return without throwing. (#328) diff --git a/.changeset/journal-load-short-circuit.md b/.changeset/journal-load-short-circuit.md deleted file mode 100644 index 79c72c3d..00000000 --- a/.changeset/journal-load-short-circuit.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@convex-dev/workflow": patch ---- - -A handler run for a workflow that already finished no longer reads its journal -before returning. diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e2bda44..0e642635 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # Changelog +## 0.5.0 + +### Minor Changes + +- 23a229e: `workflow.list`, `listByName` and `listSteps` (and their client + wrappers) now use Convex's built-in pagination instead of `paginator` from + convex-helpers. (#306) + + - Cursors are now opaque strings instead of JSON arrays. Cursors held by + clients from before the upgrade won't be valid. + - A query can paginate only once, counting nested component calls, so calling + these from an app query that already paginated (or calling them more than + once in one query) will error. Calls from mutations are not limited. + +### Patch Changes + +- 287c99a: A workflow that fails after parallel steps is no longer replayed by + the extra handler runs queued by those steps. Those runs now return early + instead of failing with "Workflow not running" and being counted as Workpool + failures. (#327) + + Handler runs and handler failure notifications for a workflow that already + finished, was restarted or was cleaned up now return without throwing. (#328) + +- 287c99a: A handler run for a workflow that already finished no longer reads + its journal before returning. + ## 0.4.10 - Updates the /test entrypoint for compatibility with convex-test's new diff --git a/package.json b/package.json index 9bc7c324..3a6f792e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@convex-dev/workflow", - "version": "0.4.10", + "version": "0.5.0", "description": "Convex component for durably executing workflows.", "keywords": [ "convex",