@convex-dev/better-auth breaking changes
@convex-dev/better-auth 0.13.1 (November 20, 2026) is its newest release with breaking changes, 53 of them. The first: Requires Better Auth 1.7.25 as the minimum version in @convex-dev/better-auth 0.13.1. Every breaking API change we have recorded in @convex-dev/better-auth on npm: 134 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.13.1, released November 20, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@convex-dev/better-auth 0.13.1 breaking changes
- Configuration changed
Better Auth 1.7.25 is now the minimum supported version. Projects on older Better Auth versions must upgrade to use this package. github.com - Signature changed
_generated/component.js:ComponentApi
Was type ComponentApi<Name extends string | undefined = string | undefined> = {adapter: {consumeOne: FunctionReference<"mutation", "internal", {input: {model: "user"; where?: Array<{connector?: "AND" | "OR"; field: "name" | "email" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles
Was testProfiles: {adapterAdditionalFields: {consumeOne: FunctionReference<"mutation", "internal", {input: {model: "user"; where?: Array<{connector?: "AND" | "OR"; field: "name" | "email" | "emailVerified" | "image" | "createdAt" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterOrganizationJoins
Was adapterOrganizationJoins: {consumeOne: FunctionReference<"mutation", "internal", {input: {model: "user"; where?: Array<{connector?: "AND" | "OR"; field: "name" | "email" | "email_address" | "emailVerified" | "image" | "createdAt" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterOrganizationJoins.consumeOne
Was consumeOne: FunctionReference<"mutation", "internal", {input: {model: "user"; where?: Array<{connector?: "AND" | "OR"; field: "name" | "email" | "email_address" | "emailVerified" | "image" | "createdAt" | "updatedAt" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterOrganizationJoins.create
Was create: FunctionReference<"mutation", "internal", {input: {data: {cbDefaultValueField?: null | string; createdAt: number; customField?: null | string; dateField?: null | number; displayUsername?: null | string; email?: null | string... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterOrganizationJoins.deleteMany
Was deleteMany: FunctionReference<"mutation", "internal", {input: {model: "user"; where?: Array<{connector?: "AND" | "OR"; field: "name" | "email" | "email_address" | "emailVerified" | "image" | "createdAt" | "updatedAt" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterOrganizationJoins.deleteOne
Was deleteOne: FunctionReference<"mutation", "internal", {input: {model: "user"; where?: Array<{connector?: "AND" | "OR"; field: "name" | "email" | "email_address" | "emailVerified" | "image" | "createdAt" | "updatedAt" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterOrganizationJoins.findMany
Was findMany: FunctionReference<"query", "internal", {join?: any; limit?: number; model: "user" | "session" | "account" | "verification" | "twoFactor" | "jwks" | "rateLimit" | "user_custom" | "user_table" | "oneToOneTable" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterOrganizationJoins.findOne
Was findOne: FunctionReference<"query", "internal", {join?: any; model: "user" | "session" | "account" | "verification" | "twoFactor" | "jwks" | "rateLimit" | "user_custom" | "user_table" | "oneToOneTable" | "one_to_one_table" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterOrganizationJoins.incrementOne
Was incrementOne: FunctionReference<"mutation", "internal", {input: {increment: Record<string, number>; model: "user"; set?: {cbDefaultValueField?: null | string; createdAt?: number; customField?: null | string; dateField?: null | number... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterOrganizationJoins.updateMany
Was updateMany: FunctionReference<"mutation", "internal", {input: {model: "user"; update: {cbDefaultValueField?: null | string; createdAt?: number; customField?: null | string; dateField?: null | number; displayUsername?: null | string... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterOrganizationJoins.updateOne
Was updateOne: FunctionReference<"mutation", "internal", {input: {model: "user"; update: {cbDefaultValueField?: null | string; createdAt?: number; customField?: null | string; dateField?: null | number; displayUsername?: null | string... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterPluginTable
Was adapterPluginTable: {consumeOne: FunctionReference<"mutation", "internal", {input: {model: "user"; where?: Array<{connector?: "AND" | "OR"; field: "name" | "email" | "email_address" | "emailVerified" | "image" | "createdAt" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterPluginTable.consumeOne
Was consumeOne: FunctionReference<"mutation", "internal", {input: {model: "user"; where?: Array<{connector?: "AND" | "OR"; field: "name" | "email" | "email_address" | "emailVerified" | "image" | "createdAt" | "updatedAt" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterPluginTable.create
Was create: FunctionReference<"mutation", "internal", {input: {data: {cbDefaultValueField?: null | string; createdAt: number; customField?: null | string; dateField?: null | number; displayUsername?: null | string; email?: null | string... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterPluginTable.deleteMany
Was deleteMany: FunctionReference<"mutation", "internal", {input: {model: "user"; where?: Array<{connector?: "AND" | "OR"; field: "name" | "email" | "email_address" | "emailVerified" | "image" | "createdAt" | "updatedAt" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterPluginTable.deleteOne
Was deleteOne: FunctionReference<"mutation", "internal", {input: {model: "user"; where?: Array<{connector?: "AND" | "OR"; field: "name" | "email" | "email_address" | "emailVerified" | "image" | "createdAt" | "updatedAt" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterPluginTable.findMany
Was findMany: FunctionReference<"query", "internal", {join?: any; limit?: number; model: "user" | "session" | "account" | "verification" | "twoFactor" | "jwks" | "rateLimit" | "user_custom" | "user_table" | "oneToOneTable" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterPluginTable.findOne
Was findOne: FunctionReference<"query", "internal", {join?: any; model: "user" | "session" | "account" | "verification" | "twoFactor" | "jwks" | "rateLimit" | "user_custom" | "user_table" | "oneToOneTable" | "one_to_one_table" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterPluginTable.incrementOne
Was incrementOne: FunctionReference<"mutation", "internal", {input: {increment: Record<string, number>; model: "user"; set?: {cbDefaultValueField?: null | string; createdAt?: number; customField?: null | string; dateField?: null | number... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterPluginTable.updateMany
Was updateMany: FunctionReference<"mutation", "internal", {input: {model: "user"; update: {cbDefaultValueField?: null | string; createdAt?: number; customField?: null | string; dateField?: null | number; displayUsername?: null | string... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterPluginTable.updateOne
Was updateOne: FunctionReference<"mutation", "internal", {input: {model: "user"; update: {cbDefaultValueField?: null | string; createdAt?: number; customField?: null | string; dateField?: null | number; displayUsername?: null | string... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameField
Was adapterRenameField: {consumeOne: FunctionReference<"mutation", "internal", {input: {model: "user"; where?: Array<{connector?: "AND" | "OR"; field: "name" | "email" | "email_address" | "emailVerified" | "image" | "createdAt" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameField.consumeOne
Was consumeOne: FunctionReference<"mutation", "internal", {input: {model: "user"; where?: Array<{connector?: "AND" | "OR"; field: "name" | "email" | "email_address" | "emailVerified" | "image" | "createdAt" | "updatedAt" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameField.create
Was create: FunctionReference<"mutation", "internal", {input: {data: {cbDefaultValueField?: null | string; createdAt: number; customField?: null | string; dateField?: null | number; displayUsername?: null | string; email?: null | string... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameField.deleteMany
Was deleteMany: FunctionReference<"mutation", "internal", {input: {model: "user"; where?: Array<{connector?: "AND" | "OR"; field: "name" | "email" | "email_address" | "emailVerified" | "image" | "createdAt" | "updatedAt" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameField.deleteOne
Was deleteOne: FunctionReference<"mutation", "internal", {input: {model: "user"; where?: Array<{connector?: "AND" | "OR"; field: "name" | "email" | "email_address" | "emailVerified" | "image" | "createdAt" | "updatedAt" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameField.findMany
Was findMany: FunctionReference<"query", "internal", {join?: any; limit?: number; model: "user" | "session" | "account" | "verification" | "twoFactor" | "jwks" | "rateLimit" | "user_custom" | "user_table" | "oneToOneTable" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameField.findOne
Was findOne: FunctionReference<"query", "internal", {join?: any; model: "user" | "session" | "account" | "verification" | "twoFactor" | "jwks" | "rateLimit" | "user_custom" | "user_table" | "oneToOneTable" | "one_to_one_table" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameField.incrementOne
Was incrementOne: FunctionReference<"mutation", "internal", {input: {increment: Record<string, number>; model: "user"; set?: {cbDefaultValueField?: null | string; createdAt?: number; customField?: null | string; dateField?: null | number... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameField.updateMany
Was updateMany: FunctionReference<"mutation", "internal", {input: {model: "user"; update: {cbDefaultValueField?: null | string; createdAt?: number; customField?: null | string; dateField?: null | number; displayUsername?: null | string... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameField.updateOne
Was updateOne: FunctionReference<"mutation", "internal", {input: {model: "user"; update: {cbDefaultValueField?: null | string; createdAt?: number; customField?: null | string; dateField?: null | number; displayUsername?: null | string... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameUserCustom
Was adapterRenameUserCustom: {consumeOne: FunctionReference<"mutation", "internal", {input: {model: "user"; where?: Array<{connector?: "AND" | "OR"; field: "name" | "email" | "email_address" | "emailVerified" | "image" | "createdAt" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameUserCustom.consumeOne
Was consumeOne: FunctionReference<"mutation", "internal", {input: {model: "user"; where?: Array<{connector?: "AND" | "OR"; field: "name" | "email" | "email_address" | "emailVerified" | "image" | "createdAt" | "updatedAt" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameUserCustom.create
Was create: FunctionReference<"mutation", "internal", {input: {data: {cbDefaultValueField?: null | string; createdAt: number; customField?: null | string; dateField?: null | number; displayUsername?: null | string; email?: null | string... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameUserCustom.deleteMany
Was deleteMany: FunctionReference<"mutation", "internal", {input: {model: "user"; where?: Array<{connector?: "AND" | "OR"; field: "name" | "email" | "email_address" | "emailVerified" | "image" | "createdAt" | "updatedAt" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameUserCustom.deleteOne
Was deleteOne: FunctionReference<"mutation", "internal", {input: {model: "user"; where?: Array<{connector?: "AND" | "OR"; field: "name" | "email" | "email_address" | "emailVerified" | "image" | "createdAt" | "updatedAt" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameUserCustom.findMany
Was findMany: FunctionReference<"query", "internal", {join?: any; limit?: number; model: "user" | "session" | "account" | "verification" | "twoFactor" | "jwks" | "rateLimit" | "user_custom" | "user_table" | "oneToOneTable" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameUserCustom.findOne
Was findOne: FunctionReference<"query", "internal", {join?: any; model: "user" | "session" | "account" | "verification" | "twoFactor" | "jwks" | "rateLimit" | "user_custom" | "user_table" | "oneToOneTable" | "one_to_one_table" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameUserCustom.incrementOne
Was incrementOne: FunctionReference<"mutation", "internal", {input: {increment: Record<string, number>; model: "user"; set?: {cbDefaultValueField?: null | string; createdAt?: number; customField?: null | string; dateField?: null | number... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameUserCustom.updateMany
Was updateMany: FunctionReference<"mutation", "internal", {input: {model: "user"; update: {cbDefaultValueField?: null | string; createdAt?: number; customField?: null | string; dateField?: null | number; displayUsername?: null | string... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameUserCustom.updateOne
Was updateOne: FunctionReference<"mutation", "internal", {input: {model: "user"; update: {cbDefaultValueField?: null | string; createdAt?: number; customField?: null | string; dateField?: null | number; displayUsername?: null | string... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameUserTable
Was adapterRenameUserTable: {consumeOne: FunctionReference<"mutation", "internal", {input: {model: "user"; where?: Array<{connector?: "AND" | "OR"; field: "name" | "email" | "email_address" | "emailVerified" | "image" | "createdAt" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameUserTable.consumeOne
Was consumeOne: FunctionReference<"mutation", "internal", {input: {model: "user"; where?: Array<{connector?: "AND" | "OR"; field: "name" | "email" | "email_address" | "emailVerified" | "image" | "createdAt" | "updatedAt" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameUserTable.create
Was create: FunctionReference<"mutation", "internal", {input: {data: {cbDefaultValueField?: null | string; createdAt: number; customField?: null | string; dateField?: null | number; displayUsername?: null | string; email?: null | string... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameUserTable.deleteMany
Was deleteMany: FunctionReference<"mutation", "internal", {input: {model: "user"; where?: Array<{connector?: "AND" | "OR"; field: "name" | "email" | "email_address" | "emailVerified" | "image" | "createdAt" | "updatedAt" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameUserTable.deleteOne
Was deleteOne: FunctionReference<"mutation", "internal", {input: {model: "user"; where?: Array<{connector?: "AND" | "OR"; field: "name" | "email" | "email_address" | "emailVerified" | "image" | "createdAt" | "updatedAt" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameUserTable.findMany
Was findMany: FunctionReference<"query", "internal", {join?: any; limit?: number; model: "user" | "session" | "account" | "verification" | "twoFactor" | "jwks" | "rateLimit" | "user_custom" | "user_table" | "oneToOneTable" |... npmjs.com - Signature changed
_generated/component.js:ComponentApi.testProfiles.adapterRenameUserTable.findOne
Was findOne: FunctionReference<"query", "internal", {join?: any; model: "user" | "session" | "account" | "verification" | "twoFactor" | "jwks" | "rateLimit" | "user_custom" | "user_table" | "oneToOneTable" | "one_to_one_table" |... npmjs.com
And 3 more in this version. Sign up to see every change
@convex-dev/better-auth 0.13.0 breaking changes
- Removed
Better Auth 1.6 is no longer supported and the minimum is now 1.7.16. Upgrade Better Auth and follow the upgrade guide. github.com - Removed
oidcProvider
Acting as an OpenID provider through oidcProvider is no longer supported. Code using it must be removed or changed. github.com - Renamed
auth.api.getJwks
The Convex plugin endpoint key getJwks is renamed to getConvexJwks. github.com - Renamed
auth.api.getOpenIdConfig
The Convex plugin endpoint key getOpenIdConfig is renamed to getConvexOpenIdConfig. github.com - Renamed
auth.api.getToken
The Convex plugin endpoint key auth.api.getToken is renamed to getConvexToken. github.com - Renamed
auth.api.verifyOneTimeToken
The cross-domain plugin endpoint verifyOneTimeToken is renamed. Its tokens also use a new storage prefix. github.com - Behavior changed
Sorting on a field without an index now fails instead of returning rows in creation order. Add an index to sorted fields. github.com - Behavior changed
Compound unique indexes are no longer accepted and will be rejected. Change schemas that use them. github.com - Behavior changed
session.cookieCache
The session.cookieCache option is now turned off and logs a warning. Code relying on it being active must change. github.com - Behavior changed
verbose
The verbose option no longer turns on the Better Auth adapter's debugLogs. Enable adapter debug logs with the debugLogs option on createClient(). github.com
And 67 more in this version. Sign up to see every change
@convex-dev/better-auth 0.12.7 breaking changes
- Behavior changed
The Convex JWT cookie is now issued only for established sessions. Code that expects the cookie before a session is established may need to change. github.com - Behavior changed
registerRoutes
registerRoutes now replaces an untrusted request origin with CONVEX_SITE_URL. Code that relied on the original request origin being passed through may need to change. github.com
@convex-dev/better-auth 0.12.6 breaking changes
- Behavior changed
The forwarded host is no longer restored for hosts that only match a trusted pattern. Check that every host your app relies on is listed exactly in the trusted hosts. github.com - Behavior changed
Cross-domain one-time tokens are no longer issued to origins that only match a trusted pattern. Check that every origin your app relies on is listed exactly in the trusted origins. github.com
Related packages
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.