Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Upgrading better-auth From 1.7.23 to 1.7.27

4 releases in betweenevery note read

Other targets from 1.7.23Latest1.7.25
0
changes to make
0
advisories fixed
1
new
10
fixes

Release by release

  1. 1.7.27

    20 Nov 20266 fixes
    • Fixed

      Fixed the phone number plugin returning a 500 instead of a 400 from /update-user when the request has no body

    • Fixed

      Fixed the username plugin returning a 500 on /sign-up/email and /update-user when the request has no body; it now returns the same 400 as without the plugin

    • Fixed

      Fixed /sign-in/anonymous to validate the request origin, returning a 403 for browser requests from origins outside trustedOrigins

    • Fixed

      Fixed unpinned tokens such as ID tokens and session JWTs to prefer a key for the primary jwks.keyPairConfig.alg algorithm

    • Fixed

      Fixed getTestInstance from better-auth/test to run every instance cleanup even when one fails, so databases and connections are not left open

    • Fixed

      Fixed POST requests without a body, such as /sign-out or /revoke-sessions, failing with a 415 on Deno, Next.js, Nuxt and other servers that pass an empty body stream

  2. 1.7.26

    18 Nov 20261 new · 2 fixes
    • New

      Added a getAccountFields option to social providers for storing custom values on the provider account at sign-in

    • Fixed

      Fixed expired verification values being returned to repeated lookups by deleting them when found

    • Fixed

      Fixed two-factor sign-in to reject an expired challenge before sending an OTP or counting a failed attempt

  3. 1.7.25

    14 Nov 20261 fix
    • Fixed

      Fixed endpoint errors dropping Access-Control-Expose-Headers names set earlier by a hook or the endpoint, so cross-origin browser clients keep access to exposed headers

  4. 1.7.24

    14 Nov 20261 fix
    • Fixed

      Improved verification lookups to delete expired rows at most once a minute per server instance instead of on every lookup

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.