Skip to content

feat: support edge-functions, identities, rpc, storage, access contro… #6751

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/selfish-lies-bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@refinedev/supabase": major
---

@refinedev/supabase: majorBREAKING CHANGE: Removed direct usage of `window.location.origin` in auth and identity providers, replacing it with configurable baseUrl parameters.WHY: This change improves configurability for different deployment environments, enables better server-side rendering support, and enhances testability by removing direct browser API dependencies.HOW TO UPDATE: When using the auth provider or identity provider, you can now provide configuration objects:For auth provider:`typescriptconst authProvider = createAuthProvider( supabaseClient, {}, // Auth provider options { baseUrl: process.env.NEXT_PUBLIC_BASE_URL || "https://yourdomain.com" } // Config with baseUrl);`For identity provider:`typescriptconst identityProvider = supabaseIdentityDataProvider( supabaseClient, { baseUrl: process.env.NEXT_PUBLIC_BASE_URL || "https://yourdomain.com" });`If no baseUrl is provided, the code will still fall back to window.location.origin in browser environments for backward compatibility.
5 changes: 5 additions & 0 deletions .changeset/wet-tools-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@refinedev/supabase": major
---

@refinedev/supabase: major
5 changes: 5 additions & 0 deletions .changeset/wise-worms-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@refinedev/supabase": major
---

feat: full support for supabase products
Loading