better-auth
1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed
In short
6 fixed
Release note
The section about better-auth of a note shared by several packages.
better-auth
Bug Fixes
Fixed the phone number plugin returning a 500 instead of a 400 from
/update-userwhen the request has no bodyFixed the username plugin returning a 500 on
/sign-up/emailand/update-userwhen the request has no body; it now returns the same 400 as without the pluginFixed
/sign-in/anonymousto validate the request origin, returning a 403 for browser requests from origins outsidetrustedOriginsFixed unpinned tokens such as ID tokens and session JWTs to prefer a key for the primary
jwks.keyPairConfig.algalgorithmFixed
getTestInstancefrombetter-auth/testto run every instance cleanup even when one fails, so databases and connections are not left openFixed
POSTrequests without a body, such as/sign-outor/revoke-sessions, failing with a 415 on Deno, Next.js, Nuxt and other servers that pass an empty body stream
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.