KinfeMichael Tariku
70cb434f12
feat(cli): add mcp client configs from cli ( #4872 )
...
Co-authored-by: Alex Yang <himself65@outlook.com >
2025-09-30 13:41:51 -07:00
Maxwell
0a1df9e43f
chore: fix adapter tests ( #4844 )
2025-09-30 10:14:23 -07:00
zy1p
981458338d
fix(cli): timestamp in schema for Drizzle with SQLite ( #4622 )
2025-09-29 19:34:08 -07:00
Alex Yang
30fa5fc0d2
refactor: move db schema to core ( #4918 )
2025-09-26 08:11:10 +00:00
Alex Yang
831dd1d64e
fix(cli): defaultNow is deprecated in schema for Drizzle with SQLite ( #4889 )
2025-09-25 22:33:03 +00:00
Gabriel Lima
20e87a2e1c
fix(cli): add missing JSON type to schema generation ( #4494 )
...
Co-authored-by: KinfeMichael Tariku <65047246+Kinfe123@users.noreply.github.com >
2025-09-14 13:27:13 -07:00
Yurin
80b733d513
fix(prisma): handle optional field relation types correctly ( #4630 )
2025-09-13 19:11:51 +00:00
Aajeeth
589634d475
fix: correct MongoDB adapter import path in CLI ( #4602 )
2025-09-12 23:36:44 +00:00
Alex Yang
7faaeac9fc
fix(cli): info shows the correct version ( #4547 )
2025-09-09 13:46:19 -07:00
Phips Peter
f2c9df4811
feat(sqlite): remove autoincrement for SQLite ( #4466 )
2025-09-08 17:23:00 -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
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
c84b37faaf
feat: add @default and @updatedAt for prisma generator ( #4375 )
2025-09-02 21:22:08 -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
7931166c8d
feat(cli): add info script ( #4143 )
2025-08-27 10:49:34 -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
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
5ded0904d4
feat: support device authorization ( #3811 )
2025-08-21 14:59:31 -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
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
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
Ben Agnew
0d16d8e02c
fix(cli): incorrect api for auto increment in drizzle schema generation( #3940 )
2025-08-11 17:37:52 -07:00
Fraol Lemecha
2915e4c92d
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-10 01:11:56 -07:00
KinfeMichael Tariku
4c4c259a54
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:38:50 -07:00
Fraol Lemecha
2481c1d575
fix(cli): only show the overwrite message when the schema file exists and the code has changed ( #3826 )
2025-08-06 11:01:19 -07:00
Alex Yang
575070f605
chore: bump biome ( #3784 )
2025-08-04 13:48:54 -07:00
Jumpei Ogawa
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
Khiet Tam Nguyen
e11c51e210
feat(cli): added --yes for generate/migrate, deprecated --y ( #3542 )
...
* feat(cli): added --yes option, deprecated --y, as per #1937
* feat:(cli): add deprecation warning to console if --y is used
* style(cli): linted migrate.ts & generate.ts
* docs(cli): revert 1.0 changelog
2025-07-23 09:31:06 -07:00
Bereket Engida
5b1b242a88
Merge branch 'main' into v1.3
2025-07-18 20:09:14 -07:00
Bereket Engida
847fc9bfda
feat(drizzle): support camel case schema generation ( #2550 )
2025-07-18 10:39:16 -07:00
Bereket Engida
56bd676534
Merge branch 'main' into v1.3
2025-07-17 10:08:46 -07:00
KinfeMichael Tariku
15452a5402
fix: mysql foreign key constraints on generate ( #2828 )
...
* fix: mysql foreign key constraints
* lint
* clean up
* clean up
* lint
2025-07-17 09:58:52 -07:00
Abdallah
e02c28115d
fix: schema generation when using advanced.databse.useNumberId ( #3311 )
...
* fix: schema generation when using advanced.databse.useNumberId
* fix: ci test
2025-07-17 09:06:21 -07:00
KinfeMichael Tariku
4cff983e5c
refactor: migrated all packages from Zod v3 to Zod v4 ( #3399 )
...
Refactors
- Updated all imports and type references to use zod/v4.
- Replaced deprecated or changed Zod APIs and options across the codebase.
- Adjusted validation schemas and error messages to match Zod v4 requirements.
- Updated dependencies and lockfiles to use Zod v4.
2025-07-17 08:30:02 -07:00
KinfeMichael Tariku
6444c0498e
fix(cli): format drizzle schema output ( #3244 )
2025-07-02 13:45:03 -07:00
Abbas
12e15cce41
fix(drizzle-cli): use serial as PK when useNumberId is enabled ( #3228 )
2025-06-30 18:36:23 -07:00
Tai Vo
552ea8a041
feat(cli): allow cli to use custom adapter createSchema if implemented ( #3006 )
...
* the cli now uses createSchema from custom adapters
* rename function misnomer and keep old name as deprecated
2025-06-13 16:59:00 -07:00
KinfeMichael Tariku
e9b8d92438
chore: fix jsodc typo ( #2942 )
2025-06-07 11:52:12 -07:00
KinfeMichael Tariku
90cd37caee
fix: remove empty migration with semi colon ( #2927 )
2025-06-06 22:15:32 -07:00
Alex
e7aec18d7d
chore: missing quotes for drizzle default values
2025-05-16 10:02:43 -07:00
Muntasir Mahmud
d914650289
chore: clean up minor typo mistakes
2025-05-14 10:27:58 -07:00
KinfeMichael Tariku
e75c67accc
fix: resolve custom ts config path
2025-05-03 21:05:12 +03:00
KinfeMichael Tariku
af402dba3a
fix: add a default value for generated fields
2025-05-02 00:29:32 +03:00
Anthony DePasquale
863129ca70
"up to date" (no hyphens needed when not modifying a noun)
2025-04-13 14:11:08 +02:00