@supabase/auth-js breaking changes
Updated December 4, 2026
On this page
Latest version 2.120.0, released November 30, 2026. Source repository
Its 2.110.0 release drops Node.js 20. Node.js end of life dates.
@supabase/auth-js 2.117.0 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 - Signature changed
SignInWithPasskeyCredentials
Was type SignInWithPasskeyCredentials = {options?: {captchaToken?: string; signal?: AbortSignal;};}; now type SignInWithPasskeyCredentials = {options?: {captchaToken?: string; signal?: AbortSignal; mediation?... npmjs.com - Signature changed
SignInWithPasskeyCredentials.options
Was options?: {captchaToken?: string; signal?: AbortSignal;}; now options?: {captchaToken?: string; signal?: AbortSignal; mediation?: CredentialMediationRequirement;}. npmjs.com
@supabase/auth-js 2.116.0 breaking changes
- Signature changed
ExperimentalFeatureFlags
Was type ExperimentalFeatureFlags = {passkey?: boolean; appendPkceFlowIdToRedirects?: boolean;}; now type ExperimentalFeatureFlags = {passkey?: boolean; recoveryCodes?: boolean; appendPkceFlowIdToRedirects?: boolean;}. npmjs.com
@supabase/auth-js 2.112.0 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 - 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
@supabase/auth-js 2.111.0 breaking changes
- Signature changed
ExperimentalFeatureFlags
Was type ExperimentalFeatureFlags = {passkey?: boolean;}; now type ExperimentalFeatureFlags = {passkey?: boolean; appendPkceFlowIdToRedirects?: boolean;}. npmjs.com - Signature changed
GoTrueClient.exchangeCodeForSession
Was exchangeCodeForSession(authCode: string): Promise<AuthTokenResponse>; now exchangeCodeForSession(authCode: string, options?: {flowId?: string;}): Promise<AuthTokenResponse>. npmjs.com - 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
@supabase/auth-js 2.110.0 breaking changes
- Removed
This release no longer supports Node.js 20. Upgrade to a newer supported Node.js version before updating. github.com
@supabase/auth-js 2.109.0 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 - 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 - 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
Older versions
18 older versions, each with its first changes. Sign up to see every change
Show 18 older versions
@supabase/auth-js 2.107.0 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 - 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
And 1 more in this version.
@supabase/auth-js 2.105.5-beta.0 breaking changes
- 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
@supabase/auth-js 2.105.3 breaking changes
- Signature changed
CustomProviderType
Was type CustomProviderType = 'oauth2' | 'oidc' | (string & {}); now type CustomProviderType = 'oauth2' | 'oidc'. npmjs.com - Signature changed
OAuthClientRegistrationType
Was type OAuthClientRegistrationType = 'dynamic' | 'manual' | (string & {}); now type OAuthClientRegistrationType = 'dynamic' | 'manual'. npmjs.com
And 1 more in this version.
@supabase/auth-js 2.105.2 breaking changes
- Signature changed
AuthenticatorAssuranceLevels
Was type AuthenticatorAssuranceLevels = 'aal1' | 'aal2'; now type AuthenticatorAssuranceLevels = 'aal1' | 'aal2' | (string & {}). npmjs.com - Signature changed
AuthFlowType
Was type AuthFlowType = 'implicit' | 'pkce'; now type AuthFlowType = 'implicit' | 'pkce' | (string & {}). npmjs.com
And 9 more in this version.
@supabase/auth-js 2.105.0 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 - 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
@supabase/auth-js 2.104.0-canary.1 breaking changes
- 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
@supabase/auth-js 2.103.3-canary.1 breaking changes
- 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
@supabase/auth-js 2.103.3-canary.0 breaking changes
- 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
@supabase/auth-js 2.103.2 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 - 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
And 20 more in this version.
@supabase/auth-js 2.103.1 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 - 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
@supabase/auth-js 2.103.1-canary.0 breaking changes
- 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
@supabase/auth-js 2.103.1-beta.0 breaking changes
- 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
@supabase/auth-js 2.102.0 breaking changes
- Behavior changed
Requests whose bodies contain properties not in the table type are now rejected. Remove unknown fields before sending. github.com - 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
@supabase/auth-js 2.101.0 breaking changes
- 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
@supabase/auth-js 2.100.0-canary.9 breaking changes
- 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
@supabase/auth-js 2.98.0 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 - 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
And 5 more in this version.
@supabase/auth-js 2.97.1-canary.1 breaking changes
- 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
@supabase/auth-js 2.97.0 breaking changes
- 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
Related packages
- @supabase/supabase-js
- @supabase/realtime-js
- @supabase/functions-js
- @supabase/postgrest-js
- @supabase/storage-js
- @supabase/ssr
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.