2 new features, 4 improvements, 6 bug fixes, and 6 server changes.
Highlights
AI SDK v6 support
Updated the AI SDK peer dependency to allow ai@^6.0.0 alongside existing v4 and v5 support. If you're using the Vercel AI SDK, you can now upgrade to v6 without any changes to your Trigger.dev tasks. (#2919)
Expose idempotency key in task context
ctx.run.idempotencyKey now returns the original key you passed instead of the internal hash, and ctx.run.idempotencyKeyScope exposes the scope. This makes it possible to use the idempotency key for downstream deduplication logic inside your tasks. (#2903)
Improvements
- Upgrade Node.js to 20.20.0 for async_hooks security fix, and add
maxDepthoption toflatten/unflattenAttributesas defense-in-depth (#2890) - Upgraded date and time filter UI with calendar navigation and quick presets (#2864)
- Display correct batch rate limit current token value in error messages (#2927)
- Fix cancel button in API key regeneration modal (#2878)
Bug fixes
- Fix batch trigger "ReadableStream is locked" error during network retries (#2917)
- Fix batch queue consumers to run independently from the run engine worker (#2916)
- Properly clean up trace pubsub Redis clients on disconnect (#2901)
- Fix schedule limit counting to exclude inactive schedules and archived preview branch environments (#2899)
- Fix missing table row divider lines in Safari (#2873)
- Fix logs page search, filtering, and performance with
attributes_textmigration and event store error handling (#2889)
Server changes
These changes are included in the v4.3.3 Docker image and are already live on Trigger.dev Cloud:
- Use the replica database for API auth queries to reduce primary load (#2932)
- Redesign batch completion to prevent heavy row-level contention under load (#2930)
- New limits page for managing concurrency limits (#2885)
- Aggregated logs page with improved search and filtering (#2862)
- TRQL query language and the Query page (#2843)
- Impersonation session logging for admin audit trails (#2896)
How to upgrade
Update the trigger.dev/* packages to v4.3.3 using your package manager:
npx trigger.dev@latest update # npmpnpm dlx trigger.dev@latest update # pnpmyarn dlx trigger.dev@latest update # yarnbunx trigger.dev@latest update # bun
Self-hosted users: update your Docker image to ghcr.io/triggerdotdev/trigger.dev:v4.3.3.




