better-auth
1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed
Upgrading better-auth From 1.3.34 to 1.4.0
1 release in betweenevery note read
Before you upgrade
Tick each one off as you go- Breaking1.4.0
- Breaking1.4.0
- Breaking1.4.0
- Deprecated1.4.0
- Deprecated1.4.0
Security
15 advisories still affect 1.4.0
- Better Auth: Stale sessions persist after user deletion across admin, anonymous, and SCIM flowslow · GHSA-2vg6-77g8-24mp
- Better Auth affected by external request basePath modification DoShigh · GHSA-569q-mpph-wgww
- @better-auth/oauth-provider's OAuth authorization-code grant allows concurrent redemption when two token requests race the find-then-delete primitivehigh · GHSA-7w99-5wm4-3g79
Upgrading to 1.7.7 clears them.
Fixes 1 advisory affecting 1.3.34
- Better Auth's multi-session sign-out hook allows forged cookies to revoke arbitrary sessionslow · GHSA-wmjr-v86c-m9jj
Release by release
- Breaking
Remove deprecated
ssoClientexport from client plugin - Breaking
Remove deprecated forgetPassword endpoints
- Breaking
organization: Remove
autoCreateOnSignUpoption as it's not implemented yet - Deprecated
Deprecate
options.advanced.generateIdtype
- Breaking
6 internal lines (docs, tests, tooling) left out.
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.