better-auth
1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed
1.7.27 is the newest release of 1.x.
In short
3 fixed
Release note
The section about better-auth of a note shared by several packages.
better-auth
Bug Fixes
Fixed "revoke all sessions" with
secondaryStorageandstoreSessionInDatabaseto also revoke sessions created while the revocation is running, except sessions created by asession.delete.afterhook, which stay activeFixed
getTestInstancefrombetter-auth/testto close its own Postgres connection pool and SQLite database when the test file finishes, while with Vitest's defaultsequence.hooks: "stack"yourafterAllhooks still run first and can keep using the instanceFixed
getTestInstancewithtestWith: "mysql"hanging, and added a separate database per instance so several instances can run in one test file
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.