Packages

better-auth

1.7.17 · 4 Nov 2026MIT18.2M / weekRepositoryHomepagenpmAtom feed

Your version

Where each line stands

Plan an upgrade
  • 1.x1.7.17Safe from 1.7.7Latest line
  • 0.8.x and older0.8.8159 open advisories, worst critical · last release Nov 2024, no longer updatedTo 1.7.17

Latest releases

All 236 releases
  1. 1.7.17

    4 Nov 2026
    • Fixed sessions created by a session.delete.after hook being treated as revoked during "revoke all sessions" when using secondaryStorage with storeSessionInDatabase

    • Fixed remembered sign-ins and sign-ups to refresh their session even if an earlier sign-in in the same browser used rememberMe: false

    • Fixed denying a device authorization request to reject a revoked session that is still in the cookie cache

  2. 1.7.16

    3 Nov 2026
    • Fixed revoked sessions staying usable with secondary storage or the cookie cache. Bulk revocation now ends sessions missing from the cached list, and passkey registration, device authorization, two-factor, social account linking, and phone number changes check the session store

    • Fixed phone numbers being stored before they are verified. Sign-up and sign-in reject a phoneNumber in the request, social profiles no longer set an unverified number, and verification codes use their own namespace

    • Fixed /admin/update-user changing phone numbers without permission. It now requires user:set-phone, so add set-phone to custom access control statements

  3. 1.7.15

    1 Nov 2026
    • security

      Fixed organization and API key metadata, and OAuth proxy sign-ins with a constructor field in additionalData, failing with a prototype pollution error

    • Improved BETTER_AUTH_SECRETS error messages to report the entry position instead of including the entry value

    • Fixed the admin update-user endpoint to reject data.id with a 400 error instead of attempting to change the user's primary key

Dependency tracking · free for 3 projects

Know when your own dependencies move

better-auth had 20 security advisories in the last 12 months. inlinr emails you the day one touches a project of yours, with the version that fixes it.

  • Advisories reach you

    An email when a critical or high advisory affects a project, before the next install.

  • Upgrades checked first

    Peer ranges, Node, ESM-only and types changes read before you bump.

  • Only what matters

    Majors and breaking notes stay; patches and sibling bumps fold into one line.

How dependency tracking works

Reading releases, release notes and advisories…

Registry facts last checked 5 Nov 2026. Releases and advisories last read 5 Nov 2026.