better-auth
1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed
Upgrading better-auth From 1.0.4 to 1.0.5
1 release in betweenevery note read
Security
18 advisories still affect 1.0.5
- 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
Include error-code on all endpoints
- New
cli: Account for usePlural option in drizzle schema generation
- Fixed
UserWithRole type to reflect db schema
- Fixed
Always prefer custom generateId function
- Fixed
Additional fields default values not being applied
- Fixed
Cleanup existing session, on set-session if a session already exists for the same user
- Fixed
admin: Ban time expiration should compare with unix timestamp
- New
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.