Bereket Engida
34834bab53
fix(core): tolerate a null cached user in the session secondary-storage cache
...
createSession could cache a session with no user when the post-write
user lookup raced replica lag, and findSession/findSessions then threw
trying to read date fields off that null user until the entry expired.
createSession now retries the user lookup once before writing the
cache entry, and findSession/findSessions lazily re-resolve a cached
session with no user instead of throwing, repairing the entry when the
user is found and falling back to a miss only once it's confirmed gone.
Fixes better-auth/better-auth#10884
2026-09-30 07:42:05 -07:00
Taesu and GitHub
4186e36d15
fix(captcha): return JSON content type for errors ( #11476 )
2026-09-30 01:20:58 +00:00
Aryan and GitHub
8620aa94fd
fix(rate-limit): set JSON content type on 429 responses ( #11469 )
2026-09-29 21:10:27 +00:00
683ac1ddc3
feat(oauth-provider): add validateRedirectUri option for custom redirect validation ( #8686 )
...
Co-authored-by: Gustavo Valverde <g.valverde02@gmail.com >
2026-09-29 08:26:56 +00:00
b26057e23a
feat(oauth-provider): export verifyOAuthQueryParams for consent pages ( #11402 )
...
Co-authored-by: Manuel Lautenschlager <ml@webrender.de >
2026-09-25 21:22:10 +00:00
229a02a652
chore: release v1.7.6 ( #11322 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-24 15:46:09 +00:00
Taesu and GitHub
dcaa5a7869
feat(cli): add check command for schema validation ( #11314 )
2026-09-24 14:41:49 +00:00
Taesu and GitHub
631ac296a5
fix(db): preserve model identity across adapters ( #11333 )
2026-09-24 14:41:48 +00:00
Taesu and GitHub
fc45d08b26
fix(client): prevent stale query overwrites ( #11376 )
2026-09-24 04:53:49 +00:00
Taesu and GitHub
2b13e011b4
fix(kysely-adapter): detect SQLite rowid aliases correctly ( #11374 )
2026-09-24 01:31:18 +00:00
Robin Wieruch and GitHub
f95d5f1c2c
fix(stripe): sync seats after organization resubscription ( #11347 )
2026-09-24 08:53:35 +09:00
88534192c1
fix: enforce maxPasswordLength before hashing on password verification endpoints ( #11324 )
...
Co-authored-by: Taesu <bytaesu@gmail.com >
2026-09-23 23:47:24 +00:00
Taesu and GitHub
d41e2caf1a
fix(kysely-adapter): validate schemas on restricted SQLite ( #11366 )
2026-09-23 22:20:04 +00:00
Taesu and GitHub
2fa501cdf9
fix(oauth-proxy): support social account linking ( #11268 )
2026-09-23 22:01:42 +00:00
3d0efa308d
feat(captcha): add Vercel BotID provider ( #11016 )
...
Co-authored-by: Taesu <bytaesu@gmail.com >
Co-authored-by: Taesu <166604494+bytaesu@users.noreply.github.com >
2026-09-22 20:11:43 +00:00
af883851ae
feat(admin): allow bannedUserMessage to be a function of the banned user ( #11325 )
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Taesu <bytaesu@gmail.com >
2026-09-22 19:30:37 +00:00
2ee1545f24
fix(client): preserve auth query snapshots during hydration ( #11316 )
...
Co-authored-by: Taesu <bytaesu@gmail.com >
2026-09-22 18:19:25 +00:00
Taesu and GitHub
41b7dc15de
fix(prisma-adapter): validate capitalized custom model names ( #11319 )
2026-09-17 14:40:14 +00:00
5468e6bfcd
chore: release v1.7.5 ( #11245 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-14 22:02:48 +00:00
dae97ed932
fix(core): preserve database option type inference ( #11290 )
...
Co-authored-by: Alexey Sokolov <alexvyber@gmail.com >
2026-09-14 21:01:20 +00:00
Taesu and GitHub
e56c45bddb
fix(captcha): log Turnstile verification failures ( #11283 )
2026-09-14 17:54:13 +00:00
cb627ebeb1
feat(postgres): add support for custom schema name in PostgreSQL connections ( #11203 )
...
Co-authored-by: Taesu <bytaesu@gmail.com >
2026-09-14 17:53:15 +00:00
Taesu and GitHub
348fc26c99
fix(db): use reported MySQL index byte bounds ( #11272 )
2026-09-13 07:17:08 +00:00
Taesu and GitHub
133f6a2717
fix(db): use Kysely metadata for PostgreSQL schema introspection ( #11270 )
2026-09-13 07:17:07 +00:00
Taesu and GitHub
e18bc83172
fix(drizzle-adapter): defer relation metadata access ( #11263 )
2026-09-12 04:02:01 +00:00
Taesu and GitHub
753c2d19f7
fix(cimd): avoid pacing successful metadata fetches ( #11161 )
2026-09-11 11:30:42 +00:00
8d37cc3b77
fix(deps): remove unused better-sqlite3 peer dependency ( #11209 )
...
Co-authored-by: Taesu <bytaesu@gmail.com >
2026-09-10 11:50:32 +00:00
735008ff26
chore: release v1.7.4 ( #11216 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-10 11:25:12 +00:00
Taesu and GitHub
ada6b4436d
fix(expo): chunk storage values by byte size ( #11238 )
2026-09-10 08:44:57 +00:00
Taesu and GitHub
9b1be996a5
fix(expo): clean up stale session storage ( #11200 )
2026-09-10 07:18:01 +00:00
Max and GitHub
9b9638ec99
feat(test-utils): accept additional session fields in auth helpers ( #11217 )
2026-09-09 10:50:01 +00:00
Taesu and GitHub
3f890eb631
feat(test): support Vitest 5 ( #11205 )
2026-09-09 08:48:33 +00:00
Taesu and GitHub
c1756a2274
feat(instrumentation): add option to disable tracing ( #11224 )
2026-09-09 08:15:17 +00:00
Taesu and GitHub
b905bfe3d9
fix(drizzle-adapter): validate schemas in relations v2 ( #11213 )
2026-09-08 10:49:10 +00:00
Taesu and GitHub
3ff842ab7f
fix(core): handle optional OpenTelemetry imports in Metro ( #11210 )
2026-09-08 09:26:10 +00:00
597d39cb4a
chore: release v1.7.3 ( #11032 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-06 02:53:49 +00:00
Taesu and GitHub
1a1b7d56f5
fix(core): restore optional atomic adapter methods ( #11189 )
2026-09-06 11:20:48 +09:00
76d311f4b9
feat: add Cloudflare social provider ( #9908 )
...
Co-authored-by: Taesu <bytaesu@gmail.com >
Co-authored-by: Taesu <166604494+bytaesu@users.noreply.github.com >
2026-09-06 01:56:20 +00:00
7ec71461f1
fix(session): skip cache cookie when disabled ( #11120 )
...
Co-authored-by: Taesu <bytaesu@gmail.com >
2026-09-06 01:55:30 +00:00
Taesu and GitHub
c47b76517d
fix(generic-oauth): harden Auth0 domain normalization ( #11188 )
2026-09-05 23:48:21 +00:00
Taesu and GitHub
352d012bd5
feat(adapters): register Drizzle and Prisma schema checks ( #11179 )
2026-09-05 23:03:15 +00:00
Taesu and GitHub
be0e007e20
feat(db): check the database schema on initialization ( #11178 )
2026-09-05 23:03:15 +00:00
Taesu and GitHub
2220ee7269
revert: drop the issuer column and resolve accounts by provider id ( #11153 )
2026-09-05 23:03:14 +00:00
4d09d50225
fix(oauth-provider): extend RFC 8252 loopback port variance to localhost ( #11090 )
...
Co-authored-by: Taesu <bytaesu@gmail.com >
2026-09-05 00:34:52 +00:00
5fe5bc21d1
fix(generic-oauth): skip providers whose discovery fails ( #10978 )
...
Co-authored-by: Yuzhong Zhang <BetterAndBetterII@users.noreply.github.com >
Co-authored-by: Taesu <bytaesu@gmail.com >
Co-authored-by: Taesu <166604494+bytaesu@users.noreply.github.com >
2026-09-04 01:01:57 +00:00
Taesu and GitHub
a9d8c12d14
feat(haveibeenpwned): expose password compromise check ( #11147 )
2026-09-04 00:26:54 +00:00
74a7369179
fix(last-login-method): handle email otp logins ( #10963 )
...
Co-authored-by: Taesu <bytaesu@gmail.com >
Co-authored-by: Taesu <166604494+bytaesu@users.noreply.github.com >
2026-09-03 23:10:15 +00:00
1d9b55cfdb
fix(cimd): answer the socket's all-addresses lookup in the Node transport ( #10730 )
...
Co-authored-by: Claude Fable 5 <noreply@anthropic.com >
Co-authored-by: Taesu <bytaesu@gmail.com >
2026-09-03 20:25:17 +00:00
b7aeed84ce
perf(test-utils): stop re-deleting cleaned rows — up to 5.4× faster ( #10762 )
...
Co-authored-by: starslingdev[bot] <248995740+starslingdev[bot]@users.noreply.github.com>
Co-authored-by: Taesu <bytaesu@gmail.com >
2026-09-03 18:24:29 +00:00
Taesu and GitHub
b95b7b31e7
fix(cli): skip empty dependency installs ( #11140 )
2026-09-03 18:21:20 +00:00