Commit Graph

4318 Commits

Author SHA1 Message Date
better-release[bot]
cbb5014cdf chore: release v1.6.10 (#9350)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-09 14:31:47 +00:00
Taesu
09f1327acb fix(api): prevent duplicate set-cookie on redirect (#9497) 2026-05-09 13:50:46 +00:00
Taesu
15ff28a957 fix(internal-adapter): rename deleteAccount param from accountId to id (#9503) 2026-05-09 13:50:32 +00:00
Maxwell
fde043207e fix: improve link accessibility issues (#9521)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-05-09 11:31:27 +00:00
Muzzaiyyan Hussain
5e52aa0352 chore(adapters): add shared coverage for empty update where conditions (#9104)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-05-09 10:57:03 +00:00
Maxwell
cf591360e7 fix(organization): re-export field types to prevent TS2742 with additionalFields (#9349) 2026-05-08 06:47:33 +00:00
Maxwell
8c1e91757d fix: warn for cookie-plugin being last in array (#9484) 2026-05-08 02:55:33 +00:00
oimmi
3a9a2c37ee chore: expose refreshUserSessions on internal adapter (#7764)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
Co-authored-by: ping-maxwell <maxwell.multinite@gmail.com>
2026-05-07 10:17:56 +00:00
Jaydeep pipaliya
e9c978e2af fix(username): respect callbackURL on sign-in (#9475)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-05-07 05:56:00 +00:00
Taesu
51de32e1e8 fix(stripe): lock library-owned Checkout Session fields against getCheckoutSessionParams (#9481) 2026-05-07 04:47:02 +00:00
Maxwell
36ef808c6c fix: incorrect email casing across one-tap, email-otp & email-verification (#9369) 2026-05-06 18:42:13 +00:00
Samuel Hurel
62c4050850 fix(api-keys): api.verifyApiKey does not check against the configId (#9393)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-05-06 18:22:10 +00:00
Dipan Chakraborty
9a7b51d0d3 fix(credential): apply enumeration protection when autoSignIn is false (#8839)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-05-06 18:17:46 +00:00
Rayan Salhab
e71aad3b6d fix(organization): refresh active role on sign out (#9440)
Co-authored-by: cyphercodes <cyphercodes@users.noreply.github.com>
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-05-06 18:08:22 +00:00
Rayan Salhab
fc02cedb70 fix(oauth): reject callbacks missing provider account id (#9456)
Co-authored-by: cyphercodes <cyphercodes@users.noreply.github.com>
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-05-06 17:57:15 +00:00
Gautam Manchandani
e44427b373 fix(cli): emit working Kysely init configs (#9455)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-05-06 17:45:32 +00:00
Rayan Salhab
9f1ef1f7e5 fix(siwe): add getNonce client alias (#9461)
Co-authored-by: cyphercodes <cyphercodes@users.noreply.github.com>
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-05-06 17:36:35 +00:00
Taesu
07b52cbb79 fix(stripe): preserve freeTrial and internal metadata in getCheckoutSessionParams merge (#9474) 2026-05-06 15:36:52 +00:00
Taesu
8d71f42421 test(types): regression for plugin types through factory and indirection (#9466) 2026-05-06 14:16:21 +00:00
Taesu
93fd0524e9 test(generic-oauth): cover first-time signin with storeAccountCookie + JWE (#9470) 2026-05-06 14:16:05 +00:00
Maxwell
1b259024dc fix(generic-oauth): non-ASCII error_description causes TypeError on redirect (#9065) 2026-05-06 11:25:56 +00:00
Rayan Salhab
b2d655c77c fix: allow dynamic organization invitation roles (#9437)
Co-authored-by: cyphercodes <cyphercodes@users.noreply.github.com>
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-05-06 08:15:02 +00:00
Rayan Salhab
ddae5817c8 fix(passkey): handle autofill ceremony failures (#9429)
Co-authored-by: cyphercodes <7407177+cyphercodes@users.noreply.github.com>
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-05-06 05:23:37 +00:00
Rachel Chen
f7bc1c7349 fix(oauth-provider): index OAuth foreign keys (#9389)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-05-06 05:22:28 +00:00
Rayan Salhab
d427d1dba9 fix(oauth-provider): export declaration helper types (#9406)
Co-authored-by: cyphercodes <7407177+cyphercodes@users.noreply.github.com>
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-05-06 05:20:44 +00:00
Max
80a655d271 fix(admin): revalidate useSession after impersonation (#9402)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-05-06 05:19:54 +00:00
Maksym Ryndia
a597ee01ed fix(organization): cancelPendingInvitationsOnReInvite is unreachable — re-invite returns 400 (#9452) (#9453)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-05-06 03:13:32 +00:00
Dylan Vanmali
6b03a45a14 chore(oauth-provider): correct optional typing for refreshToken sessionId field (#9324)
Co-authored-by: Taesu <bytaesu@gmail.com>
2026-05-03 19:12:23 +00:00
Taesu
906b7b34a7 fix(bearer): write one entry per cookie name when merging session token (#9387) 2026-05-01 02:13:16 +00:00
Taesu
fe64413cef chore: bump vitest (#9413) 2026-05-01 01:40:28 +00:00
Taesu
d17ee3e534 test: add regression tests for public type exports from better-auth/types (#9419) 2026-05-01 01:16:02 +00:00
Rayan Salhab
2220a6d6c2 fix(core): use pure instrumentation entry for workerd (#9395)
Co-authored-by: cyphercodes <7407177+cyphercodes@users.noreply.github.com>
2026-04-29 12:59:31 -07:00
Craig (Michael) Thompson
006e809b92 fix(sso): use findSAMLProvider in spMetadata so defaultSSO works (#9398) 2026-04-29 12:56:44 -07:00
Gustavo Valverde
408a3076bd fix(oauth-provider): honor prompt=login across consent continuation (#9344) 2026-04-27 08:49:55 +00:00
Taesu
3e4fc8ca74 fix(stripe): pass post-update subscription to onSubscriptionDeleted and trial callbacks (#9356) 2026-04-26 10:26:56 +00:00
Taesu
012b4e6331 refactor(stripe): rename subscription webhook variables for clarity (#9355) 2026-04-26 09:56:30 +00:00
Taesu
5d24a7478b fix(stripe): expose stripeSubscription in onSubscriptionUpdate and fix stale snapshot (#9354) 2026-04-26 09:41:11 +00:00
Maxwell
88a7c678f4 fix: openAPI schema for POST /sign-in/social mis-declares required fields (#9268) 2026-04-25 07:18:10 +00:00
Maxwell
1e0f26d4c8 fix(captcha): breaks email-otp flow (#8339) 2026-04-25 00:28:55 +00:00
Gautam Manchandani
c1336c563d fix(organization): scope setActiveTeam to active organization (#9239)
Signed-off-by: Gautam Manchandani <manchandanigautam@gmail.com>
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-04-24 23:48:16 +00:00
skalkii
ca57b001b9 docs(test): cross-reference #8897 on cookie-strategy OAuth state CSRF test (#9334) 2026-04-24 16:25:18 +09:00
Taesu
75524d61b1 test(api-key): add regression test for listApiKeys with integer user.id (#9343) 2026-04-24 06:44:25 +00:00
better-release[bot]
f484269228 chore: release v1.6.9 (#9341) 2026-04-24 06:25:08 +01:00
Shawn Erquhart
815ecf62b6 fix(core): resolve instrumentation via package self-reference in adapter factory (#9340)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-24 05:12:34 +00:00
Taesu
fef7dd6df5 chore: update readme (#9330)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-23 19:50:25 +00:00
better-release[bot]
b289ac6c4b chore: release v1.6.8 (#9316) 2026-04-23 11:31:03 +01:00
Gustavo Valverde
9aa8e63de8 fix(oauth): support mapProfileToUser fallback for providers that may omit email (#9331) 2026-04-23 10:15:36 +00:00
Maxwell
a02e07cb89 fix(passkey): resolve exactOptionalPropertyTypes incompatibility (#9270)
Co-authored-by: Gustavo Valverde <g.valverde02@gmail.com>
2026-04-23 09:48:05 +00:00
Gustavo Valverde
8e3cc3453c fix(oauth-provider): accept authorization flows without state (#9328) 2026-04-23 07:00:05 +00:00
Baptiste Arnaud
856ab2426c fix(organization): allow passing id through beforeCreateTeam and beforeCreateInvitation (#9253)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 16:56:50 +00:00