Skip to content

chore: release v4.8.7 - #5143

Merged
Mariefay merged 1 commit into
mainfrom
changeset-release/main
Nov 19, 2026
Merged

Mariefay merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

1 improvement, 10 bug fixes.

Improvements

  • Sessions and chat.agent now accept the object form of concurrencyKey in triggerConfig, giving each concurrency limit its own key, the same as task.trigger(). (767ab4521)

Bug fixes

  • Fix runs failing with TASK_DID_CONCURRENT_WAIT on their first wait when processKeepAlive is enabled. (fe57ea018)

  • Fix chat.agent channels on AI SDK 7 failing the whole turn when a channel file can't be downloaded. A file the connector owns but can't read is now replaced with an [Attached file "…" could not be loaded] note and the agent still answers, as it does on AI SDK 6. AI SDK 7 describes a file's URL in a tagged form that the SDK didn't recognise, so the failed file was never found. (c888eb885)

    An inline data: file in a channel message is no longer passed to a connector's download, and on AI SDK 6 it reaches the model instead of failing the turn.

  • Fix two compaction problems on AI SDK 7. After a compaction, a chat.agent turn that continued a tool approval sent the model the full pre-compaction transcript instead of the summary, which undid the compaction (this also affected chat.MessageAccumulator). And between-turn compaction, in chat.agent and chat.createSession, was asked about the whole turn's token usage instead of the last step's, so shouldCompact thresholds triggered too early on multi-step turns. (c615d762e)

    If you call compactIfNeeded on a chat.MessageAccumulator, pass it the last step's usage, (await result.steps).at(-1)?.usage. result.usage is the turn's sum on AI SDK 7.

  • Fix chat.agent steering on AI SDK 7. A steering message that pendingMessages.prepare turns into a system message no longer makes the step fail with an invalid-prompt error: chat.toStreamTextOptions() now sets allowSystemInMessages: true, as AI SDK 5 and 6 already behave (pass allowSystemInMessages: false after the spread to keep AI SDK 7's strict default). A turn whose stream ends on an error now reports finishReason: "error" in onTurnComplete, where it could be undefined or the previous step's reason. (53f17ee0b)

  • Fix a chat.agent tool result containing a BigInt failing the next turn's model call in apps that define BigInt.prototype.toJSON. It is now sent as the JSON that toJSON gives, in the next step and in later turns. (8167e49f3)

  • Fix chat.agent failing the next step or turn with AI_InvalidPromptError ("The messages do not match the ModelMessage[] schema") when a tool returned a value that isn't plain JSON, such as a Date from an ORM row. On AI SDK 6, and AI SDK 7 before 7.0.101, tool results are now converted to JSON the way newer AI SDK versions do it, so a Date reaches the model as its ISO string. A value JSON can't hold, such as a BigInt or a circular reference, is replaced by an error result that names the tool and the field, and the same error is logged on the run. (49b3dc055)

Server changes

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

  • Worker registration now refuses task source files that are too large once decompressed or aren't valid text, with an error that names the file.
  • The session page now says when earlier conversation messages couldn't be loaded, with a retry, and closing a session keeps the view you were on.
  • On a live run's trace, "Errors only" and search now pick up a span that fails or gets a new name after it first appeared.
  • Alert webhook URLs that point at private or reserved network addresses are now rejected in more cases.
Raw changeset output

Releases

@trigger.dev/build@4.8.7

Patch Changes

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

trigger.dev@4.8.7

Patch Changes

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

@trigger.dev/core@4.8.7

Patch Changes

  • Fix runs failing with TASK_DID_CONCURRENT_WAIT on their first wait when processKeepAlive is enabled. (fe57ea018)
  • Sessions and chat.agent now accept the object form of concurrencyKey in triggerConfig, giving each concurrency limit its own key, the same as task.trigger(). (767ab4521)

@trigger.dev/linear@4.8.7

Patch Changes

  • Updated dependencies:
    • @trigger.dev/sdk@4.8.7
    • @trigger.dev/core@4.8.7

@trigger.dev/python@4.8.7

Patch Changes

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

@trigger.dev/react-hooks@4.8.7

Patch Changes

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

@trigger.dev/redis-worker@4.8.7

Patch Changes

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

@trigger.dev/rsc@4.8.7

Patch Changes

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

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

Patch Changes

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

@trigger.dev/slack@4.8.7

Patch Changes

  • Updated dependencies:
    • @trigger.dev/sdk@4.8.7
    • @trigger.dev/core@4.8.7

@trigger.dev/sdk@4.8.7

Patch Changes

  • Fix chat.agent channels on AI SDK 7 failing the whole turn when a channel file can't be downloaded. A file the connector owns but can't read is now replaced with an [Attached file "…" could not be loaded] note and the agent still answers, as it does on AI SDK 6. AI SDK 7 describes a file's URL in a tagged form that the SDK didn't recognise, so the failed file was never found. (c888eb885)

    An inline data: file in a channel message is no longer passed to a connector's download, and on AI SDK 6 it reaches the model instead of failing the turn.

  • Fix two compaction problems on AI SDK 7. After a compaction, a chat.agent turn that continued a tool approval sent the model the full pre-compaction transcript instead of the summary, which undid the compaction (this also affected chat.MessageAccumulator). And between-turn compaction, in chat.agent and chat.createSession, was asked about the whole turn's token usage instead of the last step's, so shouldCompact thresholds triggered too early on multi-step turns. (c615d762e)

    If you call compactIfNeeded on a chat.MessageAccumulator, pass it the last step's usage, (await result.steps).at(-1)?.usage. result.usage is the turn's sum on AI SDK 7.

  • Fix chat.agent steering on AI SDK 7. A steering message that pendingMessages.prepare turns into a system message no longer makes the step fail with an invalid-prompt error: chat.toStreamTextOptions() now sets allowSystemInMessages: true, as AI SDK 5 and 6 already behave (pass allowSystemInMessages: false after the spread to keep AI SDK 7's strict default). A turn whose stream ends on an error now reports finishReason: "error" in onTurnComplete, where it could be undefined or the previous step's reason. (53f17ee0b)

  • Fix a chat.agent tool result containing a BigInt failing the next turn's model call in apps that define BigInt.prototype.toJSON. It is now sent as the JSON that toJSON gives, in the next step and in later turns. (8167e49f3)

  • Fix chat.agent failing the next step or turn with AI_InvalidPromptError ("The messages do not match the ModelMessage[] schema") when a tool returned a value that isn't plain JSON, such as a Date from an ORM row. On AI SDK 6, and AI SDK 7 before 7.0.101, tool results are now converted to JSON the way newer AI SDK versions do it, so a Date reaches the model as its ISO string. A value JSON can't hold, such as a BigInt or a circular reference, is replaced by an error result that names the tool and the field, and the same error is logged on the run. (49b3dc055)

  • Sessions and chat.agent now accept the object form of concurrencyKey in triggerConfig, giving each concurrency limit its own key, the same as task.trigger(). (767ab4521)

  • Updated dependencies:

    • @trigger.dev/core@4.8.7

@trigger.dev/convex@4.8.7

@github-actions github-actions Bot changed the title chore: release chore: release v4.8.7 Nov 19, 2026
@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a6817349-0a8d-4341-aff5-e2704970d37f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@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.

Devin Review

@github-actions github-actions Bot changed the title chore: release v4.8.7 chore: release Nov 19, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 0d796ea to a1f42e0 Compare November 19, 2026 14:33
@github-actions github-actions Bot changed the title chore: release chore: release v4.8.7 Nov 19, 2026
@github-actions github-actions Bot changed the title chore: release v4.8.7 chore: release Nov 19, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from a1f42e0 to 1743d85 Compare November 19, 2026 14:50
@github-actions github-actions Bot changed the title chore: release chore: release v4.8.7 Nov 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

🧭 Helm Chart Prerelease Published

Version: 4.8.7-pr5143.1743d85

Install:

helm upgrade --install trigger \
  oci://ghcr.io/triggerdotdev/charts/trigger \
  --version "4.8.7-pr5143.1743d85"

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

@Mariefay
Mariefay added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit fae0144 Nov 19, 2026
51 of 53 checks passed
@Mariefay
Mariefay deleted the changeset-release/main branch November 19, 2026 15:27
@Mariefay
Mariefay deployed to npm-publish November 19, 2026 15:27 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
npm-publish — 1743d85f Deployed Nov 19, 2026 by Mariefay via 🚀 Release npm packages #4124
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.

1 participant