-
chore: release v4.5.0-rc.5 (#3808)
发布于
2026-06-05 13:09:26 +00:00 | 747 次提交 在此版本后已推送到 mainSummary
1 new feature, 8 improvements, 1 bug fix.
Highlights
- Add optional
shouldPauseScalingto the supervisor consumer pool
scaling options to freeze scale-up while it returns true (scale-down
stays allowed).
(#3836)
Improvements
- The MCP server no longer tells the AI agent to wait for a run to
complete after everytrigger_taskcall. Waiting is now opt-in: the
agent only waits when you ask it to (for example "trigger and then wait
for it to finish"). This avoids burning tokens polling runs you didn't
need to block on and keeps responses clearer.
(#3838) - Update the bundled OpenTelemetry packages to their latest releases
(@opentelemetry/sdk-node0.218.0,@opentelemetry/core2.7.1,
@opentelemetry/host-metrics0.38.3).
(#3810) envvars.uploadnow accepts an optionalisSecretflag, letting you
create the imported variables as secret (redacted) environment
variables. When omitted, variables default to non-secret.
(#3809)- Offload large trigger payloads to object storage before sending the
trigger API request. The SDK uploads packets at or above the existing
128KB limit and sends anapplication/storepointer instead of
embedding large JSON in the request body.TriggerTaskRequestBodynow
validates thatapplication/storepayloads are non-empty storage paths.
(#3785) - Make mollifier buffer and drainer internals configurable.
MollifierBuffernow acceptsackGraceTtlSeconds,
maxRetriesPerRequest,reconnectStepMs, andreconnectMaxMsoptions,
andMollifierDraineracceptsmaxBackoffMsandbackoffFloorMs. All
default to their previous hardcoded values, so existing behaviour is
unchanged.
(#3822) MollifierDraineraccepts adrainBatchSizeoption (default 1) that
controls how many entries are popped per env per tick — in-flight
handlers remain capped by the globalconcurrency.MollifierBuffer
also gainsgetDrainingCount()/listStaleDraining(), backed by a new
mollifier:drainingZSET maintained atomically with
pop/ack/fail/requeue (observability-only).
(#3797)- Adds AI SDK 7 support. The
aipeer range now includes v7, and the
chat.agent/ chat surfaces work against v7's ESM-only build. On v7,
install@ai-sdk/otelalongsideaiand the SDK registers it for you
soexperimental_telemetryspans keep flowing into your run traces (v7
stopped emitting them fromaicore). v5 and v6 keep working unchanged.
(#3833) useTriggerChatTransportnow recovers when restored session state
points at a session that no longer exists in the current environment
(#3816)
Bug fixes
- Fix
@trigger.dev/corebuild: cast the underlying log record exporter
when callingforceFlushso it typechecks against the updated
OpenTelemetryLogRecordExportertype (which no longer declares
forceFlush).
(#3829)
Raw changeset output
⚠️⚠️⚠️⚠️⚠️⚠️
mainis currently in pre mode so this branch has prereleases
rather than normal releases. If you want to exit prereleases, run
changeset pre exitonmain.⚠️⚠️⚠️⚠️⚠️⚠️
Releases
@trigger.dev/build@4.5.0-rc.5
Patch Changes
- Updated dependencies:
@trigger.dev/core@4.5.0-rc.5
trigger.dev@4.5.0-rc.5
Patch Changes
- The MCP server no longer tells the AI agent to wait for a run to
complete after everytrigger_taskcall. Waiting is now opt-in: the
agent only waits when you ask it to (for example "trigger and then wait
for it to finish"). This avoids burning tokens polling runs you didn't
need to block on and keeps responses clearer.
(#3838) - Update the bundled OpenTelemetry packages to their latest releases
(@opentelemetry/sdk-node0.218.0,@opentelemetry/core2.7.1,
@opentelemetry/host-metrics0.38.3).
(#3810) - Updated dependencies:
@trigger.dev/core@4.5.0-rc.5@trigger.dev/build@4.5.0-rc.5@trigger.dev/schema-to-json@4.5.0-rc.5
@trigger.dev/core@4.5.0-rc.5
Patch Changes
-
Add optional
shouldPauseScalingto the supervisor consumer pool
scaling options to freeze scale-up while it returns true (scale-down
stays allowed).
(#3836) -
Fix
@trigger.dev/corebuild: cast the underlying log record exporter
when callingforceFlushso it typechecks against the updated
OpenTelemetryLogRecordExportertype (which no longer declares
forceFlush).
(#3829) -
envvars.uploadnow accepts an optionalisSecretflag, letting you
create the imported variables as secret (redacted) environment
variables. When omitted, variables default to non-secret.
(#3809)await envvars.upload("proj_1234", "prod", { variables: { STRIPE_SECRET_KEY: "sk_live_..." }, isSecret: true, }); -
Offload large trigger payloads to object storage before sending the
trigger API request. The SDK uploads packets at or above the existing
128KB limit and sends anapplication/storepointer instead of
embedding large JSON in the request body.TriggerTaskRequestBodynow
validates thatapplication/storepayloads are non-empty storage paths.
(#3785)
Payload uploads use the same resolved
ApiClientas the trigger call
(includingrequestOptions.clientConfig), not only the global
apiClientManager.client— so custombaseURL, access token, and
preview branch apply to both presign and trigger.- Update the bundled OpenTelemetry packages to their latest releases
(@opentelemetry/sdk-node0.218.0,@opentelemetry/core2.7.1,
@opentelemetry/host-metrics0.38.3).
(#3810)
@trigger.dev/plugins@4.5.0-rc.5
Patch Changes
- Updated dependencies:
@trigger.dev/core@4.5.0-rc.5
@trigger.dev/python@4.5.0-rc.5
Patch Changes
- Updated dependencies:
@trigger.dev/sdk@4.5.0-rc.5@trigger.dev/core@4.5.0-rc.5@trigger.dev/build@4.5.0-rc.5
@trigger.dev/react-hooks@4.5.0-rc.5
Patch Changes
- Updated dependencies:
@trigger.dev/core@4.5.0-rc.5
@trigger.dev/redis-worker@4.5.0-rc.5
Patch Changes
- Make mollifier buffer and drainer internals configurable.
MollifierBuffernow acceptsackGraceTtlSeconds,
maxRetriesPerRequest,reconnectStepMs, andreconnectMaxMsoptions,
andMollifierDraineracceptsmaxBackoffMsandbackoffFloorMs. All
default to their previous hardcoded values, so existing behaviour is
unchanged.
(#3822) MollifierDraineraccepts adrainBatchSizeoption (default 1) that
controls how many entries are popped per env per tick — in-flight
handlers remain capped by the globalconcurrency.MollifierBuffer
also gainsgetDrainingCount()/listStaleDraining(), backed by a new
mollifier:drainingZSET maintained atomically with
pop/ack/fail/requeue (observability-only).
(#3797)- Updated dependencies:
@trigger.dev/core@4.5.0-rc.5
@trigger.dev/rsc@4.5.0-rc.5
Patch Changes
- Updated dependencies:
@trigger.dev/core@4.5.0-rc.5
@trigger.dev/schema-to-json@4.5.0-rc.5
Patch Changes
- Updated dependencies:
@trigger.dev/core@4.5.0-rc.5
@trigger.dev/sdk@4.5.0-rc.5
Patch Changes
-
Adds AI SDK 7 support. The
aipeer range now includes v7, and the
chat.agent/ chat surfaces work against v7's ESM-only build. On v7,
install@ai-sdk/otelalongsideaiand the SDK registers it for you
soexperimental_telemetryspans keep flowing into your run traces (v7
stopped emitting them fromaicore). v5 and v6 keep working unchanged.
(#3833) -
useTriggerChatTransportnow recovers when restored session state
points at a session that no longer exists in the current environment
(#3816) -
Offload large trigger payloads to object storage before sending the
trigger API request. The SDK uploads packets at or above the existing
128KB limit and sends anapplication/storepointer instead of
embedding large JSON in the request body.TriggerTaskRequestBodynow
validates thatapplication/storepayloads are non-empty storage paths.
(#3785)
Payload uploads use the same resolved
ApiClientas the trigger call
(includingrequestOptions.clientConfig), not only the global
apiClientManager.client— so custombaseURL, access token, and
preview branch apply to both presign and trigger.-
Update the bundled OpenTelemetry packages to their latest releases
(@opentelemetry/sdk-node0.218.0,@opentelemetry/core2.7.1,
@opentelemetry/host-metrics0.38.3).
(#3810) -
Updated dependencies:
@trigger.dev/core@4.5.0-rc.5
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
下载附件
- Add optional