Commit Graph
6752 Commits
Author SHA1 Message Date
TaesuandGitHub 526aa322ef chore(changeset): restore changeset for cli named+default fix (#9477) (#9501) 2026-05-09 13:50:16 +00:00
TaesuandGitHub 3c45f1a757 test(cli): regression for named + default export via auto-detect (#9477) (#9500) 2026-05-09 13:50:00 +00:00
TaesuandGitHub 36464de646 test: assert auth.fetch is the same reference as auth.handler (#9495) 2026-05-08 05:17:51 +00:00
TaesuandGitHub 05f9d17aa5 test(e2e): verify auth.fetch default export on Bun and Deno (#9494) 2026-05-08 05:17:42 +00:00
TaesuandGitHub 9c4a361520 chore: drop changeset for cli refactor (#9477) (#9492) 2026-05-08 03:29:01 +00:00
Pooya ParsaandGitHub 12a4128494 refactor(cli): leverage c12 v4 resolveModule for auth config loading (#9477) 2026-05-07 13:56:37 -07:00
Pooya ParsaandGitHub 523f95c10d feat: make Auth instance fetchable (#9431) 2026-05-07 13:55:03 -07:00
729c00d74c feat(username): add immutable username option (#9240)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-05-06 20:58:46 +00:00
Ahliman HUSEYNOVGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
30a1fb9c05 feat(i18n): add built-in translations for 22 languages (#9157)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-05-06 11:51:17 +00:00
TaesuandGitHub a9d48c993d fix(stripe)!: remove optional marker from onSubscriptionCancel event (#9359) 2026-04-26 10:23:30 +00:00
TaesuandGitHub 4e8e4c7fc5 feat(client): add hydrateSession for SSR session hydration (#8733) 2026-04-22 21:09:45 +00:00
better-release[bot]andGitHub d3bde2d21f chore: release v1.7.0-beta.2 (#9207) @better-auth/cimd@1.7.0-beta.2 @better-auth/drizzle-adapter@1.7.0-beta.2 @better-auth/expo@1.7.0-beta.2 @better-auth/i18n@1.7.0-beta.2 @better-auth/memory-adapter@1.7.0-beta.2 @better-auth/mongo-adapter@1.7.0-beta.2 @better-auth/passkey@1.7.0-beta.2 @better-auth/prisma-adapter@1.7.0-beta.2 @better-auth/redis-storage@1.7.0-beta.2 @better-auth/stripe@1.7.0-beta.2 better-auth@1.7.0-beta.2 v1.7.0-beta.2 @better-auth/scim@1.7.0-beta.2 @better-auth/sso@1.7.0-beta.2 @better-auth/telemetry@1.7.0-beta.2 @better-auth/electron@1.7.0-beta.2 @better-auth/test-utils@1.7.0-beta.2 @better-auth/core@1.7.0-beta.2 auth@1.7.0-beta.2 @better-auth/api-key@1.7.0-beta.2 @better-auth/oauth-provider@1.7.0-beta.2 @better-auth/kysely-adapter@1.7.0-beta.2 2026-04-22 17:23:06 +01:00
Gustavo ValverdeandGitHub 402ca23ad9 chore: sync main to next
chore: sync main to next
2026-04-22 16:28:45 +01:00
Gustavo Valverde 888b1fc90e test(generic-oauth): align GET-callback-without-state test with rewritten plugin contract
Caught during the main-to-next sync in #9312. The test was imported from main
in #9293, which targeted the legacy /oauth2/callback/:providerId endpoint that
the generic-oauth rewrite (#9069) removed on next; callbacks now flow through
the core /callback/:id route. That route preserves the security contract (GET
without state redirects to the error page, never crashes) via an early state
guard that emits `state_not_found` instead of `please_restart_the_process`.
2026-04-22 16:19:42 +01:00
Gustavo Valverde 827aeede1b chore: sync dependabot bumps from main
Catches the electron (38.8.6 -> 41.2.2) and @hono/node-server (1.19.11 -> 1.19.14) dep bumps that landed on main after the previous sync commit. Auto-merged without conflicts.
2026-04-22 15:52:52 +01:00
Gustavo Valverde eb3cd10d50 chore: resolve main-to-next sync conflicts
- keep next package versions at 1.7.0-beta.1
- keep both changelog streams by inserting the stable 1.6.5, 1.6.6, and 1.6.7 sections below the 1.7.0-beta entries
- keep the cimd and dash deps on demo/nextjs (next-only); regenerate pnpm-lock.yaml
- resolve TODO(sync-from-main-9226) in oauth-provider authorize.ts: findRegisteredRedirectUri now uses isLoopbackIP from @better-auth/core/utils/host to cover the full 127.0.0.0/8 range per RFC 8252 §7.3
- drop the unused saml import that main's #9262 added to sso/src/routes/sso.ts; next already migrated to saml-pipeline
2026-04-22 14:54:27 +01:00
TaesuandGitHub b828c54698 chore(deps-dev): bump electron from 38.8.6 to 41.2.2 (#9310) 2026-04-22 12:19:47 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>TaesuTaesu
88d4a0507e chore(deps): bump @hono/node-server from 1.19.11 to 1.19.14 (#9306)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Taesu <bytaesu@gmail.com>
Co-authored-by: Taesu <166604494+bytaesu@users.noreply.github.com>
2026-04-22 12:00:49 +00:00
TaesuandGitHub 7fc966942c docs: fix arrow indicator persisting on inactive legal nav item (#9307) 2026-04-22 11:42:42 +00:00
better-release[bot]andGitHub f8076d141a chore: release v1.6.7 (#9289) @better-auth/api-key@1.6.7 @better-auth/core@1.6.7 @better-auth/drizzle-adapter@1.6.7 @better-auth/expo@1.6.7 @better-auth/i18n@1.6.7 @better-auth/kysely-adapter@1.6.7 @better-auth/memory-adapter@1.6.7 @better-auth/mongo-adapter@1.6.7 @better-auth/oauth-provider@1.6.7 @better-auth/passkey@1.6.7 @better-auth/prisma-adapter@1.6.7 @better-auth/redis-storage@1.6.7 @better-auth/scim@1.6.7 @better-auth/stripe@1.6.7 @better-auth/telemetry@1.6.7 auth@1.6.7 better-auth@1.6.7 v1.6.7 @better-auth/sso@1.6.7 @better-auth/electron@1.6.7 @better-auth/test-utils@1.6.7 2026-04-22 12:36:30 +01:00
Gustavo ValverdeandGitHub 19a3dfa63a chore(deps): add pnpm overrides for vulnerable transitive dependencies (#9167) 2026-04-22 11:06:37 +00:00
TaesuandGitHub 3d39e63cd2 test: remove dead stripe option from fixture (#9303) 2026-04-22 10:30:50 +00:00
TaesuandGitHub d1b27d7af6 chore(demo): update deps, imports, tsconfig to fix build (#9302) 2026-04-22 10:24:48 +00:00
ec20325173 fix(passkey): verify passkey authentication isnt returning the user (#5209)
Co-authored-by: Gustavo Valverde <g.valverde02@gmail.com>
2026-04-22 10:10:48 +00:00
4e0e6e1fd3 fix(oauth-provider): userinfo Authorization from ctx.headers for auth.api (#9244)
Co-authored-by: Gustavo Valverde <g.valverde02@gmail.com>
2026-04-22 09:20:54 +00:00
TaesuandGitHub f4750f634f chore(docs): relax typesense sync build (#9300) 2026-04-22 09:19:21 +00:00
Gustavo ValverdeandGitHub 4f373eed8a feat(social-providers): accept array of Client IDs for ID token audience (#9292) 2026-04-22 09:02:56 +00:00
RayandGitHub 4a180f0b0c fix(core): serve noop ./instrumentation on browser and edge conditions (#9281) 2026-04-22 08:44:00 +00:00
e1b1cfc7a2 fix(oauth2): guard against undefined body when parsing state (#9293)
Co-authored-by: Menachem Hornbacher <mhornbacher@kiddom.co>
2026-04-22 08:23:13 +00:00
d053a4583e fix(phone-number): call callbackOnVerification when updatePhoneNumber is enabled (#4894)
Co-authored-by: Gustavo Valverde <g.valverde02@gmail.com>
2026-04-22 08:11:42 +00:00
Gustavo ValverdeandGitHub 5c6de4ed26 fix(oauth-provider)!: return RFC-compliant error envelopes from validation failures (#9277) 2026-04-22 06:48:34 +00:00
307196a405 fix(api): preserve response headers when APIError is thrown (#9211)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 06:47:16 +00:00
9ab0346dae docs: add subsection for advanced database configuration options (#9149)
Co-authored-by: Morgan PEYRE <morgan.peyre@brickcode.tech>
2026-04-22 05:29:41 +00:00
better-release[bot]andGitHub 0290077760 chore: release v1.6.6 (#9222) @better-auth/api-key@1.6.6 @better-auth/core@1.6.6 @better-auth/drizzle-adapter@1.6.6 @better-auth/electron@1.6.6 @better-auth/expo@1.6.6 @better-auth/i18n@1.6.6 @better-auth/kysely-adapter@1.6.6 @better-auth/memory-adapter@1.6.6 @better-auth/mongo-adapter@1.6.6 @better-auth/oauth-provider@1.6.6 @better-auth/passkey@1.6.6 @better-auth/prisma-adapter@1.6.6 @better-auth/redis-storage@1.6.6 @better-auth/scim@1.6.6 @better-auth/sso@1.6.6 @better-auth/stripe@1.6.6 @better-auth/telemetry@1.6.6 @better-auth/test-utils@1.6.6 auth@1.6.6 better-auth@1.6.6 v1.6.6 2026-04-21 17:42:18 +01:00
9ea7eb1eab fix(cookies): preserve partitioned attribute on set-cookie round-trip (#9235)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-04-21 16:11:29 +00:00
Jonathan SaminesandGitHub fe5f36c7e3 chore(sso): fix samlify ESM/CJS loading compat issue (#9262) 2026-04-21 16:06:04 +00:00
TaesuandGitHub b5742f9d08 feat(core): add mapConcurrent bounded-concurrency utility (#9227) 2026-04-21 15:31:08 +00:00
26d0cec9bd docs: improve Nuxt integration guide (#9232)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-04-21 15:30:22 +00:00
MaxwellandGitHub 4debfb600f fix(custom-session): use coerced boolean for disableRefresh query param validation (#9214) 2026-04-21 10:22:32 +00:00
MaxwellandGitHub ab4c10fbc0 fix(organization): infer team additional fields correctly (#9266) 2026-04-21 08:16:39 +00:00
954b664f4f feat(org): allow passing userId and organizationId to listUserTeams API (#8977)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-04-21 08:15:16 +00:00
4677601429 fix(expo): read cached session data from SecureStore on app startup (#8953)
Co-authored-by: Taesu <bytaesu@gmail.com>
Co-authored-by: Taesu <166604494+bytaesu@users.noreply.github.com>
2026-04-21 06:49:49 +00:00
TaesuandGitHub 2ee50c581f docs: add stable/beta versioning with build-time content sync (#9258) 2026-04-21 03:49:33 +00:00
35e9f9f6e4 docs: landing improvements (#9169)
Co-authored-by: Taesu <bytaesu@gmail.com>
2026-04-18 23:04:27 -07:00
Gustavo ValverdeandGitHub e64ff720fb fix: unify host classification and close SSRF gaps across packages (#9226) 2026-04-17 23:25:25 +00:00
Jonathan SaminesandGitHub e37167aaf5 docs: fix fastify integration docs to avoid race conditions (#9230) 2026-04-17 17:51:21 +00:00
a844c7dd08 chore(core): update @opentelemetry/api dep declaration to be optional (#9111)
Co-authored-by: Taesu <166604494+bytaesu@users.noreply.github.com>
2026-04-17 14:26:40 +00:00
MaxwellandGitHub d69d888b78 docs: add please_restart_the_process error page (#9224) 2026-04-17 13:01:31 +00:00
MaxwellGitHubTaesuCopilotcubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>Taesu
3728518d1c fix(api-key): run secondary-storage api-key executions in parallel (#9187)
Co-authored-by: Taesu <bytaesu@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Taesu <166604494+bytaesu@users.noreply.github.com>
2026-04-17 12:43:30 +00:00
Gustavo ValverdeandGitHub 2c1b1994d5 ci(verify-changesets): always run and report pass/fail (#9223) 2026-04-17 09:52:37 +00:00