Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.2.5

26 Mar 2025Where it was published

1.7.27 is the newest release of 1.x.

In short

7 new27 fixed

Security

15 advisories affect 1.2.5; 1.6.22 fixes them

10 more

Release note

Features

  • Add onEmailVerification callback

  • Disabled paths

  • Refresh token endpoint

  • account: Add option to allow unlinking all accounts

  • admin: Allow creating users without admin session on server api

  • oidc: Allow passing additional user claims

Bug Fixes

  • Allow plus signs in relative callback URLs

  • Multiple issues with openapi types and references

  • Typescript cannot be named without reference error

  • Get session cookie helper should use better url retrieval and read config overrides

  • Get session cookie should check for both secure and non secure cookies

  • Access of undefined in runtime that does have great support of instanceof

  • Use instead of relying on instanceOf for incoming request type checks

  • Double matcher on username plugin

  • Trigger session refetch on verify email

  • Support numeric user IDs

  • UnlinkAccount should support optional accountId

  • Respect disable signup on social providers

  • Only delete verification token on password reset after succesful db query

  • Additional fields type inference breaking on default value

  • admin: Remove undefined type from list-users openapi documentation

  • api-key: Delete keys on client should use POST method instead

  • cli: Invalid prisma init config

  • expo: Better fetch type mismatch causing type error on expo client plugin

  • generic-oauth: Added basic auth param in oAuth2Callback

  • oauth: Support passing prompt, access_type, type_hint and additional params when constructing authorization URL

  • organization: Trigger session refetch on set-active

  • organization: Client infer for Member is using incorrect type

  • organization: Membership limit incorrect usage breaks list organizations

  • rate-limiter: Handle missing IP address in rate limit function

  • rate-limiter: Custom rate limiing table name breaking db query

  • stripe: Allow plan retrieval by annual discount price ID

  • username: Update validator to allow dots in usernames

  • web: Project metadata

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.