@better-auth/cli
1.4.21 · 1 Mar 2026MIT175.4k / weekRepositoryHomepagenpmAtom feed
1.4.22 is the newest release of 1.x.
In short
3 new13 fixed
Release note
Features
Add support for configurable digits length
Find and set active organization by slug
Example:
const organization = auth.api.getFullOrganization({
query: {
organizationSlug: "better-auth",
}
})Bug Fixes
Ensure persistence to secondary storage upon cache eviction
Add check if updateAccount input is empty
Normalize usernames
Session storage expiry time should be converted to date
Passkey verification shouldn't be required
Missing export type for admin plugin
Conditionally set Drizzle
texttype tovarcharfor MySQL migrationsAllow metadata in update organization request
Use object parameters for password verification to clarify hash and password roles
Get scheme from expo config
Expires at date case on secondary storage
Null should unset image
Resolve TTL inconsistency between milliseconds and seconds for secondary storage
open-api: Rename generate schema api
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.