Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.6.19

16 Jun 2026Where it was published

1.7.27 is the newest release of 1.x.

In short

1 new9 fixed

Security

Release note

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

better-auth

Features

  • Added support for pre-binding device codes to a specific user in the device authorization plugin

Bug Fixes

  • Fixed headerless session checks

  • Fixed cookie cache fallback lookup

  • Fixed sendVerificationEmail errors not being surfaced to the client

  • Fixed auth client return types not being emitted correctly in TypeScript declaration builds

  • Fixed session and account cache cookies being silently dropped when near the browser's per-cookie size limit by splitting them into chunks

  • Fixed single-use verification flows (such as magic-link) hanging on connection-limited database adapters by reusing active transactions

  • Fixed the domain not being included when clearing cross-subdomain cookies in the last-login-method plugin

  • Fixed the oauth-popup plugin leaking internal OAuth state keys into additionalData

  • Reverted the headerless session check fix

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.