Commit Graph

3109 Commits

Author SHA1 Message Date
Alex Yang
eee94de01a fix(organization): fix the schema type (#5512) 2025-10-23 02:06:57 +00:00
Alex Yang
18b7bbfa2d chore: release v1.4.0-beta.13 2025-10-22 17:25:55 -07:00
Alex Yang
344311389a feat(stripe): add StripePlugin type (#5509) 2025-10-22 23:51:59 +00:00
Ephraim Duncan
4b0756b922 feat: add polar oauth provider (#5506) 2025-10-22 23:43:51 +00:00
Alex Yang
bf8175ed49 chore: remove unused exports (#5502) 2025-10-22 22:20:35 +00:00
Alex Yang
30cb4293d2 chore(expo): decouple from better-auth deps (#5504) 2025-10-22 22:18:32 +00:00
Taesu
7b62d400f8 fix: remove deprecated forgetPassword endpoints (#5455) 2025-10-22 19:08:04 +00:00
Taesu
e7394533d6 refactor: improve type in beforeHook (#5463) 2025-10-22 19:07:30 +00:00
Harry Yep
bef33ae0d9 feat: enhance PostgreSQL support for non-public schema by respecting search_path configuration (#5449) 2025-10-22 18:27:15 +00:00
hieudien14310
dda1ec2f83 fix(admin): validate admin role updates against the configured roles to prevent setting a non-existent role (#4842) 2025-10-22 17:45:22 +00:00
Alex Yang
f73b244cb5 chore: remove an unused option (#5484) 2025-10-22 15:20:48 +00:00
Alex Yang
b5f3bad633 feat: add storeStateStrategy (#5470)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-22 00:37:11 +00:00
Alex Yang
3a3434b403 fix: unused peer dependency (#5465) 2025-10-21 18:57:49 +00:00
Alex Yang
b347dfbedd chore: fix typo (#5450) 2025-10-21 08:23:10 +00:00
Maxwell
2cf7d0229d fix(expo): store normalized cookie name in storage (#5432) 2025-10-20 22:14:02 +00:00
Harry Yep
b515c16c49 fix(mcp): consent requirement should be respected (#5401) 2025-10-20 21:43:22 +00:00
Dylan Vanmali
5deb80beee fix: user-agent requirement when fetching from clients (#5420) 2025-10-20 20:16:41 +00:00
Taesu
a2434dd033 test: rate limiting in dev/test environment (#5436) 2025-10-20 20:06:03 +00:00
Alex Yang
d958d1cf58 test: username type infer (#5434) 2025-10-20 19:42:51 +00:00
Alex Yang
74c0a2d6fe chore: bump dev deps version (#5433) 2025-10-20 17:02:05 +00:00
ocavue
db052d1995 chore: use TypeScript project references (#5423) 2025-10-20 16:12:36 +00:00
Iha Shin (신의하)
38aa480a7b fix(core): correctly set typesVersions paths (#5427) 2025-10-20 15:56:56 +00:00
Bereket Engida
6ba15d5657 chore: refactor origin check middleware (#5411)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-19 05:13:44 +00:00
Anatole Dufour
0cced22938 chore: removed noisy logger.info triggered by useActiveOrganization (#5404) 2025-10-19 03:44:16 +00:00
Alex Yang
bc2a4d3da2 chore: release v1.4.0-beta.12 2025-10-18 19:03:40 -07:00
Eniola Osabiya
03fbf937db fix(drizzle): replace pgEnum with text enum type in Drizzle schema generation (#5408) 2025-10-19 01:29:51 +00:00
Alex Yang
2737fd3b62 fix(expo): set-header retrigger $sessionSignal (#5393) 2025-10-19 01:28:20 +00:00
Alex Yang
7d156a0b4f chore: remove process.platform check (#5395) 2025-10-17 23:34:24 +00:00
Alex Yang
cd61f51061 test: fix issue with msw (#5394) 2025-10-17 22:09:31 +00:00
Alex Yang
f0957337e3 chore(cli): improve type (#5374) 2025-10-17 20:32:00 +00:00
Taesu
f547d299a9 fix: add optional chaining for process.platform (#5390) 2025-10-17 19:36:56 +00:00
Maxwell
0b0de1f1a9 fix(anonymous): Provide ctx on accountLink (#5389) 2025-10-17 18:33:24 +00:00
Harry Yep
3a8f40ae36 feat(stripe): upgrade stripe support to v19.1.0 (#5346) 2025-10-17 10:44:24 -07:00
Ahmed Abdellahi Abdat
07d99e79d9 fix(api-key): remove incorrect usage tracking in updateApiKey (#5325)
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-10-17 17:31:26 +00:00
Bereket Engida
de333629fb chore: update example link 2025-10-17 08:43:31 -07:00
Alex Yang
4b5f637bf0 fix(organization): typecheck node exceeds the maximum length (#5372)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-10-17 03:08:55 +00:00
Bereket Engida
bae3cdf09b fix(stripe): stripe error codes should be returned from the plugin (#5371) 2025-10-16 22:42:01 +00:00
Bereket Engida
a01078ee8f fix(stripe): check for reference IDs inside during Stripe reference validation (#5354)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: cubic Bot <contact@cubic.dev>
2025-10-16 22:39:26 +00:00
Alex Yang
89475422ba fix: correct type HookEndpointContext and InternalContext (#5359) 2025-10-16 19:27:59 +00:00
Maxwell
6c93c12331 fix(api-key): don't update the lastRequest when calling updateApiKey (#5318) 2025-10-16 18:09:41 +00:00
Alex Yang
5561ba75a5 chore: bump better-call (#5348) 2025-10-16 10:48:17 +00:00
Alex Yang
6e179cf6e6 chore: release v1.4.0-beta.11 2025-10-15 17:23:39 -07:00
Alex Yang
b4a7ea6296 fix(organization): compatibility with exactOptionalPropertyTypes (#5337) 2025-10-15 23:46:03 +00:00
Ahmed Abdellahi Abdat
a048f804ff fix: respect additionalFields returned config for user data when setting cookie cache (#5327)
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-10-15 22:10:46 +00:00
Alex Yang
19f5c1409f fix(organization): compatibility with declaration on tsconfig.json (#5334)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-15 20:08:26 +00:00
Alex Yang
717d12f230 chore: remove deprecated sso plugin from better-auth (#5332) 2025-10-15 18:07:02 +00:00
Maxwell
154df760de chore(api-key): use same logic as createApiKey for authorization (#5317) 2025-10-15 17:03:26 +00:00
Alex Yang
f864b04283 refactor: share generic context during api endpoint (#5290) 2025-10-15 16:56:17 +00:00
hieudien14310
3b863e6b5d fix(admin): stricter body validation with the setUserPassword api (#5075)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2025-10-15 16:42:06 +00:00
KinfeMichael Tariku
58ffd0bc92 fix(drizzle-adapter): handle all operators in multiple where conditions (#5311)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2025-10-15 10:42:04 +00:00