Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.3.12

18 Sep 2025Where it was published

1.7.27 is the newest release of 1.x.

In short

2 new10 fixed

Security

15 advisories affect 1.3.12; 1.7.0 fixes them

10 more

Release note

Features

  • discord: Allow specification of permissions

  • email-otp: Allow returning undefined in generateOTP

Bug Fixes

  • Device authorization plugin

  • Reduce any type in generator.ts

  • Refresh secondary storage sessions on user update

  • Allow disable database transaction

  • adapter: Returning null as string for optional id references

  • api-key: Cascade api keys on user deletion

  • create-adapter: Disable transaction by default

  • organization: Decouple client and server permission checks

  • organization: Membership check for organizations with large member counts

  • stripe: OnCustomerCreate should be called even if update user isn't returned

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.