@better-auth/cli
1.4.21 · 1 Mar 2026MIT175.4k / weekRepositoryHomepagenpmAtom feed
1.4.22 is the newest release of 1.x.
In short
15 new17 fixed1 internal
Release note
The section about @better-auth/cli of a note shared by several packages.
Features
Sveltekit cookie helper plugin
SSO plugin with OIDC and SAML support
Linear social provider
Add encryption for OTPs and other verification information
Notion provider
Add
sendOnSignInoption to make sending verification link in sign in route explicitAdd
inferAuthto infer plugin types and more on the client without needing client pluginsAdd
rememberMeoption tosignUpEmailAdd slack social provider
Add an option to encrypt oauth tokens by default
OnPasswordReset callback
AfterEmailVerification callback
SIWE plugin
Bug Fixes
Import setCookie from tanstack start core package
Exclude current user from username update checks
Correct way detect facebook limited token jwt
Update Discord link to use the correct invite URL in blogs section
Linking accounts for anon users with one tap and passkey
Don't require email for account linking
Add
imageoption tosignUpEmailtypes and schemaImplement standard Base64 encoding for HTTP Basic Auth in token refresh and validation
Schema generation when using advanced.databse.useNumberId
Mysql foreign key constraints on generate
Zodv4 migration leftover due to conflict
Sso typecheck
Global onSuccess callback hook not being called
admin: Throw an error if user id in
/remove-useris invalidadmin: Before create hook was not triggered when creating a user through the admin plugin
admin: Pass
ctxto user create db hookcli: Format drizzle schema output
drizzle-cli: Use serial as PK when
useNumberIdis enableddrizzle-cli: Use serial as PK when
useNumberIdis enabledphone-number: Verification value should be removed after successful password reset
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.