mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 11:25:06 +03:00
Merge branch 'master' of github.com:supabase/supabase
This commit is contained in:
commit
ffccbeceef
1 file changed
+9
@@ -299,6 +299,15 @@ const supabase = createClient(SUPABASE_URL, SUPABASE_ANON_KEY, {
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
#### Cookie methods
|
||||
|
||||
The cookie related methods like `setAuthCookie` and `getUserByCookie` have been removed.
|
||||
|
||||
For Next.js you can use the [Auth Helpers](https://supabase.com/docs/guides/auth/auth-helpers/nextjs) to help you manage cookies.
|
||||
If you can't use the Auth Helpers, you can follow [this approach](https://supabase.com/docs/guides/auth/server-side-rendering) for server-side rendering.
|
||||
|
||||
Some more background information about the reasoning can be obtained [here](https://github.com/supabase/gotrue-js/pull/340).
|
||||
|
||||
### Data methods
|
||||
|
||||
`.insert()` / `.upsert()` / `.update()` / `.delete()` don't return rows by default: [PR](https://github.com/supabase/postgrest-js/pull/276).
|
||||
|
||||
Reference in new issue
Block a user