Merge branch 'master' of github.com:supabase/supabase

This commit is contained in:
Terry Sutton committed 2022-11-03 14:24:29 -02:30
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).