Commit Graph
198 Commits
Author SHA1 Message Date
Gustavo Valverde a4a30946ba feat(auth)!: separate identities from provider accounts 2026-07-16 20:45:00 +01:00
Gustavo ValverdeandGitHub 763a2671c5 feat(db): add compound table indexes (#10402) 2026-07-16 14:31:48 +01:00
Gustavo ValverdeandGitHub 0de88f5e61 feat(scim)!: decouple provisioning from the organization plugin (#10390) 2026-07-16 11:17:06 +01: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 c02ea52953 chore(sync): merge main into next
Resolve the sync conflicts by keeping the next release train package versions, carrying the 1.6.23 stable changelog entries forward, and unioning the cspell word list.
2026-06-29 18:12:01 -04:00
TaesuandGitHub 3fedfcb01d fix(cli): escape string default values in generated Drizzle schema (#10259) 2026-06-26 23:48:19 +00: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 Valverde f291e5ba74 fix: address sync review fallout 2026-06-26 08:09:34 +01:00
Gustavo Valverde d46b8bee4f fix: tighten remaining sync review fixes 2026-06-26 07:45:19 +01:00
Gustavo Valverde cc1aed88d3 fix: address sync review feedback 2026-06-26 07:42:55 +01:00
Gustavo Valverde 4bcda56649 chore: resolve 10178 main-to-next sync conflicts
Merges origin/main into origin/next for the replacement sync PR and records the hand-resolved package metadata, changelog, OAuth/social provider, admin, SIWE, SCIM, SSO, username, rate-limiter, and next-owned MCP/OIDC provider conflicts.
2026-06-26 06:33:24 +01:00
452bd03f74 fix(cli): increase generated BETTER_AUTH_SECRET length from 16 to 32 … (#10186)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-06-24 21:52:53 +00:00
Rachit mittalandGitHub 570267cd5e fix: honor disableMigration on plugin schema tables (#10198) 2026-06-24 00:19:25 +00:00
Gustavo ValverdeandGitHub 27f06181c7 revert(oauth): remove granted scopes architecture (#10123) 2026-06-17 22:27:20 -07:00
Gustavo Valverde 849f6e8aca chore: sync main to next 2026-06-15 18:30:49 -07:00
d6aec123d8 fix(cli): serialize array additionalField defaultValue in drizzle generator (#10048)
Co-authored-by: ping-maxwell <maxwell.multinite@gmail.com>
2026-06-14 00:41:09 +00:00
cfbb9a0524 fix(cli): handle directory path passed to --output in generate command (#9564)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
Co-authored-by: ping-maxwell <maxwell.multinite@gmail.com>
2026-06-13 11:47:44 +00:00
Gustavo ValverdeandGitHub 6fe9faab65 refactor!: remove deprecated oidc-provider plugin (#10031) 2026-06-12 21:45:19 +00:00
Gustavo Valverde 381fc6cfaf chore: sync main to next 2026-06-11 18:18:13 -07:00
TaesuandGitHub ac69e81a29 fix(cli): skip Unsupported() fields when regenerating prisma schema (#10011) 2026-06-11 17:19:17 -07:00
108aadd251 fix(cli): update existing prisma field types (#9729)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-06-11 16:59:14 -07:00
Gustavo ValverdeandGitHub baeaa00bc2 fix: make single-use credentials, counters, and replay markers atomic (#9993) 2026-06-11 05:11:26 +00:00
6987c628f1 fix(cli): resolve SvelteKit, Vite asset, and Cloudflare virtual-module imports (#9834)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-06-11 01:06:43 +00:00
Gustavo Valverde bf7f2c5b4e chore: sync main to next 2026-06-10 11:30:38 -07:00
Bereket EngidaandGitHub cb1cbfa4cc fix: address bug findings across packages (#9974) 2026-06-09 19:46:12 -07:00
Gustavo ValverdeandGitHub 40b392ae21 feat(oauth)!: accumulate granted scopes as grantedScopes string[] (#9825) 2026-06-04 17:54:52 -04:00
Gustavo Valverde ef4fb0ff95 chore: merge main into next (#9533)
Sync main (through #9821/#9820/#9822/#9768) into next. Conflicting
package.json files keep next's version and intentional divergences (for
example the cli's c12 v4) while taking main's dependency updates, including
the samlify 2.13.1 and fast-xml-parser security bumps; the lockfile is
regenerated from the reconciled set. The 13 source/doc/test conflicts take
next's refactored architecture as the baseline; main's colliding fixes are
re-applied on top in the following per-domain commits.

Clean main fixes land via this merge, including the auto-restored
account-takeover defenses #9578 and #9577.
2026-05-31 00:10:16 +01:00
TaesuandGitHub 83fa3695e7 feat(core): add string case conversion utilities (#9727) 2026-05-24 23:40:22 +00:00
db4263cd3d chore: use correct auth cli (#9638)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-05-16 02:27:55 +00:00
Gautam ManchandaniandGitHub 15bb1690b2 feat(cli): add create-admin command (#9547) 2026-05-12 10:30:04 +00:00
Gustavo ValverdeandGitHub 0cbddb8fa4 refactor(db): rename claimOne adapter primitive to consumeOne (#9568) 2026-05-12 07:44:07 +00:00
Gustavo ValverdeandGitHub a2c0c9346e feat(db): add atomic claimOne adapter primitive (#9560) 2026-05-11 20:10:29 +00:00
Taesu 2b83087180 chore: sync main to next 2026-05-10 03:45:29 +09:00
Pooya ParsaandGitHub 12a4128494 refactor(cli): leverage c12 v4 resolveModule for auth config loading (#9477) 2026-05-07 13:56:37 -07:00
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
Gustavo ValverdeandGitHub c7d22539ec refactor(generic-oauth)!: rewrite as first-class social provider with RFC compliance (#9069) 2026-04-13 12:02:16 +00:00
Gustavo Valverde 28ccc8cda9 chore: resolve main-to-next sync conflicts
Conflicts resolved:
- docs/content/docs/plugins/2fa.mdx: kept next's OTP feature, applied main's exported const pattern
- docs/content/docs/plugins/oauth-provider.mdx: kept main's formatting, added back private_key_jwt docs
- docs/content/docs/plugins/sso.mdx: kept next's version with private_key_jwt and SAML options
- packages/sso/src/routes/sso.ts: kept next's version (has security fixes and private_key_jwt)
2026-04-10 19:11:05 +01:00
TaesuandGitHub 4673c6d83c fix(cli): handle extends and mid-path wildcards in tsconfig paths (#9032) 2026-04-10 16:26:53 +00:00
Gustavo ValverdeandGitHub 544f1c63c9 feat(two-factor)!: add OTP enablement and discriminated response (#9057) 2026-04-10 14:23:20 +00:00
Gustavo ValverdeandGitHub e089ce127d chore(knip): fix CI blind spots and remove dead code (#8888) 2026-04-02 19:28:30 +00:00
d0b62a0cd8 feat(cli): migrate MCP server URL to mcp.better-auth.com (#8747)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-23 17:30:04 -07:00
Bereket EngidaGitHubcubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
5648bd8680 feat: agent auth plugin (#8696)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-03-19 12:18:34 -07:00
TaesuandGitHub b00692d4ea fix(cli): treat omitted required as true in Drizzle and Prisma generators (#8614) 2026-03-16 17:12:48 +00:00
Alex YangandGitHub b5e2203f14 fix(cli): resolve path aliases from extended tsconfig files (#8520) 2026-03-09 18:03:46 +00:00
5e0fe841dd chore: migrate infrastructure links to dash.better-auth.com (#8391)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 18:02:34 -08:00
Alex YangandGitHub b73b0440a2 chore: align zod imports to use namespace import from "zod" (#8300) 2026-03-02 20:37:38 +00:00
Bereket EngidaandAlex Yang 58c71273b0 feat(blog): add draft support for blog posts and update image URLs 2026-03-01 16:40:08 +09:00
MaxwellGitHubcubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>Bereket Engida
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 YangandGitHub 00b543ac06 feat(cli): add upgrade command to update better-auth packages (#8204) 2026-02-28 02:35:35 +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