Repository navigation
chore: release v4.8.2 - #5073
Open
github-actions[bot] wants to merge 1 commit into
Open
github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
Contributor
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 26, 2026 11:05
ca654c8 to
3f504db
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 26, 2026 11:32
3f504db to
cda596e
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 26, 2026 11:37
cda596e to
2017081
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 26, 2026 14:12
2017081 to
3aedb1b
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 26, 2026 15:12
3aedb1b to
98bdab3
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 26, 2026 16:12
98bdab3 to
95632a7
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 26, 2026 17:25
95632a7 to
07a4364
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 26, 2026 17:47
07a4364 to
15c6b0f
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 26, 2026 18:09
15c6b0f to
961d7ec
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 27, 2026 08:05
961d7ec to
80a0bed
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 27, 2026 08:39
80a0bed to
3819f28
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 27, 2026 09:03
3819f28 to
71fe290
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 27, 2026 11:32
71fe290 to
e024490
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 27, 2026 11:43
e024490 to
db834f3
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
9 improvements, 15 bug fixes.
Breaking changes
clickhouseevent store is retired: task events now go toclickhouse_v2. If you self-host withEVENT_REPOSITORY_DEFAULT_STORE=clickhouse, switch it toclickhouse_v2and follow the self-hosting guide to copy older events, which no longer show until you do.Improvements
Upgrade
socket.io-clientto 4.8.4 so projects using the SDK and CLI installws8.21 instead of 8.17.1, which has published advisories (GHSA-96hv-2xvq-fx4p, GHSA-58qx-3vcg-4xpx). The old pin blocked upgradingwswithout a package manager override. (2df9860b4)Adds the
bun-1.4runtime.runtime: "bun-1.4"deploys on Bun 1.4.4 in a Bun-only image with no Node.js binary, and the run controller itself runs under Bun.runtime: "bun"is unchanged (Bun 1.3 with Node.js alongside it);bun-legacyis accepted as an explicit spelling of the same runtime. On Bun 1.4 the worker no longer crashes at startup on the--no-warnings=ExperimentalWarningflag. (a8a87850b)Run metadata operations now reject JSON-path keys that use escaped dots to reach
__proto__,constructororprototype. (dce5048a8)runs.subscribeToRunnow ends after the run completes. Thefor awaitloop exits right after the update with the final status, and the subscription stops its connection, so a script that subscribes to a run exits on its own. PassstopOnCompletion: falseto keep the subscription open after completion. (485ab83aa)The bundled
trigger-cost-savingsskill now notes that a webhook delivery starts no run when no subscriber's filter matches, so it costs no compute. (#5051)Stream a sub-agent's reply through a parent tool call with
chat.forwardSubAgent. Each chunk is written to the parent chat once and the tool resolves with the sub-agent's final message, so streaming a sub-agent costs bytes in proportion to its reply. Yieldingstream.messages()snapshots resends the whole message on every chunk, which grows with the square of the reply. (bdc994c4d)Render it while it runs with
useSubAgentMessages()from@trigger.dev/sdk/chat/react(orcreateSubAgentMessages()outside React).Bug fixes
chat.injectmessages added from a tool mid-turn being saved before the assistant's response. They now stay after the tool result, where the model saw them, so the next turn keeps the same prompt prefix. If you roll@trigger.dev/sdkback to an earlier version, chats saved by this version lose these mid-turnchat.injectmessages from the model's context, though the chat history shown in the UI keeps them. (fc33769a5)chat.agentturn failing after a head start that ended with two or more parallel tool calls. When those tools finished out of call order, the agent sent their results to the model twice on the next step, and the provider rejected the request (Anthropic: "each tool_use must have a single result"). Each handed-over tool result is now sent once. (d06ee5825)Server changes
These changes affect the self-hosted Docker image and Trigger.dev Cloud:
/channelspath segment (for examplechat-1/channels/support) or end in:channels, since both forms name a session's channels. Creating a session with one now returns a 422 validation error.count() AS runs FROM runsstill works).WITH <expression> AS <name>now run instead of failing with a syntax error, and the name can be used in the rest of the query. The name can't reuse a table alias used anywhere in the query.Raw changeset output
Releases
@trigger.dev/[email protected]
Patch Changes
@trigger.dev/[email protected][email protected]
Patch Changes
socket.io-clientto 4.8.4 so projects using the SDK and CLI installws8.21 instead of 8.17.1, which has published advisories (GHSA-96hv-2xvq-fx4p, GHSA-58qx-3vcg-4xpx). The old pin blocked upgradingwswithout a package manager override. (2df9860b4)bun-1.4runtime.runtime: "bun-1.4"deploys on Bun 1.4.4 in a Bun-only image with no Node.js binary, and the run controller itself runs under Bun.runtime: "bun"is unchanged (Bun 1.3 with Node.js alongside it);bun-legacyis accepted as an explicit spelling of the same runtime. On Bun 1.4 the worker no longer crashes at startup on the--no-warnings=ExperimentalWarningflag. (a8a87850b)@trigger.dev/[email protected]@trigger.dev/[email protected]@trigger.dev/[email protected]@trigger.dev/[email protected]
Patch Changes
__proto__,constructororprototype. (dce5048a8)socket.io-clientto 4.8.4 so projects using the SDK and CLI installws8.21 instead of 8.17.1, which has published advisories (GHSA-96hv-2xvq-fx4p, GHSA-58qx-3vcg-4xpx). The old pin blocked upgradingwswithout a package manager override. (2df9860b4)runs.subscribeToRunnow ends after the run completes. Thefor awaitloop exits right after the update with the final status, and the subscription stops its connection, so a script that subscribes to a run exits on its own. PassstopOnCompletion: falseto keep the subscription open after completion. (485ab83aa)bun-1.4runtime.runtime: "bun-1.4"deploys on Bun 1.4.4 in a Bun-only image with no Node.js binary, and the run controller itself runs under Bun.runtime: "bun"is unchanged (Bun 1.3 with Node.js alongside it);bun-legacyis accepted as an explicit spelling of the same runtime. On Bun 1.4 the worker no longer crashes at startup on the--no-warnings=ExperimentalWarningflag. (a8a87850b)@trigger.dev/[email protected]
Patch Changes
@trigger.dev/[email protected]@trigger.dev/[email protected]@trigger.dev/[email protected]
Patch Changes
@trigger.dev/[email protected]@trigger.dev/[email protected]@trigger.dev/[email protected]@trigger.dev/[email protected]
Patch Changes
@trigger.dev/[email protected]@trigger.dev/[email protected]
Patch Changes
@trigger.dev/[email protected]@trigger.dev/[email protected]
Patch Changes
bun-1.4runtime.runtime: "bun-1.4"deploys on Bun 1.4.4 in a Bun-only image with no Node.js binary, and the run controller itself runs under Bun.runtime: "bun"is unchanged (Bun 1.3 with Node.js alongside it);bun-legacyis accepted as an explicit spelling of the same runtime. On Bun 1.4 the worker no longer crashes at startup on the--no-warnings=ExperimentalWarningflag. (a8a87850b)@trigger.dev/[email protected]@trigger.dev/[email protected]
Patch Changes
@trigger.dev/[email protected]@trigger.dev/[email protected]
Patch Changes
@trigger.dev/[email protected]@trigger.dev/[email protected]@trigger.dev/[email protected]
Patch Changes
Fix
chat.injectmessages added from a tool mid-turn being saved before the assistant's response. They now stay after the tool result, where the model saw them, so the next turn keeps the same prompt prefix. If you roll@trigger.dev/sdkback to an earlier version, chats saved by this version lose these mid-turnchat.injectmessages from the model's context, though the chat history shown in the UI keeps them. (fc33769a5)The bundled
trigger-cost-savingsskill now notes that a webhook delivery starts no run when no subscriber's filter matches, so it costs no compute. (#5051)Stream a sub-agent's reply through a parent tool call with
chat.forwardSubAgent. Each chunk is written to the parent chat once and the tool resolves with the sub-agent's final message, so streaming a sub-agent costs bytes in proportion to its reply. Yieldingstream.messages()snapshots resends the whole message on every chunk, which grows with the square of the reply. (bdc994c4d)Render it while it runs with
useSubAgentMessages()from@trigger.dev/sdk/chat/react(orcreateSubAgentMessages()outside React).Fix a
chat.agentturn failing after a head start that ended with two or more parallel tool calls. When those tools finished out of call order, the agent sent their results to the model twice on the next step, and the provider rejected the request (Anthropic: "each tool_use must have a single result"). Each handed-over tool result is now sent once. (d06ee5825)Updated dependencies:
@trigger.dev/[email protected]