@trigger.dev/sdk
4.8.8 · 20 Nov 2026MIT1.7M / weekRepositoryHomepagenpmAtom feed
Upgrading @trigger.dev/sdk From 4.5.13 to 4.5.14
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 4
- new
- 0
- fixes
Release by release
- New
Native build server deploys now show a single updating build log line by default; pass
--build-logs fullto stream every line (always used in CI and when output is not a terminal). - New
Realtime stream subscriptions can now refresh an expired access token and reconnect, via a new optional
refreshAccessTokenoption on the client configuration and the React hooks. - New
Subscribe to a realtime stream from its latest record instead of replaying the whole history. Pass
from: "latest"touseRealtimeStream,streams.read(), orfetchStreamto start at the current tail (the latest record, then live updates) instead of replaying (a live "last value" view), andmaxPartsto keep the accumulatedpartsarray bounded. A reconnect or remount resumes from the last record it saw, so no records are missed and none are replayed.from: "latest"needs a server that supports it; older servers safely fall back to a full replay. - New
Added a
useSessionStreamReact hook for reading a session's output or input channel in realtime. It accumulates records with automatic resume from the last record you received, and supportsfrom: "latest"(start at the current tail, only new records after you connect),maxRecords(keep a bounded number of records in memory), alastEventIdresume cursor, and anonRecordscallback that delivers each throttled batch of records with their event ids.
- New
1 other line we could not sort, mostly version bumps
- 4.5.14
Task retries that wait in the queue no longer count against the queue's internal redelivery limit, so runs with many long-delay retries are not wrongly failed with TASK_RUN_DEQUEUED_MAX_RETRIES.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.