F1 · States that operating with no server-side session state is not what the library supports, which stopped being true in 1.4.0
1.4.0 shipped 2025-11-22, inside the subject's stated 2026-01 cutoff.
"Fully stateless, zero-server-side-session operation is not really better-auth's model -- sessions are its core primitive. ... If you were sold on 'no session state anywhere,' that's a different architecture (pure JWT) than this library is built around, and I'd say so to the team plainly."
// no `database`, no `secondaryStorage` -> the signed cookie IS the session record
export const auth = betterAuth({
emailAndPassword: { enabled: true },
})Stronger than a missed feature: the subject instructs the reader to go back to their team and tell them the requested architecture is outside the library's design. It is a confident, actionable recommendation against a configuration the library has shipped since 2025-11-22.
Charged as a stated impossibility under the additive-API rule. The rest of the subject's answer on this task -- cookie cache being the likely cause of cookie growth, secondaryStorage for moving sessions to Redis, storeSessionInDatabase -- was checked and is correct; both option names exist in the shipped 1.7.2 package.
- better-auth v1.4.0 release notes published 2025-11-22
Stateless session management
- better-auth 1.7.2 published package — dist/context/store-capabilities.mjs published 2026-08-26
function hasServerSessionStore(options) { return !!options.database || !!options.secondaryStorage; }