@better-auth/cli
1.4.21 · 1 Mar 2026MIT175.4k / weekRepositoryHomepagenpmAtom feed
1.4.22 is the newest release of 1.x.
In short
1 breaking3 new11 fixed2 internal
- Breaking
admin: Prevent impersonating admins by default
Release note
The section about @better-auth/cli of a note shared by several packages.
Features
Add
ctx.isTrustedDomainhelperDrizzle pg supports JSON
Add Refresh Token Support to Kick OAuth Provider
- Breaking
admin: Prevent impersonating admins by default
Bug Fixes
Avoid throwing on client side
Export organization plugin types
Prematurely deleting active sessions in secondary storage
Pathname should be normalized when basePath is set to root
Make sure non-chunked session data cookie is cleared
Array field handling across adapters and schema generation
StoreStateStrategy default to database if provided
Should always remove 2FA verification token after successful verification
cli:
secretgenerates emptycli: Deduplicate drizzle schema relationships
core: Allow returning null in getUserInfo in provider options
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.