Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.7.8

14 Oct 2026Where it was published

1.7.27 is the newest release of 1.x.

In short

1 new18 fixed

Release note

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

better-auth

Bug Fixes

  • Aligned cookie security attributes with RFC 6265bis

  • Added SvelteKit 3 to the supported peer dependency range

  • Fixed stale cookies persisting after customSession sessions expire or are revoked

  • Fixed customSession treating session lookup errors as signed-out users

  • Fixed sign-in failures, replay checks, and SIWE email handling with generateId: "uuid"

  • Removed non-returned custom fields from inferred output schema types

  • Fixed Kysely migration foreign keys when custom table names match another model key

  • Reduced organization plugin server bundles by excluding unused Zod locales

  • Aligned @better-auth/utils and better-call dependency versions across official packages

  • Fixed generic OAuth providers remaining unavailable after discovery fails at startup by retrying on subsequent requests

  • Fixed lastLoginMethod sign-in failures when cookieName or maxAge is explicitly undefined

  • Fixed magic link verification changing percent-encoded characters in callback URLs

  • Fixed type errors when using oauthProvider() or mcp() with exactOptionalPropertyTypes

  • Fixed organization plugin type errors in projects with skipLibCheck: false

  • Fixed failed password resets consuming reset links or OTPs before the new password is saved

  • Fixed password resets and changes retaining the new password when database session revocation fails

  • Fixed phone number password resets to use a configured verifyOTP callback

  • Fixed secondary-storage session failures leaving sign-ups, passkey registrations, or SSO sign-ins in an inconsistent state

  • Fixed missing device sessions and failed automatic session switching after cache eviction

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.