Packages

better-auth

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

Your version

0.4.0

12 Oct 2024Where it was published

0.8.8 is the newest release of 0.4.x.

In short

10 new18 fixed

Security

18 advisories affect 0.4.0; 1.6.13 fixes them

13 more

Release note

Features

  • Admin plugin

  • Generic oauth plugin

  • Add support for typed additional fields on core tables

  • Custom field names

  • Secondary storage

  • Change email domain of anonymous auth

  • AsReponse

  • Add support for kysley instance

  • Microsoft sso

  • Expose built-in fetch

Bug Fixes

  • Bearer token interception for direct API calls

  • Full-org proper null assertion

  • Username error should say username

  • Remove __Host prefix from cross subdomain cookies

  • Revert better-call update

  • Passkey methods

  • Drizzle mysql unsupported returning

  • Return null on no orgId

  • Custom base path not working

  • Typed cookies, better-test and fix impl

  • Github provider should infer redirect_uri

  • Better logs on validation fail for oauth

  • Type error

  • Github oauth should check login for displayName

  • Passkey failing on localhost other than 3000

  • Move the anon domain name to be the actual domain

  • Bearer plugin not setting cookie on some endpoints

  • Bearer plugin not setting cookie on some endpoints

  • Windows illegal naming on migration folder

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.