@trigger.dev/sdk
4.8.8 · 20 Nov 2026MIT1.7M / weekRepositoryHomepagenpmAtom feed
Upgrading @trigger.dev/sdk From 4.3.3 to 4.4.0
1 release in betweenevery note read
Release by release
- New
Added
query.execute()which lets you query your Trigger.dev data using TRQL (Trigger Query Language) and returns results as typed JSON rows or CSV. It supports configurable scope (environment, project, or organization), time filtering viaperiodorfrom/toranges, and aformatoption for JSON or CSV output. - New
Add
maxDelayoption to debounce feature. This allows setting a maximum time limit for how long a debounced run can be delayed, ensuring execution happens within a specified window even with continuous triggers. - Fixed
Aligned the SDK's
getRunIdForOptionslogic with the Core package to handle semantic targets (root,parent) in root tasks. - Fixed
Export
AnyOnStartAttemptHookFunctiontype to allow definingonStartAttempthooks for individual tasks. - Fixed
Fixed a minor issue in the deployment command on distinguishing between local builds for the cloud vs local builds for self-hosting setups.
- New
1 internal line (docs, tests, tooling) left out.
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.