December 4, 2023
Here's everything we've shipped during November 2023.
This month, we've built A LOT of cool stuff. A new side menu, a new way to trigger your Job and a bunch of useful Tasks to name but a few. Here are our favourites…
New navigation
Trigger.dev has a new side menu that makes the most important pages of the app accessible all the time. Project related pages are now grouped together at the top, with organization pages below.
Invoke Trigger
Until now, you could trigger Jobs from events, webhooks or on a schedule (e.g. CRON/interval). We've now added a fourth way, invokeTrigger()
, that lets you invoke a Job manually without having to specify an event.
HTTP endpoints: trigger Jobs from any webhooks
Often you want to trigger your Jobs from events that happen in other APIs. This is where webhooks come in.
Now you can easily subscribe to any APIs that support webhooks, without needing to use a Trigger.dev Integration. This should unlock you to create far more Jobs than was previously possible.
OpenAI Assistants and more…
After OpenAI DevDay last week we got busy working on our @trigger.dev/openai
Integration and we're happy to announce that we now support:
- GPT-4 Turbo
- Assistants API
- Dalle-3
- Images
- Files
- New Docs
Task Library full of lots of new Tasks
We now have a dedicated docs page called Task Library where you can easily find and learn about built-in tasks to use in your Jobs. And here are some brand new Tasks:
io.backgroundPoll()
– poll a URL until it returns a certain valueio.sendEvents()
– send multiple events at a timeio.random()
– identical to Math.random() but numbers aren't regenerated on resume or retryio.waitForRequest()
– wait for a request to be made to a specific URL, and then return the request body as the task resultio.waitForEvent()
– wait for an event to be sent in the middle of a Job Run
Run notifications
We've made it much easier to respond to your Job Runs completing or failing. You can now easily subscribe to run notifications and perform additional work.
There are two ways of subscribing to run notifications which you can read more about here.
Check out the full changelog for everything we shipped in November.