Commit Graph
6898 Commits
Author SHA1 Message Date
Bereket Engida 08d9c7327f chore: release v1.3.5-beta.6 2025-08-11 09:58:40 -07:00
Bereket Engida f1898b005a chore: remove unused import 2025-08-11 09:58:40 -07:00
Bereket Engida b73d3b26a7 chore: remove unused componenet 2025-08-11 09:58:40 -07:00
Fraol LemechaBereket EngidaKinfe123Bereket Engidacubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>Alex Yang
1e6735495e feat: add telemetry (#3822)
* feat: telemetry

Co-authored-by: Kinfe123 <kinfishtech@gmail.com>

* chore: remove changeset

* fix: do not generate project id unless telemetry is enabled

* fix: return `isInsiderContainerCached`

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* chore: remove unused utils file

* fix: properly cache generated project id

* feat: interpret empty env vars as false

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* fix: use nullish coalescing to set fallback

* fix: should be `isInsideContainerCached`

* fix: unique icons + tooltip for telemetry component

* fix: import child process from node

* fix: remove quotes in description

Co-authored-by: Alex Yang <himself65@outlook.com>

* fix: address reviews

Co-authored-by: Alex Yang <himself65@outlook.com>

* chore: refactor

* refactor

* add tests

* cache pkg json

* add cli tracking

* add migrate

* chore fix xi

* skip tet

* update snapshot

* chore: fix typecheck

* Expand telemetry docs: list collected fields, clarify anonymous redaction via getTelemetryAuthConfig, and document CLI events and audit/opt‑out paths.

* docs

* doc cleanup

* fixes

* remove git first commit message

* update docs

---------

Co-authored-by: Kinfe123 <kinfishtech@gmail.com>
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Alex Yang <himself65@outlook.com>
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-08-11 09:58:40 -07:00
Alex YangandBereket Engida 953ed14112 docs: hydration fix on wrapping table content (#3876) 2025-08-11 09:58:40 -07:00
MaxwellandBereket Engida 53260f22d8 fix(mcp): redirect returns json instead of 302 (#3838)
* fix(mcp): Redirect returns json instead of 302

https://github.com/better-auth/better-auth/issues/2914

* chore: lint

---------

Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-08-11 09:58:40 -07:00
gwoodbridgeandBereket Engida 15c1e3b882 fix(organization): convert emails to lower case for invitation lookups (#3835)
* fix(organization): convert emails to lower case

* Add tests and convert listUserInvitations to lower case

* Fix lint and tests now that a new user is added to org

* Fix typecheck
2025-08-11 09:58:40 -07:00
Bereket Engida 24cc8085a0 chore: release v1.3.5-beta.5 2025-08-11 09:58:40 -07:00
Grant GandBereket Engida 18f72643ef feat(oidc-provider): allow passing oauth consent code via query params (#3845)
* feat: pass oauth consent code via query params

* address cubic comments

* fix tests

* address comments
2025-08-11 09:58:40 -07:00
Alex YangandBereket Engida dabc51a62a fix(tiktok): client id is not used for TikTok social provider (#3846)
* fix: client id is unused for TikTok social provider

* fix: set header
2025-08-11 09:58:40 -07:00
Bereket Engida 464bc5c731 chore: enable ci for all branches 2025-08-11 09:58:40 -07:00
KinfeMichael TarikuandBereket Engida ae8032e879 fix: ensure zod v4 type annotations work with core types (#3834)
* fix: ensure zod v4 type annotations work with core types

* chore: lint

---------

Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-08-11 09:58:40 -07:00
Fraol LemechaandBereket Engida 07ce74ee3c fix: client secret should be optional in configuring the generic oauth plugin (#3824)
* fix: client secret should be optional because not all oauth authorizations method require it

* fix: use empty string as a secret fallback

* fix: don't use else if

Co-authored-by: Bereket Engida <Bekacru@gmail.com>

---------

Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-08-11 09:58:40 -07:00
9498f68218 test: improve test case for email verification (#3746)
* test: add the test case for email verification

* fixup! test: add the test case for email verification

* chore: remove changeset

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-08-11 09:58:40 -07:00
a54da1d24b feat: remove revoked session from active sessions list (#3820)
* feat: remove revoked session from active list

* feat: remove revoked session from active list

* should throw error?

* feat: bypass logger

* test: update

* chore: fix types

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-08-11 09:58:40 -07:00
Fraol LemechaandBereket Engida 7c43ff0bf2 fix(cli): only show the overwrite message when the schema file exists and the code has changed (#3826) 2025-08-11 09:58:40 -07:00
Bereket Engida 772e6c78cc chore: release v1.3.5-beta.4 2025-08-11 09:58:40 -07:00
4114681b4b fix(generic-oauth): set account id from mapped user fields when creating account (#3649)
* fix: generic oauth plugin - 

* chore: add changeset

* chore: remove changeset

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-08-11 09:58:40 -07:00
Bereket Engida 47359dc1b5 chore: release v1.3.5-beta.3 2025-08-11 09:58:40 -07:00
Bereket Engida 80b27f665e chore: upgrade better-call version 2025-08-11 09:58:40 -07:00
Grant GandBereket Engida b2ac809e5e feat(oidc-provider): add client to getAdditionalUserInfoClaim callback (#3790)
* feat: add oidc Client to getAdditionalUserInfoClaim

* address cubic comments

* run format
2025-08-11 09:58:40 -07:00
Alex YangandBereket Engida 84b5db26f8 feat: allow getUserInfo to return number type (#3816)
* fix: check user info id before link account

* fix: don't check

* feat: allow `getUserInfo` returns number type

* feat: allow `getUserInfo` returns number type

* fix: revert

* fix: lint
2025-08-11 09:58:39 -07:00
1b6145bf3f fix(mssql): "text" datatype is not working with mssql (#3144)
* fix(mssql-datatypes): text datatype is going to be removed from future version of SQL Server, Microsoft recommends to not use it anymore

* update: use varchar(max) instead

* fix

---------

Co-authored-by: ping-maxwell <maxwell.multinite@gmail.com>
2025-08-11 09:58:39 -07:00
Bereket Engida 46e248edb6 chore: remove log 2025-08-11 09:58:39 -07:00
KinfeMichael TarikuandBereket Engida ec660b305f fix(magic-link): magic link URL construction (#3770)
* magic link pathname issue

* lint

* changesets

* remove changesets

* respect basePath if baseUrl has no pathname
2025-08-11 09:58:39 -07:00
Alex YangandBereket Engida 50c465d73a chore: bump vitest version (#3810)
* chore: bump vitest version

* cleanup the server
2025-08-11 09:58:39 -07:00
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 EngidaandBereket 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 YangandBereket 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
Bereket Engida 29cdaddd97 docs: hero padding should match the features section 2025-08-11 09:56:42 -07:00
2fb850c227 fix(organizaton): avoid cross organization member role updates (#3932)
* Add organization membership check before updating member role

* Fix lint error

* add test

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-08-11 08:02:46 -07:00
Bereket Engida 358b5619af chore: fix ci 2025-08-11 07:32:35 -07:00
Alex YangandGitHub 8be5ede269 docs: remove unused import (#3927) 2025-08-11 14:12:20 +03:00
KinfeMichael TarikuandGitHub f242400b1b docs: update missing links on contribution guide (#3922)
* docs: unify component implementations for consistency (#3799)

* fix(docs): unify component implementations for consistency

* update

* docs: contribution guide link

* lint
2025-08-11 14:09:07 +03:00
KinfeMichael TarikuandGitHub 17717d6b67 fix: handle inconsistent user update error in phone number plugin (#3925) 2025-08-11 14:08:06 +03:00
Typed SIGTERMandGitHub a6752eb059 chore: update bug report template (#3905) 2025-08-11 00:04:01 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
225447a38c chore(deps): bump form-data from 3.0.3 to 3.0.4 (#3919)
Bumps [form-data](https://github.com/form-data/form-data) from 3.0.3 to 3.0.4.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/v3.0.4/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v3.0.3...v3.0.4)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 3.0.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-11 00:00:16 -07:00
Bereket Engida 909a0595ca chore(demo): fix deployement 2025-08-10 23:54:49 -07:00
Bereket Engida 6675691efe chore: fix demo typechecking 2025-08-10 23:48:34 -07:00
Bereket Engida a5bddf1675 chore: change examples url 2025-08-10 23:44:16 -07:00
Bereket EngidaGitHubcubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
e16a289f9e chore: remove examples and dev folder (#3917)
* chore: remove examples

* chore: add integration tests for Bun and Cloudflare environments

- Introduced integration tests for Bun and Cloudflare, including authentication and database setup.
- Updated pnpm workspace configuration to include integration tests.
- Removed example projects and unnecessary dependencies from pnpm-lock.yaml.
- Added .gitignore files for both Bun and Cloudflare integration tests.
- Created necessary configuration files and schemas for database interactions.
- Updated package.json files to include relevant dependencies for integration testing.

* chore: check for navigtaor

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* await docker

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* await isWSL

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* cloudflare checks

* lockfile

* chore: lint

* only run ci on specefic branches

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-08-10 22:55:29 -07:00
renovate[bot]GitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
d72f17de5f fix(deps): update better-auth dependencies (#3916)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-10 20:51:20 -07:00
Bereket Engida e5707e38d1 chore: release v1.3.5-beta.7 v1.3.5-beta.7 2025-08-10 19:37:05 -07:00
Bereket Engida 435e3b5c7c chore: release v1.3.5-beta.7 2025-08-10 19:36:31 -07:00
Bereket EngidaandGitHub e6730153cb fix: allow returning response object to skip after hooks (#3914)
* fix: allow returning response object to skip after hooks

* add mcp test

* check if result is defined
2025-08-10 19:35:29 -07:00