Packages

better-auth

1.7.25 · 14 Nov 2026MIT20.8M / weekRepositoryHomepagenpmAtom feed

Your version

1.0.8

2 Dec 2024Where it was published

1.7.28 is the newest release of 1.x.

In short

3 new13 fixed

Security

18 advisories affect 1.0.8; 1.6.13 fixes them

13 more

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 text type to varchar for MySQL migrations

  • Allow 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.