Releases: triggerdotdev/trigger.dev
Releases · triggerdotdev/trigger.dev
@trigger.dev/[email protected]
What's Changed
- Handle large log messages more efficiently by @ericallam in #1604
- Additional dev queue consumer logging by @ericallam in #1606
- Add reason to MarQS acknowledgeMessage to track why it's called by @ericallam in #1607
- Add custom telemetry exporter support by @ericallam in #1602
- Prevent v2 batches from being resumed before all items have been created by @ericallam in #1614
- Add support for specifying machine preset at trigger time by @nicktrn in #1608
- Improve worker deployment queries by @matt-aitken in #1616
- Add note about prisma-json-types-generator in docs by @goleary in #1617
- Throw an error for concurrent waits (with nice docs link) by @matt-aitken in #1618
- Shared queue consumer telemetry improvements and perf changes by @ericallam in #1619
New Contributors
Full Changelog: v.docker.3.3.10...v.docker.3.3.11
[email protected]
Patch Changes
- Add otel exporter support (#1602)
- Require maxDuration config and have a better error for bad CI tokens (#1620)
- Updated dependencies:
@trigger.dev/[email protected]
@trigger.dev/[email protected]
@trigger.dev/[email protected]
Patch Changes
-
Add support for specifying machine preset at trigger time. Works with any trigger function: (#1608)
// Same as usual, will use the machine preset on childTask, defaults to "small-1x" await childTask.trigger({ message: "Hello, world!" }); // This will override the task's machine preset and any defaults. Works with all trigger functions. await childTask.trigger({ message: "Hello, world!" }, { machine: "small-2x" }); await childTask.triggerAndWait({ message: "Hello, world!" }, { machine: "small-2x" }); await childTask.batchTrigger([ { payload: { message: "Hello, world!" }, options: { machine: "micro" } }, { payload: { message: "Hello, world!" }, options: { machine: "large-1x" } }, ]); await childTask.batchTriggerAndWait([ { payload: { message: "Hello, world!" }, options: { machine: "micro" } }, { payload: { message: "Hello, world!" }, options: { machine: "large-1x" } }, ]); await tasks.trigger<typeof childTask>( "child", { message: "Hello, world!" }, { machine: "small-2x" } ); await tasks.batchTrigger<typeof childTask>("child", [ { payload: { message: "Hello, world!" }, options: { machine: "micro" } }, { payload: { message: "Hello, world!" }, options: { machine: "large-1x" } }, ]);
-
Updated dependencies:
@trigger.dev/[email protected]
@trigger.dev/[email protected]
Patch Changes
- Updated dependencies:
@trigger.dev/[email protected]
@trigger.dev/[email protected]
Patch Changes
- Updated dependencies:
@trigger.dev/[email protected]
@trigger.dev/[email protected]
Patch Changes
-
Add support for specifying machine preset at trigger time. Works with any trigger function: (#1608)
// Same as usual, will use the machine preset on childTask, defaults to "small-1x" await childTask.trigger({ message: "Hello, world!" }); // This will override the task's machine preset and any defaults. Works with all trigger functions. await childTask.trigger({ message: "Hello, world!" }, { machine: "small-2x" }); await childTask.triggerAndWait({ message: "Hello, world!" }, { machine: "small-2x" }); await childTask.batchTrigger([ { payload: { message: "Hello, world!" }, options: { machine: "micro" } }, { payload: { message: "Hello, world!" }, options: { machine: "large-1x" } }, ]); await childTask.batchTriggerAndWait([ { payload: { message: "Hello, world!" }, options: { machine: "micro" } }, { payload: { message: "Hello, world!" }, options: { machine: "large-1x" } }, ]); await tasks.trigger<typeof childTask>( "child", { message: "Hello, world!" }, { machine: "small-2x" } ); await tasks.batchTrigger<typeof childTask>("child", [ { payload: { message: "Hello, world!" }, options: { machine: "micro" } }, { payload: { message: "Hello, world!" }, options: { machine: "large-1x" } }, ]);
-
Add otel exporter support (#1602)
-
Detect parallel waits and show a useful error message (
6d17443e1
) -
Require maxDuration config and have a better error for bad CI tokens (#1620)
@trigger.dev/[email protected]
Patch Changes
- Updated dependencies:
@trigger.dev/[email protected]
@trigger.dev/[email protected]
What's Changed
Full Changelog: v.docker.3.3.9...v.docker.3.3.10
[email protected]
Patch Changes
- Support ignoring test/spec files inside trigger dirs (fixes #1593) (#1596)
- cleanup deprecated background worker files (fixes #1572) (#1595)
- Updated dependencies:
@trigger.dev/[email protected]
@trigger.dev/[email protected]
@trigger.dev/[email protected]
Patch Changes
- Updated dependencies:
@trigger.dev/[email protected]