better-auth
1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed
1.7.27 is the newest release of 1.x.
In short
10 fixed
Release note
The section about better-auth of a note shared by several packages.
better-auth
Bug Fixes
Fixed verification value consumption hanging on Cloudflare Workers when an earlier request for the same identifier ended mid-query
Fixed module-scope auth instances on Cloudflare Workers logging a schema validation error on every cold start by validating on first use
Fixed
deferSessionRefreshrefresh requests failing with a 415 error in Next.js and NuxtFixed
ReferenceError: window is not definedwhen a client session subscription is cleaned up after a test environment tears down its globalsFixed client session refresh listeners piling up on the server during SSR
Fixed session polling never firing when the runtime's
navigatordoes not report connectivityFixed OAuth sign-up rejected by a
user.create.beforehook returningfalselogging aTypeErrorFixed
deleteOrganizationclearing the session's active organization when abeforeDeleteOrganizationhook rejected the deleteFixed
revokeSession,revokeSessions, anddeleteUser({ token })to expire session cookies when revoking the current session or deleting the userFixed
getSessionto no longer leave an expired session in the request context after returningnull
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.