chore: Update version for release #2407
Merged
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@trigger.dev/[email protected]
Major Changes
Patch Changes
ffmpeg({ version: "7" })
(#1777)@trigger.dev/[email protected]
[email protected]
Major Changes
Patch Changes
keepNames
option (experimental) (#2091)experimental_autoDetectExternal
trigger config option (#2083)--self-hosted
flag is no longer requirednode-22
runtime now uses v22.16.0 andbun
uses the latest v1.2.18 release. The defaultnode
runtime is unchanged and points at v21.7.3. (#2254)TRIGGER_ACCESS_TOKEN
and add useful error message with link to docs (#2258)deploy --dry run
(#2087)minify
option (experimental) (#2091)syncEnvVars
for non-preview deployments (#2131)@trigger.dev/[email protected]
@trigger.dev/[email protected]
@trigger.dev/[email protected]
@trigger.dev/[email protected]
Major Changes
Patch Changes
keepNames
option (experimental) (#2091)experimental_autoDetectExternal
trigger config option (#2083)--self-hosted
flag is no longer requiredTRIGGER_ACCESS_TOKEN
and add useful error message with link to docs (#2258)minify
option (experimental) (#2091)@trigger.dev/[email protected]
Major Changes
Patch Changes
@trigger.dev/[email protected]
@trigger.dev/[email protected]
@trigger.dev/[email protected]
@trigger.dev/[email protected]
Major Changes
Patch Changes
Run Engine 2.0 (alpha) (#1575)
Added the ability to specify a "createdAt" filter when subscribing to tags in our useRealtime hooks: (#2158)
You can also now choose to skip subscribing to specific columns by specifying the
skipColumns
option:Fixes an issue with realtime when re-subscribing to a run, that would temporarily display stale data and the changes. Now when re-subscribing to a run only the latest changes will be vended (#2162)
Updated dependencies:
@trigger.dev/[email protected]
@trigger.dev/[email protected]
Major Changes
Patch Changes
@trigger.dev/[email protected]
@trigger.dev/[email protected]
Major Changes
Patch Changes
@trigger.dev/[email protected]
@trigger.dev/[email protected]
Major Changes
Patch Changes
fix: importing from runEngine/index.js breaks non-node runtimes (#2328)
Run Engine 2.0 (alpha) (#1575)
fix: Logging large objects is now much more performant and uses less memory (#2263)
New internal idempotency implementation for trigger and batch trigger to prevent request retries from duplicating work (#2256)
When you create a Waitpoint token using
wait.createToken()
you get a URL back that can be used to complete it by making an HTTP POST request. (#2025)feat: Support AI SDK 5.0.
ai.tool
now accepts either a schemaTask or a task with a provided jsonSchema (#2396)External Trace Correlation & OpenTelemetry Package Updates. (#2334)
@opentelemetry/api
@opentelemetry/api-logs
@opentelemetry/core
@opentelemetry/exporter-logs-otlp-http
@opentelemetry/exporter-trace-otlp-http
@opentelemetry/instrumentation
@opentelemetry/instrumentation-fetch
@opentelemetry/resources
@opentelemetry/sdk-logs
@opentelemetry/sdk-node
@opentelemetry/sdk-trace-base
@opentelemetry/sdk-trace-node
@opentelemetry/semantic-conventions
External trace correlation and propagation
We will now correlate your external traces with trigger.dev traces and logs when using our external exporters:
You can also now propagate your external trace context when calling back into your own backend infra from inside a trigger.dev task:
Add jsonSchema support when indexing tasks (#2353)
Fixed an issue with realtime streams that timeout and resume streaming dropping chunks (#1993)
Added and cleaned up the run ctx param: (#2322)
ctx.run.parentTaskRunId
andctx.run.rootTaskRunId
reference the current run's root/parent ID.ctx
ctx.deployment
object that contains information about the deployment associated with the run.We also update
metadata.root
andmetadata.parent
to work even when the run is a "root" run (meaning it doesn't have a parent or a root associated run). This now works:The envvars.list() and retrieve() functions receive isSecret for each value. Secret values are always redacted. (#1942)
Fix issue where realtime streams would cut off after 5 minutes (#1952)
Deprecate toolTask and replace with
ai.tool(mySchemaTask)
(#1863)Display clickable links in Cursor terminal (#1998)
Removes the
releaseConcurrencyOnWaitpoint
option on queues and thereleaseConcurrency
option on various wait functions. Replaced with the following default behavior: (#2284)Additionally, environment concurrency limits now have a new "Burst Factor", defaulting to 2.0x. The "Burst Factor" allows the environment-wide concurrency limit to be higher than any individual queue's concurrency limit. For example, if you have an environment concurrency limit of 100, and a Burst Factor of 2.0x, then you can execute up to 200 runs concurrently, but any one task/queue can still only execute 100 runs concurrently.
We've done some work cleaning up the run statuses. The new statuses are:
PENDING_VERSION
: Task is waiting for a version update because it cannot execute without additional information (task, queue, etc.)QUEUED
: Task is waiting to be executed by a workerDEQUEUED
: Task has been dequeued and is being sent to a worker to start executing.EXECUTING
: Task is currently being executed by a workerWAITING
: Task has been paused by the system, and will be resumed by the systemCOMPLETED
: Task has been completed successfullyCANCELED
: Task has been canceled by the userFAILED
: Task has failed to complete, due to an error in the systemCRASHED
: Task has crashed and won't be retried, most likely the worker ran out of resources, e.g. memory or storageSYSTEM_FAILURE
: Task has failed to complete, due to an error in the systemDELAYED
: Task has been scheduled to run at a specific timeEXPIRED
: Task has expired and won't be executedTIMED_OUT
: Task has reached it's maxDuration and has been stoppedWe've removed the following statuses:
WAITING_FOR_DEPLOY
: This is no longer used, and is replaced byPENDING_VERSION
FROZEN
: This is no longer used, and is replaced byWAITING
INTERRUPTED
: This is no longer usedREATTEMPTING
: This is no longer used, and is replaced byEXECUTING
We've also added "boolean" helpers to runs returned via the API and from Realtime:
isQueued
: Returns true when the status isQUEUED
,PENDING_VERSION
, orDELAYED
isExecuting
: Returns true when the status isEXECUTING
,DEQUEUED
. These count against your concurrency limits.isWaiting
: Returns true when the status isWAITING
. These do not count against your concurrency limits.isCompleted
: Returns true when the status is any of the completed statuses.isCanceled
: Returns true when the status isCANCELED
isFailed
: Returns true when the status is any of the failed statuses.isSuccess
: Returns true when the status isCOMPLETED
This change adds the ability to easily detect which runs are being counted against your concurrency limit by filtering for both
EXECUTING
orDEQUEUED
.Add onCancel lifecycle hook (#2022)
Provide realtime skipColumns option via untamperable public access tokens (#2201)
Removed triggerAndPoll. It was never recommended so it's been removed. (#2379)
Improve metadata flushing efficiency by collapsing operations (#2106)
Upgrade to zod 3.25.76 (#2352)
Specify a region override when triggering a run (#2366)
Added runs.list filtering for queue and machine (#2277)
maintain proper context in metadata.root and parent getters (#1917)
v4: New lifecycle hooks (#1817)
Updated dependencies:
@trigger.dev/[email protected]
@trigger.dev/[email protected]
Patch Changes
@trigger.dev/[email protected]