Commit Graph
6898 Commits
Author SHA1 Message Date
Alex YangandGitHub f04570a6d8 chore: bump vitest version (#3810)
* chore: bump vitest version

* cleanup the server
2025-08-05 16:00:44 -07:00
Bereket Engida e57a49f99d chore: release v1.3.5-beta.2 v1.3.5-beta.2 2025-08-04 21:25:34 -07:00
Alex YangandGitHub 575070f605 chore: bump biome (#3784) 2025-08-04 13:48:54 -07:00
Bereket EngidaandGitHub 5eca938933 feat(organization): add option for requiring email verificaiton (#3785)
* feat(organization): add option for requiring email verificaiton

* add rejection

* docs: add docs
2025-08-04 13:12:46 -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 YangandGitHub 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 SanchezandGitHub 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
3266232201 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-04 11:05:28 -07:00
Bereket Engida ee63084a2e chore: remove changeset ci 2025-08-04 10:51:59 -07:00
Bereket Engida ca3a13407e chore: remove changeset 2025-08-04 10:44:45 -07:00
Bereket Engida b71e8a7ec0 Merge branch 'main' into canary 2025-08-04 10:43:02 -07:00
Alex YangandGitHub d313d0093e fix: await ctx in middleware (#3783)
* fix: await ctx in middleware

* fix: lint

* Create tidy-impalas-fail.md
2025-08-04 10:27:55 -07:00
KinfeMichael TarikuandGitHub 375fff5ac1 fix(org): use correct slug lookup when setting active org 2025-08-03 12:54:40 +03:00
Bereket Engida af239b7879 chore: remove changeset and add contributing code of conduct 2025-08-02 13:01:02 -07: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
chunterbandGitHub 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
SaviruandGitHub 884d3d5c1e docs: fix open plugins link in same tab (#3737) 2025-08-01 08:32:47 -07:00
KinfeMichael TarikuandGitHub c726753e69 feat: support multiple aud for apple oauth (#3710)
* support multiple aud

* update

* update

* changeset
2025-08-01 08:10:57 -07:00
MaxwellandGitHub 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 EngidaandGitHub 4d85d8709d revert "fix(username): isUsernameAvailable should validate usernames (#3680)" (#3730)
This reverts commit e60f780f28.
2025-07-31 23:53:32 -07:00
MaxwellandGitHub 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 ErquhartandGitHub 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 ForteandGitHub 89a0ad3395 docs: addd better-auth-localization to community plugins (#3727) 2025-07-31 22:39:22 -07:00
Grant GandGitHub 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 TarikuandGitHub 67f84d5d94 fix(expo): improve cookie expiration handling (#3705)
* fix: cookie expiration in expo

* changesets
2025-07-31 16:32:54 -07:00
Ambuj KumarandGitHub 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 TarikuandGitHub 0656f3ef95 chore: add sitemap (#3720) 2025-07-31 11:22:48 -07:00
Braden WongandGitHub 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
MaxwellandGitHub 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 SolabarrietaandGitHub 85ef3bd198 docs: update usernameValidator example return type from bool|undefined to bool (#3702) 2025-07-30 14:21:29 -07:00
renovate[bot]GitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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 EngidaandGitHub 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 DaiandGitHub 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 VanmaliandGitHub ed574aa2fb chore: twitter fix should be patch changeset (#3681) 2025-07-28 18:32:06 -07:00
renovate[bot]GitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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