@better-auth/cli
1.4.21 · 1 Mar 2026MIT175.4k / weekRepositoryHomepagenpmAtom feed
1.4.22 is the newest release of 1.x.
In short
4 new12 fixed
Release note
Features
OAuth map profile to user
Improve user delete handling
discord: Add consent as an option
Bug Fixes
Update user should infer additional fields properly
Prisma schema generator should add @db.text for mysql and generate many fields
"email not found" Error in Twitter OAuth
Parse metadata on update organization
Should allow date as additional field type and should handle parsing
Save refreshToken in generic-oauth plugin
Stop redirecting during id token auth
Add option to disbale refersh on getSession
Remove the existing session check when setting a session cookie to prevent unexpected token refresh.
Update backup code to use updateMany since userId isn't enforced to be unique, which would cause failures with Prisma.
Allow trusted providers to accept generic string for generic oauth
drizzle: It should use text for id fields other than mysql
organization: On update, organization metadata shouldn't be stringified unless it's already an object.
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.