Commit Graph
71 Commits
Author SHA1 Message Date
TaesuandGitHub 2220ee7269 revert: drop the issuer column and resolve accounts by provider id (#11153) 2026-09-05 23:03:14 +00:00
692b22c517 fix(drizzle): export generated pgSchema for drizzle-kit (#10770)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-12 16:25:58 +00:00
Gustavo ValverdeandGitHub 8bc28daf42 fix(core): preserve issuer-scoped account identities (#10668) 2026-08-04 13:47:09 -04:00
Gustavo Valverde 73e2d2dd62 fix(sync): align tests with next contracts 2026-07-22 10:40:52 -04:00
Gustavo Valverde 558d2de0a7 chore(sync): merge main into next 2026-07-22 10:39:55 -04:00
Gustavo ValverdeandGitHub dbd302e422 feat(auth)!: scope accounts by issuer (#10403) 2026-07-16 17:24:34 +01:00
MaxwellandGitHub 097eecdd16 fix(cli): disambiguate Drizzle relations with relationName (#10352) 2026-07-12 01:54:16 +00:00
MaxwellGitHubcubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>Cursor Agent
5d38b138c3 feat(drizzle): generate drizzle schema with schema namespace (#7169)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-07-07 17:57:24 +00:00
Gustavo Valverde 010bd65811 chore: resolve 10246 main-to-next sync conflicts 2026-06-26 13:54:08 +01:00
Gustavo ValverdeandGitHub 3a035e968e fix(two-factor): add account-level verification lockout (#10240) 2026-06-26 13:40:00 +01:00
MaxwellGitHubcubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>Cursor AgentGustavo ValverdeTaesuTaesu
ea06c5a71f feat(drizzle-adapter): support Drizzle Relations v2 (#9489)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Gustavo Valverde <g.valverde02@gmail.com>
Co-authored-by: Taesu <bytaesu@gmail.com>
Co-authored-by: Taesu <166604494+bytaesu@users.noreply.github.com>
2026-06-26 11:01:48 +00:00
Gustavo ValverdeandGitHub 27f06181c7 revert(oauth): remove granted scopes architecture (#10123) 2026-06-17 22:27:20 -07:00
Gustavo ValverdeandGitHub 40b392ae21 feat(oauth)!: accumulate granted scopes as grantedScopes string[] (#9825) 2026-06-04 17:54:52 -04:00
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 ValverdeandGitHub e089ce127d chore(knip): fix CI blind spots and remove dead code (#8888) 2026-04-02 19:28:30 +00:00
TaesuandGitHub b00692d4ea fix(cli): treat omitted required as true in Drizzle and Prisma generators (#8614) 2026-03-16 17:12:48 +00:00
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
Alex Yang 00c95728f1 Revert "feat: make name field optional (#7617)"
This reverts commit e0df7c9e38.
2026-02-02 10:52:19 -08:00
TaesuandGitHub e0df7c9e38 feat: make name field optional (#7617) 2026-01-29 23:42:52 +00:00
MaxwellandGitHub 5ce4d098fa fix(cli): deduplicate drizzle schema relationships (#6547) 2025-12-05 17:07:59 -08:00
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
MaxwellandGitHub f5bbb96d4e feat: adapter join support (#5730) 2025-11-15 16:55:50 +00:00
MaxwellandGitHub b39273a94f fix: use identity instead of serial for pg schema (#5943) 2025-11-13 01:15:39 +00:00
MaxwellandGitHub 705f7434c7 fix: treat generateId "serial" as numeric ID and correct UUID column types across adapters (#5823) 2025-11-11 18:04:24 +00:00
af6ebfe879 feat: auto-index CLI (#5357)
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-11-10 14:12:48 -08:00
Bereket EngidaGitHubcubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
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
Eniola OsabiyaandGitHub 03fbf937db fix(drizzle): replace pgEnum with text enum type in Drizzle schema generation (#5408) 2025-10-19 01:29:51 +00:00
Alex YangandGitHub fd780aca6b feat: enum support for drizzle schema (#5287) 2025-10-13 23:56:39 +00:00
MaxwellandGitHub 4b136408ab fix(adapter): missing data type transformation on where clauses (#5158) 2025-10-12 04:12:33 +00:00
fc32113a00 feat(organization): support createdAt on invitations (#2346)
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-10-06 17:44:38 +00:00
TaesuandGitHub 0581a66272 fix: add required constraint to slug filed in org plugin (#4989) 2025-09-30 13:27:47 -07:00
MaxwellandAlex Yang 0a1df9e43f chore: fix adapter tests (#4844) 2025-09-30 10:14:23 -07:00
zy1pandAlex Yang 981458338d fix(cli): timestamp in schema for Drizzle with SQLite (#4622) 2025-09-29 19:34:08 -07:00
Alex YangandGitHub 831dd1d64e fix(cli): defaultNow is deprecated in schema for Drizzle with SQLite (#4889) 2025-09-25 22:33:03 +00:00
Phips PeterandGitHub f2c9df4811 feat(sqlite): remove autoincrement for SQLite (#4466) 2025-09-08 17:23:00 -07:00
Alex YangandGitHub a6ba8ac068 fix(db): special case schema generation ID (#4400) 2025-09-03 13:40:54 -07:00
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 YangandGitHub 77042b4a8d fix: add missing defaultValue on core schema (#4374) 2025-09-03 00:15:16 -07:00
Alex YangandGitHub c84b37faaf feat: add @default and @updatedAt for prisma generator (#4375) 2025-09-02 21:22:08 -07:00
Alex YangandGitHub 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
MaxwellandGitHub 5d84a76a54 fix(cli): Incorrect drizzle schema gen (#4132) 2025-08-23 18:18:10 -07:00
Eniola OsabiyaandGitHub 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 TarikuandBereket Engida 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 TarikuandGitHub 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
KinfeMichael TarikuandBereket Engida 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
AbdallahandGitHub 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 TarikuandGitHub 6444c0498e fix(cli): format drizzle schema output (#3244) 2025-07-02 13:45:03 -07:00
AbbasandGitHub 12e15cce41 fix(drizzle-cli): use serial as PK when useNumberId is enabled (#3228) 2025-06-30 18:36:23 -07:00
KinfeMichael TarikuandGitHub af402dba3a fix: add a default value for generated fields 2025-05-02 00:29:32 +03:00
MaxwellandGitHub c6eb16e626 fix(cli): schema gen with Drizzle for PG to generate text instead of uuid (#2248) 2025-04-13 14:30:16 +03:00