Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.0.0

major23 Nov 2024Where it was published

1.7.27 is the newest release of 1.x.

In short

13 new14 fixed

Security

18 advisories affect 1.0.0; 1.6.13 fixes them

13 more

Release note

Features

  • New references route with openapi spec

  • All core tables now have createdAt and updatedAt fields and session id is now stored in a token field

  • Custom session response

  • Add refershtoken expire, scope and more fields

  • Email-otp forget password

  • Handle internal context

  • V1

  • Change two factor redirect api

  • Fresh session

  • Open api docs plugin

  • Sign-in box

  • Support custom getUserInfo for providers

  • Improve type hinting for social providers

Bug Fixes

  • Update session token usage

  • Return 401 instead of 500 on require email verification

  • Session query param missing in auth.api

  • Password verify argument order

  • Password verify argument order

  • Trusted origins list not being respsected

  • Session should update every time when update age set to 0

  • CLI fails on trailing commas when reading tsconfig

  • Expo plugin should use the new hook interface

  • Use the default table names on username and phone auth

  • Update session cache on active org set to null

  • Export drizzle interface type

  • Make plural

  • Set active should use token instead of id

  • Session token should be used on org routes

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.