Bereket Engida
45cedddbb0
chore: release v1.3.5-beta.2
2025-08-11 09:58:39 -07:00
Bereket Engida
e5d2a5dbbd
chore: bump biome ( #3784 )
2025-08-11 09:58:30 -07:00
Bereket Engida and Bereket Engida
f88e4b8dfb
feat(organization): add option for requiring email verificaiton ( #3785 )
...
* feat(organization): add option for requiring email verificaiton
* add rejection
* docs: add docs
2025-08-11 09:58:01 -07:00
24540ed727
fix: plugins options type compatibility issue with exactOptionalPropertyTypes enabled in ts-config ( #3769 )
...
* tsconfig option
* Create odd-forks-fail.md
changesets
* chore: remove changeset
---------
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com >
2025-08-11 09:58:01 -07:00
Bereket Engida
cc9284447f
chore: remove changeset ci
2025-08-11 09:58:01 -07:00
Bereket Engida
49055fc3b0
chore: remove changeset
2025-08-11 09:58:01 -07:00
Bereket Engida
ccd22d4c4c
chore: remove changeset and add contributing code of conduct
2025-08-11 09:58:01 -07:00
Alex Yang and Bereket Engida
1bbdcfbd77
fix: await ctx in middleware ( #3783 )
...
* fix: await ctx in middleware
* fix: lint
* Create tidy-impalas-fail.md
2025-08-11 09:58:01 -07:00
Alex Yang and GitHub
8be5ede269
docs: remove unused import ( #3927 )
2025-08-11 14:12:20 +03:00
Braden Wong and GitHub
f281c92b99
docs(hono): update RPC client to use init config instead of custom fetch ( #3597 )
2025-08-10 08:32:24 +03:00
Dagmawi Babi and GitHub
5e0dace337
docs: fix google auth prompt ( #3894 )
...
Google OAuth2 uses space delimiters instead of +
https://developers.google.com/identity/protocols/oauth2/web-server
2025-08-09 12:18:04 -07:00
Dagmawi Babi and GitHub
44c407a513
chore: update api key docs ( #3864 )
...
Closes #3724
2025-08-08 09:03:34 -07:00
0fe1770404
docs: fix typo in SSR performance section
...
The line was missing "the".
Co-authored-by: KinfeMichael Tariku <65047246+Kinfe123@users.noreply.github.com >
2025-08-07 19:25:57 +03:00
KinfeMichael Tariku and GitHub
bb7d504efe
docs: enhance trustedOrigins option with examples ( #3857 )
...
* docs: enhance trustedOrigins option documentation
* nit
2025-08-07 09:09:19 -07:00
Jovan Lanutan and GitHub
236c29e270
docs: remove unused import of 'auth' type in authClient setup ( #3856 )
...
In the previous implementation, the import statement for 'auth' type from './auth' was included as part of the setup for the authClient, but it is no longer being used in the current code. This update removes the unnecessary import to clean up the code and prevent potential confusion.
Additionally, the authClient setup remains intact with the use of 'inferAdditionalFields' plugin to define additional user fields (role type set to 'string').
- Removed unused import: `import type { auth } from "./auth"`
- Kept the authClient initialization with 'inferAdditionalFields' plugin
This resolves a minor issue and ensures that the code remains clean and maintainable.
2025-08-07 19:08:40 +03:00
Hysterelius and GitHub
723a4f4dde
docs: update TOTP 2FA docs to state that Better-Auth implements a delay window ( #3586 )
...
Better Auth uses a delay window for TOTP code verification to ensure that it is resilient to time delays
2025-08-06 17:00:11 -07:00
KinfeMichael Tariku and GitHub
48063b6b3c
fix(cli): prisma schema generate mismatch on custom plugin table names ( #3021 )
...
* fix: generate mismatch
* clean up
* linkt
* lint
* clean up
* clean up
* lint
* lint
* test
* clean up
* clean up
* lint
* update
2025-08-06 16:35:03 -07:00
b5273623bf
feat(stripe): create billing portal session ( #3625 )
...
* feat(stripe) : add billing portal session endpoint
* create billing portal session
* update docs
* chore: changeset
* chore: fix stripe
* chore: remove comment
* chore: update docs
---------
Co-authored-by: Bereket Engida <Bekacru@gmail.com >
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com >
2025-08-06 16:09:32 -07:00
KinfeMichael Tariku and GitHub
9c4a7b5d96
fix(organization): team members should be cleaned up on delete team ( #3833 )
2025-08-06 11:35:04 -07:00
KinfeMichael Tariku and GitHub
69d5239e8f
fix: add missing team reference in teamMember schema ( #3801 )
2025-08-05 17:31:21 -07:00
KinfeMichael Tariku and GitHub
1932d04c5a
docs: unify component implementations for consistency ( #3799 )
...
* fix(docs): unify component implementations for consistency
* update
2025-08-05 17:23:03 -07:00
669ce3e6b7
fix(reddit): refresh access token should use basic auth ( #3753 )
...
* reddit auth type
* changesets
* chore: remove changeset
---------
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com >
2025-08-04 12:50:24 -07:00
Alex Yang and GitHub
2afdd69e95
chore(demo): replace isLoading using useTransition ( #3775 )
...
* fix: use `useTransition` for isLoading
* fixup! fix: use `useTransition` for isLoading
2025-08-04 11:11:20 -07:00
Manuel Sanchez and GitHub
e37e673e04
docs: adding reference to surrealdb adapter rewrite ( #3754 )
...
Adding reference to surrealdb adapter rewrite, with passing tests and schema generation as well as surreal native parameters.
2025-08-04 11:07:44 -07:00
KinfeMichael Tariku and GitHub
375fff5ac1
fix(org): use correct slug lookup when setting active org
2025-08-03 12:54:40 +03:00
Bereket Engida
987be984b4
chore(demo): add loading state on sign in button
2025-08-02 11:17:35 -07:00
5124b40283
chore: upgrade TypeScript version ( #3748 )
...
* chore: fix TypeScript to a correct version
* fixup! chore: fix TypeScript to a correct version
* chore: fix typecheck
---------
Co-authored-by: Bereket Engida <Bekacru@gmail.com >
2025-08-02 10:18:55 -07:00
chunterb and GitHub
85415ac768
fix(plugins): export siwe plugin ( #3503 )
...
* fix(plugins): export siwe plugin
* fix(plugins): export siweClient from client plugins
* fix(plugins): siwe plugin client types
2025-08-02 09:47:08 -07:00
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