Skip to content

Releases: triggerdotdev/trigger.dev

@trigger.dev/[email protected]

17 Jan 12:09
0687ce7
Compare
Choose a tag to compare

Patch Changes

@trigger.dev/[email protected]

17 Jan 12:09
0687ce7
Compare
Choose a tag to compare

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]

17 Jan 12:09
0687ce7
Compare
Choose a tag to compare

Patch Changes

@trigger.dev/[email protected]

10 Jan 19:53
46a37fd
Compare
Choose a tag to compare

What's Changed

  • Fix: Prevent failed resumes for very large batches by @nicktrn in #1598

Full Changelog: v.docker.3.3.9...v.docker.3.3.10

[email protected]

10 Jan 19:55
46a37fd
Compare
Choose a tag to compare

Patch Changes

@trigger.dev/[email protected]

10 Jan 19:55
46a37fd
Compare
Choose a tag to compare

Patch Changes

@trigger.dev/[email protected]

10 Jan 19:55
46a37fd
Compare
Choose a tag to compare

Patch Changes

@trigger.dev/[email protected]

10 Jan 19:55
46a37fd
Compare
Choose a tag to compare

Patch Changes

  • Make sure useRealtimeRun onComplete hook fires at the correct time (#1599)
  • Handle errors thrown by requests in Realtime react hooks (#1599)
  • Updated dependencies:

@trigger.dev/[email protected]

10 Jan 19:55
46a37fd
Compare
Choose a tag to compare

Patch Changes

  • Handle errors thrown by requests in Realtime react hooks (#1599)

@trigger.dev/[email protected]

10 Jan 19:55
46a37fd
Compare
Choose a tag to compare

Patch Changes