From 9454151b0e3b8a4ceeb96de4d41c5937330e16a6 Mon Sep 17 00:00:00 2001 From: Peter Wielander Date: Fri, 22 May 2026 09:12:21 +0200 Subject: [PATCH 1/2] [core] Fix "event cursor missing after initial load" performance degradation due to clobbered cursor (#2056) --- .changeset/fix-load-events-cursor-null.md | 6 + packages/core/src/runtime/helpers.test.ts | 129 +++++++++++++++++++++- packages/core/src/runtime/helpers.ts | 10 +- 3 files changed, 142 insertions(+), 3 deletions(-) create mode 100644 .changeset/fix-load-events-cursor-null.md diff --git a/.changeset/fix-load-events-cursor-null.md b/.changeset/fix-load-events-cursor-null.md new file mode 100644 index 0000000000..5590941b79 --- /dev/null +++ b/.changeset/fix-load-events-cursor-null.md @@ -0,0 +1,6 @@ +--- +"@workflow/core": patch +"workflow": patch +--- + +Fix spurious "Event cursor missing after initial load" warning diff --git a/packages/core/src/runtime/helpers.test.ts b/packages/core/src/runtime/helpers.test.ts index 3844a84c2f..8764d49030 100644 --- a/packages/core/src/runtime/helpers.test.ts +++ b/packages/core/src/runtime/helpers.test.ts @@ -1,5 +1,6 @@ -import { describe, expect, it, vi } from 'vitest'; -import { getWorkflowQueueName } from './helpers.js'; +import type { Event } from '@workflow/world'; +import { beforeEach, describe, expect, it, vi } from 'vitest'; +import { getWorkflowQueueName, loadWorkflowRunEvents } from './helpers.js'; // Mock the logger to suppress output during tests vi.mock('../logger.js', () => ({ @@ -11,6 +12,25 @@ vi.mock('../logger.js', () => ({ }, })); +const eventsListMock = vi.fn(); + +vi.mock('./get-world-lazy.js', () => ({ + getWorldLazy: vi.fn(async () => ({ + events: { + list: eventsListMock, + }, + })), +})); + +const makeEvent = (eventId: string): Event => + ({ + eventId, + runId: 'wrun_mockidnumber0001', + eventType: 'step_created', + correlationId: 'step_mock', + createdAt: new Date(), + }) as unknown as Event; + describe('getWorkflowQueueName', () => { it('should return a valid queue name for a simple workflow name', () => { expect(getWorkflowQueueName('myWorkflow')).toBe( @@ -80,3 +100,108 @@ describe('getWorkflowQueueName', () => { expect(() => getWorkflowQueueName('')).toThrow('Invalid workflow name'); }); }); + +describe('loadWorkflowRunEvents', () => { + beforeEach(() => { + eventsListMock.mockReset(); + }); + + it('returns the cursor from the last page when pagination terminates normally', async () => { + const page1 = [makeEvent('evnt_a'), makeEvent('evnt_b')]; + eventsListMock.mockResolvedValueOnce({ + data: page1, + cursor: 'eid:evnt_b', + hasMore: false, + }); + + const result = await loadWorkflowRunEvents('wrun_test'); + + expect(result.events).toHaveLength(2); + expect(result.cursor).toBe('eid:evnt_b'); + expect(eventsListMock).toHaveBeenCalledTimes(1); + }); + + // Regression test for the "Event cursor missing after initial load" warning. + // + // A World may legitimately return `{ data: [], cursor: null, hasMore: false }` + // on a trailing empty page — workflow-server does this whenever the previous + // page's DynamoDB query hit `Limit` exactly and DynamoDB returned a + // `LastEvaluatedKey` "just in case." If the pagination loop overwrites the + // cursor with `null` on that trailing page, the runtime's incremental-load + // path can't proceed and falls back to a full reload on every replay + // iteration, logging "Event cursor missing after initial load" each time. + it('preserves the cursor from the previous page when the final page is empty', async () => { + const page1 = [makeEvent('evnt_a'), makeEvent('evnt_b')]; + eventsListMock.mockResolvedValueOnce({ + data: page1, + cursor: 'eid:evnt_b', + hasMore: true, + }); + eventsListMock.mockResolvedValueOnce({ + data: [], + cursor: null, + hasMore: false, + }); + + const result = await loadWorkflowRunEvents('wrun_test'); + + expect(result.events).toHaveLength(2); + expect(result.cursor).toBe('eid:evnt_b'); + expect(eventsListMock).toHaveBeenCalledTimes(2); + }); + + it('returns null cursor only when no events exist at all', async () => { + eventsListMock.mockResolvedValueOnce({ + data: [], + cursor: null, + hasMore: false, + }); + + const result = await loadWorkflowRunEvents('wrun_test'); + + expect(result.events).toHaveLength(0); + expect(result.cursor).toBeNull(); + }); + + it('uses the latest cursor when paginating through multiple non-empty pages', async () => { + eventsListMock.mockResolvedValueOnce({ + data: [makeEvent('evnt_a')], + cursor: 'eid:evnt_a', + hasMore: true, + }); + eventsListMock.mockResolvedValueOnce({ + data: [makeEvent('evnt_b')], + cursor: 'eid:evnt_b', + hasMore: true, + }); + eventsListMock.mockResolvedValueOnce({ + data: [makeEvent('evnt_c')], + cursor: 'eid:evnt_c', + hasMore: false, + }); + + const result = await loadWorkflowRunEvents('wrun_test'); + + expect(result.events.map((e) => e.eventId)).toEqual([ + 'evnt_a', + 'evnt_b', + 'evnt_c', + ]); + expect(result.cursor).toBe('eid:evnt_c'); + }); + + it('falls back to the afterCursor when an incremental load returns no events', async () => { + eventsListMock.mockResolvedValueOnce({ + data: [], + cursor: null, + hasMore: false, + }); + + const result = await loadWorkflowRunEvents('wrun_test', 'eid:evnt_z'); + + expect(result.events).toHaveLength(0); + // Preserving the input cursor avoids the runtime treating "no new events + // since last poll" as "I have no idea where I am in the log." + expect(result.cursor).toBe('eid:evnt_z'); + }); +}); diff --git a/packages/core/src/runtime/helpers.ts b/packages/core/src/runtime/helpers.ts index e099ff3f84..582975af57 100644 --- a/packages/core/src/runtime/helpers.ts +++ b/packages/core/src/runtime/helpers.ts @@ -351,7 +351,15 @@ export async function loadWorkflowRunEvents( loadedEvents.push(...response.data); hasMore = response.hasMore; - cursor = response.cursor; + // Preserve the last non-null cursor across pages. A World may + // legitimately return `{ data: [], cursor: null, hasMore: false }` + // on a trailing empty page — for example when the previous page's + // underlying DynamoDB query hit `Limit` exactly and returned a + // `LastEvaluatedKey` "just in case". Overwriting with that null + // would lose the position past the last real event we loaded and + // force the runtime into the "no cursor after initial load" full- + // reload fallback on every subsequent replay iteration. + cursor = response.cursor ?? cursor; pagesLoaded++; runtimeLogger.debug('Loaded event page', { From 8f9656deab63a59cf0c0dff3aa9054479f3de1a2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 22 May 2026 09:34:43 +0200 Subject: [PATCH 2/2] Version Packages (beta) (#2026) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/pre.json | 17 ++++++++++++++++- packages/ai/CHANGELOG.md | 7 +++++++ packages/ai/package.json | 2 +- packages/astro/CHANGELOG.md | 9 +++++++++ packages/astro/package.json | 2 +- packages/builders/CHANGELOG.md | 8 ++++++++ packages/builders/package.json | 2 +- packages/cli/CHANGELOG.md | 13 +++++++++++++ packages/cli/package.json | 2 +- packages/core/CHANGELOG.md | 26 ++++++++++++++++++++++++++ packages/core/package.json | 2 +- packages/errors/CHANGELOG.md | 8 ++++++++ packages/errors/package.json | 2 +- packages/nest/CHANGELOG.md | 7 +++++++ packages/nest/package.json | 2 +- packages/next/CHANGELOG.md | 8 ++++++++ packages/next/package.json | 2 +- packages/nitro/CHANGELOG.md | 12 ++++++++++++ packages/nitro/package.json | 2 +- packages/nuxt/CHANGELOG.md | 7 +++++++ packages/nuxt/package.json | 2 +- packages/rollup/CHANGELOG.md | 7 +++++++ packages/rollup/package.json | 2 +- packages/sveltekit/CHANGELOG.md | 9 +++++++++ packages/sveltekit/package.json | 2 +- packages/vite/CHANGELOG.md | 7 +++++++ packages/vite/package.json | 2 +- packages/vitest/CHANGELOG.md | 11 +++++++++++ packages/vitest/package.json | 2 +- packages/web-shared/CHANGELOG.md | 14 ++++++++++++++ packages/web-shared/package.json | 2 +- packages/web/CHANGELOG.md | 2 ++ packages/web/package.json | 2 +- packages/workflow/CHANGELOG.md | 23 +++++++++++++++++++++++ packages/workflow/package.json | 2 +- packages/world-local/CHANGELOG.md | 10 ++++++++++ packages/world-local/package.json | 2 +- packages/world-postgres/CHANGELOG.md | 13 +++++++++++++ packages/world-postgres/package.json | 2 +- packages/world-testing/CHANGELOG.md | 12 ++++++++++++ packages/world-testing/package.json | 2 +- packages/world-vercel/CHANGELOG.md | 14 ++++++++++++++ packages/world-vercel/package.json | 2 +- packages/world/CHANGELOG.md | 12 ++++++++++++ packages/world/package.json | 2 +- 45 files changed, 277 insertions(+), 23 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 89acb1b7a4..b5698cc063 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -58,11 +58,13 @@ "bright-discovery-talk", "bright-hooks-share", "bright-pears-drum", + "bright-waits-refresh", "builders-discovery-fixes", "bundle-aliased-project-local-helpers", "clever-wombats-drop", "cold-lands-boil", "cool-cups-greet", + "corrupted-event-log-code", "curvy-dingos-cry", "dirty-bees-notice", "docs-rendered-link-lint", @@ -85,9 +87,12 @@ "fix-examples-homepage-link", "fix-health-check-correlation-id", "fix-hook-loop-unconsumed-event", + "fix-inline-execution-flow-count-race", + "fix-load-events-cursor-null", "fix-malformed-tool-call-input", "fix-next-esm-compat", "fix-next-version-resolution", + "fix-observability-getworld-import", "fix-provider-tool-identity", "fix-step-vs-wait-race", "fix-stream-get-runid", @@ -102,17 +107,20 @@ "fuzzy-mugs-learn", "getter-step-support", "green-streams-decode", + "guard-step-consumer-events", "inline-step-registration", "large-regions-talk", "lazy-discovery-bare-specifiers", "lucky-windows-smash", "many-peas-jog", + "modern-penguins-peel", "moody-rivers-play", "narrow-step-bundling", "neat-runs-serialize", "next-diagnostics-dist", "ninety-dancers-brush", "nitro-forward-externals", + "nitro-webhook-rule-pattern-fix", "no-eval-in-revive", "node-module-error-cross-file-dce", "o11y-run-ref-rendering", @@ -123,16 +131,20 @@ "pretty-log-format", "private-member-dce", "quiet-trace-viewer-duration", + "rare-badgers-judge", "remove-client-mode", "remove-private-subpath", "remove-sdk-serde-exclusion", "remove-step-file-copy", "rename-domain-urls", + "replay-timeout-excludes-step-bodies", "retry-vqs-handler-errors-immediately", "rich-toes-live", "run-step-error-hydration", + "runtime-schema-validation-failure", "serializable-abort-controller", "serialization-refactor", + "setup-graphile-worker-schema", "sixty-plants-shout", "skip-community-worlds-main", "slow-bottles-pull", @@ -148,8 +160,10 @@ "swift-cobras-repair", "sync-step-followup", "tanstack-start-workbench", + "tired-pigs-hug", "tired-spiders-rhyme", "trace-viewer-polish", + "turbo-next-workbench-outputs", "update-queue-client-version", "v2-combined-bundle", "vast-oranges-fail", @@ -162,6 +176,7 @@ "world-local-path-traversal", "world-local-run-failed-not-found", "world-vercel-protection-bypass", - "world-vercel-trusted-sources" + "world-vercel-trusted-sources", + "yellow-pianos-relax" ] } diff --git a/packages/ai/CHANGELOG.md b/packages/ai/CHANGELOG.md index 6771ac62ac..3265e26569 100644 --- a/packages/ai/CHANGELOG.md +++ b/packages/ai/CHANGELOG.md @@ -1,5 +1,12 @@ # @workflow/ai +## 5.0.0-beta.5 + +### Patch Changes + +- Updated dependencies [[`9454151`](https://github.com/vercel/workflow/commit/9454151b0e3b8a4ceeb96de4d41c5937330e16a6), [`49da6c5`](https://github.com/vercel/workflow/commit/49da6c50b3d28f9c533ec0ee28437d7ed3887335)]: + - workflow@5.0.0-beta.7 + ## 5.0.0-beta.4 ### Patch Changes diff --git a/packages/ai/package.json b/packages/ai/package.json index fdb126aa1b..60a97c74bb 100644 --- a/packages/ai/package.json +++ b/packages/ai/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/ai", - "version": "5.0.0-beta.4", + "version": "5.0.0-beta.5", "description": "Workflow SDK compatible helper library for the AI SDK", "type": "module", "main": "dist/index.js", diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 6aa62641e2..71455f3d20 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,14 @@ # @workflow/astro +## 5.0.0-beta.7 + +### Patch Changes + +- Updated dependencies []: + - @workflow/builders@5.0.0-beta.7 + - @workflow/rollup@5.0.0-beta.7 + - @workflow/vite@5.0.0-beta.7 + ## 5.0.0-beta.6 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 6b60608d1e..a263479d27 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/astro", - "version": "5.0.0-beta.6", + "version": "5.0.0-beta.7", "description": "Astro integration for Workflow SDK", "type": "module", "main": "dist/index.js", diff --git a/packages/builders/CHANGELOG.md b/packages/builders/CHANGELOG.md index 6fb49819f4..3b442bd6ff 100644 --- a/packages/builders/CHANGELOG.md +++ b/packages/builders/CHANGELOG.md @@ -1,5 +1,13 @@ # @workflow/builders +## 5.0.0-beta.7 + +### Patch Changes + +- Updated dependencies [[`dc0be50`](https://github.com/vercel/workflow/commit/dc0be50618bd6a465e3f9768ee7427d282aa1fd7), [`ad71b58`](https://github.com/vercel/workflow/commit/ad71b58bba65e739fbafee0440ffff48878e7e51), [`9454151`](https://github.com/vercel/workflow/commit/9454151b0e3b8a4ceeb96de4d41c5937330e16a6), [`b124365`](https://github.com/vercel/workflow/commit/b124365e14b0c47a5c830c7009dd5bf0149d5a59), [`2a446af`](https://github.com/vercel/workflow/commit/2a446af517dbb91ae959adade1d74ef0428a2b09), [`1d3959e`](https://github.com/vercel/workflow/commit/1d3959eaa8db5866d08ad3970324c1b5dae73f7b), [`49da6c5`](https://github.com/vercel/workflow/commit/49da6c50b3d28f9c533ec0ee28437d7ed3887335)]: + - @workflow/core@5.0.0-beta.7 + - @workflow/errors@5.0.0-beta.4 + ## 5.0.0-beta.6 ### Patch Changes diff --git a/packages/builders/package.json b/packages/builders/package.json index 7f191996fe..c54aff8704 100644 --- a/packages/builders/package.json +++ b/packages/builders/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/builders", - "version": "5.0.0-beta.6", + "version": "5.0.0-beta.7", "description": "Shared builder infrastructure for Workflow SDK", "type": "module", "main": "./dist/index.js", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index aab4ee14fb..cf072f3524 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,18 @@ # @workflow/cli +## 5.0.0-beta.7 + +### Patch Changes + +- Updated dependencies [[`dc0be50`](https://github.com/vercel/workflow/commit/dc0be50618bd6a465e3f9768ee7427d282aa1fd7), [`ad71b58`](https://github.com/vercel/workflow/commit/ad71b58bba65e739fbafee0440ffff48878e7e51), [`9454151`](https://github.com/vercel/workflow/commit/9454151b0e3b8a4ceeb96de4d41c5937330e16a6), [`b124365`](https://github.com/vercel/workflow/commit/b124365e14b0c47a5c830c7009dd5bf0149d5a59), [`2a446af`](https://github.com/vercel/workflow/commit/2a446af517dbb91ae959adade1d74ef0428a2b09), [`1d3959e`](https://github.com/vercel/workflow/commit/1d3959eaa8db5866d08ad3970324c1b5dae73f7b), [`49da6c5`](https://github.com/vercel/workflow/commit/49da6c50b3d28f9c533ec0ee28437d7ed3887335)]: + - @workflow/core@5.0.0-beta.7 + - @workflow/world@5.0.0-beta.4 + - @workflow/world-local@5.0.0-beta.6 + - @workflow/world-vercel@5.0.0-beta.6 + - @workflow/errors@5.0.0-beta.4 + - @workflow/builders@5.0.0-beta.7 + - @workflow/web@5.0.0-beta.7 + ## 5.0.0-beta.6 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index f446261b36..b85b0799ac 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/cli", - "version": "5.0.0-beta.6", + "version": "5.0.0-beta.7", "description": "Command-line interface for Workflow SDK", "type": "module", "bin": { diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index f5ea1192f2..dd367139e9 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,31 @@ # @workflow/core +## 5.0.0-beta.7 + +### Minor Changes + +- [#2059](https://github.com/vercel/workflow/pull/2059) [`49da6c5`](https://github.com/vercel/workflow/commit/49da6c50b3d28f9c533ec0ee28437d7ed3887335) Thanks [@TooTallNate](https://github.com/TooTallNate)! - A `WritableStream` from a workflow's `getWritable()` can now be passed as an argument to a child workflow via `start()`; the child's writes land on the parent run's stream directly for the full lifetime of the child run. + +### Patch Changes + +- [#2038](https://github.com/vercel/workflow/pull/2038) [`dc0be50`](https://github.com/vercel/workflow/commit/dc0be50618bd6a465e3f9768ee7427d282aa1fd7) Thanks [@pranaygp](https://github.com/pranaygp)! - Refresh workflow events after completing elapsed waits so concurrent hook events preserve deterministic replay order. + +- [#2046](https://github.com/vercel/workflow/pull/2046) [`ad71b58`](https://github.com/vercel/workflow/commit/ad71b58bba65e739fbafee0440ffff48878e7e51) Thanks [@pranaygp](https://github.com/pranaygp)! - Report corrupted event logs with a distinct `CorruptedEventLogError` type and `CORRUPTED_EVENT_LOG` run error code. + +- [#2056](https://github.com/vercel/workflow/pull/2056) [`9454151`](https://github.com/vercel/workflow/commit/9454151b0e3b8a4ceeb96de4d41c5937330e16a6) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Fix spurious "Event cursor missing after initial load" warning + +- [#2030](https://github.com/vercel/workflow/pull/2030) [`b124365`](https://github.com/vercel/workflow/commit/b124365e14b0c47a5c830c7009dd5bf0149d5a59) Thanks [@pranaygp](https://github.com/pranaygp)! - Validate step, wait, and hook lifecycle events against replay ownership metadata. + +- [#2013](https://github.com/vercel/workflow/pull/2013) [`2a446af`](https://github.com/vercel/workflow/commit/2a446af517dbb91ae959adade1d74ef0428a2b09) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Exclude inline step execution from the workflow replay timeout. Long-running steps no longer hit `REPLAY_TIMEOUT` (fixes #2009). Adds a `WORKFLOW_REPLAY_TIMEOUT_MS` env var override and a new optional `World.processExitTriggersQueueRedelivery` capability used to gate the runtime's `process.exit(1)` failure path. + +- [#2060](https://github.com/vercel/workflow/pull/2060) [`1d3959e`](https://github.com/vercel/workflow/commit/1d3959eaa8db5866d08ad3970324c1b5dae73f7b) Thanks [@pranaygp](https://github.com/pranaygp)! - Record fatal world response contract failures as non-retryable workflow errors. + +- Updated dependencies [[`dc0be50`](https://github.com/vercel/workflow/commit/dc0be50618bd6a465e3f9768ee7427d282aa1fd7), [`ad71b58`](https://github.com/vercel/workflow/commit/ad71b58bba65e739fbafee0440ffff48878e7e51), [`b124365`](https://github.com/vercel/workflow/commit/b124365e14b0c47a5c830c7009dd5bf0149d5a59), [`2a446af`](https://github.com/vercel/workflow/commit/2a446af517dbb91ae959adade1d74ef0428a2b09), [`1d3959e`](https://github.com/vercel/workflow/commit/1d3959eaa8db5866d08ad3970324c1b5dae73f7b)]: + - @workflow/world@5.0.0-beta.4 + - @workflow/world-local@5.0.0-beta.6 + - @workflow/world-vercel@5.0.0-beta.6 + - @workflow/errors@5.0.0-beta.4 + ## 5.0.0-beta.6 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 1a95979768..2599e3fdc0 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/core", - "version": "5.0.0-beta.6", + "version": "5.0.0-beta.7", "description": "Core runtime and engine for Workflow SDK", "type": "module", "main": "dist/index.js", diff --git a/packages/errors/CHANGELOG.md b/packages/errors/CHANGELOG.md index b883c306fe..73e91ef439 100644 --- a/packages/errors/CHANGELOG.md +++ b/packages/errors/CHANGELOG.md @@ -1,5 +1,13 @@ # @workflow/errors +## 5.0.0-beta.4 + +### Patch Changes + +- [#2046](https://github.com/vercel/workflow/pull/2046) [`ad71b58`](https://github.com/vercel/workflow/commit/ad71b58bba65e739fbafee0440ffff48878e7e51) Thanks [@pranaygp](https://github.com/pranaygp)! - Report corrupted event logs with a distinct `CorruptedEventLogError` type and `CORRUPTED_EVENT_LOG` run error code. + +- [#2060](https://github.com/vercel/workflow/pull/2060) [`1d3959e`](https://github.com/vercel/workflow/commit/1d3959eaa8db5866d08ad3970324c1b5dae73f7b) Thanks [@pranaygp](https://github.com/pranaygp)! - Record fatal world response contract failures as non-retryable workflow errors. + ## 5.0.0-beta.3 ### Patch Changes diff --git a/packages/errors/package.json b/packages/errors/package.json index be656eac01..606f6fb657 100644 --- a/packages/errors/package.json +++ b/packages/errors/package.json @@ -1,7 +1,7 @@ { "name": "@workflow/errors", "description": "A package for standardizing errors in Workflow SDK", - "version": "5.0.0-beta.3", + "version": "5.0.0-beta.4", "type": "module", "main": "dist/index.js", "files": [ diff --git a/packages/nest/CHANGELOG.md b/packages/nest/CHANGELOG.md index 0791e5e016..c3354683a6 100644 --- a/packages/nest/CHANGELOG.md +++ b/packages/nest/CHANGELOG.md @@ -1,5 +1,12 @@ # @workflow/nest +## 5.0.0-beta.7 + +### Patch Changes + +- Updated dependencies []: + - @workflow/builders@5.0.0-beta.7 + ## 5.0.0-beta.6 ### Patch Changes diff --git a/packages/nest/package.json b/packages/nest/package.json index 9b9c33c8c7..00b38b83f1 100644 --- a/packages/nest/package.json +++ b/packages/nest/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/nest", - "version": "5.0.0-beta.6", + "version": "5.0.0-beta.7", "description": "NestJS integration for Workflow SDK", "type": "module", "main": "dist/index.js", diff --git a/packages/next/CHANGELOG.md b/packages/next/CHANGELOG.md index b36d239394..fc5971e85e 100644 --- a/packages/next/CHANGELOG.md +++ b/packages/next/CHANGELOG.md @@ -1,5 +1,13 @@ # @workflow/next +## 5.0.0-beta.7 + +### Patch Changes + +- Updated dependencies [[`dc0be50`](https://github.com/vercel/workflow/commit/dc0be50618bd6a465e3f9768ee7427d282aa1fd7), [`ad71b58`](https://github.com/vercel/workflow/commit/ad71b58bba65e739fbafee0440ffff48878e7e51), [`9454151`](https://github.com/vercel/workflow/commit/9454151b0e3b8a4ceeb96de4d41c5937330e16a6), [`b124365`](https://github.com/vercel/workflow/commit/b124365e14b0c47a5c830c7009dd5bf0149d5a59), [`2a446af`](https://github.com/vercel/workflow/commit/2a446af517dbb91ae959adade1d74ef0428a2b09), [`1d3959e`](https://github.com/vercel/workflow/commit/1d3959eaa8db5866d08ad3970324c1b5dae73f7b), [`49da6c5`](https://github.com/vercel/workflow/commit/49da6c50b3d28f9c533ec0ee28437d7ed3887335)]: + - @workflow/core@5.0.0-beta.7 + - @workflow/builders@5.0.0-beta.7 + ## 5.0.0-beta.6 ### Patch Changes diff --git a/packages/next/package.json b/packages/next/package.json index 07f498cff1..345accb584 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/next", - "version": "5.0.0-beta.6", + "version": "5.0.0-beta.7", "description": "Next.js integration for Workflow SDK", "type": "commonjs", "main": "dist/index.js", diff --git a/packages/nitro/CHANGELOG.md b/packages/nitro/CHANGELOG.md index a61c94d234..eabebce0d6 100644 --- a/packages/nitro/CHANGELOG.md +++ b/packages/nitro/CHANGELOG.md @@ -1,5 +1,17 @@ # @workflow/nitro +## 5.0.0-beta.7 + +### Patch Changes + +- [#1575](https://github.com/vercel/workflow/pull/1575) [`c1242e8`](https://github.com/vercel/workflow/commit/c1242e8dc5db42748ae2739c7d24f964b39b7232) Thanks [@RihanArfan](https://github.com/RihanArfan)! - Match the webhook `functionRules` key (`:token`) to the handler route on Nitro v3 Vercel deploys so the runtime override is applied to the real `webhook/[token].func` instead of generating a duplicate `webhook/[...].func`. Also propagate `workflow.runtime` to the public manifest route for consistency. + +- Updated dependencies [[`dc0be50`](https://github.com/vercel/workflow/commit/dc0be50618bd6a465e3f9768ee7427d282aa1fd7), [`ad71b58`](https://github.com/vercel/workflow/commit/ad71b58bba65e739fbafee0440ffff48878e7e51), [`9454151`](https://github.com/vercel/workflow/commit/9454151b0e3b8a4ceeb96de4d41c5937330e16a6), [`b124365`](https://github.com/vercel/workflow/commit/b124365e14b0c47a5c830c7009dd5bf0149d5a59), [`2a446af`](https://github.com/vercel/workflow/commit/2a446af517dbb91ae959adade1d74ef0428a2b09), [`1d3959e`](https://github.com/vercel/workflow/commit/1d3959eaa8db5866d08ad3970324c1b5dae73f7b), [`49da6c5`](https://github.com/vercel/workflow/commit/49da6c50b3d28f9c533ec0ee28437d7ed3887335)]: + - @workflow/core@5.0.0-beta.7 + - @workflow/builders@5.0.0-beta.7 + - @workflow/rollup@5.0.0-beta.7 + - @workflow/vite@5.0.0-beta.7 + ## 5.0.0-beta.6 ### Patch Changes diff --git a/packages/nitro/package.json b/packages/nitro/package.json index e672df9fed..ed9782b491 100644 --- a/packages/nitro/package.json +++ b/packages/nitro/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/nitro", - "version": "5.0.0-beta.6", + "version": "5.0.0-beta.7", "description": "Nitro integration for Workflow SDK", "type": "module", "main": "dist/index.js", diff --git a/packages/nuxt/CHANGELOG.md b/packages/nuxt/CHANGELOG.md index 33fc3982dd..4804cd2f6c 100644 --- a/packages/nuxt/CHANGELOG.md +++ b/packages/nuxt/CHANGELOG.md @@ -1,5 +1,12 @@ # @workflow/nuxt +## 5.0.0-beta.7 + +### Patch Changes + +- Updated dependencies [[`c1242e8`](https://github.com/vercel/workflow/commit/c1242e8dc5db42748ae2739c7d24f964b39b7232)]: + - @workflow/nitro@5.0.0-beta.7 + ## 5.0.0-beta.6 ### Patch Changes diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index 6e4ddb8c51..19810fd79d 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/nuxt", - "version": "5.0.0-beta.6", + "version": "5.0.0-beta.7", "description": "Nuxt integration for Workflow SDK", "license": "Apache-2.0", "type": "module", diff --git a/packages/rollup/CHANGELOG.md b/packages/rollup/CHANGELOG.md index 8254f9d961..31e3055f06 100644 --- a/packages/rollup/CHANGELOG.md +++ b/packages/rollup/CHANGELOG.md @@ -1,5 +1,12 @@ # @workflow/rollup +## 5.0.0-beta.7 + +### Patch Changes + +- Updated dependencies []: + - @workflow/builders@5.0.0-beta.7 + ## 5.0.0-beta.6 ### Patch Changes diff --git a/packages/rollup/package.json b/packages/rollup/package.json index 4c879de5c1..e882da4d73 100644 --- a/packages/rollup/package.json +++ b/packages/rollup/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/rollup", - "version": "5.0.0-beta.6", + "version": "5.0.0-beta.7", "description": "Rollup plugin for Workflow SDK", "type": "module", "main": "dist/index.js", diff --git a/packages/sveltekit/CHANGELOG.md b/packages/sveltekit/CHANGELOG.md index fba075449e..bcea2914c2 100644 --- a/packages/sveltekit/CHANGELOG.md +++ b/packages/sveltekit/CHANGELOG.md @@ -1,5 +1,14 @@ # @workflow/sveltekit +## 5.0.0-beta.7 + +### Patch Changes + +- Updated dependencies []: + - @workflow/builders@5.0.0-beta.7 + - @workflow/rollup@5.0.0-beta.7 + - @workflow/vite@5.0.0-beta.7 + ## 5.0.0-beta.6 ### Patch Changes diff --git a/packages/sveltekit/package.json b/packages/sveltekit/package.json index 90d39d8dcc..7a40e889dc 100644 --- a/packages/sveltekit/package.json +++ b/packages/sveltekit/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/sveltekit", - "version": "5.0.0-beta.6", + "version": "5.0.0-beta.7", "description": "SvelteKit integration for Workflow SDK", "type": "module", "main": "dist/index.js", diff --git a/packages/vite/CHANGELOG.md b/packages/vite/CHANGELOG.md index 59d4e6385b..449af0e2df 100644 --- a/packages/vite/CHANGELOG.md +++ b/packages/vite/CHANGELOG.md @@ -1,5 +1,12 @@ # @workflow/vite +## 5.0.0-beta.7 + +### Patch Changes + +- Updated dependencies []: + - @workflow/builders@5.0.0-beta.7 + ## 5.0.0-beta.6 ### Patch Changes diff --git a/packages/vite/package.json b/packages/vite/package.json index 8a34c80245..bbf8e4919f 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -1,7 +1,7 @@ { "name": "@workflow/vite", "description": "Vite plugin for Workflow SDK", - "version": "5.0.0-beta.6", + "version": "5.0.0-beta.7", "type": "module", "main": "dist/index.js", "files": [ diff --git a/packages/vitest/CHANGELOG.md b/packages/vitest/CHANGELOG.md index a2974ea6e1..5c57b641b0 100644 --- a/packages/vitest/CHANGELOG.md +++ b/packages/vitest/CHANGELOG.md @@ -1,5 +1,16 @@ # @workflow/vitest +## 5.0.0-beta.7 + +### Patch Changes + +- Updated dependencies [[`dc0be50`](https://github.com/vercel/workflow/commit/dc0be50618bd6a465e3f9768ee7427d282aa1fd7), [`ad71b58`](https://github.com/vercel/workflow/commit/ad71b58bba65e739fbafee0440ffff48878e7e51), [`9454151`](https://github.com/vercel/workflow/commit/9454151b0e3b8a4ceeb96de4d41c5937330e16a6), [`b124365`](https://github.com/vercel/workflow/commit/b124365e14b0c47a5c830c7009dd5bf0149d5a59), [`2a446af`](https://github.com/vercel/workflow/commit/2a446af517dbb91ae959adade1d74ef0428a2b09), [`1d3959e`](https://github.com/vercel/workflow/commit/1d3959eaa8db5866d08ad3970324c1b5dae73f7b), [`49da6c5`](https://github.com/vercel/workflow/commit/49da6c50b3d28f9c533ec0ee28437d7ed3887335)]: + - @workflow/core@5.0.0-beta.7 + - @workflow/world@5.0.0-beta.4 + - @workflow/world-local@5.0.0-beta.6 + - @workflow/builders@5.0.0-beta.7 + - @workflow/rollup@5.0.0-beta.7 + ## 5.0.0-beta.6 ### Patch Changes diff --git a/packages/vitest/package.json b/packages/vitest/package.json index f03780f0ee..b79a93501f 100644 --- a/packages/vitest/package.json +++ b/packages/vitest/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/vitest", - "version": "5.0.0-beta.6", + "version": "5.0.0-beta.7", "description": "Vitest plugin for testing Workflow SDK workflows", "type": "module", "main": "./dist/index.js", diff --git a/packages/web-shared/CHANGELOG.md b/packages/web-shared/CHANGELOG.md index 123a63a9e8..d3563fe1d0 100644 --- a/packages/web-shared/CHANGELOG.md +++ b/packages/web-shared/CHANGELOG.md @@ -1,5 +1,19 @@ # @workflow/web-shared +## 5.0.0-beta.7 + +### Patch Changes + +- [#2036](https://github.com/vercel/workflow/pull/2036) [`753e39e`](https://github.com/vercel/workflow/commit/753e39e3bb4544021d3d47c537650396d36a7541) Thanks [@mitul-s](https://github.com/mitul-s)! - trace viewer bug fix + file cleanup + +- [#2022](https://github.com/vercel/workflow/pull/2022) [`5a393a6`](https://github.com/vercel/workflow/commit/5a393a6ffc87dcee7d68ca94db6b006e07c836a3) Thanks [@mitul-s](https://github.com/mitul-s)! - updated colours on the trace viewer + +- [#2045](https://github.com/vercel/workflow/pull/2045) [`366f9cc`](https://github.com/vercel/workflow/commit/366f9cc967db9184a6929bb99525bacc24f940e0) Thanks [@mitul-s](https://github.com/mitul-s)! - Add reduced motion for the trace viewer + +- Updated dependencies [[`dc0be50`](https://github.com/vercel/workflow/commit/dc0be50618bd6a465e3f9768ee7427d282aa1fd7), [`ad71b58`](https://github.com/vercel/workflow/commit/ad71b58bba65e739fbafee0440ffff48878e7e51), [`9454151`](https://github.com/vercel/workflow/commit/9454151b0e3b8a4ceeb96de4d41c5937330e16a6), [`b124365`](https://github.com/vercel/workflow/commit/b124365e14b0c47a5c830c7009dd5bf0149d5a59), [`2a446af`](https://github.com/vercel/workflow/commit/2a446af517dbb91ae959adade1d74ef0428a2b09), [`1d3959e`](https://github.com/vercel/workflow/commit/1d3959eaa8db5866d08ad3970324c1b5dae73f7b), [`49da6c5`](https://github.com/vercel/workflow/commit/49da6c50b3d28f9c533ec0ee28437d7ed3887335)]: + - @workflow/core@5.0.0-beta.7 + - @workflow/world@5.0.0-beta.4 + ## 5.0.0-beta.6 ### Patch Changes diff --git a/packages/web-shared/package.json b/packages/web-shared/package.json index 1d23eef793..4bb4f5c281 100644 --- a/packages/web-shared/package.json +++ b/packages/web-shared/package.json @@ -1,7 +1,7 @@ { "name": "@workflow/web-shared", "description": "Shared components for Workflow Observability UI", - "version": "5.0.0-beta.6", + "version": "5.0.0-beta.7", "private": false, "files": [ "dist", diff --git a/packages/web/CHANGELOG.md b/packages/web/CHANGELOG.md index aebe13722e..c626a67900 100644 --- a/packages/web/CHANGELOG.md +++ b/packages/web/CHANGELOG.md @@ -1,5 +1,7 @@ # @workflow/web +## 5.0.0-beta.7 + ## 5.0.0-beta.6 ## 5.0.0-beta.5 diff --git a/packages/web/package.json b/packages/web/package.json index 6b981aa42a..9d6bd12f21 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -1,7 +1,7 @@ { "name": "@workflow/web", "description": "Workflow Observability UI", - "version": "5.0.0-beta.6", + "version": "5.0.0-beta.7", "type": "module", "private": false, "files": [ diff --git a/packages/workflow/CHANGELOG.md b/packages/workflow/CHANGELOG.md index 9d15df7a7b..0d44e90098 100644 --- a/packages/workflow/CHANGELOG.md +++ b/packages/workflow/CHANGELOG.md @@ -1,5 +1,28 @@ # workflow +## 5.0.0-beta.7 + +### Minor Changes + +- [#2059](https://github.com/vercel/workflow/pull/2059) [`49da6c5`](https://github.com/vercel/workflow/commit/49da6c50b3d28f9c533ec0ee28437d7ed3887335) Thanks [@TooTallNate](https://github.com/TooTallNate)! - A `WritableStream` from a workflow's `getWritable()` can now be passed as an argument to a child workflow via `start()`; the child's writes land on the parent run's stream directly for the full lifetime of the child run. + +### Patch Changes + +- [#2056](https://github.com/vercel/workflow/pull/2056) [`9454151`](https://github.com/vercel/workflow/commit/9454151b0e3b8a4ceeb96de4d41c5937330e16a6) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Fix spurious "Event cursor missing after initial load" warning + +- Updated dependencies [[`dc0be50`](https://github.com/vercel/workflow/commit/dc0be50618bd6a465e3f9768ee7427d282aa1fd7), [`ad71b58`](https://github.com/vercel/workflow/commit/ad71b58bba65e739fbafee0440ffff48878e7e51), [`9454151`](https://github.com/vercel/workflow/commit/9454151b0e3b8a4ceeb96de4d41c5937330e16a6), [`b124365`](https://github.com/vercel/workflow/commit/b124365e14b0c47a5c830c7009dd5bf0149d5a59), [`c1242e8`](https://github.com/vercel/workflow/commit/c1242e8dc5db42748ae2739c7d24f964b39b7232), [`2a446af`](https://github.com/vercel/workflow/commit/2a446af517dbb91ae959adade1d74ef0428a2b09), [`1d3959e`](https://github.com/vercel/workflow/commit/1d3959eaa8db5866d08ad3970324c1b5dae73f7b), [`49da6c5`](https://github.com/vercel/workflow/commit/49da6c50b3d28f9c533ec0ee28437d7ed3887335)]: + - @workflow/core@5.0.0-beta.7 + - @workflow/errors@5.0.0-beta.4 + - @workflow/nitro@5.0.0-beta.7 + - @workflow/cli@5.0.0-beta.7 + - @workflow/next@5.0.0-beta.7 + - @workflow/typescript-plugin@5.0.0-beta.3 + - @workflow/nuxt@5.0.0-beta.7 + - @workflow/astro@5.0.0-beta.7 + - @workflow/nest@5.0.0-beta.7 + - @workflow/rollup@5.0.0-beta.7 + - @workflow/sveltekit@5.0.0-beta.7 + ## 5.0.0-beta.6 ### Patch Changes diff --git a/packages/workflow/package.json b/packages/workflow/package.json index b8dde5d510..e6fe5ad503 100644 --- a/packages/workflow/package.json +++ b/packages/workflow/package.json @@ -1,6 +1,6 @@ { "name": "workflow", - "version": "5.0.0-beta.6", + "version": "5.0.0-beta.7", "description": "Workflow SDK - Build durable, resilient, and observable workflows", "main": "dist/typescript-plugin.cjs", "type": "module", diff --git a/packages/world-local/CHANGELOG.md b/packages/world-local/CHANGELOG.md index bb1de32776..8a4b5863bf 100644 --- a/packages/world-local/CHANGELOG.md +++ b/packages/world-local/CHANGELOG.md @@ -1,5 +1,15 @@ # @workflow/world-local +## 5.0.0-beta.6 + +### Patch Changes + +- [#2038](https://github.com/vercel/workflow/pull/2038) [`dc0be50`](https://github.com/vercel/workflow/commit/dc0be50618bd6a465e3f9768ee7427d282aa1fd7) Thanks [@pranaygp](https://github.com/pranaygp)! - Refresh workflow events after completing elapsed waits so concurrent hook events preserve deterministic replay order. + +- Updated dependencies [[`dc0be50`](https://github.com/vercel/workflow/commit/dc0be50618bd6a465e3f9768ee7427d282aa1fd7), [`ad71b58`](https://github.com/vercel/workflow/commit/ad71b58bba65e739fbafee0440ffff48878e7e51), [`b124365`](https://github.com/vercel/workflow/commit/b124365e14b0c47a5c830c7009dd5bf0149d5a59), [`2a446af`](https://github.com/vercel/workflow/commit/2a446af517dbb91ae959adade1d74ef0428a2b09), [`1d3959e`](https://github.com/vercel/workflow/commit/1d3959eaa8db5866d08ad3970324c1b5dae73f7b)]: + - @workflow/world@5.0.0-beta.4 + - @workflow/errors@5.0.0-beta.4 + ## 5.0.0-beta.5 ### Patch Changes diff --git a/packages/world-local/package.json b/packages/world-local/package.json index a02eeb992a..5e377fe059 100644 --- a/packages/world-local/package.json +++ b/packages/world-local/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/world-local", - "version": "5.0.0-beta.5", + "version": "5.0.0-beta.6", "description": "Local development World implementation for Workflow SDK", "type": "module", "main": "dist/index.js", diff --git a/packages/world-postgres/CHANGELOG.md b/packages/world-postgres/CHANGELOG.md index e726c84e37..97d40503f9 100644 --- a/packages/world-postgres/CHANGELOG.md +++ b/packages/world-postgres/CHANGELOG.md @@ -1,5 +1,18 @@ # @workflow/world-postgres +## 5.0.0-beta.6 + +### Patch Changes + +- [#2038](https://github.com/vercel/workflow/pull/2038) [`dc0be50`](https://github.com/vercel/workflow/commit/dc0be50618bd6a465e3f9768ee7427d282aa1fd7) Thanks [@pranaygp](https://github.com/pranaygp)! - Refresh workflow events after completing elapsed waits so concurrent hook events preserve deterministic replay order. + +- [#2019](https://github.com/vercel/workflow/pull/2019) [`738ec5e`](https://github.com/vercel/workflow/commit/738ec5e81dc75e2c2d7574796cc3b2c7ad20feff) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - `workflow-postgres-setup` now also bootstraps the `graphile_worker` schema, fixing potential race on setup when starting the app and a test runner at the same time + +- Updated dependencies [[`dc0be50`](https://github.com/vercel/workflow/commit/dc0be50618bd6a465e3f9768ee7427d282aa1fd7), [`ad71b58`](https://github.com/vercel/workflow/commit/ad71b58bba65e739fbafee0440ffff48878e7e51), [`b124365`](https://github.com/vercel/workflow/commit/b124365e14b0c47a5c830c7009dd5bf0149d5a59), [`2a446af`](https://github.com/vercel/workflow/commit/2a446af517dbb91ae959adade1d74ef0428a2b09), [`1d3959e`](https://github.com/vercel/workflow/commit/1d3959eaa8db5866d08ad3970324c1b5dae73f7b)]: + - @workflow/world@5.0.0-beta.4 + - @workflow/world-local@5.0.0-beta.6 + - @workflow/errors@5.0.0-beta.4 + ## 5.0.0-beta.5 ### Patch Changes diff --git a/packages/world-postgres/package.json b/packages/world-postgres/package.json index bd499f0f64..2202f6a085 100644 --- a/packages/world-postgres/package.json +++ b/packages/world-postgres/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/world-postgres", - "version": "5.0.0-beta.5", + "version": "5.0.0-beta.6", "description": "A reference World implementation based on PostgreSQL", "type": "module", "main": "dist/index.js", diff --git a/packages/world-testing/CHANGELOG.md b/packages/world-testing/CHANGELOG.md index dbfd94db70..7fd9df61a5 100644 --- a/packages/world-testing/CHANGELOG.md +++ b/packages/world-testing/CHANGELOG.md @@ -1,5 +1,17 @@ # @workflow/world-testing +## 5.0.0-beta.7 + +### Patch Changes + +- [#2043](https://github.com/vercel/workflow/pull/2043) [`96e2d3c`](https://github.com/vercel/workflow/commit/96e2d3c56fe45dd1e753ee187e309897d3e2982f) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Fix race condition in test server's flow invocation counter that caused intermittent failures in the inline-execution test suite (e.g. "sequential steps complete in a single flow invocation"). The counter is now incremented before awaiting the flow handler, so the count is observable as soon as the run transitions to completed. + +- Updated dependencies [[`dc0be50`](https://github.com/vercel/workflow/commit/dc0be50618bd6a465e3f9768ee7427d282aa1fd7), [`ad71b58`](https://github.com/vercel/workflow/commit/ad71b58bba65e739fbafee0440ffff48878e7e51), [`9454151`](https://github.com/vercel/workflow/commit/9454151b0e3b8a4ceeb96de4d41c5937330e16a6), [`b124365`](https://github.com/vercel/workflow/commit/b124365e14b0c47a5c830c7009dd5bf0149d5a59), [`2a446af`](https://github.com/vercel/workflow/commit/2a446af517dbb91ae959adade1d74ef0428a2b09), [`1d3959e`](https://github.com/vercel/workflow/commit/1d3959eaa8db5866d08ad3970324c1b5dae73f7b), [`49da6c5`](https://github.com/vercel/workflow/commit/49da6c50b3d28f9c533ec0ee28437d7ed3887335)]: + - @workflow/core@5.0.0-beta.7 + - @workflow/world@5.0.0-beta.4 + - workflow@5.0.0-beta.7 + - @workflow/cli@5.0.0-beta.7 + ## 5.0.0-beta.6 ### Patch Changes diff --git a/packages/world-testing/package.json b/packages/world-testing/package.json index b5b6589ef3..5019f8fb0a 100644 --- a/packages/world-testing/package.json +++ b/packages/world-testing/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/world-testing", - "version": "5.0.0-beta.6", + "version": "5.0.0-beta.7", "description": "Testing utilities and World implementation for Workflow SDK", "main": "dist/src/index.mjs", "files": [ diff --git a/packages/world-vercel/CHANGELOG.md b/packages/world-vercel/CHANGELOG.md index eb79d5d750..4d2c6c628a 100644 --- a/packages/world-vercel/CHANGELOG.md +++ b/packages/world-vercel/CHANGELOG.md @@ -1,5 +1,19 @@ # @workflow/world-vercel +## 5.0.0-beta.6 + +### Patch Changes + +- [#2038](https://github.com/vercel/workflow/pull/2038) [`dc0be50`](https://github.com/vercel/workflow/commit/dc0be50618bd6a465e3f9768ee7427d282aa1fd7) Thanks [@pranaygp](https://github.com/pranaygp)! - Refresh workflow events after completing elapsed waits so concurrent hook events preserve deterministic replay order. + +- [#2013](https://github.com/vercel/workflow/pull/2013) [`2a446af`](https://github.com/vercel/workflow/commit/2a446af517dbb91ae959adade1d74ef0428a2b09) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Exclude inline step execution from the workflow replay timeout. Long-running steps no longer hit `REPLAY_TIMEOUT` (fixes #2009). Adds a `WORKFLOW_REPLAY_TIMEOUT_MS` env var override and a new optional `World.processExitTriggersQueueRedelivery` capability used to gate the runtime's `process.exit(1)` failure path. + +- [#2060](https://github.com/vercel/workflow/pull/2060) [`1d3959e`](https://github.com/vercel/workflow/commit/1d3959eaa8db5866d08ad3970324c1b5dae73f7b) Thanks [@pranaygp](https://github.com/pranaygp)! - Record fatal world response contract failures as non-retryable workflow errors. + +- Updated dependencies [[`dc0be50`](https://github.com/vercel/workflow/commit/dc0be50618bd6a465e3f9768ee7427d282aa1fd7), [`ad71b58`](https://github.com/vercel/workflow/commit/ad71b58bba65e739fbafee0440ffff48878e7e51), [`b124365`](https://github.com/vercel/workflow/commit/b124365e14b0c47a5c830c7009dd5bf0149d5a59), [`2a446af`](https://github.com/vercel/workflow/commit/2a446af517dbb91ae959adade1d74ef0428a2b09), [`1d3959e`](https://github.com/vercel/workflow/commit/1d3959eaa8db5866d08ad3970324c1b5dae73f7b)]: + - @workflow/world@5.0.0-beta.4 + - @workflow/errors@5.0.0-beta.4 + ## 5.0.0-beta.5 ### Patch Changes diff --git a/packages/world-vercel/package.json b/packages/world-vercel/package.json index e50d9e7c03..d0f6329263 100644 --- a/packages/world-vercel/package.json +++ b/packages/world-vercel/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/world-vercel", - "version": "5.0.0-beta.5", + "version": "5.0.0-beta.6", "description": "Vercel platform World implementation for Workflow SDK", "type": "module", "main": "dist/index.js", diff --git a/packages/world/CHANGELOG.md b/packages/world/CHANGELOG.md index 1d5e87e8ec..6389d69f27 100644 --- a/packages/world/CHANGELOG.md +++ b/packages/world/CHANGELOG.md @@ -1,5 +1,17 @@ # @workflow/world +## 5.0.0-beta.4 + +### Patch Changes + +- [#2038](https://github.com/vercel/workflow/pull/2038) [`dc0be50`](https://github.com/vercel/workflow/commit/dc0be50618bd6a465e3f9768ee7427d282aa1fd7) Thanks [@pranaygp](https://github.com/pranaygp)! - Refresh workflow events after completing elapsed waits so concurrent hook events preserve deterministic replay order. + +- [#2046](https://github.com/vercel/workflow/pull/2046) [`ad71b58`](https://github.com/vercel/workflow/commit/ad71b58bba65e739fbafee0440ffff48878e7e51) Thanks [@pranaygp](https://github.com/pranaygp)! - Report corrupted event logs with a distinct `CorruptedEventLogError` type and `CORRUPTED_EVENT_LOG` run error code. + +- [#2030](https://github.com/vercel/workflow/pull/2030) [`b124365`](https://github.com/vercel/workflow/commit/b124365e14b0c47a5c830c7009dd5bf0149d5a59) Thanks [@pranaygp](https://github.com/pranaygp)! - Validate step, wait, and hook lifecycle events against replay ownership metadata. + +- [#2013](https://github.com/vercel/workflow/pull/2013) [`2a446af`](https://github.com/vercel/workflow/commit/2a446af517dbb91ae959adade1d74ef0428a2b09) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Exclude inline step execution from the workflow replay timeout. Long-running steps no longer hit `REPLAY_TIMEOUT` (fixes #2009). Adds a `WORKFLOW_REPLAY_TIMEOUT_MS` env var override and a new optional `World.processExitTriggersQueueRedelivery` capability used to gate the runtime's `process.exit(1)` failure path. + ## 5.0.0-beta.3 ### Patch Changes diff --git a/packages/world/package.json b/packages/world/package.json index e0d962ddf2..fd875dc55d 100644 --- a/packages/world/package.json +++ b/packages/world/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/world", - "version": "5.0.0-beta.3", + "version": "5.0.0-beta.4", "description": "The Workflows World interface", "type": "module", "main": "dist/index.js",