Skip to content

feat: add standard client headers #1494

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

grdsdev
Copy link
Contributor

@grdsdev grdsdev commented Jul 11, 2025

What kind of change does this PR introduce?

Bug fix, feature, docs update, ...

What is the current behavior?

Please link any relevant issues here.

What is the new behavior?

Feel free to include screenshots if it includes visual changes.

Additional context

Add any other context or screenshots.

grdsdev added 3 commits July 11, 2025 07:21
- Add X-Supabase-Client-Runtime header for runtime environment detection
- Add X-Supabase-Client-Runtime-Version header for runtime version detection
- Support detection of deno, bun, node, react-native, and web runtimes
- Remove complex regex pattern matching from platform detection
- Simplify to only use easy-to-parse data sources
- Fix TypeScript errors with proper type definitions for userAgentData
- Rename X-Supabase-Platform to X-Supabase-Client-Platform
- Rename X-Supabase-Platform-Version to X-Supabase-Client-Platform-Version
- Ensure consistent naming pattern across all client headers
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.

1 participant