better-auth
1.7.25 · 14 Nov 2026MIT20.8M / weekRepositoryHomepagenpmAtom feed
Upgrading better-auth From 0.7.0 to 0.8.8
14 releases in betweenevery note read
Security
18 advisories still affect 0.8.8
- Better Auth: Stale sessions persist after user deletion across admin, anonymous, and SCIM flowslow · GHSA-2vg6-77g8-24mp
- Better Auth Open Redirect Vulnerability in originCheck Middleware Affects Multiple Routeslow · GHSA-36rg-gfq2-3h56
- Better Auth affected by external request basePath modification DoShigh · GHSA-569q-mpph-wgww
Upgrading to 1.6.13 clears them.
Release by release
- New
Add existing session metadata on enable and disable 2fa
- New
Add trusted provider to existing ctx
- Fixed
Set active org on secondary storage and cookie cache
- Fixed
Multi session conflicting with nextjs plugin on clearing cookies
- Fixed
Email verificaiton should properly redirect on error
- New
- New
Allow signin with phone number and password
- New
Custom roles
- New
Add disable redirect option
- Fixed
Use update many for update password
- New
- New
Otp and magic link server function
- New
Allow users to pass custom logger
- New
Custom table names and fields for plugins
- Fixed
Apply callback url on signup for email verification only
- New
- New
Revoke all session for multi-device-cookies
- Fixed
Capture found instead of not found api error
- Fixed
Multi-session listing removing cookies before they are initatied
- Fixed
Mysql returning failing on update
- Fixed
Omit id in custom column names
- Fixed
Pass all the options when deleting cookies
- Fixed
Cache session on the same request between plugins
- New
- New
Expo getCookie helper
- New
Add created at field on verification table
- New
Error callback url
- Fixed
Drizzle failing to select
- New
- New
Add request object to send email callbacks
- New
Native adapter interfaces
- New
Custom fields and model name org plugin
- New
Custom admin role name
- New
- New
Nextjs plugin
- Fixed
Apple SignIn with Identity Token cannot destructure property 'kid'
- Fixed
Mysql date conversion
- Fixed
Missing ctx on after hooks
- New
- Fixed
Vue store import path
- Fixed
Handle web expections on expo
- Fixed
Oauth proxy shouldn't redirect if it's on prod url
- Fixed
Change dontRemeberMe to remeberMe
- Fixed
Remove email field from member
- Fixed
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.