Skip to content

chore: release v4.5.7#4319

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

chore: release v4.5.7#4319
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

3 improvements, 1 bug fix.

Improvements

  • Custom chat agent loops get two ergonomic wins for owning the turn loop. (#4304)

    chat.writeTurnComplete() now returns the turn boundary's resume cursors (lastEventId for the output stream and sessionInEventId for the input stream), so you can persist them straight from the task instead of round-tripping them back from the client.

    const { lastEventId, sessionInEventId } = await chat.writeTurnComplete();
    await db.chats.update(chatId, { lastEventId, sessionInEventId });

    chat.pipeAndCapture() no longer throws when a stream is stopped or fails. It now returns a PipeAndCaptureResult whose message holds any partial output captured before the stop or failure, alongside a typed status ("complete" | "aborted" | "error") and, on failure, the error. Read the message off the result:

    const { message, status, error } = await chat.pipeAndCapture(result, {
    signal,
    });
    if (message) conversation.addResponse(message);
    if (status === "error") logger.error("turn failed", { error });

    Note: pipeAndCapture previously resolved to UIMessage | undefined. Update call sites to read .message from the returned result.

  • Suppress a build-time warning that could appear in Vite-based projects when the optional @ai-sdk/otel package is not installed. (#4188)

Server changes

These changes affect the self-hosted Docker image and Trigger.dev Cloud:

  • Refreshed the side menu: separate organization and account menus, a new project switcher, and the menu is now resizable by dragging its edge. The account Profile page has also been redesigned. (#4066)
  • Prevent duplicate Staging and Preview environments when account setup requests overlap (#4261)
Raw changeset output

Releases

@trigger.dev/build@4.5.7

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.5.7

trigger.dev@4.5.7

Patch Changes

  • Updated dependencies:
    • @trigger.dev/build@4.5.7
    • @trigger.dev/core@4.5.7
    • @trigger.dev/schema-to-json@4.5.7

@trigger.dev/python@4.5.7

Patch Changes

  • Updated dependencies:
    • @trigger.dev/sdk@4.5.7
    • @trigger.dev/build@4.5.7
    • @trigger.dev/core@4.5.7

@trigger.dev/react-hooks@4.5.7

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.5.7

@trigger.dev/redis-worker@4.5.7

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.5.7

@trigger.dev/rsc@4.5.7

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.5.7

@trigger.dev/schema-to-json@4.5.7

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.5.7

@trigger.dev/sdk@4.5.7

Patch Changes

  • Custom chat agent loops get two ergonomic wins for owning the turn loop. (#4304)

    chat.writeTurnComplete() now returns the turn boundary's resume cursors (lastEventId for the output stream and sessionInEventId for the input stream), so you can persist them straight from the task instead of round-tripping them back from the client.

    const { lastEventId, sessionInEventId } = await chat.writeTurnComplete();
    await db.chats.update(chatId, { lastEventId, sessionInEventId });

    chat.pipeAndCapture() no longer throws when a stream is stopped or fails. It now returns a PipeAndCaptureResult whose message holds any partial output captured before the stop or failure, alongside a typed status ("complete" | "aborted" | "error") and, on failure, the error. Read the message off the result:

    const { message, status, error } = await chat.pipeAndCapture(result, {
      signal,
    });
    if (message) conversation.addResponse(message);
    if (status === "error") logger.error("turn failed", { error });

    Note: pipeAndCapture previously resolved to UIMessage | undefined. Update call sites to read .message from the returned result.

  • Suppress a build-time warning that could appear in Vite-based projects when the optional @ai-sdk/otel package is not installed. (#4188)

  • Updated dependencies:

    • @trigger.dev/core@4.5.7

@trigger.dev/core@4.5.7

@github-actions github-actions Bot changed the title chore: release chore: release v4.5.7 Jul 21, 2026

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@github-actions github-actions Bot changed the title chore: release v4.5.7 chore: release Jul 21, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 4e32572 to e15d044 Compare July 21, 2026 14:43
@github-actions github-actions Bot changed the title chore: release chore: release v4.5.7 Jul 21, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.7 chore: release Jul 21, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from e15d044 to 7fd49ef Compare July 21, 2026 15:11
@github-actions github-actions Bot changed the title chore: release chore: release v4.5.7 Jul 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

🧭 Helm Chart Prerelease Published

Version: 4.5.7-pr4319.7fd49ef

Install:

helm upgrade --install trigger \
  oci://ghcr.io/triggerdotdev/charts/trigger \
  --version "4.5.7-pr4319.7fd49ef"

⚠️ This is a prerelease for testing. Do not use in production.

@github-actions github-actions Bot changed the title chore: release v4.5.7 chore: release Jul 21, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 7fd49ef to 427e785 Compare July 21, 2026 16:28
@github-actions github-actions Bot changed the title chore: release chore: release v4.5.7 Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants