Skip to content

chore: release v4.5.0-rc.8#3998

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

chore: release v4.5.0-rc.8#3998
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Summary

1 new feature, 6 improvements, 2 bug fixes.

Highlights

  • Add support for dev branches to the webapp and CLI. This allows humans (and agents) to run multiple local dev servers simultaneously, with a separate dashboard for each one. (#4023)

Improvements

  • Adds trigger.dev mint-token, which mints a short-lived delegated token from your stored personal access token. The token authenticates against the API as you, can be narrowed with --cap and given a lifetime with --ttl, and prints to stdout so it can be captured. (#3997)

    UAT=$(trigger.dev mint-token --ttl 3600 --cap read:runs)
  • Runner debug logs are now disabled by default. Set SEND_RUN_DEBUG_LOGS=true on the supervisor to re-enable them. (#3992)

  • Add request and response schemas for the new Errors API (error groups). These back the env-scoped HTTP endpoints for listing error groups, retrieving a single group, and changing its state (resolve, ignore, unresolve), plus a filter[error] option on the runs list to fetch the runs behind a group. Exported from @trigger.dev/core/v3 so the SDK can reuse them. (#4005)

  • Add an optional skipBodyParsing flag to the internal HTTP server route definition, letting a route respond without reading or parsing the request body. (#4009)

  • chat.headStart now accepts an apiClient option (base URL + access token), so the head-start route can create the session and trigger the agent run against a different project/environment than the warm server's ambient Trigger config. Useful when your chat.agent lives in a separate project from the app serving the route. Mirrors the apiClient option on chat.createStartSessionAction; your LLM provider keys stay in the run callback and are unaffected. (#4018)

    export const POST = chat.headStart({
      agentId: "my-agent",
      apiClient: { baseURL, accessToken },
      run: async ({ chat }) =>
        streamText({
          ...chat.toStreamTextOptions({ tools }),
          model: anthropic("claude-sonnet-4-6"),
        }),
    });
  • chat.createStartSessionAction now accepts an apiClient option, so you can scope a chat session start to a specific environment's API config (baseURL / accessToken) without setting a global TRIGGER_SECRET_KEY. Useful when one server starts chats across more than one environment. (#4018)

    const startSession = chat.createStartSessionAction("my-chat", {
      apiClient: { baseURL, accessToken },
    });
    
    await startSession({ chatId, clientData });

Bug fixes

  • Fix chat.agent / AgentChat when the agent is deployed to a Trigger.dev preview branch. The realtime message-append and stream-subscribe calls now send the x-trigger-branch header (sourced from the same resolver sessions.start uses), so messaging a preview-branch chat agent no longer fails with x-trigger-branch header required for preview env. (#4018)
  • Fix Head Start handovers breaking when a chat.agent also defines a prepareMessages hook. A handover hands the first turn's pending tool call to the agent as a tool-approval round whose trailing tool message must reach the model untouched. A prepareMessages hook that rewrites the last message (for example the recommended prompt-caching breakpoint) could disturb it, so the turn failed with "tool_use ids were found without tool_result". The agent now preserves that approval tail across prepareMessages, so caching and Head Start compose cleanly. (#4018)
Raw changeset output

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@trigger.dev/build@4.5.0-rc.8

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.5.0-rc.8

trigger.dev@4.5.0-rc.8

Patch Changes

  • Add support for dev branches to the webapp and CLI. This allows humans (and agents) to run multiple local dev servers simultaneously, with a separate dashboard for each one. (#4023)

  • Adds trigger.dev mint-token, which mints a short-lived delegated token from your stored personal access token. The token authenticates against the API as you, can be narrowed with --cap and given a lifetime with --ttl, and prints to stdout so it can be captured. (#3997)

    UAT=$(trigger.dev mint-token --ttl 3600 --cap read:runs)
  • Runner debug logs are now disabled by default. Set SEND_RUN_DEBUG_LOGS=true on the supervisor to re-enable them. (#3992)

  • Updated dependencies:

    • @trigger.dev/core@4.5.0-rc.8
    • @trigger.dev/build@4.5.0-rc.8
    • @trigger.dev/schema-to-json@4.5.0-rc.8

@trigger.dev/core@4.5.0-rc.8

Patch Changes

  • Add support for dev branches to the webapp and CLI. This allows humans (and agents) to run multiple local dev servers simultaneously, with a separate dashboard for each one. (#4023)
  • Add request and response schemas for the new Errors API (error groups). These back the env-scoped HTTP endpoints for listing error groups, retrieving a single group, and changing its state (resolve, ignore, unresolve), plus a filter[error] option on the runs list to fetch the runs behind a group. Exported from @trigger.dev/core/v3 so the SDK can reuse them. (#4005)
  • Add an optional skipBodyParsing flag to the internal HTTP server route definition, letting a route respond without reading or parsing the request body. (#4009)

@trigger.dev/python@4.5.0-rc.8

Patch Changes

  • Updated dependencies:
    • @trigger.dev/sdk@4.5.0-rc.8
    • @trigger.dev/core@4.5.0-rc.8
    • @trigger.dev/build@4.5.0-rc.8

@trigger.dev/react-hooks@4.5.0-rc.8

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.5.0-rc.8

@trigger.dev/redis-worker@4.5.0-rc.8

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.5.0-rc.8

@trigger.dev/rsc@4.5.0-rc.8

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.5.0-rc.8

@trigger.dev/schema-to-json@4.5.0-rc.8

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.5.0-rc.8

@trigger.dev/sdk@4.5.0-rc.8

Patch Changes

  • Fix chat.agent / AgentChat when the agent is deployed to a Trigger.dev preview branch. The realtime message-append and stream-subscribe calls now send the x-trigger-branch header (sourced from the same resolver sessions.start uses), so messaging a preview-branch chat agent no longer fails with x-trigger-branch header required for preview env. (#4018)

  • Fix Head Start handovers breaking when a chat.agent also defines a prepareMessages hook. A handover hands the first turn's pending tool call to the agent as a tool-approval round whose trailing tool message must reach the model untouched. A prepareMessages hook that rewrites the last message (for example the recommended prompt-caching breakpoint) could disturb it, so the turn failed with "tool_use ids were found without tool_result". The agent now preserves that approval tail across prepareMessages, so caching and Head Start compose cleanly. (#4018)

  • chat.headStart now accepts an apiClient option (base URL + access token), so the head-start route can create the session and trigger the agent run against a different project/environment than the warm server's ambient Trigger config. Useful when your chat.agent lives in a separate project from the app serving the route. Mirrors the apiClient option on chat.createStartSessionAction; your LLM provider keys stay in the run callback and are unaffected. (#4018)

    export const POST = chat.headStart({
      agentId: "my-agent",
      apiClient: { baseURL, accessToken },
      run: async ({ chat }) =>
        streamText({
          ...chat.toStreamTextOptions({ tools }),
          model: anthropic("claude-sonnet-4-6"),
        }),
    });
  • chat.createStartSessionAction now accepts an apiClient option, so you can scope a chat session start to a specific environment's API config (baseURL / accessToken) without setting a global TRIGGER_SECRET_KEY. Useful when one server starts chats across more than one environment. (#4018)

    const startSession = chat.createStartSessionAction("my-chat", {
      apiClient: { baseURL, accessToken },
    });
    
    await startSession({ chatId, clientData });
  • Updated dependencies:

    • @trigger.dev/core@4.5.0-rc.8

@trigger.dev/plugins@4.5.0-rc.8

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.5.0-rc.8

@github-actions github-actions Bot changed the title chore: release (rc) chore: release v4.5.0-rc.8 Jun 19, 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.0-rc.8 chore: release (rc) Jun 21, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from ae55093 to 136f0f1 Compare June 21, 2026 08:30
@github-actions github-actions Bot changed the title chore: release (rc) chore: release v4.5.0-rc.8 Jun 21, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 chore: release (rc) Jun 21, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 136f0f1 to c156016 Compare June 21, 2026 12:48
@github-actions github-actions Bot changed the title chore: release (rc) chore: release v4.5.0-rc.8 Jun 21, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 chore: release (rc) Jun 22, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from c156016 to 0c8a043 Compare June 22, 2026 07:52
@github-actions github-actions Bot changed the title chore: release (rc) chore: release v4.5.0-rc.8 Jun 22, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 chore: release (rc) Jun 22, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 0c8a043 to 616d755 Compare June 22, 2026 09:04
@github-actions github-actions Bot changed the title chore: release (rc) chore: release v4.5.0-rc.8 Jun 22, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 chore: release (rc) Jun 22, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 616d755 to b9a6bba Compare June 22, 2026 12:49
@github-actions github-actions Bot changed the title chore: release (rc) chore: release v4.5.0-rc.8 Jun 22, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 chore: release (rc) Jun 22, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from b9a6bba to cca62fb Compare June 22, 2026 14:32
@github-actions github-actions Bot changed the title chore: release (rc) chore: release v4.5.0-rc.8 Jun 22, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 chore: release (rc) Jun 22, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from cca62fb to f4824a4 Compare June 22, 2026 16:33
@github-actions github-actions Bot changed the title chore: release (rc) chore: release v4.5.0-rc.8 Jun 22, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 chore: release (rc) Jun 24, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from f4824a4 to 7574c5d Compare June 24, 2026 16:57
@github-actions github-actions Bot changed the title chore: release (rc) chore: release v4.5.0-rc.8 Jun 24, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 chore: release (rc) Jun 24, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 7574c5d to 8d70f1f Compare June 24, 2026 18:06
@github-actions github-actions Bot changed the title chore: release (rc) chore: release v4.5.0-rc.8 Jun 24, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 chore: release (rc) Jun 24, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 8d70f1f to ef34452 Compare June 24, 2026 18:09
@github-actions github-actions Bot changed the title chore: release (rc) chore: release v4.5.0-rc.8 Jun 24, 2026
ericallam added a commit that referenced this pull request Jun 25, 2026
## Summary

The auto-generated changeset release PR (`changeset-release/main`)
builds its `## Improvements` / `## Bug fixes` summary with
`scripts/enhance-release-pr.mjs`. The script deduplicated summary
entries by PR number, so when a single PR shipped more than one
changeset, only the first entry survived and the rest were silently
dropped from the summary. The dropped entries still appeared in the raw
`<details>` block, which is how the mismatch surfaced (for example in
[#3998](#3998), where
one PR's four changesets showed up as a single summary line).

## Fix

Deduplicate on the full entry text rather than the bare PR number. The
entry text embeds the PR link, so:

- the same changeset rendered once per package section still collapses
to one,
- distinct changesets from the same PR are each kept,
- identical descriptions from different PRs stay separate.

Verified against the raw changeset output from
[#3998](#3998): that
PR's changesets went from 1 to all 4 in the generated summary.
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 chore: release (rc) Jun 25, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from ef34452 to 649376d Compare June 25, 2026 21:51
@github-actions github-actions Bot changed the title chore: release (rc) chore: release v4.5.0-rc.8 Jun 25, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 chore: release (rc) Jun 26, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 649376d to b84dde1 Compare June 26, 2026 08:02
@github-actions github-actions Bot changed the title chore: release (rc) chore: release v4.5.0-rc.8 Jun 26, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 chore: release (rc) Jun 26, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from b84dde1 to 2a245cd Compare June 26, 2026 11:20
@github-actions github-actions Bot changed the title chore: release (rc) chore: release v4.5.0-rc.8 Jun 26, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 chore: release (rc) Jun 26, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 2a245cd to db92175 Compare June 26, 2026 14:12
@github-actions github-actions Bot changed the title chore: release (rc) chore: release v4.5.0-rc.8 Jun 26, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 chore: release (rc) Jun 26, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from db92175 to 5e8a257 Compare June 26, 2026 15:14
@github-actions github-actions Bot changed the title chore: release (rc) chore: release v4.5.0-rc.8 Jun 26, 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