Strong CandidateStable

Trigger.dev 4.6: Test Session Reads Before You Upgrade

Client tokens can no longer read session inputs. Check any UI that depends on that access.

What Changed

Trigger.dev 4.6 changes how a chat UI gets its history. A browser token can still submit input and read streamed output. If the browser previously replayed the input channel to rebuild a conversation, choose where its authorized transcript will come from before changing the SDK.

The new transcript adapter can save into your own store. Trigger.dev’s snapshot remains the default. After upgrading, custom edit or regenerate actions need to run a new turn through the chat API when they generate a response. Try history reload and regenerate independently so a failure has a clear owner.

Release Highlights

  • Reading a session’s input stream now requires the server secret. Client tokens can still read outputs and send inputs.
  • The release adds managed streamText support and a transcript adapter, two separate reasons to revisit how a chat UI rebuilds its transcript.
  • Zod 4 is the default, with compatible Zod 3 supported from 3.25.56. Check your SDK and validator versions together.

What It Unlocks

It changes a real upgrade decision: a browser that replayed the input stream must get its history through an authorized server path before the version moves.

Who Should Try It

Teams that render an agent conversation by reading its input channel from the browser.

When to Hold Off

If the browser already renders history from your own transcript store and only subscribes to output, verify that path before rewriting the chat UI.

What to Check First

  1. Open a conversation in a test environment with the same type of client token your UI normally uses. Send a message, reload, and check how the earlier turns are restored.
  2. If history requires server reads, check conversation access before returning it. Verify another account cannot read it.

ShipFoundry for your project

Find the Trigger.dev Updates Worth Shipping

Add Trigger.dev to your project in ShipFoundry. See which releases are worth acting on, why they fit your stack, and what your coding agent should check first.

Start 7-Day Trial