Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.6.26

4 Aug 2026Where it was published

1.7.27 is the newest release of 1.x.

In short

11 fixed

Security

4 advisories affect 1.6.26; 1.7.7 fixes them

Release note

The section about better-auth of a note shared by several packages.

better-auth

Bug Fixes

  • Fixed session cleanup on user deletion to also remove sessions from secondary storage

  • Fixed findSessions to skip invalid secondary-storage session entries without discarding other valid sessions

  • Fixed email OTP sign-up to pass the verification type to custom OTP generators

  • Fixed email OTP password reset to allow retrying after entering an invalid password

  • Fixed email OTP verification to no longer reveal whether an email is registered before the OTP is verified

  • Fixed jwtClient() collapsing createAuthClient type inference when combined with other client plugins

  • Fixed JWT key minting inside database transactions to use the transaction-scoped adapter, preventing deadlocks on SQLite and ensuring keys commit with their surrounding transaction on Postgres and MySQL

  • Fixed oAuthProxy to preserve Apple user data from form_post callbacks

  • Fixed oneTapClient() collapsing createAuthClient type inference when combined with other client plugins

  • Fixed database rate-limit cleanup to complete when no background task handler is configured

  • Improved nextCookies performance in instrumented Next.js applications by reusing the next/headers import promise

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.