Skip to content

chore: preview #197 against supabase-js#2887 preview (do not merge) - #205

Draft
yannbf wants to merge 1 commit into
yannbraga/sdk-1877-add-mcp-middleware-telemetry-to-serverfrom
yannbraga/sdk-1877-server-preview-with-supabase-js-preview
Draft

yannbf wants to merge 1 commit into
yannbraga/sdk-1877-add-mcp-middleware-telemetry-to-serverfrom
yannbraga/sdk-1877-server-preview-with-supabase-js-preview

Conversation

@yannbf

@yannbf yannbf commented Nov 26, 2026 •

Copy link
Copy Markdown

🔍 Description

Warning

This is for testing purposes. Do not merge!

What changed?

This PR points to a preview release of @supabase/supabase-js for testing purposes.

🧪 How to test

Install both previews. @supabase/server keeps @supabase/supabase-js as a peer dependency, so the server preview alone sends no tags. The server preview URL is in the pkg.pr.new comment below.

Node / Bun (npm). The supabase-js preview has version 0.0.0-automated, which doesn't satisfy the ^2.0.0 peer range, so skip the peer check:

npm i https://pkg.pr.new/@supabase/supabase-js@796a2c0 <server preview URL> --legacy-peer-deps

pnpm. If the project sets blockExoticSubdeps, turn it off for the test.

Deno / Edge Functions. npm: specifiers reject tarball URLs, so use the esm.sh PR proxy in deno.json, pinned to commit SHAs. Not tried on this PR yet:

{
  "imports": {
    "@supabase/supabase-js": "https://esm.sh/pr/supabase/supabase-js/@supabase/supabase-js@796a2c0?target=deno",
    "@supabase/server": "https://esm.sh/pr/supabase/server/@supabase/server@<sha>?target=deno&external=@supabase/supabase-js"
  }
}

What to look for. Requests from ctx.supabase / ctx.supabaseAdmin carry:

X-Client-Info: supabase-js/0.0.0-automated; runtime=…; via=supabase-server/1.9.2; middleware=oauth-protected-resource

middleware= is only present when withOAuthProtectedResource runs before the client middleware. supabase-js/0.0.0-automated is the preview's version string. A release will show the real version.

✅ Local verification

Against the installed preview: typecheck, typecheck:examples, lint, check-deps, test (618 passed), build, smoke, smoke:pack and check-exports all pass.

🤖 Generated with Claude Code

Points the @supabase/supabase-js dev dependency at the pkg.pr.new
preview of supabase/supabase-js#2887 (commit 796a2c0), so CI passes and
this branch gets its own preview release. Turns off blockExoticSubdeps,
because that preview pulls its sub-packages from pkg.pr.new URLs.

Preview only. Do not merge to main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pkg-pr-new

pkg-pr-new Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@supabase/server@205

commit: 643cc44

@kallebysantos kallebysantos left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The PR description says something about using the esm.sh registry, I prefer avoiding this as we already faced a lot of incidents this year, caused by esm downtime.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants