Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.7.22

12 Nov 2026Where it was published

1.7.27 is the newest release of 1.x.

In short

10 fixed

Release note

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

better-auth

Bug Fixes

  • Fixed verification value consumption hanging on Cloudflare Workers when an earlier request for the same identifier ended mid-query

  • Fixed module-scope auth instances on Cloudflare Workers logging a schema validation error on every cold start by validating on first use

  • Fixed deferSessionRefresh refresh requests failing with a 415 error in Next.js and Nuxt

  • Fixed ReferenceError: window is not defined when a client session subscription is cleaned up after a test environment tears down its globals

  • Fixed client session refresh listeners piling up on the server during SSR

  • Fixed session polling never firing when the runtime's navigator does not report connectivity

  • Fixed OAuth sign-up rejected by a user.create.before hook returning false logging a TypeError

  • Fixed deleteOrganization clearing the session's active organization when a beforeDeleteOrganization hook rejected the delete

  • Fixed revokeSession, revokeSessions, and deleteUser({ token }) to expire session cookies when revoking the current session or deleting the user

  • Fixed getSession to no longer leave an expired session in the request context after returning null

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.