Packages

better-auth

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

Your version

0.4.7

13 Oct 2024Where it was published

0.8.8 is the newest release of 0.4.x.

In short

4 new2 fixed

Security

18 advisories affect 0.4.7; 1.6.13 fixes them

13 more

Release note

Features

  • Use secondary storage as primary for sessions

  • Bearer token encrypted value support

  • Resolve sveltekit $env modules, add lib/server to possible config paths

  • Add onError and throw error options for APIError

Bug Fixes

  • Dbhooks should apply to secondary storages

  • Session should be returned manually from secondary storage

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.