Skip to content

Releases: triggerdotdev/trigger.dev

@trigger.dev/build@3.3.2

02 Dec 14:17
f7bf7bc

Choose a tag to compare

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@3.3.2

@trigger.dev/docker@3.3.1

29 Nov 13:01
5825272

Choose a tag to compare

What's Changed

  • Fixed the missing icons in trigger spans by @ericallam in #1506
  • Realtime: improve scope access to runs with tags and batches by @ericallam in #1511
  • Show "root" runs by default, save the preference to a cookie by @matt-aitken in #1512

Full Changelog: v.docker.3.3.0...v.docker.3.3.1

trigger.dev@3.3.1

29 Nov 13:03
5825272

Choose a tag to compare

Patch Changes

  • Updated dependencies:
    • @trigger.dev/build@3.3.1
    • @trigger.dev/core@3.3.1

@trigger.dev/sdk@3.3.1

29 Nov 13:03
5825272

Choose a tag to compare

Patch Changes

  • Fixed the missing icons in trigger spans (#1506)
  • Public access token scopes with just tags or just a batch can now access runs that have those tags or are in the batch. Previously, the only way to access a run was to have a specific scope for that exact run. (#1511)
  • Updated dependencies:
    • @trigger.dev/core@3.3.1

@trigger.dev/rsc@3.3.1

29 Nov 13:03
5825272

Choose a tag to compare

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@3.3.1

@trigger.dev/react-hooks@3.3.1

29 Nov 13:03
5825272

Choose a tag to compare

Patch Changes

  • Public access token scopes with just tags or just a batch can now access runs that have those tags or are in the batch. Previously, the only way to access a run was to have a specific scope for that exact run. (#1511)
  • Updated dependencies:
    • @trigger.dev/core@3.3.1

@trigger.dev/core@3.3.1

29 Nov 13:03
5825272

Choose a tag to compare

@trigger.dev/core@3.3.1

@trigger.dev/build@3.3.1

29 Nov 13:02
5825272

Choose a tag to compare

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@3.3.1

@trigger.dev/docker@3.3.0

28 Nov 15:45

Choose a tag to compare

What's Changed

  • Batch Trigger upgrades by @ericallam in #1502
  • Added new run filters and added some database indexes to speed them up
  • Added a Batches page with filters
  • Improved the text selection style by @samejr in #1497
  • Update Infisical instructions to new SDK by @Fgc17 in #1493
  • Deploy page table rows stay selected when the side menu is open by @samejr in #1492
  • Always show alerts tab and lock email alerts when keys are missing by @ghostdevv in #1478
  • Help panel by @samejr in #1488
  • Adds Realtime concurrency limits to the billing page pricing tiers by @samejr in #1500

New Contributors

  • @Fgc17 made their first contribution in #1493

Full Changelog: v.docker.3.2.2...v.docker.3.3.0

https://github.com/triggerdotdev/trigger.dev/pkgs/container/trigger.dev/313846744?tag=v3.3.0

trigger.dev@3.3.0

28 Nov 15:30

Choose a tag to compare

Patch Changes

  • Added new batch.trigger and batch.triggerByTask methods that allows triggering multiple different tasks in a single batch: (#1502)

    import { batch } from "@trigger.dev/sdk/v3";
    import type { myTask1, myTask2 } from "./trigger/tasks";
    
    // Somewhere in your backend code
    const response = await batch.trigger<typeof myTask1 | typeof myTask2>([
      { id: "task1", payload: { foo: "bar" } },
      { id: "task2", payload: { baz: "qux" } },
    ]);
    
    for (const run of response.runs) {
      if (run.ok) {
        console.log(run.output);
      } else {
        console.error(run.error);
      }
    }

    Or if you are inside of a task, you can use triggerByTask:

    import { batch, task, runs } from "@trigger.dev/sdk/v3";
    
    export const myParentTask = task({
      id: "myParentTask",
      run: async () => {
        const response = await batch.triggerByTask([
          { task: myTask1, payload: { foo: "bar" } },
          { task: myTask2, payload: { baz: "qux" } },
        ]);
    
        const run1 = await runs.retrieve(response.runs[0]);
        console.log(run1.output); // typed as { foo: string }
    
        const run2 = await runs.retrieve(response.runs[1]);
        console.log(run2.output); // typed as { baz: string }
    
        const response2 = await batch.triggerByTaskAndWait([
          { task: myTask1, payload: { foo: "bar" } },
          { task: myTask2, payload: { baz: "qux" } },
        ]);
    
        if (response2.runs[0].ok) {
          console.log(response2.runs[0].output); // typed as { foo: string }
        }
    
        if (response2.runs[1].ok) {
          console.log(response2.runs[1].output); // typed as { baz: string }
        }
      },
    });
    
    export const myTask1 = task({
      id: "myTask1",
      run: async () => {
        return {
          foo: "bar",
        };
      },
    });
    
    export const myTask2 = task({
      id: "myTask2",
      run: async () => {
        return {
          baz: "qux",
        };
      },
    });
  • Updated dependencies:

    • @trigger.dev/core@3.3.0
    • @trigger.dev/build@3.3.0