Skip to content

feat(supabase): update X-Client-Info to structured metadata format#2293

Closed
grdsdev wants to merge 1 commit into
developfrom
claude/exciting-austin-3c045a
Closed

feat(supabase): update X-Client-Info to structured metadata format#2293
grdsdev wants to merge 1 commit into
developfrom
claude/exciting-austin-3c045a

Conversation

@grdsdev

@grdsdev grdsdev commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

Moved #2359

Change DEFAULT_HEADERS to use semicolon-delimited key=value pairs
instead of embedding the JS environment in the library identifier.

Old: supabase-js-node/2.105.0
New: supabase-js/2.105.0; env=node

This aligns with the proposed structured metadata format across all
Supabase client libraries, allowing new metadata fields to be added
without touching CORS config (X-Client-Info is already an allowed
header, while new standalone headers would require CORS updates in
Edge Functions).

Linear: SDK-903

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@grdsdev grdsdev requested a review from a team as a code owner April 28, 2026 07:57
@github-actions github-actions Bot added the supabase-js Related to the supabase-js library. label Apr 28, 2026
@grdsdev grdsdev marked this pull request as draft April 28, 2026 07:59
@pkg-pr-new

pkg-pr-new Bot commented Apr 28, 2026

Copy link
Copy Markdown

Open in StackBlitz

@supabase/auth-js

npm i https://pkg.pr.new/@supabase/auth-js@2293

@supabase/functions-js

npm i https://pkg.pr.new/@supabase/functions-js@2293

@supabase/postgrest-js

npm i https://pkg.pr.new/@supabase/postgrest-js@2293

@supabase/realtime-js

npm i https://pkg.pr.new/@supabase/realtime-js@2293

@supabase/storage-js

npm i https://pkg.pr.new/@supabase/storage-js@2293

@supabase/supabase-js

npm i https://pkg.pr.new/@supabase/supabase-js@2293

commit: 8bb6181

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

Labels

do-not-merge Do not merge this PR. supabase-js Related to the supabase-js library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants