---
title: "@supabase/auth-js 2.117.0 Breaking Changes on npm"
description: "What each @supabase/auth-js release removed, renamed or changed: 75 breaking changes in 24 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@supabase/auth-js
last_updated: 2026-12-04
---

# @supabase/auth-js breaking changes

@supabase/auth-js 2.117.0 (September 22, 2026) is its newest release with breaking changes, 3 of them. The first: Passkey API is now enabled by default in @supabase/auth-js 2.117.0. Every breaking API change we have recorded in @supabase/auth-js on npm: 75 breaking changes in 24 versions. Below, its 24 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.120.0`, released November 30, 2026. [Source repository](https://github.com/supabase/supabase-js)

Its 2.110.0 release drops [Node.js 20](https://since.dev/calendar/nodejs/20.md). [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [2.97.0](#v-2-97-0) to [2.117.0](#v-2-117-0): 74 breaking changes in 23 versions.

## @supabase/auth-js 2.117.0 breaking changes

@supabase/auth-js 2.117.0, released September 22, 2026: 3 breaking changes.

- **Default changed**  

The passkey API is on by default in this release, so code that relied on it being off may now behave differently. [github.com](https://github.com/supabase/supabase-js/releases/tag/v2.117.0)
- **Signature changed** `SignInWithPasskeyCredentials`  

Was type SignInWithPasskeyCredentials = {options?: {captchaToken?: string; signal?: AbortSignal;};}; now type SignInWithPasskeyCredentials = {options?: {captchaToken?: string; signal?: AbortSignal; mediation?... [npmjs.com](https://www.npmjs.com/package/@supabase/auth-js/v/2.117.0)
- **Signature changed** `SignInWithPasskeyCredentials.options`  

Was options?: {captchaToken?: string; signal?: AbortSignal;}; now options?: {captchaToken?: string; signal?: AbortSignal; mediation?: CredentialMediationRequirement;}. [npmjs.com](https://www.npmjs.com/package/@supabase/auth-js/v/2.117.0)

## @supabase/auth-js 2.116.0 breaking changes

@supabase/auth-js 2.116.0, released September 7, 2026: 1 breaking change.

- **Signature changed** `ExperimentalFeatureFlags`  

Was type ExperimentalFeatureFlags = {passkey?: boolean; appendPkceFlowIdToRedirects?: boolean;}; now type ExperimentalFeatureFlags = {passkey?: boolean; recoveryCodes?: boolean; appendPkceFlowIdToRedirects?: boolean;}. [npmjs.com](https://www.npmjs.com/package/@supabase/auth-js/v/2.116.0)

## @supabase/auth-js 2.112.0 breaking changes

@supabase/auth-js 2.112.0, released August 3, 2026: 2 breaking changes.

- **Behavior changed**  

OpenTelemetry tracing is no longer part of the main entry point and must be imported from the /tracing subpath to be used. [github.com](https://github.com/supabase/supabase-js/releases/tag/v2.112.0)
- **Behavior changed** `maybeSingle`  

When maybeSingle finds multiple rows and throwOnError is set, it now throws instead of returning silently, so code relying on the old behavior may start failing. [github.com](https://github.com/supabase/supabase-js/releases/tag/v2.112.0)

## @supabase/auth-js 2.111.0 breaking changes

@supabase/auth-js 2.111.0, released July 28, 2026: 3 breaking changes.

- **Signature changed** `ExperimentalFeatureFlags`  

Was type ExperimentalFeatureFlags = {passkey?: boolean;}; now type ExperimentalFeatureFlags = {passkey?: boolean; appendPkceFlowIdToRedirects?: boolean;}. [npmjs.com](https://www.npmjs.com/package/@supabase/auth-js/v/2.111.0)
- **Signature changed** `GoTrueClient.exchangeCodeForSession`  

Was exchangeCodeForSession(authCode: string): Promise\<AuthTokenResponse>; now exchangeCodeForSession(authCode: string, options?: {flowId?: string;}): Promise\<AuthTokenResponse>. [npmjs.com](https://www.npmjs.com/package/@supabase/auth-js/v/2.111.0)
- **Signature changed** `OAuthResponse`  

Was type OAuthResponse = {data: {provider: Provider; url: string;}; error: null;} | {data: {provider: Provider; url: null;}; error: AuthError;}; now type OAuthResponse = {data: {provider: Provider; url: string; flowId?: string | null;}... [npmjs.com](https://www.npmjs.com/package/@supabase/auth-js/v/2.111.0)

## @supabase/auth-js 2.110.0 breaking changes

@supabase/auth-js 2.110.0, released June 30, 2026: 1 breaking change.

- **Removed**  

This release no longer supports Node.js 20. Upgrade to a newer supported Node.js version before updating. [github.com](https://github.com/supabase/supabase-js/releases/tag/v2.110.0)

## @supabase/auth-js 2.109.0 breaking changes

@supabase/auth-js 2.109.0, released June 30, 2026: 3 breaking changes.

- **Signature changed** `CreateCustomProviderParams`  

Was type CreateCustomProviderParams = {provider_type: CustomProviderType; identifier: string; name: string; client_id: string; client_secret: string; acceptable_client_ids?: string\[\]; scopes?: string\[\]; pkce_enabled?: boolean... [npmjs.com](https://www.npmjs.com/package/@supabase/auth-js/v/2.109.0)
- **Signature changed** `CustomOAuthProvider`  

Was type CustomOAuthProvider = {id: string; provider_type: CustomProviderType; identifier: string; name: string; client_id: string; acceptable_client_ids?: string\[\]; scopes?: string\[\]; pkce_enabled?: boolean; attribute_mapping?... [npmjs.com](https://www.npmjs.com/package/@supabase/auth-js/v/2.109.0)
- **Signature changed** `UpdateCustomProviderParams`  

Was type UpdateCustomProviderParams = {name?: string; client_id?: string; client_secret?: string; acceptable_client_ids?: string\[\]; scopes?: string\[\]; pkce_enabled?: boolean; attribute_mapping?: Record\<string, any>; authorization_params?... [npmjs.com](https://www.npmjs.com/package/@supabase/auth-js/v/2.109.0)

## Older versions

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

### @supabase/auth-js 2.107.0 breaking changes

@supabase/auth-js 2.107.0, released June 2, 2026: 3 breaking changes.

- **Behavior changed**  

Auth no longer serializes operations with navigator.locks; a commit guard replaces it and a dispose() method is added. Code that depended on the lock behavior across tabs should review its auth flow. [github.com](https://github.com/supabase/supabase-js/releases/tag/v2.107.0)
- **Behavior changed**  

The X-Client-Info header now uses a structured metadata format instead of the previous value. Code or proxies that parse this header must be updated. [github.com](https://github.com/supabase/supabase-js/releases/tag/v2.107.0)

And 1 more in this version.

### @supabase/auth-js 2.105.5-beta.0 breaking changes

@supabase/auth-js 2.105.5-beta.0, released May 18, 2026: 1 breaking change.

- **Behavior changed**  

Errors from processResponse are now wrapped in a PostgrestError instance rather than returned as plain errors. Code that checks the error's shape or type should be updated. [github.com](https://github.com/supabase/supabase-js/releases/tag/v2.105.5-beta.0)

### @supabase/auth-js 2.105.3 breaking changes

@supabase/auth-js 2.105.3, released May 4, 2026: 3 breaking changes.

- **Signature changed** `CustomProviderType`  

Was type CustomProviderType = 'oauth2' | 'oidc' | (string & {}); now type CustomProviderType = 'oauth2' | 'oidc'. [npmjs.com](https://www.npmjs.com/package/@supabase/auth-js/v/2.105.3)
- **Signature changed** `OAuthClientRegistrationType`  

Was type OAuthClientRegistrationType = 'dynamic' | 'manual' | (string & {}); now type OAuthClientRegistrationType = 'dynamic' | 'manual'. [npmjs.com](https://www.npmjs.com/package/@supabase/auth-js/v/2.105.3)

And 1 more in this version.

### @supabase/auth-js 2.105.2 breaking changes

@supabase/auth-js 2.105.2, released May 4, 2026: 11 breaking changes.

- **Signature changed** `AuthenticatorAssuranceLevels`  

Was type AuthenticatorAssuranceLevels = 'aal1' | 'aal2'; now type AuthenticatorAssuranceLevels = 'aal1' | 'aal2' | (string & {}). [npmjs.com](https://www.npmjs.com/package/@supabase/auth-js/v/2.105.2)
- **Signature changed** `AuthFlowType`  

Was type AuthFlowType = 'implicit' | 'pkce'; now type AuthFlowType = 'implicit' | 'pkce' | (string & {}). [npmjs.com](https://www.npmjs.com/package/@supabase/auth-js/v/2.105.2)

And 9 more in this version.

### @supabase/auth-js 2.105.0 breaking changes

@supabase/auth-js 2.105.0, released April 27, 2026: 2 breaking changes.

- **Signature changed** `GoTrueAdminApi.constructor`  

Was constructor({url, headers, fetch}: {url: string; headers?: {\[key: string\]: string;}; fetch?: Fetch;}); now constructor({url, headers, fetch, experimental}: {url: string; headers?: {\[key: string\]: string;}; fetch?: Fetch; experimental?... [npmjs.com](https://www.npmjs.com/package/@supabase/auth-js/v/2.105.0)
- **Signature changed** `GoTrueClientOptions`  

Was type GoTrueClientOptions = {url?: string; headers?: {\[key: string\]: string;}; storageKey?: string; detectSessionInUrl?: boolean | ((url: URL, params: {\[parameter: string\]: string;}) => boolean); autoRefreshToken?: boolean... [npmjs.com](https://www.npmjs.com/package/@supabase/auth-js/v/2.105.0)

### @supabase/auth-js 2.104.0-canary.1 breaking changes

@supabase/auth-js 2.104.0-canary.1, released April 20, 2026: 1 breaking change.

- **Behavior changed**  

Code that listens for console.error to catch missing-session messages will no longer see them there; they now go to console.warn. [github.com](https://github.com/supabase/supabase-js/releases/tag/v2.104.0-canary.1)

### @supabase/auth-js 2.103.3-canary.1 breaking changes

@supabase/auth-js 2.103.3-canary.1, released April 16, 2026: 1 breaking change.

- **Behavior changed**  

Realtime code that throws or catches plain string errors will now receive Error objects. Code that checks for string errors must be updated. [github.com](https://github.com/supabase/supabase-js/releases/tag/v2.103.3-canary.1)

### @supabase/auth-js 2.103.3-canary.0 breaking changes

@supabase/auth-js 2.103.3-canary.0, released April 16, 2026: 1 breaking change.

- **Behavior changed**  

Signed URL render endpoints are no longer normalized on the client, so code that relied on that normalization may now get different URLs. [github.com](https://github.com/supabase/supabase-js/releases/tag/v2.103.3-canary.0)

### @supabase/auth-js 2.103.2 breaking changes

@supabase/auth-js 2.103.2, released April 15, 2026: 22 breaking changes.

- **Behavior changed**  

The client-side normalization of signed URL render endpoints was removed, so signed URLs are used as the server returns them. Code that relied on the normalized form may need to change. [github.com](https://github.com/supabase/supabase-js/releases/tag/v2.103.2)
- **Signature changed** `AuthImplicitGrantRedirectError.toJSON`  

Was toJSON(): {details: {error: string; code: string;} | null; name: string; message: string; status: number | undefined; code: ErrorCode | (string & {}) | undefined;}; now toJSON(): {name: string; message: string; status: number |... [npmjs.com](https://www.npmjs.com/package/@supabase/auth-js/v/2.103.2)

And 20 more in this version.

### @supabase/auth-js 2.103.1 breaking changes

@supabase/auth-js 2.103.1, released April 15, 2026: 2 breaking changes.

- **Signature changed** `AuthImplicitGrantRedirectError.toJSON`  

Was toJSON(): {name: string; message: string; status: number; details: {error: string; code: string;} | null;}; now toJSON(): {details: {error: string; code: string;} | null; name: string; message: string; status: number | undefined; code... [npmjs.com](https://www.npmjs.com/package/@supabase/auth-js/v/2.103.1)
- **Signature changed** `AuthPKCEGrantCodeExchangeError.toJSON`  

Was toJSON(): {name: string; message: string; status: number; details: {error: string; code: string;} | null;}; now toJSON(): {details: {error: string; code: string;} | null; name: string; message: string; status: number | undefined; code... [npmjs.com](https://www.npmjs.com/package/@supabase/auth-js/v/2.103.1)

### @supabase/auth-js 2.103.1-canary.0 breaking changes

@supabase/auth-js 2.103.1-canary.0, released April 15, 2026: 1 breaking change.

- **Behavior changed**  

When no session is present, the library logs with console.warn instead of console.error. Code that depends on the console.error output must be updated. [github.com](https://github.com/supabase/supabase-js/releases/tag/v2.103.1-canary.0)

### @supabase/auth-js 2.103.1-beta.0 breaking changes

@supabase/auth-js 2.103.1-beta.0, released April 15, 2026: 1 breaking change.

- **Default changed** `navigatorLock`  

The default browser lock is now processLock instead of navigatorLock. Code that relies on the navigator lock behavior should set the lock option explicitly. [github.com](https://github.com/supabase/supabase-js/releases/tag/v2.103.1-beta.0)

### @supabase/auth-js 2.102.0 breaking changes

@supabase/auth-js 2.102.0, released April 7, 2026: 2 breaking changes.

- **Behavior changed**  

Requests whose bodies contain properties not in the table type are now rejected. Remove unknown fields before sending. [github.com](https://github.com/supabase/supabase-js/releases/tag/v2.102.0)
- **Behavior changed**  

A missing session now logs with console.warn instead of console.error. Code that listens for console.error output for this case must be updated. [github.com](https://github.com/supabase/supabase-js/releases/tag/v2.102.0)

### @supabase/auth-js 2.101.0 breaking changes

@supabase/auth-js 2.101.0, released March 30, 2026: 1 breaking change.

- **Behavior changed** `postgres_changes`  

Realtime now refuses to set a postgres_changes event listener once the channel has joined. Code that adds these listeners after joining must register them before joining. [github.com](https://github.com/supabase/supabase-js/releases/tag/v2.101.0)

### @supabase/auth-js 2.100.0-canary.9 breaking changes

@supabase/auth-js 2.100.0-canary.9, released March 23, 2026: 1 breaking change.

- **Behavior changed**  

Setting a postgres_changes event listener after the channel has joined is now blocked. Code that adds these listeners after joining must register them before calling join. [github.com](https://github.com/supabase/supabase-js/releases/tag/v2.100.0-canary.9)

### @supabase/auth-js 2.98.0 breaking changes

@supabase/auth-js 2.98.0, released February 26, 2026: 7 breaking changes.

- **Signature changed** `CreateOAuthClientParams`  

Was type CreateOAuthClientParams = {client_name: string; client_uri?: string; redirect_uris: string\[\]; grant_types?: OAuthClientGrantType\[\]; response_types?: OAuthClientResponseType\[\]; scope?: string;}; now type CreateOAuthClientParams =... [npmjs.com](https://www.npmjs.com/package/@supabase/auth-js/v/2.98.0)
- **Signature changed** `OAuthClient`  

Was type OAuthClient = {client_id: string; client_name: string; client_secret?: string; client_type: OAuthClientType; token_endpoint_auth_method: string; registration_type: OAuthClientRegistrationType; client_uri?: string; logo_uri?... [npmjs.com](https://www.npmjs.com/package/@supabase/auth-js/v/2.98.0)

And 5 more in this version.

### @supabase/auth-js 2.97.1-canary.1 breaking changes

@supabase/auth-js 2.97.1-canary.1, released February 26, 2026: 1 breaking change.

- **Default changed** `lockAcquireTimeout`  

The default for lockAcquireTimeout is now 5s instead of the previous value. Code that relies on the old wait time should set lockAcquireTimeout explicitly. [github.com](https://github.com/supabase/supabase-js/releases/tag/v2.97.1-canary.1)

### @supabase/auth-js 2.97.0 breaking changes

@supabase/auth-js 2.97.0, released February 18, 2026: 1 breaking change.

- **Signature changed** `GoTrueClientOptions`  

Was type GoTrueClientOptions = {url?: string; headers?: {\[key: string\]: string;}; storageKey?: string; detectSessionInUrl?: boolean | ((url: URL, params: {\[parameter: string\]: string;}) => boolean); autoRefreshToken?: boolean... [npmjs.com](https://www.npmjs.com/package/@supabase/auth-js/v/2.97.0)

## Related packages

- [@supabase/supabase-js](https://since.dev/packages/npm/@supabase/supabase-js.md)
- [@supabase/realtime-js](https://since.dev/packages/npm/@supabase/realtime-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/storage-js](https://since.dev/packages/npm/@supabase/storage-js.md)
- [@supabase/ssr](https://since.dev/packages/npm/@supabase/ssr.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.
