@supabase/ssr breaking changes
@supabase/ssr 0.12.2 (July 14, 2026) is its newest release with breaking changes. The first: Signature changed parseCookieHeader. Every breaking API change we have recorded in @supabase/ssr on npm: 26 breaking changes in 10 versions. Below, its 10 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.12.7, released September 8, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@supabase/ssr 0.12.2 breaking changes
- Signature changed
parseCookieHeader
The return type of parseCookieHeader was changed to align with the getAll cookie method. Code that depends on the previous return type may need updating. npmjs.com
@supabase/ssr 0.12.0 breaking changes
- Default changed
max-age
The default max-age cookie option is now 400 days. Set max-age explicitly if your code needs a different cookie lifetime. github.com - Signature changed
parse
The parse export is deprecated in favor of more useful functions. Stop relying on it and move to the replacements the package provides. npmjs.com - Signature changed
serialize
The serialize export is deprecated in favor of more useful functions. Stop relying on it and move to the replacements the package provides. npmjs.com
@supabase/ssr 0.10.3 breaking changes
- Signature changed
CookieMethodsBrowser
Was type CookieMethodsBrowser = {encode?: "user-and-tokens" | "tokens-only"; getAll: GetAllCookies; setAll: SetAllCookies;}; now type CookieMethodsBrowser = {encode?: "user-and-tokens" | "tokens-only"; getAll?: GetAllCookies; setAll?... npmjs.com - Signature changed
CookieMethodsBrowser.getAll
Was getAll: GetAllCookies; now getAll?: GetAllCookies. npmjs.com - Signature changed
CookieMethodsBrowser.setAll
Was setAll: SetAllCookies; now setAll?: SetAllCookies. npmjs.com
@supabase/ssr 0.10.0 breaking changes
- Behavior changed
setAll
The setAll cookie callback is now passed cache headers so auth responses are not cached by a CDN. Code that writes cookies or responses in setAll should check that these headers are applied as expected. github.com - Signature changed
SetAllCookies
Was type SetAllCookies = (cookies: {name: string; value: string; options: CookieOptions;}[]) => Promise<void> | void; now type SetAllCookies = (cookies: {name: string; value: string; options: CookieOptions;}[], headers: Record<string... npmjs.com
@supabase/ssr 0.8.0 breaking changes
- Signature changed
CookieMethodsBrowser
Was type CookieMethodsBrowser = {getAll: GetAllCookies; setAll: SetAllCookies;}; now type CookieMethodsBrowser = {encode?: "user-and-tokens" | "tokens-only"; getAll: GetAllCookies; setAll: SetAllCookies;}. npmjs.com - Signature changed
CookieMethodsServer
Was type CookieMethodsServer = {getAll: GetAllCookies; setAll?: SetAllCookies;}; now type CookieMethodsServer = {encode?: "user-and-tokens" | "tokens-only"; getAll: GetAllCookies; setAll?: SetAllCookies;}. npmjs.com - Signature changed
parse
Was const parse: typeof cookieParse; now const parse: typeof cookie.parse. npmjs.com - Signature changed
serialize
Was const serialize: typeof cookieSerialize; now const serialize: typeof cookie.serialize. npmjs.com
@supabase/ssr 0.7.0 breaking changes
- Signature changed
createBrowserClient
Was function createBrowserClient<Database = any, SchemaName extends string & keyof Database = "public" extends keyof Database ? "public" : string & keyof Database, Schema extends GenericSchema = Database[SchemaName] extends GenericSchema ?... npmjs.com - Signature changed
createServerClient
Was function createServerClient<Database = any, SchemaName extends string & keyof Database = "public" extends keyof Database ? "public" : string & keyof Database, Schema extends GenericSchema = Database[SchemaName] extends GenericSchema ?... npmjs.com
Older versions
4 older versions, each with its first changes. Sign up to see every change
Show 4 older versions
@supabase/ssr 0.6.0 breaking changes
- Signature changed
CookieOptions
Was type CookieOptions = Partial<CookieSerializeOptions>; now type CookieOptions = Partial<SerializeOptions>. npmjs.com - Signature changed
createBrowserClient
Was function createBrowserClient<Database = any, SchemaName extends string & keyof Database = "public" extends keyof Database ? "public" : string & keyof Database, Schema extends GenericSchema = Database[SchemaName] extends GenericSchema ?... npmjs.com
And 3 more in this version.
@supabase/ssr 0.4.0 breaking changes
- Removed
CookieMethods
CookieMethods was removed in @supabase/ssr 0.4.0 npmjs.com - Signature changed
combineChunks
Was function combineChunks(key: string, retrieveChunk: (name: string) => Promise<string | null | undefined> | string | null | undefined): Promise<string | undefined>; now function combineChunks(key: string, retrieveChunk: (name: string) =>... npmjs.com
And 2 more in this version.
@supabase/ssr 0.3.0 breaking changes
- Behavior changed
The browser client now applies custom cookie options it previously ignored, so cookie behavior may change for existing setups. Review any custom cookie options you pass to the browser client. github.com
@supabase/ssr 0.2.0 breaking changes
- Signature changed
createBrowserClient
Was function createBrowserClient<Database = any, SchemaName extends string & keyof Database = 'public' extends keyof Database ? 'public' : string & keyof Database, Schema extends GenericSchema = Database[SchemaName] extends GenericSchema ?... npmjs.com
Related packages
- @supabase/auth-js
- @supabase/functions-js
- @supabase/postgrest-js
- @supabase/realtime-js
- @supabase/storage-js
- @supabase/supabase-js
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.