Commit Graph

4673 Commits

Author SHA1 Message Date
Saatvik Arya
9da8c8bf89 docs: support markdown response for AI (#5105) 2025-10-05 17:31:32 -07:00
Alex Yang
935c9be751 refactor: move DBAdapterDebugLogOption to core (#5106) 2025-10-05 17:31:19 -07:00
Alex Yang
7f54ba892f Revert "perf: lazy load create telemetry (#5007)"
This reverts commit 0385c5e611.
2025-10-05 14:44:16 -07:00
Alex Yang
3d8f3984e7 Revert "fix(telemetry): avoid async import if telemetry disabled, fix for esbuild (#5086)"
This reverts commit 6aa0c1c10f.
2025-10-05 14:44:05 -07:00
Maxwell
93968297a6 chore: add more adapter tests (#5080) 2025-10-05 20:47:17 +10:00
Bereket Engida
52ef01a62c docs: add password hashing step on auth0 and supabase migration guides (#5054)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2025-10-05 00:22:17 -05:00
Alex Yang
a0836ba434 refactor: move BetterAuthPluginDBSchema to core (#5092) 2025-10-04 22:04:02 -07:00
Bereket Engida
47f8ee2750 fix(stripe): throw error if event failed to be constructed (#5088) 2025-10-04 23:48:33 -05:00
Shawn Erquhart
6aa0c1c10f fix(telemetry): avoid async import if telemetry disabled, fix for esbuild (#5086) 2025-10-04 11:37:45 -05:00
Bereket Engida
f34a9733f0 fix(sso): OIDC scopes should fallback to provider scopes (#5071) 2025-10-03 11:52:45 -05:00
Maxwell
b0664526b0 chore: fix api-key types issue (#5065) 2025-10-03 18:48:19 +10:00
copy rogers
2d1ed69c00 docs: fix typo on funtion name getSignedCookie (#5059)
Signed-off-by: rogerogers <rogers@rogerogers.com>
2025-10-03 03:07:42 -05:00
Bereket Engida
4a92c81565 chore: simplify api key tests 2025-10-03 03:03:18 -05:00
Bereket Engida
e934206d6c fix(api-key): shouldn't issue api key a mock session by default 2025-10-03 02:54:06 -05:00
Bereket Engida
2e23681f96 fix: api keys should properly check if a request is from client or server 2025-10-03 02:46:54 -05:00
Alex Yang
d3ff4da4f6 refactor: move BetterAuthAdvancedOptions to core
This moves the `BetterAuthAdvancedOptions` type and related interfaces
to the core package, making them available for plugins and other packages
to extend functionality.
2025-10-02 16:57:56 -07:00
Alex Yang
482490173e fix: deprecate options.advanced.generateId type
Changes the type of `options.advanced.generateId` to `never` to prevent
new usage, while keeping the runtime code for backward compatibility
using type casting.

Users should migrate to `options.advanced.database.generateId`.
2025-10-02 16:57:56 -07:00
Bereket Engida
c70ea5e0a0 fix(custom-session): Infer.Session to infer the return type of the custom session (#5009) 2025-10-02 15:51:16 -07:00
Bereket Engida
ade0674f4c fix: session update database hook should expect partial session type (#5056) 2025-10-02 15:29:38 -07:00
Jakob Norlin
361e86392e chore: remove log from oauth-proxy (#5049) 2025-10-02 15:06:32 -07:00
Bereket Engida
41d2e03b8e fix: properly encode callback url for email verificaiton (#5052) 2025-10-02 15:04:59 -07:00
Alex Yang
affe7722c9 refactor: move verification schema to core 2025-10-02 12:13:44 -07:00
Alex Yang
132219b61c refactor: move session schema to core 2025-10-02 12:13:44 -07:00
Alex Yang
01d14d7228 refactor: move account schema to core 2025-10-02 12:13:44 -07:00
Alex Yang
a6c000d428 refactor: move user schema to core 2025-10-02 12:13:44 -07:00
Alex Yang
246a2e8b7a fix(adapter): ensure transaction function is implemented in the adapter (#5046) 2025-10-02 11:59:48 -07:00
Bereket Engida
518468a507 refactor: move user input parser to api endpoints 2025-10-02 09:35:23 -07:00
Maxwell
68608ed000 fix(adapter): foreign keys that are nullable on number ids can return string of null (#5036) 2025-10-02 08:49:04 -07:00
Thibaut Cuchet
778bf4043d fix(last-login-method): custom resolver method default logic (#4821) 2025-10-02 08:42:12 -07:00
Dylan Vanmali
f246dc6017 fix: ttl for rate limited secondary storage (#4961) 2025-10-02 08:41:36 -07:00
QuintenStr
c8f47a4e7d fix(adapter): use updated field values in WHERE clause during update (#5004)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2025-10-02 08:40:39 -07:00
Pankaj
e2c3cd8094 fix(api-key): correct refill interval time calculation (#4871)
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-10-02 08:40:24 -07:00
Ziad Beyens
8d46ccc823 fix: handle symbols in proxy get trap to prevent TypeError (#4924)
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-10-02 00:39:33 -07:00
Bereket Engida
72ecc5208a fix: cookie size limit shouldn't throw error (#5031)
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-10-02 00:15:59 -07:00
Yanqi Zong
ddce2e9cf7 fix(sso): prevent duplicate SSO provider creation with same providerId (#5033) 2025-10-01 23:54:37 -07:00
Mateus Sampaio
b06368d9b8 docs(plugins): add better-auth-credentials-plugin to community plugins list (#5023)
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-10-01 23:50:43 -07:00
KinfeMichael Tariku
c0c4a71e71 docs: fix optimize ai streaming query (#5013) 2025-10-01 20:10:23 -07:00
Ebalo
13872bea56 fix(stripe): getCustomerCreateParams not actually being called (#5019)
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-10-01 20:09:08 -07:00
Thalles Passos
8b13d387bd docs: update nestjs section (#5029) 2025-10-01 20:00:10 -07:00
Andrew Patton
6bb945efed feat: add support for custom callback for token url (#5027) 2025-10-01 18:34:28 -07:00
Nate Tewelde
d330ab8b9c fix(sso): safe json parsing for saml/oidc configs (#4858)
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-10-01 15:00:35 -07:00
Ezra Ashenafi
2f94b14f68 fix: use consistent messaging on requestPasswordReset (#5014) 2025-10-01 14:26:01 -07:00
Maxwell
c436670c71 chore: warn test depreciation (#5018) 2025-10-01 13:40:20 -07:00
Delano Lourenco
f3ffe4a04e fix(device-authorization): fix client error type for deny device (#5022) 2025-10-01 13:00:12 -07:00
Maxwell
19f39cb400 chore: remove generated prisma files (#5012) 2025-10-01 16:17:31 +10:00
Alex Yang
a53664e5ed chore: fix nextjs warnings (#5010) 2025-09-30 18:16:45 -07:00
Alex Yang
f932a28b66 refactor: move async_hooks to core (#5008) 2025-09-30 17:28:41 -07:00
Alex Yang
0385c5e611 perf: lazy load create telemetry (#5007) 2025-09-30 17:12:27 -07:00
Dylan Vanmali
bf0ac3f570 feat: additional fields on account (#4935) 2025-09-30 16:33:06 -07:00
Timon
e03e5de051 feat(captcha): add support for CaptchaFox (#4944) 2025-09-30 15:09:38 -07:00