The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: add info about cookie methods in v2 upgrade guide
Kevin Grünebergdab1bfbf4186
diff --git a/apps/reference/_supabase_js/upgrade-guide.mdx b/apps/reference/_supabase_js/upgrade-guide.mdxindex 71f46c8151b..4d3130cd3db 100644--- a/apps/reference/_supabase_js/upgrade-guide.mdx+++ b/apps/reference/_supabase_js/upgrade-guide.mdx@@ -441,3 +441,12 @@ supabase.channel('any')```</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 prefer not to use the auth helpers package 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).