Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.1.18

14 Feb 2025Where it was published

1.7.27 is the newest release of 1.x.

In short

1 removed7 new6 fixed

  • Removed

    Remove zod type export from clients

Security

17 advisories affect 1.1.18; 1.6.22 fixes them

12 more

Release note

Features

  • Custom generate token function for magic links

  • Support function for trusted origins configuration

  • admin: Set user password

  • generic-oauth: OAuth2 link account

  • organization: Leave organization

  • username: Add default validation and options for validating username

Bug Fixes

  • Removed

    Remove zod type export from clients

  • Log error in handleOAuthUserInfo

  • Use Partial for body and query in InferRoute type

  • Database hooks should use Partial types to avoid overwriting previous hooks returns

  • cli: Add on delete cascade constraint to drizzle references

  • expo: Headers should be retrieved from APIError in OAuth hook

  • phone-number: Ensure callbackOnVerification is called after user verification

  • rate-limit: Use the passed model name for rate limiter storage

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.