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

5 improvements, 5 bug fixes.

Improvements

  • Add node-24 and node-26 as supported runtime options in trigger.config.ts. The experimental-node-24 and experimental-node-26 names are now deprecated aliases and emit a deprecation warning; switch to node-24 / node-26 instead. (#4337)

    import { defineConfig } from "@trigger.dev/sdk";
    
    export default defineConfig({
    runtime: "node-24",
    project: "<your-project-ref>",
    });
  • Avoid logging task run environment variable values at debug level (#4336)

  • 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)

Bug fixes

  • Fixes intermittent trigger dev run crashes where a run could fail at boot with a cryptic Cannot find module .../dev-run-worker.mjs after a rebuild had cleaned up the build directory the run was launched against. Dev runs now retry cleanly instead of hard-crashing when their build directory is missing, the dev watchdog no longer removes the build tree of a still-running session, and a run assigned to a worker version that was superseded by a rebuild now fails fast with a clear message instead of silently hanging until it times out. (#4276)

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)
  • Allow different organization members to use the same development branch name without sharing or colliding with each other's branch environments. (#4323)
  • Limit account settings email input to 254 characters. (#4330)
  • Prevent duplicate Staging and Preview environments when account setup requests overlap (#4261)
  • Fix the docs link on the empty Prompts page, which pointed to a page that no longer exists. (#4247)
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

  • Fixes intermittent trigger dev run crashes where a run could fail at boot with a cryptic Cannot find module .../dev-run-worker.mjs after a rebuild had cleaned up the build directory the run was launched against. Dev runs now retry cleanly instead of hard-crashing when their build directory is missing, the dev watchdog no longer removes the build tree of a still-running session, and a run assigned to a worker version that was superseded by a rebuild now fails fast with a clear message instead of silently hanging until it times out. (#4276)

  • Add node-24 and node-26 as supported runtime options in trigger.config.ts. The experimental-node-24 and experimental-node-26 names are now deprecated aliases and emit a deprecation warning; switch to node-24 / node-26 instead. (#4337)

    import { defineConfig } from "@trigger.dev/sdk";
    
    export default defineConfig({
      runtime: "node-24",
      project: "<your-project-ref>",
    });
  • Avoid logging task run environment variable values at debug level (#4336)

  • Updated dependencies:

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

@trigger.dev/core@4.5.7

Patch Changes

  • Add node-24 and node-26 as supported runtime options in trigger.config.ts. The experimental-node-24 and experimental-node-26 names are now deprecated aliases and emit a deprecation warning; switch to node-24 / node-26 instead. (#4337)

    import { defineConfig } from "@trigger.dev/sdk";
    
    export default defineConfig({
      runtime: "node-24",
      project: "<your-project-ref>",
    });

@trigger.dev/python@4.5.7

Patch Changes

  • Updated dependencies:
    • @trigger.dev/sdk@4.5.7
    • @trigger.dev/core@4.5.7
    • @trigger.dev/build@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

@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
@github-actions github-actions Bot changed the title chore: release v4.5.7 chore: release Jul 22, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 427e785 to 831608a Compare July 22, 2026 07:23
@github-actions github-actions Bot changed the title chore: release chore: release v4.5.7 Jul 22, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.7 chore: release Jul 22, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 831608a to fcdbaec Compare July 22, 2026 07:50
@github-actions github-actions Bot changed the title chore: release chore: release v4.5.7 Jul 22, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.7 chore: release Jul 22, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from fcdbaec to 76bf376 Compare July 22, 2026 09:32
@github-actions github-actions Bot changed the title chore: release chore: release v4.5.7 Jul 22, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.7 chore: release Jul 22, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 76bf376 to 097a8fa Compare July 22, 2026 11:53
@github-actions github-actions Bot changed the title chore: release chore: release v4.5.7 Jul 22, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.7 chore: release Jul 22, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 097a8fa to 2f3c1a6 Compare July 22, 2026 12:34
@github-actions github-actions Bot changed the title chore: release chore: release v4.5.7 Jul 22, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.7 chore: release Jul 22, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 2f3c1a6 to a560881 Compare July 22, 2026 13:14
@github-actions github-actions Bot changed the title chore: release chore: release v4.5.7 Jul 22, 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