Packages

better-auth

1.7.25 · 14 Nov 2026MIT20.8M / weekRepositoryHomepagenpmAtom feed

Your version

0.5.2

21 Oct 2024Where it was published

0.8.8 is the newest release of 0.5.x.

In short

11 new14 fixed

Security

18 advisories affect 0.5.2; 1.6.13 fixes them

13 more

Release note

Features

  • Add support for "like" and similar search operators and add search query for admin plugin

  • Move env to std-env

  • Update username and sign up email should allow username

  • Support additional fields on user update

  • client: Allow client to disable fetch plugins

  • node: FromNodeHeaders helper

Bug Fixes

  • Add mongodb id map and support array type gen for prisma

  • Fallback to generated id on oauth user create

  • Oauth userId missing

  • Use autosignin from configuration

  • Trusted providers shoudln't require email verification

  • Email verified missing on oauth

  • Email verification should be checked last

  • Kysley type conversion failing on custom field names

  • Use better auth url in nextjs middleware

  • Session user refernce bug when using custom id generation

  • Add full base url

  • All plugins should use table name from ctx

  • Add new-email to change email verification

  • Update user shouldn't be called in getEndpoints

  • Clear browser cookies on delete

  • adapter: Handle delete gracefully

  • core: Crypto missing

  • jwt: Added the Key ID in the token header

  • multi-session: Add try catch for deleting sessions

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.