Commit Graph

97 Commits

Author SHA1 Message Date
Gustavo Valverde
0cbddb8fa4 refactor(db): rename claimOne adapter primitive to consumeOne (#9568) 2026-05-12 07:44:07 +00:00
Gustavo Valverde
a2c0c9346e feat(db): add atomic claimOne adapter primitive (#9560) 2026-05-11 20:10:29 +00:00
Gautam Manchandani
e44427b373 fix(cli): emit working Kysely init configs (#9455)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-05-06 17:45:32 +00:00
Taesu
4673c6d83c fix(cli): handle extends and mid-path wildcards in tsconfig paths (#9032) 2026-04-10 16:26:53 +00:00
armful
e78a7b120d fix(two-factor): prevent unverified TOTP enrollment from gating sign-in (#8711)
Co-authored-by: Gustavo Valverde <g.valverde02@gmail.com>
2026-04-09 08:48:10 +00:00
Gustavo Valverde
e089ce127d chore(knip): fix CI blind spots and remove dead code (#8888) 2026-04-02 19:28:30 +00:00
Taesu
b00692d4ea fix(cli): treat omitted required as true in Drizzle and Prisma generators (#8614) 2026-03-16 17:12:48 +00:00
Alex Yang
b5e2203f14 fix(cli): resolve path aliases from extended tsconfig files (#8520) 2026-03-09 18:03:46 +00:00
Bereket Engida
859367a813 chore: lint 2026-02-28 15:55:57 -08:00
Maxwell
3485e5e96c feat(cli): generate schema from adapter CLI flag (#7316)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2026-02-28 15:38:12 -08:00
Alex Yang
f77c391393 chore: bump prisma to v7 (#8166)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 02:24:32 +00:00
Joél Solano
cf8322707c feat: auth cli (#7964) 2026-02-15 07:44:50 +00:00
Alex Yang
c5803173fe test: use vitest best practice (#7888) 2026-02-10 06:32:03 +00:00
Alex Yang
00c95728f1 Revert "feat: make name field optional (#7617)"
This reverts commit e0df7c9e38.
2026-02-02 10:52:19 -08:00
Taesu
e0df7c9e38 feat: make name field optional (#7617) 2026-01-29 23:42:52 +00:00
Max
4588fb4d84 chore(cli): export schema generators via /api subpath (#7082)
Co-authored-by: Alex Yang <himself65@outlook.com>
2026-01-02 15:43:28 +08:00
Maxwell
5ce4d098fa fix(cli): deduplicate drizzle schema relationships (#6547) 2025-12-05 17:07:59 -08:00
Alex Yang
47044905d4 chore(cli): reduce better-auth imports (#6507) 2025-12-03 21:17:46 -08:00
Alex Yang
123bdee671 fix(cli): compatibility for Prisma v7 in schema generation (#6459) 2025-12-02 11:27:36 -08:00
KinfeMichael Tariku
39eb685200 fix: improve error handling for unsupported additionalFields on generate (#3977) 2025-11-29 22:27:45 -08:00
Ridhim Singh Raizada
1abd7147e4 feat(cli): better-auth-command (#6362) 2025-11-27 19:49:17 -08:00
Maxwell
dc2f56985f chore(fix): usePlural should work wtith joins (#6132)
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-11-21 18:12:35 +00:00
Alex Yang
252ab7e2fa test: update snapshot expectations to use async/await (#6141) 2025-11-20 20:37:05 +00:00
Jonathan Samines
57ee11a26f chore(lint): enforce consistent import type style (#6044) 2025-11-17 21:11:39 +00:00
Maxwell
f5bbb96d4e feat: adapter join support (#5730) 2025-11-15 16:55:50 +00:00
Maxwell
b39273a94f fix: use identity instead of serial for pg schema (#5943) 2025-11-13 01:15:39 +00:00
rovertrack
09162d3d12 feat(prisma): enhance JSON default value handling for arrays and objects in schema generation (#5904)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-11-11 18:21:03 +00:00
Maxwell
705f7434c7 fix: treat generateId "serial" as numeric ID and correct UUID column types across adapters (#5823) 2025-11-11 18:04:24 +00:00
Maxwell
af6ebfe879 feat: auto-index CLI (#5357)
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-11-10 14:12:48 -08:00
Bereket Engida
4ac3476642 feat: add support for uuids (#5809)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-11-07 05:47:51 +00:00
Alex Yang
073053c85c test: fix cli path (#5788) 2025-11-06 00:01:41 +00:00
Alex Yang
300b10ce5c chore: bump version (#5766) 2025-11-05 23:13:24 +00:00
Taesu
f327e336c8 refactor: split the passkey plugin into a separate package (#5769) 2025-11-05 17:05:39 +00:00
Christian Bager Bach Houmann
cf050967e5 feat(cli): support Cloudflare Workers virtual module imports (#5559) 2025-10-28 03:15:04 +00:00
Alex Yang
938c2a7c31 chore: lint enable organize import (#5556) 2025-10-24 19:05:09 +00:00
Taesu
8f671fbe59 chore: remove baseUrl set to "." (#5548) 2025-10-24 18:57:17 +00:00
Eniola Osabiya
03fbf937db fix(drizzle): replace pgEnum with text enum type in Drizzle schema generation (#5408) 2025-10-19 01:29:51 +00:00
Alex Yang
fd780aca6b feat: enum support for drizzle schema (#5287) 2025-10-13 23:56:39 +00:00
Alex Yang
fe01f5ef11 chore: use tsdown as bundler (#5249) 2025-10-13 17:35:33 +00:00
Maxwell
4b136408ab fix(adapter): missing data type transformation on where clauses (#5158) 2025-10-12 04:12:33 +00:00
Kyle Roach
fc32113a00 feat(organization): support createdAt on invitations (#2346)
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-10-06 17:44:38 +00:00
Taesu
0581a66272 fix: add required constraint to slug filed in org plugin (#4989) 2025-09-30 13:27:47 -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
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
Phips Peter
f2c9df4811 feat(sqlite): remove autoincrement for SQLite (#4466) 2025-09-08 17:23:00 -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
77042b4a8d fix: add missing defaultValue on core schema (#4374) 2025-09-03 00:15:16 -07:00