Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Upgrading better-auth From 1.7.4 to 1.7.7

3 releases in betweenevery note read

Other targets from 1.7.4Newest 1.x1.7.27Latest1.7.25

Start here

Security

  • Fixed a critical Magic Link account-takeover vulnerability.

    1.7.7

Release by release

  1. 1.7.7

    Security fix30 Sep 20265 fixes
    • Security

      Fixed a critical Magic Link account-takeover vulnerability.

    • Fixed

      Fixed ID-token sign-in ignoring the social provider’s disableSignUp setting.

    • Fixed

      Fixed OAuth Proxy accepting sign-in state as a provider profile. Upgrade all OAuth Proxy participants together; see the OAuth Proxy upgrade guidance.

    • Fixed

      Fixed CAPTCHA errors missing the JSON Content-Type header.

    • Fixed

      Fixed the active organization failing to refresh after sign-in when a session hook selects the initial organization.

    • Fixed

      Fixed rate-limit errors missing the JSON Content-Type header.

  2. 1.7.6

    24 Sep 20262 new · 6 fixes
    • New

      Added support for a bannedUserMessage function that receives the banned user, allowing sign-in errors to include details such as the ban reason.

    • New

      Added Vercel BotID as a captcha provider for protected authentication routes.

    • Fixed

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

    • Fixed

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

  3. 1.7.5

    14 Sep 20261 new · 4 fixes
    • New

      Added database.schemaName support for direct PostgreSQL connections.

    • Fixed

      Improved server-side logging for Cloudflare Turnstile verification failures.

    • Fixed

      Fixed PostgreSQL migrations incorrectly identifying tables and views across schemas.

    • Fixed

      Fixed MySQL index validation for existing string columns.

    • Fixed

      Removed the unused optional better-sqlite3 peer dependency to prevent installation conflicts.

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.