2d8d05330d
fix(cli): --yes option does not work on @better-auth/cli generate ( #3749 )
...
* fix: do not prompt before overwriting schema on `@better-auth/cli generate --yes ...`
* chore: changeset
---------
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com >
2025-08-02 08:58:44 -07:00
Bereket Engida
fbdf2b3a18
chore: update ignore build script
2025-08-01 23:14:16 -07:00
Bereket Engida
3babdbb07c
docs: update session mangement caveats
2025-08-01 23:02:40 -07:00
Bereket Engida
640f165a11
chore: add check for docs build
2025-08-01 16:52:38 -07:00
Bereket Engida
fed08b1587
chore: add delete user disabled test
2025-08-01 15:14:29 -07:00
a2474faac6
docs: remove nonexistent invitation.createdAt field, add missing invitation.teamId field ( #3741 )
...
* docs: remove invitation.createdAt, add invitation.teamId
* docs: add team id optionally
---------
Co-authored-by: Bereket Engida <Bekacru@gmail.com >
2025-08-01 13:11:10 -07:00
91cae8aa1e
docs: fix wrong cancelUrl and returnUrl descriptions ( #3647 )
...
* docs: fix wrong cancelUrl and returnUrl descriptions
* chore: changeset
* chore: update changeset
---------
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com >
2025-08-01 09:43:48 -07:00
e5f3f31311
feat(passkey): allow custom passkey name during registration ( #3587 )
...
* feat(passkey): allow custom passkey name during registration
* lint
* docs: specify name prop in passkey docs
* chore: add changeset
* chore: changeset
* chore: update changeset
* remove changest
---------
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com >
2025-08-01 09:43:35 -07:00
7fa90f8d4d
fix(organization): updated types for the user argument in allowUserToCreateOrganization to support custom fields ( #3600 )
...
* fix: organization allowUserToCreateOrganization user argument typing
* chore: changeset
---------
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com >
2025-08-01 08:45:14 -07:00
Saviru and GitHub
884d3d5c1e
docs: fix open plugins link in same tab ( #3737 )
2025-08-01 08:32:47 -07:00
KinfeMichael Tariku and GitHub
c726753e69
feat: support multiple aud for apple oauth ( #3710 )
...
* support multiple aud
* update
* update
* changeset
2025-08-01 08:10:57 -07:00
Maxwell and GitHub
3225926889
docs(org): inferOrgAdditionalFields has wrong import path ( #3734 )
...
The newly introduced `inferOrgAdditionalFields` has the wrong import path in the docs.
2025-08-01 11:20:15 +03:00
4833a4b395
fix: incorrect initialization of remaining value within API key ( #3648 )
...
* Fixes #3640 - Resolves issue related to incorrect initialization of remaining value within API key.
* Adding test cases for fix of #3640 .
* chore: update changeset
---------
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com >
2025-08-01 00:22:15 -07:00
Bereket Engida and GitHub
4d85d8709d
revert "fix(username): isUsernameAvailable should validate usernames ( #3680 )" ( #3730 )
...
This reverts commit e60f780f28 .
2025-07-31 23:53:32 -07:00
Maxwell and GitHub
e60f780f28
fix(username): isUsernameAvailable should validate usernames ( #3680 )
2025-07-31 23:50:22 -07:00
Bereket Engida
5ce1473b19
chore: release v1.3.5-beta.1
v1.3.5-beta.1
2025-07-31 23:16:10 -07:00
Shawn Erquhart and GitHub
142136076a
fix: cast dates from session to Date when using date methods ( #3704 )
...
* fix: cast dates from session to Date when using date methods
* add changeset
2025-07-31 23:15:19 -07:00
Marcel Losso Forte and GitHub
89a0ad3395
docs: addd better-auth-localization to community plugins ( #3727 )
2025-07-31 22:39:22 -07:00
Grant G and GitHub
60c92fab0b
fix(jwt): expose jwt options to plugins ( #3726 )
2025-07-31 22:27:26 -07:00
b27221b356
feat: return false from generateId callback to imply database-generated ID ( #3723 )
...
* feat: return false from generateId to imply database-generated ID
* chore: add changeset
* chore: update changeset
---------
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com >
2025-07-31 17:21:34 -07:00
KinfeMichael Tariku and GitHub
67f84d5d94
fix(expo): improve cookie expiration handling ( #3705 )
...
* fix: cookie expiration in expo
* changesets
2025-07-31 16:32:54 -07:00
Ambuj Kumar and GitHub
685f70ae3d
docs: update dodopayments docs due to breaking change in the package ( #3715 )
...
since version 1.0.0, all the endpoints exposed by the
@dodopayments/better-auth adapter now include a `dodopayments` prefix to
prevent conflict with other payment related better-auth plugins.
2025-07-31 16:23:28 -07:00
KinfeMichael Tariku and GitHub
0656f3ef95
chore: add sitemap ( #3720 )
2025-07-31 11:22:48 -07:00
Braden Wong and GitHub
33b0635c4d
docs(hono): clarify CORS middleware must be registered before routes ( #3707 )
...
- Add complete example showing app.on() and serve() after CORS setup
- Include important note explaining CORS must come before route registration
- Ensures consistency with middleware section and prevents user confusion
- Critical for proper cross-origin request handling in authentication endpoints
2025-07-31 00:24:22 -07:00
Maxwell and GitHub
15e0e59f6d
docs: remove invalid customPaths option ( #3709 )
...
Previously a merged PR had this, but that PR was revered however didn't reverse the docs for it.
2025-07-31 00:19:18 -07:00
Mikel Solabarrieta and GitHub
85ef3bd198
docs: update usernameValidator example return type from bool|undefined to bool ( #3702 )
2025-07-30 14:21:29 -07:00
4ad0a419d3
chore(deps): update dependency next to v15.3.3 [security] ( #3666 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-29 21:58:56 -07:00
Bereket Engida and GitHub
2ec8cad610
fix(stripe): fallback to subscription id instead of picking the first sub if id is provided ( #3696 )
...
* fix(stripe): fallback to subscription id instead of picking the first if subId is provided
* chore(changeset): add changeset for fallback to subscription id in stripe
2025-07-29 20:59:22 -07:00
Xuezhou Dai and GitHub
d1d593f2d1
fix(admin): export type definitions from the admin plugin ( #3628 )
2025-07-29 14:22:34 -07:00
978b28588e
chore: remove unnecessary console log ( #3691 )
...
* chore: cleanup log
* chore: add changeset
---------
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com >
2025-07-29 10:47:14 -07:00
Dylan Vanmali and GitHub
ed574aa2fb
chore: twitter fix should be patch changeset ( #3681 )
2025-07-28 18:32:06 -07:00
ecb4408c41
chore(deps): update dependency vite to v6 [security] ( #3667 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-28 12:41:17 -07:00
Bereket Engida
259184641e
chore: renovate
2025-07-27 23:25:05 -07:00
Bereket Engida
e27523fd07
chore: cleanup database guide
2025-07-27 22:01:02 -07:00
Bereket Engida
de50a5a41c
docs: fix typo on cookies guide
2025-07-27 22:01:02 -07:00
29c0df5f12
fix: pass loginHint to Microsoft oauth URL ( #3663 )
...
* Pass `loginHint` to Microsoft OAuth URL
* chore: lint
* chore: add changeset
---------
Co-authored-by: Bereket Engida <Bekacru@gmail.com >
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com >
2025-07-27 21:55:51 -07:00
Bereket Engida
040092bf7c
docs: fix typo
2025-07-27 21:52:59 -07:00
Bereket Engida
65fed29873
docs: improve cookie concept guide
2025-07-27 21:51:33 -07:00
KinfeMichael Tariku and GitHub
a066293b35
docs: replace changelog og image ( #3661 )
2025-07-27 20:30:16 -07:00
Bereket Engida
d587f5b604
chore: enable subdomain cookies
2025-07-27 20:29:38 -07:00
Tayfun Gülcan and GitHub
76cac0eaa6
docs: fix import typo in svelte kit guide ( #3654 )
2025-07-27 17:51:41 -07:00
Marcel Losso Forte and GitHub
3afb25a780
docs: update password change instructions ( #3641 )
...
* docs: update password change instructions
* docs: add missing `requireSession` to change-password API method
2025-07-27 13:15:02 -07:00
Chase and GitHub
e4af2530f0
fix: twitter refresh token requires basic authentication ( #3652 )
...
* Use basic auth for refreshing token
* change set
2025-07-27 13:13:59 -07:00
Marcel Losso Forte and GitHub
e7af3aa80c
docs: typo and wrong ref for additional fields in Email & Password page ( #3639 )
2025-07-26 20:15:54 -07:00
Bereket Engida and GitHub
a536de91c2
fix(stripe): update customer id should also trigger secondary storage update ( #3635 )
...
* fix: update customer id should also update secondary storage
* chore: add changeset
2025-07-26 12:07:55 -07:00
Bereket Engida
8fdcf54a7b
docs: fix account deletion process for OAuth users
2025-07-26 11:47:24 -07:00
23d6f30b41
chore: ensure zod version alignment via peerDependency ( #3619 )
...
* zodv4
* fix
* lock
* pkg
---------
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com >
2025-07-26 09:02:54 -07:00
Bereket Engida
02f19810d6
chore(release): version packages
@better-auth/cli@1.3.4
@better-auth/expo@1.3.4
@better-auth/sso@1.3.4
@better-auth/stripe@1.3.4
better-auth@1.3.4
2025-07-26 01:10:54 -07:00
776c4ae3fe
chore(release): version packages ( #3623 )
...
* chore(release): version packages
* chore: remove lock file
* chore: fix ci
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-26 00:56:29 -07:00
Bereket Engida and Bereket Engida
2b2fd0c77d
chore: fix ci
2025-07-26 00:35:37 -07:00