Releases of better-auth
228 stable releases, newest first. Release notes are kept for the last 90 days; older ones link to where they were published.
1.7.10
15 October 2026Section of a shared release note
better-authBug Fixes
Fixed Captcha and OpenAPI plugin subpath imports and type resolution for
better-auth/plugins/multi-sessionandbetter-auth/test.Fixed Google One Tap sign-ins not recording
googleas the last login method.
1.7.9
15 October 2026Section of a shared release note
better-authBug Fixes
Fixed
onAPIError.onErrorhandlers to finish before responses are sent and log failures without interrupting requests
For detailed changes, see
CHANGELOG1.7.8
14 October 2026Section of a shared release note
better-authBug Fixes
- security
Aligned cookie security attributes with RFC 6265bis
Added SvelteKit 3 to the supported peer dependency range
- security
1.7.7
30 September 2026Section of a shared release note
better-authMagic Link upgrade: Upgrade servers sharing verification storage together, request new Magic Links, and restart pending OAuth/SAML sign-ins. No database migration is required. See the critical advisory for affected configurations and custom storage changes.
Bug Fixes
- security
Fixed a critical Magic Link account-takeover vulnerability.
- security
1.7.6
24 September 2026Section of a shared release note
better-authFeatures
Added support for a
bannedUserMessagefunction that receives the banned user, allowing sign-in errors to include details such as the ban reason.Added Vercel BotID as a captcha provider for protected authentication routes.
1.7.5
14 September 2026Section of a shared release note
better-authFeatures
Added
database.schemaNamesupport for direct PostgreSQL connections.
Bug Fixes
1.7.4
10 September 2026Section of a shared release note
better-authFeatures
Added
experimental.instrumentation.enabledto disable OpenTelemetry span creation per auth instance.Added support for additional session fields in
testUtilsauth helpers.
1.7.3
6 September 2026Section of a shared release note
better-authFeatures
Added Cloudflare as a built-in social provider with client-secret and PKCE support.
Enabled schema validation during initialization by default, including in production, and rejected authentication requests on detected mismatches.
1.7.2
26 August 2026Section of a shared release note
better-authBug Fixes
Fixed permanent user bans to clear expiration dates from previous temporary bans.
Fixed client types with more plugins being assignable to types declaring fewer plugins.
1.7.1
18 August 2026Section of a shared release note
better-authBug Fixes
Added native database transaction support to test instances for PostgreSQL and MySQL.
Updated bundled dependencies (
jose, nanostores, noble crypto packages, SimpleWebAuthn) to their latest compatible releases, with no changes required to existing projects.
1.7.0
18 August 2026Section of a shared release note
better-authBreaking Changes
- breaking
Moved database joins out of
experimentalinto the stableadvanced.database.joinsoptionMigration: Replace
experimental: { joins: true }withadvanced: { database: { joins: true } }. Drizzle and Prisma users should regenerate their schema (npx auth@latest generate) so it includes the required relations. - breaking
Scoped account identity by trusted issuer, keying accounts on
(issuer, accountId)Migration: Accounts now require
Account.issuer. Read provider identity fromaccountInfo.account.accountId, dropmapping.idfrom SSO configs, and give themicrosoftEntraIdhelper a concrete tenant GUID. Apply the account-identity backfill in the 1.7 upgrade guide before deploying.
- breaking
1.6.33
14 September 2026@better-auth/coreBug Fixes
Fixed database option type inference for projects that do not use Cloudflare Workers.
For detailed changes, see
CHANGELOG1.6.32
14 September 2026Section of a shared release note
better-authBug Fixes
Improved diagnostics for Cloudflare Turnstile verification failures
For detailed changes, see
CHANGELOG1.6.31
10 September 2026Section of a shared release note
better-authFeatures
Added an option to disable OpenTelemetry span creation for individual auth instances
For detailed changes, see
CHANGELOG1.6.30
17 August 2026Section of a shared release note
better-authBug Fixes
Fixed concurrent cold-start requests from intermittently losing authentication or transaction context due to an async storage initialization race
For detailed changes, see
CHANGELOG1.6.29
14 August 2026Section of a shared release note
better-authBug Fixes
Improved
deleteSessionsperformance by running deletes in parallel instead of sequentially
For detailed changes, see
CHANGELOG1.6.28
13 August 2026Section of a shared release note
better-authBug Fixes
Prevented duplicate session requests during React Suspense retries while preserving revalidation for interrupted refreshes
Restored client plugin declaration compatibility for downstream TypeScript consumers
1.6.27
11 August 2026Section of a shared release note
better-authBug Fixes
Fixed duplicate session requests being made across Suspense retries
For detailed changes, see
CHANGELOG1.6.26
4 August 2026Section of a shared release note
better-authBug Fixes
Fixed session cleanup on user deletion to also remove sessions from secondary storage
Fixed
findSessionsto skip invalid secondary-storage session entries without discarding other valid sessions
1.6.25
23 July 2026Section of a shared release note
better-authBug Fixes
Fixed Apple OAuth not sending the PKCE code challenge during authorization, causing token exchange failures
Fixed Google One Tap creating new users when sign-up was disabled on the Google provider
1.6.24
22 July 2026Section of a shared release note
better-authFeatures
Added request context (
ctx) as a third argument toverifyIdToken, enabling custom ID token verifiers to read request headersAdded
beforeStoreCookieoption to the last-login-method plugin for GDPR compliance
1.6.23
29 June 20261.6.22
26 June 20261.6.21
26 June 20261.6.20
20 June 20261.6.19
16 June 20261.6.18
12 June 20261.6.17
12 June 20261.6.16
10 June 20261.6.15
8 June 20261.6.14
2 June 20261.6.13
31 May 20261.6.12
29 May 20261.6.11
12 May 20261.6.10
9 May 20261.6.9
24 April 20261.6.8
23 April 20261.6.7
22 April 20261.6.6
21 April 20261.6.5
16 April 20261.6.4
15 April 20261.6.3
14 April 20261.6.2
9 April 20261.6.1
8 April 20261.6.0
6 April 20261.5.6
22 March 20261.5.5
11 March 20261.5.4
6 March 20261.5.3
4 March 20261.5.2
3 March 2026