Bereket Engida
90127ff2a1
fix(core): make consumeOne and incrementOne optional on custom adapters
...
1.7.0 made both methods required on CustomAdapter and removed the
factory fallback, so a custom adapter written for 1.6 type-checks
against nothing and throws at request time on the first OTP, magic
link, password reset, or two-factor attempt.
Restore the fallbacks. consumeOne without a native implementation runs
findOne then an id-guarded deleteMany and wins only when exactly one
row was deleted. incrementOne runs a bounded compare-and-swap loop:
findOne, then updateMany guarded on the id and the counter values just
read, retried when a concurrent writer changed the row first. Both are
single guarded statements per attempt, so they stay atomic across
processes without transactions.
2026-09-03 22:14:45 -07: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
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
fb7c018608
fix(expo): prevent torn cookie storage writes ( #11099 )
2026-09-03 01:45:45 +00:00
Taesu and GitHub
3e9e19746e
feat(oauth): support custom token request authentication ( #11101 )
2026-09-02 14:45:20 +00:00
Taesu and GitHub
900fbb25b5
docs: upgrade Typesense Fumadocs adapter ( #11122 )
2026-09-02 13:53:52 +00:00
Taesu and GitHub
b489373732
feat(cli): add Codex MCP target ( #11100 )
2026-09-02 07:17:25 +00:00
Haakam Aujla and GitHub
9fdc5ae023
docs: list AgentID community provider helper ( #11104 )
2026-09-02 16:15:53 +09:00
Ray and GitHub
dc8692b416
docs: add @a77ay/better-auth-mikro-orm to community adapters list ( #11110 )
2026-09-02 16:09:41 +09:00
c652830089
docs: list EVE Online community provider helper ( #10989 )
...
Co-authored-by: Taesu <bytaesu@gmail.com >
2026-09-01 23:00:35 +09:00
Kamil Marczak and GitHub
3e43439218
docs: add better-auth-evp community plugin ( #11088 )
2026-09-01 15:34:28 +09:00
Taesu and GitHub
c0444dc979
fix: align OpenAPI required fields with Zod 4.5 ( #11066 )
2026-08-30 18:51:24 +00:00
Taesu and GitHub
626adf6717
docs: establish social provider integration policy ( #11059 )
2026-08-30 01:29:44 +00:00
2471f1ac8b
docs: consolidate dash plugin docs ( #11036 )
...
Co-authored-by: Taesu <bytaesu@gmail.com >
2026-08-29 21:18:00 +00:00
Typed SIGTERM and GitHub
1d959c3252
docs: add @better-geetest/better-auth-plugin-gt4 to community plugins ( #11053 )
2026-08-30 05:44:39 +09:00
Taesu and GitHub
fe3216f66a
docs: restore Typesense search indexing ( #11050 )
2026-08-29 07:46:32 +09:00
Gustavo Valverde and GitHub
2430e3ff1f
feat(cli): add guided 1.6 to 1.7 migration ( #10575 )
2026-08-28 22:34:56 +00:00
Gustavo Valverde and GitHub
6a0a7cbcb1
fix(auth): preserve provider-scoped account identity ( #10969 )
2026-08-28 22:34:54 +00:00
Taesu and GitHub
6a70e86496
docs: share API method rendering ( #11043 )
2026-08-29 07:17:55 +09:00
Taesu and GitHub
71fc37e881
docs: add canonical Markdown routes ( #11042 )
2026-08-29 07:15:52 +09:00
Taesu and GitHub
88f36c63cf
docs: add versioned documentation ( #11041 )
2026-08-29 07:10:36 +09:00
Taesu and GitHub
5bd709640a
fix(two-factor): reject re-enrollment when TOTP is active ( #11037 )
2026-08-28 19:20:46 +00:00
Taesu and GitHub
79904f0be8
fix(origin-check): support fragments in relative redirect URLs ( #10983 )
2026-08-25 10:12:21 +00:00
c8dcfa57e1
fix(origin-check): validate null origins using fetch metadata ( #10959 )
...
Co-authored-by: Alex Yang <14026360+himself65@users.noreply.github.com >
2026-08-25 08:53:55 +00:00
Taesu and GitHub
b4ad5a110c
refactor: centralize placeholder email generation ( #10982 )
2026-08-25 08:15:14 +00:00
Taesu and GitHub
3aa3f6d736
docs: improve database table attribute display ( #10977 )
2026-08-25 14:45:04 +09:00
Taesu and GitHub
fced1a5d36
fix(origin-check): improve relative callback URL validation ( #10979 )
2026-08-25 00:55:14 +00:00
Bereket Engida and GitHub
0e5181abaa
docs(cli): document schema generation options ( #7319 )
2026-08-25 06:21:55 +09:00
Kevin Marrec and GitHub
fc8655a163
docs: flag indexed fields in the core schema tables ( #10759 )
2026-08-25 06:04:44 +09:00
Taesu and GitHub
bc0e75244a
docs(express): clarify raw body requirements ( #10975 )
2026-08-25 05:21:16 +09:00
Vincent and GitHub
6697f6afd6
docs: fix typo on session management page ( #7202 )
2026-08-25 03:36:55 +09:00
Luca Bertelli and GitHub
b2d8348214
docs: add @ilbertt/better-auth-bun-sql community adapter ( #10104 )
2026-08-25 01:52:38 +09:00
Taesu and GitHub
45e6d0e889
docs(database): reorganize Redis storage examples ( #10964 )
2026-08-24 20:46:44 +09:00
25e92defa0
docs(database): update redis secondary storage example ( #10955 )
...
Co-authored-by: Taesu <bytaesu@gmail.com >
2026-08-24 19:58:47 +09:00
d7141a8a31
docs: add APIMethod documentation for anonymous sign-in endpoint ( #7516 )
...
Co-authored-by: Arthur Zhang <a8zhang@uwaterloo.ca >
Co-authored-by: Taesu <bytaesu@gmail.com >
2026-08-24 17:50:37 +09:00
Ashwin Sathian and GitHub
8b4868ab53
docs: add better-auth-mongoose to community adapters ( #10732 )
2026-08-24 17:18:45 +09:00
Paul Strong and GitHub
1a483f1a9c
docs: add better-auth-email-challenge community plugin to documentation ( #9870 )
2026-08-24 17:11:18 +09:00
468d3d7e50
docs: update for nitro v3 ( #10462 )
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-08-24 16:59:43 +09:00
Taesu and GitHub
238564f311
docs: improve Prisma 7 adapter setup guide ( #10943 )
2026-08-23 15:56:32 +00:00
Taesu and GitHub
451aa4b6e5
docs: update Waku logo ( #10942 )
2026-08-23 02:39:35 +09:00
a4595391d1
docs: add PrismaPg adapter configuration ( #10927 )
...
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-08-22 23:21:39 +09:00
Taesu and GitHub
73a61ec1b7
docs: sync sidebar navigation and links ( #10868 )
2026-08-18 21:27:37 +00:00
Taesu and GitHub
03032740b1
docs: expose v1.8 beta documentation ( #10869 )
2026-08-19 06:27:18 +09:00
Gustavo Valverde and GitHub
845bbd1de6
fix(db): refuse adding required no-default columns to populated tables ( #10863 )
2026-08-18 13:47:15 -04:00
better-release[bot]
f577ec5c76
chore: exit pre-release mode for v1.7.0
2026-08-17 19:52:57 +00:00
Gustavo Valverde and GitHub
73dc9f8c0e
chore: sync main to next
...
chore: sync main to next
2026-08-17 15:44:35 -04:00
Gustavo Valverde
69258d1670
chore: sync main to next
...
Merge branch 'main' into next
2026-08-17 15:29:19 -04:00
Taesu and GitHub
ac1a47553b
docs: refine 1.7 release guidance ( #10841 )
2026-08-17 15:24:42 -04:00
5315e6cd47
docs: announce Better Auth 1.7 ( #10836 )
...
Co-authored-by: Taesu <bytaesu@gmail.com >
2026-08-17 14:59:21 -04:00