Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.7.2

26 Aug 2026Where it was published

1.7.27 is the newest release of 1.x.

In short

1 new9 fixed

Security

3 advisories affect 1.7.2; 1.7.7 fixes them

Release note

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

better-auth

Bug Fixes

  • Fixed permanent user bans to clear expiration dates from previous temporary bans.

  • Fixed client types with more plugins being assignable to types declaring fewer plugins.

  • Added warnings for invalid signed session data in the cookie cache.

  • Fixed disabled MyISAM indexes from satisfying migration index checks.

  • Fixed programmatic migrations on Cloudflare D1 while preserving existing-index validation.

  • Allowed ~ in relative callback URLs validated by trusted-origin checks.

  • Improved validation of relative callback and redirect URLs with paths, queries, and fragments.

  • Allowed same-origin form submissions with Referrer-Policy: no-referrer while continuing to reject untrusted origins.

  • Improved getTestInstance performance with a faster default password hasher.

  • Standardized built-in placeholder emails to the namespaced {identifier}@{namespace}.placeholder.invalid format.

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.