chore: release v4.5.0-rc.7#3932
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
c44e554 to
a59492f
Compare
a59492f to
eb768c2
Compare
eb768c2 to
7756cd6
Compare
7756cd6 to
bdbd0cb
Compare
bdbd0cb to
c3c134c
Compare
c3c134c to
fe1e5dd
Compare
ericallam
approved these changes
Jun 14, 2026
fe1e5dd to
138f308
Compare
138f308 to
799e807
Compare
799e807 to
0337dbf
Compare
ericallam
added a commit
that referenced
this pull request
Jun 15, 2026
…locks (#3954) ## Summary The script that generates the changeset release PR description was silently dropping some changelog entries and stripping code examples. In [#3932](#3932), entry [#3937](#3937) was missing entirely from the Improvements list and [#3952](#3952 code block was gone, even though both were present in the raw changeset output. ## Root cause `parsePrBody` parsed the raw changeset body line by line: - The dependency-bump filter matched any entry whose text *began* with a backticked package name, so a real changelog entry like `` `@trigger.dev/sdk` now bundles... `` got thrown out along with the genuine version-bump lines. - Only the first line of each bullet was kept, so fenced code blocks, sub-bullets, and continuation paragraphs were discarded. ## Fix Group each top-level bullet with its indented continuation (code blocks, sub-bullets, paragraphs), dedent it, and re-emit it intact. The dependency filter is now anchored so it only matches lines that are *entirely* a package bump, leaving real entries that merely start with a package name. Verified by replaying #3932's raw body through the script: #3937 returns to the list, #3952's code block is preserved, and #3936's sub-bullets nest correctly under their parent.
Contributor
Author
🧭 Helm Chart Prerelease PublishedVersion: Install: helm upgrade --install trigger \
oci://ghcr.io/triggerdotdev/charts/trigger \
--version "4.5.0-rc.7-pr3932.7a8339a"
|
7a8339a to
6a9d597
Compare
6a9d597 to
5a57de1
Compare
5a57de1 to
d022146
Compare
d022146 to
4c89d64
Compare
4c89d64 to
bd7a493
Compare
bd7a493 to
2863ba1
Compare
2863ba1 to
baa7382
Compare
baa7382 to
a6442b0
Compare
a6442b0 to
bcee89f
Compare
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
7 improvements.
Improvements
@trigger.dev/sdknow bundles the Trigger.dev agent skills and a curated snapshot of the docs those skills reference. The skills thattrigger skillsinstalls into your coding agent read this content from node_modules, so the guidance your AI assistant follows is pinned to the SDK version installed in your project and stays current across upgrades instead of going stale until the next reinstall. (#3937)Running a CLI command like
dev,deploy,preview, orupdatebefore initializing a project no longer crashes with a rawCannot find matching package.jsonstack trace. The CLI now detects the missing project and points you tonpx trigger.dev@latest initinstead. (#3929)The agent skills installed by
trigger skillsare now namespaced with atrigger-prefix (e.g.trigger-authoring-tasks,trigger-getting-started) so they don't collide with unrelated skills in your coding agent's skills directory. Adds atrigger-cost-savingsskill for auditing and reducing compute spend (right-sizing machines,maxDuration, batching, debounce), and@trigger.dev/sdknow bundles the full Trigger.dev documentation so your agent can read the complete, version-pinned reference directly from node_modules. (#3970)The run span API response now includes
cachedCostandcacheCreationCoston theaiobject, alongside the existinginputCost/outputCost/totalCost.inputCostreflects only the non-cached input, so these fields let you reconstruct the full cost breakdown for prompt-cached calls. (#3958)chat.headStartnow works with thechat.customAgentandchat.createSessionbackends, not onlychat.agent. The warm step-1 response hands over to your loop the same way it does for a managed agent. (#3963)In a
chat.customAgentloop, consume the handover on turn 0:With
chat.createSession, the iterator surfaces it asturn.handover; callturn.complete()with no argument on a final handover. The lower-levelchat.waitForHandover()andaccumulator.applyHandover()are also exported for hand-rolled loops.Cache your chat agent's system prompt with Anthropic prompt caching.
chat.toStreamTextOptions()now emits the system prompt as a cacheable message when you opt in, so a large, stable system block is billed at cache-read rates on every turn instead of full price. (#3952)Without an option,
systemstays a plain string. Pairs with aprepareMessagescache breakpoint to cache the conversation prefix across turns too.Three fixes for custom agent loops (
chat.customAgent,chat.createSession, and hand-rolledMessageAccumulatorloops): (#3936).inresume cursor is now seeded before any listener attaches (the same boot logicchat.agentuses), so a chat that continues after a cancel, crash, or upgrade only sees genuinely new messages.chat.pipeAndCapturenow stamps a server-generated message id on the stream, so aprepareStepinjection keeps the partial text instead of replacing the message.ai.toolExecute) now work from custom agent loops: the parent's session is threaded to the child run, so child tasks can stream progress into the chat withchat.stream.writer({ target: "root" })instead of failing with "session handle is not initialized".Raw changeset output
mainis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonmain.Releases
@trigger.dev/build@4.5.0-rc.7
Patch Changes
@trigger.dev/core@4.5.0-rc.7trigger.dev@4.5.0-rc.7
Patch Changes
@trigger.dev/sdknow bundles the Trigger.dev agent skills and a curated snapshot of the docs those skills reference. The skills thattrigger skillsinstalls into your coding agent read this content from node_modules, so the guidance your AI assistant follows is pinned to the SDK version installed in your project and stays current across upgrades instead of going stale until the next reinstall. (#3937)dev,deploy,preview, orupdatebefore initializing a project no longer crashes with a rawCannot find matching package.jsonstack trace. The CLI now detects the missing project and points you tonpx trigger.dev@latest initinstead. (#3929)trigger skillsare now namespaced with atrigger-prefix (e.g.trigger-authoring-tasks,trigger-getting-started) so they don't collide with unrelated skills in your coding agent's skills directory. Adds atrigger-cost-savingsskill for auditing and reducing compute spend (right-sizing machines,maxDuration, batching, debounce), and@trigger.dev/sdknow bundles the full Trigger.dev documentation so your agent can read the complete, version-pinned reference directly from node_modules. (#3970)@trigger.dev/core@4.5.0-rc.7@trigger.dev/build@4.5.0-rc.7@trigger.dev/schema-to-json@4.5.0-rc.7@trigger.dev/core@4.5.0-rc.7
Patch Changes
cachedCostandcacheCreationCoston theaiobject, alongside the existinginputCost/outputCost/totalCost.inputCostreflects only the non-cached input, so these fields let you reconstruct the full cost breakdown for prompt-cached calls. (#3958)@trigger.dev/python@4.5.0-rc.7
Patch Changes
@trigger.dev/sdk@4.5.0-rc.7@trigger.dev/core@4.5.0-rc.7@trigger.dev/build@4.5.0-rc.7@trigger.dev/react-hooks@4.5.0-rc.7
Patch Changes
@trigger.dev/core@4.5.0-rc.7@trigger.dev/redis-worker@4.5.0-rc.7
Patch Changes
@trigger.dev/core@4.5.0-rc.7@trigger.dev/rsc@4.5.0-rc.7
Patch Changes
@trigger.dev/core@4.5.0-rc.7@trigger.dev/schema-to-json@4.5.0-rc.7
Patch Changes
@trigger.dev/core@4.5.0-rc.7@trigger.dev/sdk@4.5.0-rc.7
Patch Changes
@trigger.dev/sdknow bundles the Trigger.dev agent skills and a curated snapshot of the docs those skills reference. The skills thattrigger skillsinstalls into your coding agent read this content from node_modules, so the guidance your AI assistant follows is pinned to the SDK version installed in your project and stays current across upgrades instead of going stale until the next reinstall. (#3937)chat.headStartnow works with thechat.customAgentandchat.createSessionbackends, not onlychat.agent. The warm step-1 response hands over to your loop the same way it does for a managed agent. (#3963)In a
chat.customAgentloop, consume the handover on turn 0:With
chat.createSession, the iterator surfaces it asturn.handover; callturn.complete()with no argument on a final handover. The lower-levelchat.waitForHandover()andaccumulator.applyHandover()are also exported for hand-rolled loops.Add
triggerConfigsupport tochat.headStart()andchat.openSession(), so the auto-triggered handover-prepare run inherits tags, queue, machine, and other session trigger options the same waychat.createStartSessionAction()does. Thechat:{chatId}tag is prepended automatically. (#3963)Because the session is created once on the first head-start turn and is idempotent on the chat id, this is the only place to set those options for a head-start chat's lifetime.
chat.createStartSessionAction()now also forwardsmaxDuration,region, andlockToVersionso both session entry points stay consistent.Cache your chat agent's system prompt with Anthropic prompt caching.
chat.toStreamTextOptions()now emits the system prompt as a cacheable message when you opt in, so a large, stable system block is billed at cache-read rates on every turn instead of full price. (#3952)Without an option,
systemstays a plain string. Pairs with aprepareMessagescache breakpoint to cache the conversation prefix across turns too.Three fixes for custom agent loops (
chat.customAgent,chat.createSession, and hand-rolledMessageAccumulatorloops): (#3936).inresume cursor is now seeded before any listener attaches (the same boot logicchat.agentuses), so a chat that continues after a cancel, crash, or upgrade only sees genuinely new messages.chat.pipeAndCapturenow stamps a server-generated message id on the stream, so aprepareStepinjection keeps the partial text instead of replacing the message.ai.toolExecute) now work from custom agent loops: the parent's session is threaded to the child run, so child tasks can stream progress into the chat withchat.stream.writer({ target: "root" })instead of failing with "session handle is not initialized".The agent skills installed by
trigger skillsare now namespaced with atrigger-prefix (e.g.trigger-authoring-tasks,trigger-getting-started) so they don't collide with unrelated skills in your coding agent's skills directory. Adds atrigger-cost-savingsskill for auditing and reducing compute spend (right-sizing machines,maxDuration, batching, debounce), and@trigger.dev/sdknow bundles the full Trigger.dev documentation so your agent can read the complete, version-pinned reference directly from node_modules. (#3970)Updated dependencies:
@trigger.dev/core@4.5.0-rc.7@trigger.dev/plugins@4.5.0-rc.7
Patch Changes
@trigger.dev/core@4.5.0-rc.7