Skip to content

docs: update Supabase edge function guide to SDK v4 - #5133

Merged
carderne merged 2 commits into
mainfrom
claude/supabase-guide-sdk-v4
Nov 17, 2026
Merged

carderne merged 2 commits into
mainfrom
claude/supabase-guide-sdk-v4

Conversation

@claude

@claude claude Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Chris Arderne · Slack thread

Before: The "Triggering tasks from Supabase edge functions" guide imported npm:@trigger.dev/sdk@3.0.0 in the edge function example and told readers to use a 3.x SDK version, so anyone copying it got the old v3 SDK.

After: The example imports the current SDK with npm:@trigger.dev/sdk@latest, the same way the database webhooks guide does.

How: one change in docs/guides/frameworks/supabase-edge-functions-basic.mdx: the edge function code block now imports npm:@trigger.dev/sdk@latest, and the outdated version comment above it is removed. The rest of the SDK usage on the page already matches v4: a type-only import of the hello-world task from the example.ts file that trigger.dev init creates, tasks.trigger<typeof helloWorldTask>(id, payload), and the TRIGGER_SECRET_KEY secret. The sibling database webhooks guide and the shared Supabase snippets already use v4 imports (@trigger.dev/sdk, npm:@trigger.dev/sdk@latest) and trigger.dev@latest CLI commands, so they are unchanged.

✅ Checklist

  • I have followed every step in the contributing guide
  • The PR title follows the convention.
  • I ran and tested the code works

Testing

Docs-only change. Checked the edge function example against the SDK source (tasks.trigger signature and package exports) and the trigger.dev init example task. Checked the remaining Supabase guides and snippets for v3 imports, versions and CLI commands; none were left.


Changelog

Supabase edge function hello world guide now uses the v4 SDK.


🤖 Generated with Claude Code

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 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: fd132c3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c8a04c2e-a9cd-4c93-8844-f069a8ef5183

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Match the database webhooks guide, which imports
npm:@trigger.dev/sdk@latest in its edge function.

Co-Authored-By: Claude <noreply@anthropic.com>
@claude
claude Bot marked this pull request as ready for review November 17, 2026 09:11

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@carderne
carderne enabled auto-merge November 17, 2026 09:15
@carderne
carderne added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit 95dfe68 Nov 17, 2026
41 of 44 checks passed
@carderne
carderne deleted the claude/supabase-guide-sdk-v4 branch November 17, 2026 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants