Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Upgrading better-auth From 1.6.1 to 1.6.2

1 release in betweenevery note read

Other targets from 1.6.1Newest 1.x1.7.27Clears its 13 advisories1.7.7Latest1.7.25
  1. 1.6.1yours
  2. 1.6.2target

Before you upgrade

Tick each one off as you go
  • Breaking1.6.2

Security

Release by release

  1. 1.6.2

    Security fix9 Apr 20261 new · 3 fixes
    • Security

      Fixed OAuth state verification against cookie-stored nonce to prevent CSRF

    • Breaking

      Prevented unverified TOTP enrollment from blocking sign-in

    • New

      Included enabled 2FA methods in sign-in redirect response

    • Fixed

      Fixed infinite router refresh loops in nextCookies() by replacing cookie probe with header-based RSC detection

    • Fixed

      Fixed cross-provider account collision in link-social callback

    • Fixed

      Included RelayState in signed SAML AuthnRequests

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.