Skip to content

@trigger.dev/core@4.3.3

Latest

Choose a tag to compare

@github-actions github-actions released this 23 Jan 18:01
· 7 commits to main since this release
700fe91

Patch Changes

  • Add support for AI SDK v6 (Vercel AI SDK) (#2919)

    • Updated peer dependency to allow ai@^6.0.0 alongside v4 and v5
    • Updated internal code to handle async validation from AI SDK v6's Schema type
  • Expose user-provided idempotency key and scope in task context. ctx.run.idempotencyKey now returns the original key passed to idempotencyKeys.create() instead of the hash, and ctx.run.idempotencyKeyScope shows the scope ("run", "attempt", or "global"). (#2903)

  • Fix batch trigger failing with "ReadableStream is locked" error when network failures occur mid-stream. Added safe stream cancellation that gracefully handles locked streams during retry attempts. (#2917)

  • Add a maxDepth to flatten/unflattenAttributes to prevent possible issues (#2890)