Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.7.6

24 Sep 2026Where it was published

1.7.27 is the newest release of 1.x.

In short

2 new6 fixed

Security

3 advisories affect 1.7.6; 1.7.7 fixes them

Release note

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

better-auth

Features

  • Added support for a bannedUserMessage function 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.

Bug Fixes

  • Passwords over maxPasswordLength are now rejected with PASSWORD_TOO_LONG before hashing or verification.

  • Fixed React hydration mismatches when session or plugin auth queries resolve before streamed components hydrate.

  • Prevented older auth-query responses from overwriting newer results when requests overlap.

  • Fixed model identity when a custom model name matches another schema key.

  • Fixed schema validation for Cloudflare D1 when the Kysely dialect cannot introspect the database.

  • Fixed social account linking through the OAuth Proxy plugin.

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.