---
title: "@supabase/ssr 0.12.2 Breaking Changes on npm | Since.dev"
description: "What each @supabase/ssr release removed, renamed or changed: 26 breaking changes in 10 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@supabase/ssr
last_updated: 2026-12-04
---

# @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

Latest version `0.12.7`, released September 8, 2026. [Source repository](https://github.com/supabase/ssr)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.2.0](#v-0-2-0) to [0.12.2](#v-0-12-2): 25 breaking changes in 9 versions.

## @supabase/ssr 0.12.2 breaking changes

@supabase/ssr 0.12.2, released July 14, 2026: 1 breaking change.

- **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](https://www.npmjs.com/package/@supabase/ssr/v/0.12.2)

## @supabase/ssr 0.12.0 breaking changes

@supabase/ssr 0.12.0, released June 9, 2026: 3 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](https://github.com/supabase/ssr/releases/tag/v0.12.0)
- **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](https://www.npmjs.com/package/@supabase/ssr/v/0.12.0)
- **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](https://www.npmjs.com/package/@supabase/ssr/v/0.12.0)

## @supabase/ssr 0.10.3 breaking changes

@supabase/ssr 0.10.3, released May 7, 2026: 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](https://www.npmjs.com/package/@supabase/ssr/v/0.10.3)
- **Signature changed** `CookieMethodsBrowser.getAll`  

Was getAll: GetAllCookies; now getAll?: GetAllCookies. [npmjs.com](https://www.npmjs.com/package/@supabase/ssr/v/0.10.3)
- **Signature changed** `CookieMethodsBrowser.setAll`  

Was setAll: SetAllCookies; now setAll?: SetAllCookies. [npmjs.com](https://www.npmjs.com/package/@supabase/ssr/v/0.10.3)

## @supabase/ssr 0.10.0 breaking changes

@supabase/ssr 0.10.0, released March 30, 2026: 2 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](https://github.com/supabase/ssr/releases/tag/v0.10.0)
- **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](https://www.npmjs.com/package/@supabase/ssr/v/0.10.0)

## @supabase/ssr 0.8.0 breaking changes

@supabase/ssr 0.8.0, released November 26, 2025: 4 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](https://www.npmjs.com/package/@supabase/ssr/v/0.8.0)
- **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](https://www.npmjs.com/package/@supabase/ssr/v/0.8.0)
- **Signature changed** `parse`  

Was const parse: typeof cookieParse; now const parse: typeof cookie.parse. [npmjs.com](https://www.npmjs.com/package/@supabase/ssr/v/0.8.0)
- **Signature changed** `serialize`  

Was const serialize: typeof cookieSerialize; now const serialize: typeof cookie.serialize. [npmjs.com](https://www.npmjs.com/package/@supabase/ssr/v/0.8.0)

## @supabase/ssr 0.7.0 breaking changes

@supabase/ssr 0.7.0, released August 22, 2025: 2 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](https://www.npmjs.com/package/@supabase/ssr/v/0.7.0)
- **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](https://www.npmjs.com/package/@supabase/ssr/v/0.7.0)

## Older versions

4 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### @supabase/ssr 0.6.0 breaking changes

@supabase/ssr 0.6.0, released March 16, 2025: 5 breaking changes.

- **Signature changed** `CookieOptions`  

Was type CookieOptions = Partial\<CookieSerializeOptions>; now type CookieOptions = Partial\<SerializeOptions>. [npmjs.com](https://www.npmjs.com/package/@supabase/ssr/v/0.6.0)
- **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](https://www.npmjs.com/package/@supabase/ssr/v/0.6.0)

And 3 more in this version.

### @supabase/ssr 0.4.0 breaking changes

@supabase/ssr 0.4.0, released June 24, 2024: 4 breaking changes.

- **Removed** `CookieMethods`  

CookieMethods was removed in @supabase/ssr 0.4.0 [npmjs.com](https://www.npmjs.com/package/@supabase/ssr/v/0.4.0)
- **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](https://www.npmjs.com/package/@supabase/ssr/v/0.4.0)

And 2 more in this version.

### @supabase/ssr 0.3.0 breaking changes

@supabase/ssr 0.3.0, released April 9, 2024: 1 breaking change.

- **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](https://github.com/supabase/auth-helpers/releases/tag/%40supabase/ssr%400.3.0)

### @supabase/ssr 0.2.0 breaking changes

@supabase/ssr 0.2.0, released April 8, 2024: 1 breaking change.

- **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](https://www.npmjs.com/package/@supabase/ssr/v/0.2.0)

## Related packages

- [@supabase/auth-js](https://since.dev/packages/npm/@supabase/auth-js.md)
- [@supabase/functions-js](https://since.dev/packages/npm/@supabase/functions-js.md)
- [@supabase/postgrest-js](https://since.dev/packages/npm/@supabase/postgrest-js.md)
- [@supabase/realtime-js](https://since.dev/packages/npm/@supabase/realtime-js.md)
- [@supabase/storage-js](https://since.dev/packages/npm/@supabase/storage-js.md)
- [@supabase/supabase-js](https://since.dev/packages/npm/@supabase/supabase-js.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
