better-auth
1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed
1.7.27 is the newest release of 1.x.
In short
1 new18 fixed
Release note
The section about better-auth of a note shared by several packages.
better-auth
Bug Fixes
Aligned cookie security attributes with RFC 6265bis
Added SvelteKit 3 to the supported peer dependency range
Fixed stale cookies persisting after
customSessionsessions expire or are revokedFixed
customSessiontreating session lookup errors as signed-out usersFixed sign-in failures, replay checks, and SIWE email handling with
generateId: "uuid"Removed non-returned custom fields from inferred output schema types
Fixed Kysely migration foreign keys when custom table names match another model key
Reduced organization plugin server bundles by excluding unused Zod locales
Aligned
@better-auth/utilsandbetter-calldependency versions across official packagesFixed generic OAuth providers remaining unavailable after discovery fails at startup by retrying on subsequent requests
Fixed
lastLoginMethodsign-in failures whencookieNameormaxAgeis explicitlyundefinedFixed magic link verification changing percent-encoded characters in callback URLs
Fixed type errors when using
oauthProvider()ormcp()withexactOptionalPropertyTypesFixed organization plugin type errors in projects with
skipLibCheck: falseFixed failed password resets consuming reset links or OTPs before the new password is saved
Fixed password resets and changes retaining the new password when database session revocation fails
Fixed phone number password resets to use a configured
verifyOTPcallbackFixed secondary-storage session failures leaving sign-ups, passkey registrations, or SSO sign-ins in an inconsistent state
Fixed missing device sessions and failed automatic session switching after cache eviction
For detailed changes, see CHANGELOG
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.