Commit Graph

601 Commits

Author SHA1 Message Date
Bereket Engida
347dcfd09d chore: release v1.3.9-beta.2 2025-09-04 19:50:57 -07:00
Alex Yang
158841dd91 chore: release v1.3.9-beta.1 2025-09-03 19:25:09 -07:00
Alex Yang
efdb4ce4f0 chore: enable noFloatingPromises lint rule (#3842) 2025-09-03 15:02:45 -07:00
Alex Yang
a6ba8ac068 fix(db): special case schema generation ID (#4400) 2025-09-03 13:40:54 -07:00
renovate[bot]
e7c0b8b287 fix(deps): update all non-major dependencies (#3915)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-03 08:32:21 -07:00
Evan
9fb9bd92f8 feat: use defaultNow() for drizzle timestamp fields (#3873)
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-09-03 08:13:06 -07:00
Alex Yang
77042b4a8d fix: add missing defaultValue on core schema (#4374) 2025-09-03 00:15:16 -07:00
Alex Yang
c84b37faaf feat: add @default and @updatedAt for prisma generator (#4375) 2025-09-02 21:22:08 -07:00
Alex Yang
02586f9e0b chore: bump version (#4345) 2025-09-01 13:23:28 -07:00
Bereket Engida
8540c6b754 chore: release v1.3.8-beta.10 2025-09-01 13:21:37 -07:00
Bereket Engida
c0768c07c6 chore: release v1.3.8-beta.9 2025-08-31 16:47:12 -07:00
Bereket Engida
8021d83aff chore: release v1.3.8-beta.8 2025-08-31 00:59:23 -07:00
Taesu
df6151d161 fix(cli): simplify and correct comma insertion logic in plugin array (#4281) 2025-08-29 11:40:39 -07:00
Alex Yang
70d4dc609a chore: enable lint rule noTsIgnore (#4296) 2025-08-28 15:09:47 -07:00
Alex Yang
f5c9022594 chore: release v1.3.8-beta.6 2025-08-28 10:13:53 -07:00
Alex Yang
e8d319382a chore: release v1.3.8-beta.5 2025-08-28 09:53:31 -07:00
Alex Yang
878de4e524 test: fix directory not exist (#4271) 2025-08-27 13:16:16 -07:00
Alex Yang
7931166c8d feat(cli): add info script (#4143) 2025-08-27 10:49:34 -07:00
Alex Yang
eca7fc5ec7 chore: release v1.3.8-beta.4 2025-08-26 21:28:36 -07:00
Alex Yang
240ef3d20e feat: add onUpdate field on db schema generation (#4241)
Fixes: https://github.com/better-auth/better-auth/issues/4187
2025-08-26 15:28:20 -07:00
Alex Yang
557dc39c32 chore: remove unused deps (#4227) 2025-08-25 17:48:13 -07:00
Alex Yang
4b5d4baf59 fix: make zod as dependency (#4205) 2025-08-24 16:35:55 -07:00
Maxwell
5d84a76a54 fix(cli): Incorrect drizzle schema gen (#4132) 2025-08-23 18:18:10 -07:00
Alex Yang
55ec22c877 fix: small dx for device login (#4141) 2025-08-21 17:46:11 -07:00
Alex Yang
6bb27e160c chore: release v1.3.8-beta.3 2025-08-21 16:36:14 -07:00
Alex Yang
5ded0904d4 feat: support device authorization (#3811) 2025-08-21 14:59:31 -07:00
Bereket Engida
ed17525775 chore: release v1.3.8-beta.2 2025-08-21 11:38:51 -07:00
Alex Yang
bb634a0f5c fix(cli): generate throws error with default export (#4113) 2025-08-20 16:25:32 -07:00
Eniola Osabiya
d9f8806090 fix(cli): check for undefined defaultValue instead of truthy value when generating drizzle schema(#3512) 2025-08-20 09:35:44 -07:00
Bereket Engida
fc47acad5f chore: release v1.3.8-beta.1 2025-08-18 21:26:57 -07:00
Bereket Engida
99834437b0 fix: secondary storage should allow returning both string and parsed json (#4076)
* docs: hero section alignment with feature section on big screens (#4018)

* fix: hero section alignment with feature section on big screens

* fix

---------

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

* chore: fix broken testomnial link

* fix(sso): [⚠︎Security] - membership check should be required before allowing users to create sso for an organization

* chore: update sso docs

* chore: fix import typo

* docs: hero section alignment with feature section on big screens (#4018)

* fix: hero section alignment with feature section on big screens

* fix

---------

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

* chore: fix broken testomnial link

* fix(sso): [⚠︎Security] - membership check should be required before allowing users to create sso for an organization

* chore: update sso docs

* chore: fix import typo

* chore: release v1.3.7-beta.4

* chore: release v1.3.7

* support both json and string

* add test and type

* fix up docs

* fix test

* fix test

* fix type

---------

Co-authored-by: KinfeMichael Tariku <65047246+Kinfe123@users.noreply.github.com>
2025-08-18 21:08:39 -07:00
KinfeMichael Tariku
9a6a8d741b feat(cli): support sveltekit $ imports in CLI generate cmd (#4042)
* sync

* lint

* sync

* sync

* lint
2025-08-17 01:11:27 -07:00
Erick Christian
c5d10fda64 feat(cli): resolves tsconfig references for path aliases (#3764)
* feat(cli): resolves tsconfig references for path aliases

Previously references field was ignored and path aliases were only taken
from main tsconfig file

* chore: generate changeset

* test(cli): config is loaded correctly with alias

* chore: remove changeset

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
Co-authored-by: KinfeMichael Tariku <65047246+Kinfe123@users.noreply.github.com>
2025-08-16 09:34:50 -07:00
Bereket Engida
7d284cf35e chore: release v1.3.7-beta.3 2025-08-15 21:50:26 -07:00
Bereket Engida
730773bf88 chore: release v1.3.7-beta.2 2025-08-15 18:30:16 -07:00
KinfeMichael Tariku
1993317251 fix(cli): clean up unused pg and mysql import in drizzle schema generator (#3974)
* fix(cli): clean up unused pg import in schema generator

* sql clean up

* clean up
2025-08-14 18:35:26 -07:00
KinfeMichael Tariku
1cbea683d8 fix(cli): add FK onDelete cascade and CURRENT_TIMESTAMP defaults on generation (#3906)
* fix(db): add FK onDelete (cascade) and CURRENT_TIMESTAMP defaults for date columns

* default generate

* console

* update
2025-08-13 18:13:01 -07:00
Bereket Engida
fe769793cf chore: release v1.3.6 2025-08-12 20:13:13 -07:00
Bereket Engida
af1b0f3f53 chore: release v1.3.6-beta.2 2025-08-12 19:58:07 -07:00
KinfeMichael Tariku
f6b5735ce9 fix: prevent static nodejs imports and lazy import for non-nodejs env (#3947)
* fix(cli): incorrect api for auto increment in drizzle schema generation(#3940)

* fix(organization): make plugin schema compatible with exactOptionalPropertyTypes; build schema object without undefined optional keys and merge team tables conditionally; keep session fields literal and add teams conditionally

* fix: restore non-Node.js support by lazily importing

* test

* cleanup

* clean up

* lint

* fix(email-otp): type issue with extractOptionPropertyTypes (#3961)

* docs: add github star count in the community section  (#3960)

* github star count

* cubix issue fix

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>

* chore: lint

---------

Co-authored-by: Ben Agnew <78829885+ben-agnew@users.noreply.github.com>
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
Co-authored-by: Dagmawi Babi <44819176+dagmawibabi@users.noreply.github.com>
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-08-12 19:57:40 -07:00
Bereket Engida
031888178d chore: release v1.3.6-beta.1 2025-08-11 20:03:43 -07:00
Bereket Engida
96a0b621cd chore: release v1.3.5 2025-08-11 09:58:40 -07:00
Bereket Engida
3825e583a6 chore: release v1.3.5-beta.7 2025-08-11 09:58:40 -07:00
Bereket Engida
08d9c7327f chore: release v1.3.5-beta.6 2025-08-11 09:58:40 -07:00
Fraol Lemecha
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
Bereket Engida
24cc8085a0 chore: release v1.3.5-beta.5 2025-08-11 09:58:40 -07:00
Fraol Lemecha
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
Bereket Engida
47359dc1b5 chore: release v1.3.5-beta.3 2025-08-11 09:58:40 -07:00
Alex Yang
50c465d73a chore: bump vitest version (#3810)
* chore: bump vitest version

* cleanup the server
2025-08-11 09:58:39 -07:00