From 2ef86c87379c1cdd79c012b37eae70e173b6e6a5 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 09:05:31 +0000 Subject: [PATCH 1/2] docs: update Supabase edge function guide to SDK v4 The hello world edge function imported npm:@trigger.dev/sdk@3.0.0 and told readers to use a 3.x version. Import the v4 SDK instead. Co-Authored-By: Claude --- docs/guides/frameworks/supabase-edge-functions-basic.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/frameworks/supabase-edge-functions-basic.mdx b/docs/guides/frameworks/supabase-edge-functions-basic.mdx index 6d3ceae15aa..61f9f005b5a 100644 --- a/docs/guides/frameworks/supabase-edge-functions-basic.mdx +++ b/docs/guides/frameworks/supabase-edge-functions-basic.mdx @@ -76,8 +76,8 @@ Replace the placeholder code in your `edge-function-trigger/index.ts` file with ```ts functions/edge-function-trigger/index.ts // Setup type definitions for built-in Supabase Runtime APIs import "jsr:@supabase/functions-js/edge-runtime.d.ts"; -// Import the Trigger.dev SDK - replace "" with the version of the SDK you are using, e.g. "3.0.0". You can find this in your package.json file. -import { tasks } from "npm:@trigger.dev/sdk@3.0.0"; +// Import the Trigger.dev SDK (v4). To pin an exact version, use the version of @trigger.dev/sdk from your package.json, e.g. "npm:@trigger.dev/sdk@4.x.x". +import { tasks } from "npm:@trigger.dev/sdk@4"; // Import your task type from your /trigger folder import type { helloWorldTask } from "../../../src/trigger/example.ts"; // 👆 **type-only** import From fd132c34fa072f41288815da4b749ab251d22ce3 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 09:11:07 +0000 Subject: [PATCH 2/2] docs: import the SDK with @latest in the Supabase edge function guide Match the database webhooks guide, which imports npm:@trigger.dev/sdk@latest in its edge function. Co-Authored-By: Claude --- docs/guides/frameworks/supabase-edge-functions-basic.mdx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/guides/frameworks/supabase-edge-functions-basic.mdx b/docs/guides/frameworks/supabase-edge-functions-basic.mdx index 61f9f005b5a..52f863027bc 100644 --- a/docs/guides/frameworks/supabase-edge-functions-basic.mdx +++ b/docs/guides/frameworks/supabase-edge-functions-basic.mdx @@ -76,8 +76,7 @@ Replace the placeholder code in your `edge-function-trigger/index.ts` file with ```ts functions/edge-function-trigger/index.ts // Setup type definitions for built-in Supabase Runtime APIs import "jsr:@supabase/functions-js/edge-runtime.d.ts"; -// Import the Trigger.dev SDK (v4). To pin an exact version, use the version of @trigger.dev/sdk from your package.json, e.g. "npm:@trigger.dev/sdk@4.x.x". -import { tasks } from "npm:@trigger.dev/sdk@4"; +import { tasks } from "npm:@trigger.dev/sdk@latest"; // Import your task type from your /trigger folder import type { helloWorldTask } from "../../../src/trigger/example.ts"; // 👆 **type-only** import