@trigger.dev/react-hooks@4.0.0
·
150 commits
to main
since this release
Major Changes
- Trigger.dev v4 release. Please see our upgrade to v4 docs to view the full changelog: https://trigger.dev/docs/upgrade-to-v4 (#1869)
Patch Changes
-
Run Engine 2.0 (alpha) (#1575)
-
Added the ability to specify a "createdAt" filter when subscribing to tags in our useRealtime hooks: (#2158)
// Only subscribe to runs created in the last 10 hours useRealtimeRunWithTags("my-tag", { createdAt: "10h" });
You can also now choose to skip subscribing to specific columns by specifying the
skipColumns
option:useRealtimeRun(run.id, { skipColumns: ["usageDurationMs"] });
-
Fixes an issue with realtime when re-subscribing to a run, that would temporarily display stale data and the changes. Now when re-subscribing to a run only the latest changes will be vended (#2162)
-
Updated dependencies:
@trigger.dev/core@4.0.0