diff --git a/.changeset/calm-passkeys-report.md b/.changeset/calm-passkeys-report.md deleted file mode 100644 index fcefe12719..0000000000 --- a/.changeset/calm-passkeys-report.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@better-auth/passkey": patch ---- - -Return a handled auth cancellation when passkey autofill authentication cannot start. diff --git a/.changeset/calm-pools-fix.md b/.changeset/calm-pools-fix.md deleted file mode 100644 index b48ff5ba3b..0000000000 --- a/.changeset/calm-pools-fix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"auth": patch ---- - -Fix `auth init` to generate working MySQL and PostgreSQL Kysely database configs by passing the database driver directly. diff --git a/.changeset/clean-eels-wait.md b/.changeset/clean-eels-wait.md deleted file mode 100644 index d3f71689f8..0000000000 --- a/.changeset/clean-eels-wait.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"better-auth": patch ---- - -fix(captcha): breaks email-otp flow diff --git a/.changeset/clear-houses-arrive.md b/.changeset/clear-houses-arrive.md deleted file mode 100644 index d00b3d5964..0000000000 --- a/.changeset/clear-houses-arrive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"better-auth": patch ---- - -fix: warn for cookie-plugin being last in array diff --git a/.changeset/dynamic-invitation-roles.md b/.changeset/dynamic-invitation-roles.md deleted file mode 100644 index 83b71e9144..0000000000 --- a/.changeset/dynamic-invitation-roles.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"better-auth": patch ---- - -Allow organization invitation role input types to accept dynamic access control roles. diff --git a/.changeset/fix-api-error-headers-duplicate-set-cookie.md b/.changeset/fix-api-error-headers-duplicate-set-cookie.md deleted file mode 100644 index e8dcf76494..0000000000 --- a/.changeset/fix-api-error-headers-duplicate-set-cookie.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"better-auth": patch ---- - -Endpoints that set cookies before redirecting (such as social sign-in -callbacks and magic-link verification) no longer emit each `Set-Cookie` -entry twice on the response. diff --git a/.changeset/fix-bearer-cookie-parse-mutate-serialize.md b/.changeset/fix-bearer-cookie-parse-mutate-serialize.md deleted file mode 100644 index a9967418d5..0000000000 --- a/.changeset/fix-bearer-cookie-parse-mutate-serialize.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"better-auth": patch ---- - -The bearer plugin now produces a single entry per cookie name when merging -its session token into the request `Cookie` header. Previously the merged -header could carry two entries for the same name if the request already -had a stale session cookie, which would surface to downstream code that -picks the first occurrence. diff --git a/.changeset/fix-oauth-provider-consent-postlogin-retrigger.md b/.changeset/fix-oauth-provider-consent-postlogin-retrigger.md deleted file mode 100644 index d0522d6eb6..0000000000 --- a/.changeset/fix-oauth-provider-consent-postlogin-retrigger.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"@better-auth/oauth-provider": patch ---- - -fix(oauth-provider): bind consent-accept postLogin skip to the signing session - -When `authorize` emits a signed redirect past the postLogin gate it now -records `ba_pl=` in the signed authorization query. On consent -accept, `authorizeEndpoint` is called with `{ postLogin: true }` only when -the incoming signed query's marker matches the current session's id; -otherwise it re-enters `authorize` with `postLogin.shouldRedirect` still -enforced. Resolves the post-consent bounce back to the postLogin page for -`setActive`-driven flows, blocks a direct POST to `/oauth2/consent` with -a pre-postLogin signed query from skipping `shouldRedirect`, and prevents -a different or newly logged-in session from re-using another session's -marker to skip `shouldRedirect`. diff --git a/.changeset/fix-oauth-provider-fk-indexes.md b/.changeset/fix-oauth-provider-fk-indexes.md deleted file mode 100644 index 398fb6febd..0000000000 --- a/.changeset/fix-oauth-provider-fk-indexes.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@better-auth/oauth-provider": patch ---- - -Add indexes to OAuth provider foreign-key fields in generated schemas. diff --git a/.changeset/fix-oauth-provider-login-consent-prompt.md b/.changeset/fix-oauth-provider-login-consent-prompt.md deleted file mode 100644 index 1470f60af7..0000000000 --- a/.changeset/fix-oauth-provider-login-consent-prompt.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@better-auth/oauth-provider": patch ---- - -fix(oauth-provider): complete stale `prompt=login consent` continuations after forced login - -Consent continuations now carry the signed authorization request issue time and -only clear a lingering `login` prompt when the active session was created for -that request. This preserves forced reauthentication semantics while avoiding -the loop where a completed reauthentication is sent back to `/login`. diff --git a/.changeset/fix-stripe-lock-checkout-fields.md b/.changeset/fix-stripe-lock-checkout-fields.md deleted file mode 100644 index 0d4d400357..0000000000 --- a/.changeset/fix-stripe-lock-checkout-fields.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@better-auth/stripe": patch ---- - -`getCheckoutSessionParams` no longer overrides fields the plugin manages internally for webhook reconciliation and billing: `success_url`, `cancel_url`, `mode`, `customer`, `customer_email`, `client_reference_id`, and `line_items`. Other parameters still pass through. `locale` now prefers the request value over `getCheckoutSessionParams`. diff --git a/.changeset/fix-stripe-subscription-data-merge.md b/.changeset/fix-stripe-subscription-data-merge.md deleted file mode 100644 index 62e507ee93..0000000000 --- a/.changeset/fix-stripe-subscription-data-merge.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@better-auth/stripe": patch ---- - -Returning a custom `subscription_data` from `getCheckoutSessionParams` no longer hides the plan's free trial in Stripe Checkout or creates duplicate local subscription rows when the `customer.subscription.created` webhook fires. diff --git a/.changeset/fix-username-callback-url-redirect.md b/.changeset/fix-username-callback-url-redirect.md deleted file mode 100644 index 82986b34fc..0000000000 --- a/.changeset/fix-username-callback-url-redirect.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"better-auth": patch ---- - -fix(username): respect callbackURL on `/sign-in/username` - -The endpoint accepted a `callbackURL` body field but ignored it, so -`authClient.signIn.username({ ..., callbackURL })` silently did nothing -while `authClient.signIn.email` redirected as expected. The handler now -sets a `Location` header when `callbackURL` is provided and returns -`{ redirect, url }` alongside `token`/`user`, matching the email flow. diff --git a/.changeset/fresh-wolves-share.md b/.changeset/fresh-wolves-share.md deleted file mode 100644 index 0172cdc143..0000000000 --- a/.changeset/fresh-wolves-share.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"better-auth": patch ---- - -Clear organization active hook state after sign-out so `useActiveMemberRole` does not retain a previous user's role in SPA sign-out/sign-in flows. diff --git a/.changeset/funny-forks-listen.md b/.changeset/funny-forks-listen.md deleted file mode 100644 index c7d460b635..0000000000 --- a/.changeset/funny-forks-listen.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"better-auth": patch ---- - -Revalidate the client session after admin impersonation starts or stops. diff --git a/.changeset/internal-adapter-delete-account-param-rename.md b/.changeset/internal-adapter-delete-account-param-rename.md deleted file mode 100644 index af8adbf81e..0000000000 --- a/.changeset/internal-adapter-delete-account-param-rename.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"better-auth": patch ---- - -`internalAdapter.deleteAccount` parameter renamed from `accountId` to `id` to reflect that it queries by primary key, not the `accountId` column. No runtime behavior change. diff --git a/.changeset/modern-clocks-marry.md b/.changeset/modern-clocks-marry.md deleted file mode 100644 index d8c72cd8a0..0000000000 --- a/.changeset/modern-clocks-marry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"better-auth": patch ---- - -fix: openAPI schema for POST /sign-in/social mis-declares required fields diff --git a/.changeset/pr-8839.md b/.changeset/pr-8839.md deleted file mode 100644 index 047e7640a3..0000000000 --- a/.changeset/pr-8839.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"better-auth": patch ---- - -Apply email enumeration protection when `emailAndPassword.autoSignIn` is false. Duplicate sign-ups now return a synthetic user (`token: null`) and trigger `onExistingUserSignUp`, and new sign-ups skip auto sign-in (`token: null`)—even without `requireEmailVerification`, aligning with the docs. diff --git a/.changeset/pr-9065.md b/.changeset/pr-9065.md deleted file mode 100644 index 0cc24b3727..0000000000 --- a/.changeset/pr-9065.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"better-auth": patch ---- - -non-ASCII error_description in generic-oauth callback routes causes TypeError on redirect \ No newline at end of file diff --git a/.changeset/purple-laws-walk.md b/.changeset/purple-laws-walk.md deleted file mode 100644 index bebdb45c35..0000000000 --- a/.changeset/purple-laws-walk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@better-auth/api-key": patch ---- - -`api.verifyApiKey` now validate the key configId is matching the one in the body diff --git a/.changeset/quick-bears-sip.md b/.changeset/quick-bears-sip.md deleted file mode 100644 index eb9e79bbbc..0000000000 --- a/.changeset/quick-bears-sip.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@better-auth/oauth-provider": patch ---- - -Export OAuth provider helper types used by public declarations so downstream declaration emit can name auth instances portably. diff --git a/.changeset/rare-sloths-share.md b/.changeset/rare-sloths-share.md deleted file mode 100644 index bb222d3b47..0000000000 --- a/.changeset/rare-sloths-share.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"better-auth": patch ---- - -fix(organization): re-export field types to prevent TS2742 with additionalFields diff --git a/.changeset/silly-regions-sin.md b/.changeset/silly-regions-sin.md deleted file mode 100644 index 4c8751e477..0000000000 --- a/.changeset/silly-regions-sin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"better-auth": patch ---- - -The organization plugin's `cancelPendingInvitationsOnReInvite` option now actually cancels the prior pending invitation when re-inviting the same email. Previously the option had no effect — re-inviting always failed with `USER_IS_ALREADY_INVITED_TO_THIS_ORGANIZATION` diff --git a/.changeset/silver-singers-guard.md b/.changeset/silver-singers-guard.md deleted file mode 100644 index 3224b6e6e6..0000000000 --- a/.changeset/silver-singers-guard.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"better-auth": patch ---- - -Reject OAuth callbacks when provider user info omits the account id to avoid linking accounts under the literal `undefined` id. diff --git a/.changeset/sour-bears-smile.md b/.changeset/sour-bears-smile.md deleted file mode 100644 index 687a9d0c9b..0000000000 --- a/.changeset/sour-bears-smile.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"better-auth": patch ---- - -Expose `authClient.siwe.getNonce()` as a compatibility alias for the SIWE nonce endpoint. diff --git a/.changeset/sso-default-metadata.md b/.changeset/sso-default-metadata.md deleted file mode 100644 index 75d3643554..0000000000 --- a/.changeset/sso-default-metadata.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@better-auth/sso": patch ---- - -fix(sso): use findSAMLProvider in spMetadata so defaultSSO providers resolve - -`/sso/saml2/sp/metadata` was the only SAML endpoint that called `adapter.findOne` -directly, so providers configured via `defaultSSO` (which are not persisted to the -database) caused it to throw `NOT_FOUND`. The endpoint now uses the shared -`findSAMLProvider` helper, matching `signInSSO`, the SAML callback handler, and -`signOut`. diff --git a/.changeset/stale-mangos-fold.md b/.changeset/stale-mangos-fold.md deleted file mode 100644 index c9534c698f..0000000000 --- a/.changeset/stale-mangos-fold.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"better-auth": patch ---- - -fix: incorrect email casing across one-tap, email-otp & email-verification diff --git a/.changeset/tidy-clouds-train.md b/.changeset/tidy-clouds-train.md deleted file mode 100644 index 24f9637984..0000000000 --- a/.changeset/tidy-clouds-train.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@better-auth/stripe": patch ---- - -`onSubscriptionUpdate` now receives `stripeSubscription` (the raw Stripe object), matching the shape of all other subscription callbacks. `onSubscriptionCancel` now also receives the post-update subscription row instead of the pre-update snapshot. diff --git a/.changeset/tidy-maps-cheer.md b/.changeset/tidy-maps-cheer.md deleted file mode 100644 index d5ebb2b6ab..0000000000 --- a/.changeset/tidy-maps-cheer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"better-auth": patch ---- - -Fix `organization.setActiveTeam` so it only accepts teams from the current active organization. diff --git a/.changeset/twenty-coats-kick.md b/.changeset/twenty-coats-kick.md deleted file mode 100644 index d10e0f2916..0000000000 --- a/.changeset/twenty-coats-kick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"better-auth": patch ---- - -chore: expose refreshUserSessions on internal adapter diff --git a/.changeset/upset-worlds-like.md b/.changeset/upset-worlds-like.md deleted file mode 100644 index 0ebc4431f1..0000000000 --- a/.changeset/upset-worlds-like.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"better-auth": patch ---- - -fix: improve link accessibility issues diff --git a/.changeset/warm-rivers-sleep.md b/.changeset/warm-rivers-sleep.md deleted file mode 100644 index 19a28b3614..0000000000 --- a/.changeset/warm-rivers-sleep.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@better-auth/stripe": patch ---- - -`onSubscriptionDeleted`, `onTrialEnd`, and `onTrialExpired` now receive the post-update subscription row instead of the pre-update snapshot, consistent with the rest of the lifecycle callbacks. diff --git a/.changeset/warm-workers-sleep.md b/.changeset/warm-workers-sleep.md deleted file mode 100644 index 502cb78f0c..0000000000 --- a/.changeset/warm-workers-sleep.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@better-auth/core": patch ---- - -Route Cloudflare Workers instrumentation imports to the pure no-op entry when OpenTelemetry is not installed. diff --git a/.changeset/yellow-shirts-heal.md b/.changeset/yellow-shirts-heal.md deleted file mode 100644 index 022816a4bb..0000000000 --- a/.changeset/yellow-shirts-heal.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@better-auth/oauth-provider": patch ---- - -Make `sessionId` optional in refresh token types to match the refresh token schema. diff --git a/packages/api-key/CHANGELOG.md b/packages/api-key/CHANGELOG.md index 778427f4a1..2198ae6030 100644 --- a/packages/api-key/CHANGELOG.md +++ b/packages/api-key/CHANGELOG.md @@ -1,5 +1,15 @@ # @better-auth/api-key +## 1.6.10 + +### Patch Changes + +- [#9393](https://github.com/better-auth/better-auth/pull/9393) [`62c4050`](https://github.com/better-auth/better-auth/commit/62c40508501f5056dacc9c9da94e4ddf9ada1001) Thanks [@IcanDivideBy0](https://github.com/IcanDivideBy0)! - `api.verifyApiKey` now validate the key configId is matching the one in the body + +- Updated dependencies [[`1e0f26d`](https://github.com/better-auth/better-auth/commit/1e0f26d4c83608d14a533f33458ade0f8504fd16), [`8c1e917`](https://github.com/better-auth/better-auth/commit/8c1e91757d91d103c332e90201c39ce5892c37e8), [`b2d655c`](https://github.com/better-auth/better-auth/commit/b2d655c77c7c627ada17456d1de106fdce6fa18e), [`09f1327`](https://github.com/better-auth/better-auth/commit/09f1327acb9c6bbfeb272dc62c7013172cf33153), [`906b7b3`](https://github.com/better-auth/better-auth/commit/906b7b34a710d49798e166395da2bcd2be13ef46), [`e9c978e`](https://github.com/better-auth/better-auth/commit/e9c978e2af9e61d35f50fd040305cbb8fdda32ba), [`e71aad3`](https://github.com/better-auth/better-auth/commit/e71aad3b6d67502cfb770fa8890f3ab58c537114), [`80a655d`](https://github.com/better-auth/better-auth/commit/80a655d271dcae5f785a70f13be60f80fb828cf1), [`15ff28a`](https://github.com/better-auth/better-auth/commit/15ff28a957a18df8ecd2aa08d66b94c91ae9a6a4), [`88a7c67`](https://github.com/better-auth/better-auth/commit/88a7c678f4db3f7da580d53071b2595b92354a45), [`9a7b51d`](https://github.com/better-auth/better-auth/commit/9a7b51d0d3dfbc6b2697fe5f9edd0bb480bdf89b), [`1b25902`](https://github.com/better-auth/better-auth/commit/1b259024dcd1bbbc08559ee057f22c01929a72a7), [`cf59136`](https://github.com/better-auth/better-auth/commit/cf591360e72a8d01741618cd61cdeea84cf8398a), [`a597ee0`](https://github.com/better-auth/better-auth/commit/a597ee01ed4e6d85aba5ee9f15100acc578390d9), [`fc02ced`](https://github.com/better-auth/better-auth/commit/fc02cedb708e2b5987a177539a903cc35155a426), [`9f1ef1f`](https://github.com/better-auth/better-auth/commit/9f1ef1f7e5500e0b3dbe2a18e25e3519847cd7a9), [`36ef808`](https://github.com/better-auth/better-auth/commit/36ef808c6cedec6eeb9a3a4e6790e0ab46d96ff3), [`c1336c5`](https://github.com/better-auth/better-auth/commit/c1336c563d45f93ca3fd4da4e6c767fc267d86d0), [`3a9a2c3`](https://github.com/better-auth/better-auth/commit/3a9a2c37eeab1d0c98845a47642d4dc27fe54ceb), [`fde0432`](https://github.com/better-auth/better-auth/commit/fde043207ef3d5a5e1f74aa5ddabf77d523d52d4), [`2220a6d`](https://github.com/better-auth/better-auth/commit/2220a6d6c25ebd24c8568131636389dc0c12f82b)]: + - better-auth@1.6.10 + - @better-auth/core@1.6.10 + ## 1.6.9 ### Patch Changes diff --git a/packages/api-key/package.json b/packages/api-key/package.json index 57723b8c61..2c31a3e79f 100644 --- a/packages/api-key/package.json +++ b/packages/api-key/package.json @@ -1,6 +1,6 @@ { "name": "@better-auth/api-key", - "version": "1.6.9", + "version": "1.6.10", "description": "API Key plugin for Better Auth.", "type": "module", "license": "MIT", diff --git a/packages/better-auth/CHANGELOG.md b/packages/better-auth/CHANGELOG.md index 50853679fb..ac0687fb6e 100644 --- a/packages/better-auth/CHANGELOG.md +++ b/packages/better-auth/CHANGELOG.md @@ -1,5 +1,70 @@ # better-auth +## 1.6.10 + +### Patch Changes + +- [#8339](https://github.com/better-auth/better-auth/pull/8339) [`1e0f26d`](https://github.com/better-auth/better-auth/commit/1e0f26d4c83608d14a533f33458ade0f8504fd16) Thanks [@ping-maxwell](https://github.com/ping-maxwell)! - fix(captcha): breaks email-otp flow + +- [#9484](https://github.com/better-auth/better-auth/pull/9484) [`8c1e917`](https://github.com/better-auth/better-auth/commit/8c1e91757d91d103c332e90201c39ce5892c37e8) Thanks [@ping-maxwell](https://github.com/ping-maxwell)! - fix: warn for cookie-plugin being last in array + +- [#9437](https://github.com/better-auth/better-auth/pull/9437) [`b2d655c`](https://github.com/better-auth/better-auth/commit/b2d655c77c7c627ada17456d1de106fdce6fa18e) Thanks [@cyphercodes](https://github.com/cyphercodes)! - Allow organization invitation role input types to accept dynamic access control roles. + +- [#9497](https://github.com/better-auth/better-auth/pull/9497) [`09f1327`](https://github.com/better-auth/better-auth/commit/09f1327acb9c6bbfeb272dc62c7013172cf33153) Thanks [@bytaesu](https://github.com/bytaesu)! - Endpoints that set cookies before redirecting (such as social sign-in + callbacks and magic-link verification) no longer emit each `Set-Cookie` + entry twice on the response. + +- [#9387](https://github.com/better-auth/better-auth/pull/9387) [`906b7b3`](https://github.com/better-auth/better-auth/commit/906b7b34a710d49798e166395da2bcd2be13ef46) Thanks [@bytaesu](https://github.com/bytaesu)! - The bearer plugin now produces a single entry per cookie name when merging + its session token into the request `Cookie` header. Previously the merged + header could carry two entries for the same name if the request already + had a stale session cookie, which would surface to downstream code that + picks the first occurrence. + +- [#9475](https://github.com/better-auth/better-auth/pull/9475) [`e9c978e`](https://github.com/better-auth/better-auth/commit/e9c978e2af9e61d35f50fd040305cbb8fdda32ba) Thanks [@jaydeep-pipaliya](https://github.com/jaydeep-pipaliya)! - fix(username): respect callbackURL on `/sign-in/username` + + The endpoint accepted a `callbackURL` body field but ignored it, so + `authClient.signIn.username({ ..., callbackURL })` silently did nothing + while `authClient.signIn.email` redirected as expected. The handler now + sets a `Location` header when `callbackURL` is provided and returns + `{ redirect, url }` alongside `token`/`user`, matching the email flow. + +- [#9440](https://github.com/better-auth/better-auth/pull/9440) [`e71aad3`](https://github.com/better-auth/better-auth/commit/e71aad3b6d67502cfb770fa8890f3ab58c537114) Thanks [@cyphercodes](https://github.com/cyphercodes)! - Clear organization active hook state after sign-out so `useActiveMemberRole` does not retain a previous user's role in SPA sign-out/sign-in flows. + +- [#9402](https://github.com/better-auth/better-auth/pull/9402) [`80a655d`](https://github.com/better-auth/better-auth/commit/80a655d271dcae5f785a70f13be60f80fb828cf1) Thanks [@onmax](https://github.com/onmax)! - Revalidate the client session after admin impersonation starts or stops. + +- [#9503](https://github.com/better-auth/better-auth/pull/9503) [`15ff28a`](https://github.com/better-auth/better-auth/commit/15ff28a957a18df8ecd2aa08d66b94c91ae9a6a4) Thanks [@bytaesu](https://github.com/bytaesu)! - `internalAdapter.deleteAccount` parameter renamed from `accountId` to `id` to reflect that it queries by primary key, not the `accountId` column. No runtime behavior change. + +- [#9268](https://github.com/better-auth/better-auth/pull/9268) [`88a7c67`](https://github.com/better-auth/better-auth/commit/88a7c678f4db3f7da580d53071b2595b92354a45) Thanks [@ping-maxwell](https://github.com/ping-maxwell)! - fix: openAPI schema for POST /sign-in/social mis-declares required fields + +- [#8839](https://github.com/better-auth/better-auth/pull/8839) [`9a7b51d`](https://github.com/better-auth/better-auth/commit/9a7b51d0d3dfbc6b2697fe5f9edd0bb480bdf89b) Thanks [@dipan-ck](https://github.com/dipan-ck)! - Apply email enumeration protection when `emailAndPassword.autoSignIn` is false. Duplicate sign-ups now return a synthetic user (`token: null`) and trigger `onExistingUserSignUp`, and new sign-ups skip auto sign-in (`token: null`)—even without `requireEmailVerification`, aligning with the docs. + +- [#9065](https://github.com/better-auth/better-auth/pull/9065) [`1b25902`](https://github.com/better-auth/better-auth/commit/1b259024dcd1bbbc08559ee057f22c01929a72a7) Thanks [@ping-maxwell](https://github.com/ping-maxwell)! - non-ASCII error_description in generic-oauth callback routes causes TypeError on redirect + +- [#9349](https://github.com/better-auth/better-auth/pull/9349) [`cf59136`](https://github.com/better-auth/better-auth/commit/cf591360e72a8d01741618cd61cdeea84cf8398a) Thanks [@ping-maxwell](https://github.com/ping-maxwell)! - fix(organization): re-export field types to prevent TS2742 with additionalFields + +- [#9453](https://github.com/better-auth/better-auth/pull/9453) [`a597ee0`](https://github.com/better-auth/better-auth/commit/a597ee01ed4e6d85aba5ee9f15100acc578390d9) Thanks [@mausic](https://github.com/mausic)! - The organization plugin's `cancelPendingInvitationsOnReInvite` option now actually cancels the prior pending invitation when re-inviting the same email. Previously the option had no effect — re-inviting always failed with `USER_IS_ALREADY_INVITED_TO_THIS_ORGANIZATION` + +- [#9456](https://github.com/better-auth/better-auth/pull/9456) [`fc02ced`](https://github.com/better-auth/better-auth/commit/fc02cedb708e2b5987a177539a903cc35155a426) Thanks [@cyphercodes](https://github.com/cyphercodes)! - Reject OAuth callbacks when provider user info omits the account id to avoid linking accounts under the literal `undefined` id. + +- [#9461](https://github.com/better-auth/better-auth/pull/9461) [`9f1ef1f`](https://github.com/better-auth/better-auth/commit/9f1ef1f7e5500e0b3dbe2a18e25e3519847cd7a9) Thanks [@cyphercodes](https://github.com/cyphercodes)! - Expose `authClient.siwe.getNonce()` as a compatibility alias for the SIWE nonce endpoint. + +- [#9369](https://github.com/better-auth/better-auth/pull/9369) [`36ef808`](https://github.com/better-auth/better-auth/commit/36ef808c6cedec6eeb9a3a4e6790e0ab46d96ff3) Thanks [@ping-maxwell](https://github.com/ping-maxwell)! - fix: incorrect email casing across one-tap, email-otp & email-verification + +- [#9239](https://github.com/better-auth/better-auth/pull/9239) [`c1336c5`](https://github.com/better-auth/better-auth/commit/c1336c563d45f93ca3fd4da4e6c767fc267d86d0) Thanks [@GautamBytes](https://github.com/GautamBytes)! - Fix `organization.setActiveTeam` so it only accepts teams from the current active organization. + +- [#7764](https://github.com/better-auth/better-auth/pull/7764) [`3a9a2c3`](https://github.com/better-auth/better-auth/commit/3a9a2c37eeab1d0c98845a47642d4dc27fe54ceb) Thanks [@programming-with-ia](https://github.com/programming-with-ia)! - chore: expose refreshUserSessions on internal adapter + +- [#9521](https://github.com/better-auth/better-auth/pull/9521) [`fde0432`](https://github.com/better-auth/better-auth/commit/fde043207ef3d5a5e1f74aa5ddabf77d523d52d4) Thanks [@ping-maxwell](https://github.com/ping-maxwell)! - fix: improve link accessibility issues + +- Updated dependencies [[`2220a6d`](https://github.com/better-auth/better-auth/commit/2220a6d6c25ebd24c8568131636389dc0c12f82b)]: + - @better-auth/core@1.6.10 + - @better-auth/drizzle-adapter@1.6.10 + - @better-auth/kysely-adapter@1.6.10 + - @better-auth/memory-adapter@1.6.10 + - @better-auth/mongo-adapter@1.6.10 + - @better-auth/prisma-adapter@1.6.10 + - @better-auth/telemetry@1.6.10 + ## 1.6.9 ### Patch Changes diff --git a/packages/better-auth/package.json b/packages/better-auth/package.json index 1f6c4466e1..6c1e06837e 100644 --- a/packages/better-auth/package.json +++ b/packages/better-auth/package.json @@ -1,6 +1,6 @@ { "name": "better-auth", - "version": "1.6.9", + "version": "1.6.10", "description": "The most comprehensive authentication framework for TypeScript.", "type": "module", "license": "MIT", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index af5a1ab503..77cf29972e 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,16 @@ # auth +## 1.6.10 + +### Patch Changes + +- [#9455](https://github.com/better-auth/better-auth/pull/9455) [`e44427b`](https://github.com/better-auth/better-auth/commit/e44427b37331c6bcf29d553ed2f135a512bcd750) Thanks [@GautamBytes](https://github.com/GautamBytes)! - Fix `auth init` to generate working MySQL and PostgreSQL Kysely database configs by passing the database driver directly. + +- Updated dependencies [[`1e0f26d`](https://github.com/better-auth/better-auth/commit/1e0f26d4c83608d14a533f33458ade0f8504fd16), [`8c1e917`](https://github.com/better-auth/better-auth/commit/8c1e91757d91d103c332e90201c39ce5892c37e8), [`b2d655c`](https://github.com/better-auth/better-auth/commit/b2d655c77c7c627ada17456d1de106fdce6fa18e), [`09f1327`](https://github.com/better-auth/better-auth/commit/09f1327acb9c6bbfeb272dc62c7013172cf33153), [`906b7b3`](https://github.com/better-auth/better-auth/commit/906b7b34a710d49798e166395da2bcd2be13ef46), [`e9c978e`](https://github.com/better-auth/better-auth/commit/e9c978e2af9e61d35f50fd040305cbb8fdda32ba), [`e71aad3`](https://github.com/better-auth/better-auth/commit/e71aad3b6d67502cfb770fa8890f3ab58c537114), [`80a655d`](https://github.com/better-auth/better-auth/commit/80a655d271dcae5f785a70f13be60f80fb828cf1), [`15ff28a`](https://github.com/better-auth/better-auth/commit/15ff28a957a18df8ecd2aa08d66b94c91ae9a6a4), [`88a7c67`](https://github.com/better-auth/better-auth/commit/88a7c678f4db3f7da580d53071b2595b92354a45), [`9a7b51d`](https://github.com/better-auth/better-auth/commit/9a7b51d0d3dfbc6b2697fe5f9edd0bb480bdf89b), [`1b25902`](https://github.com/better-auth/better-auth/commit/1b259024dcd1bbbc08559ee057f22c01929a72a7), [`cf59136`](https://github.com/better-auth/better-auth/commit/cf591360e72a8d01741618cd61cdeea84cf8398a), [`a597ee0`](https://github.com/better-auth/better-auth/commit/a597ee01ed4e6d85aba5ee9f15100acc578390d9), [`fc02ced`](https://github.com/better-auth/better-auth/commit/fc02cedb708e2b5987a177539a903cc35155a426), [`9f1ef1f`](https://github.com/better-auth/better-auth/commit/9f1ef1f7e5500e0b3dbe2a18e25e3519847cd7a9), [`36ef808`](https://github.com/better-auth/better-auth/commit/36ef808c6cedec6eeb9a3a4e6790e0ab46d96ff3), [`c1336c5`](https://github.com/better-auth/better-auth/commit/c1336c563d45f93ca3fd4da4e6c767fc267d86d0), [`3a9a2c3`](https://github.com/better-auth/better-auth/commit/3a9a2c37eeab1d0c98845a47642d4dc27fe54ceb), [`fde0432`](https://github.com/better-auth/better-auth/commit/fde043207ef3d5a5e1f74aa5ddabf77d523d52d4), [`2220a6d`](https://github.com/better-auth/better-auth/commit/2220a6d6c25ebd24c8568131636389dc0c12f82b)]: + - better-auth@1.6.10 + - @better-auth/core@1.6.10 + - @better-auth/telemetry@1.6.10 + ## 1.6.9 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index a390af456d..c608ed85b0 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "auth", - "version": "1.6.9", + "version": "1.6.10", "description": "The CLI for Better Auth", "type": "module", "license": "MIT", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index a63250f549..42cce81338 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,11 @@ # @better-auth/core +## 1.6.10 + +### Patch Changes + +- [#9395](https://github.com/better-auth/better-auth/pull/9395) [`2220a6d`](https://github.com/better-auth/better-auth/commit/2220a6d6c25ebd24c8568131636389dc0c12f82b) Thanks [@cyphercodes](https://github.com/cyphercodes)! - Route Cloudflare Workers instrumentation imports to the pure no-op entry when OpenTelemetry is not installed. + ## 1.6.9 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index e4fd385a0f..2c058ac577 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@better-auth/core", - "version": "1.6.9", + "version": "1.6.10", "description": "The most comprehensive authentication framework for TypeScript.", "type": "module", "license": "MIT", diff --git a/packages/drizzle-adapter/CHANGELOG.md b/packages/drizzle-adapter/CHANGELOG.md index a37276c23e..79d4b301ee 100644 --- a/packages/drizzle-adapter/CHANGELOG.md +++ b/packages/drizzle-adapter/CHANGELOG.md @@ -1,5 +1,12 @@ # @better-auth/drizzle-adapter +## 1.6.10 + +### Patch Changes + +- Updated dependencies [[`2220a6d`](https://github.com/better-auth/better-auth/commit/2220a6d6c25ebd24c8568131636389dc0c12f82b)]: + - @better-auth/core@1.6.10 + ## 1.6.9 ### Patch Changes diff --git a/packages/drizzle-adapter/package.json b/packages/drizzle-adapter/package.json index b39cf7eb87..7b051181f0 100644 --- a/packages/drizzle-adapter/package.json +++ b/packages/drizzle-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@better-auth/drizzle-adapter", - "version": "1.6.9", + "version": "1.6.10", "description": "Drizzle adapter for Better Auth", "type": "module", "license": "MIT", diff --git a/packages/electron/CHANGELOG.md b/packages/electron/CHANGELOG.md index e625b329ee..3c2eb47509 100644 --- a/packages/electron/CHANGELOG.md +++ b/packages/electron/CHANGELOG.md @@ -1,5 +1,13 @@ # @better-auth/electron +## 1.6.10 + +### Patch Changes + +- Updated dependencies [[`1e0f26d`](https://github.com/better-auth/better-auth/commit/1e0f26d4c83608d14a533f33458ade0f8504fd16), [`8c1e917`](https://github.com/better-auth/better-auth/commit/8c1e91757d91d103c332e90201c39ce5892c37e8), [`b2d655c`](https://github.com/better-auth/better-auth/commit/b2d655c77c7c627ada17456d1de106fdce6fa18e), [`09f1327`](https://github.com/better-auth/better-auth/commit/09f1327acb9c6bbfeb272dc62c7013172cf33153), [`906b7b3`](https://github.com/better-auth/better-auth/commit/906b7b34a710d49798e166395da2bcd2be13ef46), [`e9c978e`](https://github.com/better-auth/better-auth/commit/e9c978e2af9e61d35f50fd040305cbb8fdda32ba), [`e71aad3`](https://github.com/better-auth/better-auth/commit/e71aad3b6d67502cfb770fa8890f3ab58c537114), [`80a655d`](https://github.com/better-auth/better-auth/commit/80a655d271dcae5f785a70f13be60f80fb828cf1), [`15ff28a`](https://github.com/better-auth/better-auth/commit/15ff28a957a18df8ecd2aa08d66b94c91ae9a6a4), [`88a7c67`](https://github.com/better-auth/better-auth/commit/88a7c678f4db3f7da580d53071b2595b92354a45), [`9a7b51d`](https://github.com/better-auth/better-auth/commit/9a7b51d0d3dfbc6b2697fe5f9edd0bb480bdf89b), [`1b25902`](https://github.com/better-auth/better-auth/commit/1b259024dcd1bbbc08559ee057f22c01929a72a7), [`cf59136`](https://github.com/better-auth/better-auth/commit/cf591360e72a8d01741618cd61cdeea84cf8398a), [`a597ee0`](https://github.com/better-auth/better-auth/commit/a597ee01ed4e6d85aba5ee9f15100acc578390d9), [`fc02ced`](https://github.com/better-auth/better-auth/commit/fc02cedb708e2b5987a177539a903cc35155a426), [`9f1ef1f`](https://github.com/better-auth/better-auth/commit/9f1ef1f7e5500e0b3dbe2a18e25e3519847cd7a9), [`36ef808`](https://github.com/better-auth/better-auth/commit/36ef808c6cedec6eeb9a3a4e6790e0ab46d96ff3), [`c1336c5`](https://github.com/better-auth/better-auth/commit/c1336c563d45f93ca3fd4da4e6c767fc267d86d0), [`3a9a2c3`](https://github.com/better-auth/better-auth/commit/3a9a2c37eeab1d0c98845a47642d4dc27fe54ceb), [`fde0432`](https://github.com/better-auth/better-auth/commit/fde043207ef3d5a5e1f74aa5ddabf77d523d52d4), [`2220a6d`](https://github.com/better-auth/better-auth/commit/2220a6d6c25ebd24c8568131636389dc0c12f82b)]: + - better-auth@1.6.10 + - @better-auth/core@1.6.10 + ## 1.6.9 ### Patch Changes diff --git a/packages/electron/package.json b/packages/electron/package.json index ebe9f1735a..603bcfba54 100644 --- a/packages/electron/package.json +++ b/packages/electron/package.json @@ -1,6 +1,6 @@ { "name": "@better-auth/electron", - "version": "1.6.9", + "version": "1.6.10", "description": "Better Auth integration for Electron applications.", "type": "module", "license": "MIT", diff --git a/packages/expo/CHANGELOG.md b/packages/expo/CHANGELOG.md index 1605bf75b0..4b090a44f9 100644 --- a/packages/expo/CHANGELOG.md +++ b/packages/expo/CHANGELOG.md @@ -1,5 +1,13 @@ # @better-auth/expo +## 1.6.10 + +### Patch Changes + +- Updated dependencies [[`1e0f26d`](https://github.com/better-auth/better-auth/commit/1e0f26d4c83608d14a533f33458ade0f8504fd16), [`8c1e917`](https://github.com/better-auth/better-auth/commit/8c1e91757d91d103c332e90201c39ce5892c37e8), [`b2d655c`](https://github.com/better-auth/better-auth/commit/b2d655c77c7c627ada17456d1de106fdce6fa18e), [`09f1327`](https://github.com/better-auth/better-auth/commit/09f1327acb9c6bbfeb272dc62c7013172cf33153), [`906b7b3`](https://github.com/better-auth/better-auth/commit/906b7b34a710d49798e166395da2bcd2be13ef46), [`e9c978e`](https://github.com/better-auth/better-auth/commit/e9c978e2af9e61d35f50fd040305cbb8fdda32ba), [`e71aad3`](https://github.com/better-auth/better-auth/commit/e71aad3b6d67502cfb770fa8890f3ab58c537114), [`80a655d`](https://github.com/better-auth/better-auth/commit/80a655d271dcae5f785a70f13be60f80fb828cf1), [`15ff28a`](https://github.com/better-auth/better-auth/commit/15ff28a957a18df8ecd2aa08d66b94c91ae9a6a4), [`88a7c67`](https://github.com/better-auth/better-auth/commit/88a7c678f4db3f7da580d53071b2595b92354a45), [`9a7b51d`](https://github.com/better-auth/better-auth/commit/9a7b51d0d3dfbc6b2697fe5f9edd0bb480bdf89b), [`1b25902`](https://github.com/better-auth/better-auth/commit/1b259024dcd1bbbc08559ee057f22c01929a72a7), [`cf59136`](https://github.com/better-auth/better-auth/commit/cf591360e72a8d01741618cd61cdeea84cf8398a), [`a597ee0`](https://github.com/better-auth/better-auth/commit/a597ee01ed4e6d85aba5ee9f15100acc578390d9), [`fc02ced`](https://github.com/better-auth/better-auth/commit/fc02cedb708e2b5987a177539a903cc35155a426), [`9f1ef1f`](https://github.com/better-auth/better-auth/commit/9f1ef1f7e5500e0b3dbe2a18e25e3519847cd7a9), [`36ef808`](https://github.com/better-auth/better-auth/commit/36ef808c6cedec6eeb9a3a4e6790e0ab46d96ff3), [`c1336c5`](https://github.com/better-auth/better-auth/commit/c1336c563d45f93ca3fd4da4e6c767fc267d86d0), [`3a9a2c3`](https://github.com/better-auth/better-auth/commit/3a9a2c37eeab1d0c98845a47642d4dc27fe54ceb), [`fde0432`](https://github.com/better-auth/better-auth/commit/fde043207ef3d5a5e1f74aa5ddabf77d523d52d4), [`2220a6d`](https://github.com/better-auth/better-auth/commit/2220a6d6c25ebd24c8568131636389dc0c12f82b)]: + - better-auth@1.6.10 + - @better-auth/core@1.6.10 + ## 1.6.9 ### Patch Changes diff --git a/packages/expo/package.json b/packages/expo/package.json index 1009706586..2955445a04 100644 --- a/packages/expo/package.json +++ b/packages/expo/package.json @@ -1,6 +1,6 @@ { "name": "@better-auth/expo", - "version": "1.6.9", + "version": "1.6.10", "description": "Better Auth integration for Expo and React Native applications.", "type": "module", "license": "MIT", diff --git a/packages/i18n/CHANGELOG.md b/packages/i18n/CHANGELOG.md index a85d35768b..bb525be4b5 100644 --- a/packages/i18n/CHANGELOG.md +++ b/packages/i18n/CHANGELOG.md @@ -1,5 +1,13 @@ # @better-auth/i18n +## 1.6.10 + +### Patch Changes + +- Updated dependencies [[`1e0f26d`](https://github.com/better-auth/better-auth/commit/1e0f26d4c83608d14a533f33458ade0f8504fd16), [`8c1e917`](https://github.com/better-auth/better-auth/commit/8c1e91757d91d103c332e90201c39ce5892c37e8), [`b2d655c`](https://github.com/better-auth/better-auth/commit/b2d655c77c7c627ada17456d1de106fdce6fa18e), [`09f1327`](https://github.com/better-auth/better-auth/commit/09f1327acb9c6bbfeb272dc62c7013172cf33153), [`906b7b3`](https://github.com/better-auth/better-auth/commit/906b7b34a710d49798e166395da2bcd2be13ef46), [`e9c978e`](https://github.com/better-auth/better-auth/commit/e9c978e2af9e61d35f50fd040305cbb8fdda32ba), [`e71aad3`](https://github.com/better-auth/better-auth/commit/e71aad3b6d67502cfb770fa8890f3ab58c537114), [`80a655d`](https://github.com/better-auth/better-auth/commit/80a655d271dcae5f785a70f13be60f80fb828cf1), [`15ff28a`](https://github.com/better-auth/better-auth/commit/15ff28a957a18df8ecd2aa08d66b94c91ae9a6a4), [`88a7c67`](https://github.com/better-auth/better-auth/commit/88a7c678f4db3f7da580d53071b2595b92354a45), [`9a7b51d`](https://github.com/better-auth/better-auth/commit/9a7b51d0d3dfbc6b2697fe5f9edd0bb480bdf89b), [`1b25902`](https://github.com/better-auth/better-auth/commit/1b259024dcd1bbbc08559ee057f22c01929a72a7), [`cf59136`](https://github.com/better-auth/better-auth/commit/cf591360e72a8d01741618cd61cdeea84cf8398a), [`a597ee0`](https://github.com/better-auth/better-auth/commit/a597ee01ed4e6d85aba5ee9f15100acc578390d9), [`fc02ced`](https://github.com/better-auth/better-auth/commit/fc02cedb708e2b5987a177539a903cc35155a426), [`9f1ef1f`](https://github.com/better-auth/better-auth/commit/9f1ef1f7e5500e0b3dbe2a18e25e3519847cd7a9), [`36ef808`](https://github.com/better-auth/better-auth/commit/36ef808c6cedec6eeb9a3a4e6790e0ab46d96ff3), [`c1336c5`](https://github.com/better-auth/better-auth/commit/c1336c563d45f93ca3fd4da4e6c767fc267d86d0), [`3a9a2c3`](https://github.com/better-auth/better-auth/commit/3a9a2c37eeab1d0c98845a47642d4dc27fe54ceb), [`fde0432`](https://github.com/better-auth/better-auth/commit/fde043207ef3d5a5e1f74aa5ddabf77d523d52d4), [`2220a6d`](https://github.com/better-auth/better-auth/commit/2220a6d6c25ebd24c8568131636389dc0c12f82b)]: + - better-auth@1.6.10 + - @better-auth/core@1.6.10 + ## 1.6.9 ### Patch Changes diff --git a/packages/i18n/package.json b/packages/i18n/package.json index af9c4b1cd8..0b18db280d 100644 --- a/packages/i18n/package.json +++ b/packages/i18n/package.json @@ -1,6 +1,6 @@ { "name": "@better-auth/i18n", - "version": "1.6.9", + "version": "1.6.10", "description": "i18n plugin for Better Auth - translate error messages", "type": "module", "license": "MIT", diff --git a/packages/kysely-adapter/CHANGELOG.md b/packages/kysely-adapter/CHANGELOG.md index 78caa148ba..3ce551ac15 100644 --- a/packages/kysely-adapter/CHANGELOG.md +++ b/packages/kysely-adapter/CHANGELOG.md @@ -1,5 +1,12 @@ # @better-auth/kysely-adapter +## 1.6.10 + +### Patch Changes + +- Updated dependencies [[`2220a6d`](https://github.com/better-auth/better-auth/commit/2220a6d6c25ebd24c8568131636389dc0c12f82b)]: + - @better-auth/core@1.6.10 + ## 1.6.9 ### Patch Changes diff --git a/packages/kysely-adapter/package.json b/packages/kysely-adapter/package.json index c878763b71..00505d949b 100644 --- a/packages/kysely-adapter/package.json +++ b/packages/kysely-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@better-auth/kysely-adapter", - "version": "1.6.9", + "version": "1.6.10", "description": "Kysely adapter for Better Auth", "type": "module", "license": "MIT", diff --git a/packages/memory-adapter/CHANGELOG.md b/packages/memory-adapter/CHANGELOG.md index 3afa4b5f5a..80ba1fffba 100644 --- a/packages/memory-adapter/CHANGELOG.md +++ b/packages/memory-adapter/CHANGELOG.md @@ -1,5 +1,12 @@ # @better-auth/memory-adapter +## 1.6.10 + +### Patch Changes + +- Updated dependencies [[`2220a6d`](https://github.com/better-auth/better-auth/commit/2220a6d6c25ebd24c8568131636389dc0c12f82b)]: + - @better-auth/core@1.6.10 + ## 1.6.9 ### Patch Changes diff --git a/packages/memory-adapter/package.json b/packages/memory-adapter/package.json index b0f8a12c82..a90b7d29db 100644 --- a/packages/memory-adapter/package.json +++ b/packages/memory-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@better-auth/memory-adapter", - "version": "1.6.9", + "version": "1.6.10", "description": "Memory adapter for Better Auth", "type": "module", "license": "MIT", diff --git a/packages/mongo-adapter/CHANGELOG.md b/packages/mongo-adapter/CHANGELOG.md index 2ef6f67685..b7636a6598 100644 --- a/packages/mongo-adapter/CHANGELOG.md +++ b/packages/mongo-adapter/CHANGELOG.md @@ -1,5 +1,12 @@ # @better-auth/mongo-adapter +## 1.6.10 + +### Patch Changes + +- Updated dependencies [[`2220a6d`](https://github.com/better-auth/better-auth/commit/2220a6d6c25ebd24c8568131636389dc0c12f82b)]: + - @better-auth/core@1.6.10 + ## 1.6.9 ### Patch Changes diff --git a/packages/mongo-adapter/package.json b/packages/mongo-adapter/package.json index afa3702dca..c9bfa025bd 100644 --- a/packages/mongo-adapter/package.json +++ b/packages/mongo-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@better-auth/mongo-adapter", - "version": "1.6.9", + "version": "1.6.10", "description": "Mongo adapter for Better Auth", "type": "module", "license": "MIT", diff --git a/packages/oauth-provider/CHANGELOG.md b/packages/oauth-provider/CHANGELOG.md index 2c9da66f48..ad5817b191 100644 --- a/packages/oauth-provider/CHANGELOG.md +++ b/packages/oauth-provider/CHANGELOG.md @@ -1,5 +1,39 @@ # @better-auth/oauth-provider +## 1.6.10 + +### Patch Changes + +- [#9344](https://github.com/better-auth/better-auth/pull/9344) [`408a307`](https://github.com/better-auth/better-auth/commit/408a3076bdd5b450c96bdad82be797ac8a8d3f83) Thanks [@gustavovalverde](https://github.com/gustavovalverde)! - fix(oauth-provider): bind consent-accept postLogin skip to the signing session + + When `authorize` emits a signed redirect past the postLogin gate it now + records `ba_pl=` in the signed authorization query. On consent + accept, `authorizeEndpoint` is called with `{ postLogin: true }` only when + the incoming signed query's marker matches the current session's id; + otherwise it re-enters `authorize` with `postLogin.shouldRedirect` still + enforced. Resolves the post-consent bounce back to the postLogin page for + `setActive`-driven flows, blocks a direct POST to `/oauth2/consent` with + a pre-postLogin signed query from skipping `shouldRedirect`, and prevents + a different or newly logged-in session from re-using another session's + marker to skip `shouldRedirect`. + +- [#9389](https://github.com/better-auth/better-auth/pull/9389) [`f7bc1c7`](https://github.com/better-auth/better-auth/commit/f7bc1c73490d657a8ffa92a58ecfa9d8403d4fda) Thanks [@zllovesuki](https://github.com/zllovesuki)! - Add indexes to OAuth provider foreign-key fields in generated schemas. + +- [#9344](https://github.com/better-auth/better-auth/pull/9344) [`408a307`](https://github.com/better-auth/better-auth/commit/408a3076bdd5b450c96bdad82be797ac8a8d3f83) Thanks [@gustavovalverde](https://github.com/gustavovalverde)! - fix(oauth-provider): complete stale `prompt=login consent` continuations after forced login + + Consent continuations now carry the signed authorization request issue time and + only clear a lingering `login` prompt when the active session was created for + that request. This preserves forced reauthentication semantics while avoiding + the loop where a completed reauthentication is sent back to `/login`. + +- [#9406](https://github.com/better-auth/better-auth/pull/9406) [`d427d1d`](https://github.com/better-auth/better-auth/commit/d427d1dba91db8861d935ca5838f49eb7e617f67) Thanks [@cyphercodes](https://github.com/cyphercodes)! - Export OAuth provider helper types used by public declarations so downstream declaration emit can name auth instances portably. + +- [#9324](https://github.com/better-auth/better-auth/pull/9324) [`6b03a45`](https://github.com/better-auth/better-auth/commit/6b03a45a14d905aa070068290adfedfd4c5f4e2d) Thanks [@dvanmali](https://github.com/dvanmali)! - Make `sessionId` optional in refresh token types to match the refresh token schema. + +- Updated dependencies [[`1e0f26d`](https://github.com/better-auth/better-auth/commit/1e0f26d4c83608d14a533f33458ade0f8504fd16), [`8c1e917`](https://github.com/better-auth/better-auth/commit/8c1e91757d91d103c332e90201c39ce5892c37e8), [`b2d655c`](https://github.com/better-auth/better-auth/commit/b2d655c77c7c627ada17456d1de106fdce6fa18e), [`09f1327`](https://github.com/better-auth/better-auth/commit/09f1327acb9c6bbfeb272dc62c7013172cf33153), [`906b7b3`](https://github.com/better-auth/better-auth/commit/906b7b34a710d49798e166395da2bcd2be13ef46), [`e9c978e`](https://github.com/better-auth/better-auth/commit/e9c978e2af9e61d35f50fd040305cbb8fdda32ba), [`e71aad3`](https://github.com/better-auth/better-auth/commit/e71aad3b6d67502cfb770fa8890f3ab58c537114), [`80a655d`](https://github.com/better-auth/better-auth/commit/80a655d271dcae5f785a70f13be60f80fb828cf1), [`15ff28a`](https://github.com/better-auth/better-auth/commit/15ff28a957a18df8ecd2aa08d66b94c91ae9a6a4), [`88a7c67`](https://github.com/better-auth/better-auth/commit/88a7c678f4db3f7da580d53071b2595b92354a45), [`9a7b51d`](https://github.com/better-auth/better-auth/commit/9a7b51d0d3dfbc6b2697fe5f9edd0bb480bdf89b), [`1b25902`](https://github.com/better-auth/better-auth/commit/1b259024dcd1bbbc08559ee057f22c01929a72a7), [`cf59136`](https://github.com/better-auth/better-auth/commit/cf591360e72a8d01741618cd61cdeea84cf8398a), [`a597ee0`](https://github.com/better-auth/better-auth/commit/a597ee01ed4e6d85aba5ee9f15100acc578390d9), [`fc02ced`](https://github.com/better-auth/better-auth/commit/fc02cedb708e2b5987a177539a903cc35155a426), [`9f1ef1f`](https://github.com/better-auth/better-auth/commit/9f1ef1f7e5500e0b3dbe2a18e25e3519847cd7a9), [`36ef808`](https://github.com/better-auth/better-auth/commit/36ef808c6cedec6eeb9a3a4e6790e0ab46d96ff3), [`c1336c5`](https://github.com/better-auth/better-auth/commit/c1336c563d45f93ca3fd4da4e6c767fc267d86d0), [`3a9a2c3`](https://github.com/better-auth/better-auth/commit/3a9a2c37eeab1d0c98845a47642d4dc27fe54ceb), [`fde0432`](https://github.com/better-auth/better-auth/commit/fde043207ef3d5a5e1f74aa5ddabf77d523d52d4), [`2220a6d`](https://github.com/better-auth/better-auth/commit/2220a6d6c25ebd24c8568131636389dc0c12f82b)]: + - better-auth@1.6.10 + - @better-auth/core@1.6.10 + ## 1.6.9 ### Patch Changes diff --git a/packages/oauth-provider/package.json b/packages/oauth-provider/package.json index db799fbca4..402026f420 100644 --- a/packages/oauth-provider/package.json +++ b/packages/oauth-provider/package.json @@ -1,6 +1,6 @@ { "name": "@better-auth/oauth-provider", - "version": "1.6.9", + "version": "1.6.10", "description": "An oauth provider plugin for Better Auth", "type": "module", "license": "MIT", diff --git a/packages/passkey/CHANGELOG.md b/packages/passkey/CHANGELOG.md index dc6db690d0..9a9cabead4 100644 --- a/packages/passkey/CHANGELOG.md +++ b/packages/passkey/CHANGELOG.md @@ -1,5 +1,15 @@ # @better-auth/passkey +## 1.6.10 + +### Patch Changes + +- [#9429](https://github.com/better-auth/better-auth/pull/9429) [`ddae581`](https://github.com/better-auth/better-auth/commit/ddae5817c882ed47961588e795ee194ee64c9e6b) Thanks [@cyphercodes](https://github.com/cyphercodes)! - Return a handled auth cancellation when passkey autofill authentication cannot start. + +- Updated dependencies [[`1e0f26d`](https://github.com/better-auth/better-auth/commit/1e0f26d4c83608d14a533f33458ade0f8504fd16), [`8c1e917`](https://github.com/better-auth/better-auth/commit/8c1e91757d91d103c332e90201c39ce5892c37e8), [`b2d655c`](https://github.com/better-auth/better-auth/commit/b2d655c77c7c627ada17456d1de106fdce6fa18e), [`09f1327`](https://github.com/better-auth/better-auth/commit/09f1327acb9c6bbfeb272dc62c7013172cf33153), [`906b7b3`](https://github.com/better-auth/better-auth/commit/906b7b34a710d49798e166395da2bcd2be13ef46), [`e9c978e`](https://github.com/better-auth/better-auth/commit/e9c978e2af9e61d35f50fd040305cbb8fdda32ba), [`e71aad3`](https://github.com/better-auth/better-auth/commit/e71aad3b6d67502cfb770fa8890f3ab58c537114), [`80a655d`](https://github.com/better-auth/better-auth/commit/80a655d271dcae5f785a70f13be60f80fb828cf1), [`15ff28a`](https://github.com/better-auth/better-auth/commit/15ff28a957a18df8ecd2aa08d66b94c91ae9a6a4), [`88a7c67`](https://github.com/better-auth/better-auth/commit/88a7c678f4db3f7da580d53071b2595b92354a45), [`9a7b51d`](https://github.com/better-auth/better-auth/commit/9a7b51d0d3dfbc6b2697fe5f9edd0bb480bdf89b), [`1b25902`](https://github.com/better-auth/better-auth/commit/1b259024dcd1bbbc08559ee057f22c01929a72a7), [`cf59136`](https://github.com/better-auth/better-auth/commit/cf591360e72a8d01741618cd61cdeea84cf8398a), [`a597ee0`](https://github.com/better-auth/better-auth/commit/a597ee01ed4e6d85aba5ee9f15100acc578390d9), [`fc02ced`](https://github.com/better-auth/better-auth/commit/fc02cedb708e2b5987a177539a903cc35155a426), [`9f1ef1f`](https://github.com/better-auth/better-auth/commit/9f1ef1f7e5500e0b3dbe2a18e25e3519847cd7a9), [`36ef808`](https://github.com/better-auth/better-auth/commit/36ef808c6cedec6eeb9a3a4e6790e0ab46d96ff3), [`c1336c5`](https://github.com/better-auth/better-auth/commit/c1336c563d45f93ca3fd4da4e6c767fc267d86d0), [`3a9a2c3`](https://github.com/better-auth/better-auth/commit/3a9a2c37eeab1d0c98845a47642d4dc27fe54ceb), [`fde0432`](https://github.com/better-auth/better-auth/commit/fde043207ef3d5a5e1f74aa5ddabf77d523d52d4), [`2220a6d`](https://github.com/better-auth/better-auth/commit/2220a6d6c25ebd24c8568131636389dc0c12f82b)]: + - better-auth@1.6.10 + - @better-auth/core@1.6.10 + ## 1.6.9 ### Patch Changes diff --git a/packages/passkey/package.json b/packages/passkey/package.json index 3b56b85dbe..d13be39af8 100644 --- a/packages/passkey/package.json +++ b/packages/passkey/package.json @@ -1,6 +1,6 @@ { "name": "@better-auth/passkey", - "version": "1.6.9", + "version": "1.6.10", "description": "Passkey plugin for Better Auth", "type": "module", "license": "MIT", diff --git a/packages/prisma-adapter/CHANGELOG.md b/packages/prisma-adapter/CHANGELOG.md index c2aadf06bd..aebdb82fa8 100644 --- a/packages/prisma-adapter/CHANGELOG.md +++ b/packages/prisma-adapter/CHANGELOG.md @@ -1,5 +1,12 @@ # @better-auth/prisma-adapter +## 1.6.10 + +### Patch Changes + +- Updated dependencies [[`2220a6d`](https://github.com/better-auth/better-auth/commit/2220a6d6c25ebd24c8568131636389dc0c12f82b)]: + - @better-auth/core@1.6.10 + ## 1.6.9 ### Patch Changes diff --git a/packages/prisma-adapter/package.json b/packages/prisma-adapter/package.json index 5d21d29700..badb644f5d 100644 --- a/packages/prisma-adapter/package.json +++ b/packages/prisma-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@better-auth/prisma-adapter", - "version": "1.6.9", + "version": "1.6.10", "description": "Prisma adapter for Better Auth", "type": "module", "license": "MIT", diff --git a/packages/redis-storage/CHANGELOG.md b/packages/redis-storage/CHANGELOG.md index 50b5537d67..cf3ddafb92 100644 --- a/packages/redis-storage/CHANGELOG.md +++ b/packages/redis-storage/CHANGELOG.md @@ -1,5 +1,12 @@ # @better-auth/redis-storage +## 1.6.10 + +### Patch Changes + +- Updated dependencies [[`2220a6d`](https://github.com/better-auth/better-auth/commit/2220a6d6c25ebd24c8568131636389dc0c12f82b)]: + - @better-auth/core@1.6.10 + ## 1.6.9 ### Patch Changes diff --git a/packages/redis-storage/package.json b/packages/redis-storage/package.json index 5f26cedb3d..3418bcc02f 100644 --- a/packages/redis-storage/package.json +++ b/packages/redis-storage/package.json @@ -1,6 +1,6 @@ { "name": "@better-auth/redis-storage", - "version": "1.6.9", + "version": "1.6.10", "description": "Redis storage for Better Auth secondary storage", "type": "module", "license": "MIT", diff --git a/packages/scim/CHANGELOG.md b/packages/scim/CHANGELOG.md index 86a53549a0..44b081faa8 100644 --- a/packages/scim/CHANGELOG.md +++ b/packages/scim/CHANGELOG.md @@ -1,5 +1,13 @@ # @better-auth/scim +## 1.6.10 + +### Patch Changes + +- Updated dependencies [[`1e0f26d`](https://github.com/better-auth/better-auth/commit/1e0f26d4c83608d14a533f33458ade0f8504fd16), [`8c1e917`](https://github.com/better-auth/better-auth/commit/8c1e91757d91d103c332e90201c39ce5892c37e8), [`b2d655c`](https://github.com/better-auth/better-auth/commit/b2d655c77c7c627ada17456d1de106fdce6fa18e), [`09f1327`](https://github.com/better-auth/better-auth/commit/09f1327acb9c6bbfeb272dc62c7013172cf33153), [`906b7b3`](https://github.com/better-auth/better-auth/commit/906b7b34a710d49798e166395da2bcd2be13ef46), [`e9c978e`](https://github.com/better-auth/better-auth/commit/e9c978e2af9e61d35f50fd040305cbb8fdda32ba), [`e71aad3`](https://github.com/better-auth/better-auth/commit/e71aad3b6d67502cfb770fa8890f3ab58c537114), [`80a655d`](https://github.com/better-auth/better-auth/commit/80a655d271dcae5f785a70f13be60f80fb828cf1), [`15ff28a`](https://github.com/better-auth/better-auth/commit/15ff28a957a18df8ecd2aa08d66b94c91ae9a6a4), [`88a7c67`](https://github.com/better-auth/better-auth/commit/88a7c678f4db3f7da580d53071b2595b92354a45), [`9a7b51d`](https://github.com/better-auth/better-auth/commit/9a7b51d0d3dfbc6b2697fe5f9edd0bb480bdf89b), [`1b25902`](https://github.com/better-auth/better-auth/commit/1b259024dcd1bbbc08559ee057f22c01929a72a7), [`cf59136`](https://github.com/better-auth/better-auth/commit/cf591360e72a8d01741618cd61cdeea84cf8398a), [`a597ee0`](https://github.com/better-auth/better-auth/commit/a597ee01ed4e6d85aba5ee9f15100acc578390d9), [`fc02ced`](https://github.com/better-auth/better-auth/commit/fc02cedb708e2b5987a177539a903cc35155a426), [`9f1ef1f`](https://github.com/better-auth/better-auth/commit/9f1ef1f7e5500e0b3dbe2a18e25e3519847cd7a9), [`36ef808`](https://github.com/better-auth/better-auth/commit/36ef808c6cedec6eeb9a3a4e6790e0ab46d96ff3), [`c1336c5`](https://github.com/better-auth/better-auth/commit/c1336c563d45f93ca3fd4da4e6c767fc267d86d0), [`3a9a2c3`](https://github.com/better-auth/better-auth/commit/3a9a2c37eeab1d0c98845a47642d4dc27fe54ceb), [`fde0432`](https://github.com/better-auth/better-auth/commit/fde043207ef3d5a5e1f74aa5ddabf77d523d52d4), [`2220a6d`](https://github.com/better-auth/better-auth/commit/2220a6d6c25ebd24c8568131636389dc0c12f82b)]: + - better-auth@1.6.10 + - @better-auth/core@1.6.10 + ## 1.6.9 ### Patch Changes diff --git a/packages/scim/package.json b/packages/scim/package.json index 54c0d063fa..03a4c6272f 100644 --- a/packages/scim/package.json +++ b/packages/scim/package.json @@ -1,6 +1,6 @@ { "name": "@better-auth/scim", - "version": "1.6.9", + "version": "1.6.10", "description": "SCIM plugin for Better Auth", "type": "module", "license": "MIT", diff --git a/packages/sso/CHANGELOG.md b/packages/sso/CHANGELOG.md index b31df31ad3..8a67debaf1 100644 --- a/packages/sso/CHANGELOG.md +++ b/packages/sso/CHANGELOG.md @@ -1,5 +1,21 @@ # @better-auth/sso +## 1.6.10 + +### Patch Changes + +- [#9398](https://github.com/better-auth/better-auth/pull/9398) [`006e809`](https://github.com/better-auth/better-auth/commit/006e809b92d4a933e52a4684b74419bc419530dc) Thanks [@Craga89](https://github.com/Craga89)! - fix(sso): use findSAMLProvider in spMetadata so defaultSSO providers resolve + + `/sso/saml2/sp/metadata` was the only SAML endpoint that called `adapter.findOne` + directly, so providers configured via `defaultSSO` (which are not persisted to the + database) caused it to throw `NOT_FOUND`. The endpoint now uses the shared + `findSAMLProvider` helper, matching `signInSSO`, the SAML callback handler, and + `signOut`. + +- Updated dependencies [[`1e0f26d`](https://github.com/better-auth/better-auth/commit/1e0f26d4c83608d14a533f33458ade0f8504fd16), [`8c1e917`](https://github.com/better-auth/better-auth/commit/8c1e91757d91d103c332e90201c39ce5892c37e8), [`b2d655c`](https://github.com/better-auth/better-auth/commit/b2d655c77c7c627ada17456d1de106fdce6fa18e), [`09f1327`](https://github.com/better-auth/better-auth/commit/09f1327acb9c6bbfeb272dc62c7013172cf33153), [`906b7b3`](https://github.com/better-auth/better-auth/commit/906b7b34a710d49798e166395da2bcd2be13ef46), [`e9c978e`](https://github.com/better-auth/better-auth/commit/e9c978e2af9e61d35f50fd040305cbb8fdda32ba), [`e71aad3`](https://github.com/better-auth/better-auth/commit/e71aad3b6d67502cfb770fa8890f3ab58c537114), [`80a655d`](https://github.com/better-auth/better-auth/commit/80a655d271dcae5f785a70f13be60f80fb828cf1), [`15ff28a`](https://github.com/better-auth/better-auth/commit/15ff28a957a18df8ecd2aa08d66b94c91ae9a6a4), [`88a7c67`](https://github.com/better-auth/better-auth/commit/88a7c678f4db3f7da580d53071b2595b92354a45), [`9a7b51d`](https://github.com/better-auth/better-auth/commit/9a7b51d0d3dfbc6b2697fe5f9edd0bb480bdf89b), [`1b25902`](https://github.com/better-auth/better-auth/commit/1b259024dcd1bbbc08559ee057f22c01929a72a7), [`cf59136`](https://github.com/better-auth/better-auth/commit/cf591360e72a8d01741618cd61cdeea84cf8398a), [`a597ee0`](https://github.com/better-auth/better-auth/commit/a597ee01ed4e6d85aba5ee9f15100acc578390d9), [`fc02ced`](https://github.com/better-auth/better-auth/commit/fc02cedb708e2b5987a177539a903cc35155a426), [`9f1ef1f`](https://github.com/better-auth/better-auth/commit/9f1ef1f7e5500e0b3dbe2a18e25e3519847cd7a9), [`36ef808`](https://github.com/better-auth/better-auth/commit/36ef808c6cedec6eeb9a3a4e6790e0ab46d96ff3), [`c1336c5`](https://github.com/better-auth/better-auth/commit/c1336c563d45f93ca3fd4da4e6c767fc267d86d0), [`3a9a2c3`](https://github.com/better-auth/better-auth/commit/3a9a2c37eeab1d0c98845a47642d4dc27fe54ceb), [`fde0432`](https://github.com/better-auth/better-auth/commit/fde043207ef3d5a5e1f74aa5ddabf77d523d52d4), [`2220a6d`](https://github.com/better-auth/better-auth/commit/2220a6d6c25ebd24c8568131636389dc0c12f82b)]: + - better-auth@1.6.10 + - @better-auth/core@1.6.10 + ## 1.6.9 ### Patch Changes diff --git a/packages/sso/package.json b/packages/sso/package.json index c758dad4fd..f3cbfe8995 100644 --- a/packages/sso/package.json +++ b/packages/sso/package.json @@ -1,6 +1,6 @@ { "name": "@better-auth/sso", - "version": "1.6.9", + "version": "1.6.10", "description": "SSO plugin for Better Auth", "type": "module", "license": "MIT", diff --git a/packages/stripe/CHANGELOG.md b/packages/stripe/CHANGELOG.md index e3279aa76b..8589deeb23 100644 --- a/packages/stripe/CHANGELOG.md +++ b/packages/stripe/CHANGELOG.md @@ -1,5 +1,21 @@ # @better-auth/stripe +## 1.6.10 + +### Patch Changes + +- [#9481](https://github.com/better-auth/better-auth/pull/9481) [`51de32e`](https://github.com/better-auth/better-auth/commit/51de32e1e81a45f437e82a5e9d51438f3372f511) Thanks [@bytaesu](https://github.com/bytaesu)! - `getCheckoutSessionParams` no longer overrides fields the plugin manages internally for webhook reconciliation and billing: `success_url`, `cancel_url`, `mode`, `customer`, `customer_email`, `client_reference_id`, and `line_items`. Other parameters still pass through. `locale` now prefers the request value over `getCheckoutSessionParams`. + +- [#9474](https://github.com/better-auth/better-auth/pull/9474) [`07b52cb`](https://github.com/better-auth/better-auth/commit/07b52cbb795ff74fcd3747036eefd0c780cf8d58) Thanks [@bytaesu](https://github.com/bytaesu)! - Returning a custom `subscription_data` from `getCheckoutSessionParams` no longer hides the plan's free trial in Stripe Checkout or creates duplicate local subscription rows when the `customer.subscription.created` webhook fires. + +- [#9354](https://github.com/better-auth/better-auth/pull/9354) [`5d24a74`](https://github.com/better-auth/better-auth/commit/5d24a7478b563b38353681c0f6317d540a4721f1) Thanks [@bytaesu](https://github.com/bytaesu)! - `onSubscriptionUpdate` now receives `stripeSubscription` (the raw Stripe object), matching the shape of all other subscription callbacks. `onSubscriptionCancel` now also receives the post-update subscription row instead of the pre-update snapshot. + +- [#9356](https://github.com/better-auth/better-auth/pull/9356) [`3e4fc8c`](https://github.com/better-auth/better-auth/commit/3e4fc8ca74e04f4e675dd69c8d552141c6ef5d9b) Thanks [@bytaesu](https://github.com/bytaesu)! - `onSubscriptionDeleted`, `onTrialEnd`, and `onTrialExpired` now receive the post-update subscription row instead of the pre-update snapshot, consistent with the rest of the lifecycle callbacks. + +- Updated dependencies [[`1e0f26d`](https://github.com/better-auth/better-auth/commit/1e0f26d4c83608d14a533f33458ade0f8504fd16), [`8c1e917`](https://github.com/better-auth/better-auth/commit/8c1e91757d91d103c332e90201c39ce5892c37e8), [`b2d655c`](https://github.com/better-auth/better-auth/commit/b2d655c77c7c627ada17456d1de106fdce6fa18e), [`09f1327`](https://github.com/better-auth/better-auth/commit/09f1327acb9c6bbfeb272dc62c7013172cf33153), [`906b7b3`](https://github.com/better-auth/better-auth/commit/906b7b34a710d49798e166395da2bcd2be13ef46), [`e9c978e`](https://github.com/better-auth/better-auth/commit/e9c978e2af9e61d35f50fd040305cbb8fdda32ba), [`e71aad3`](https://github.com/better-auth/better-auth/commit/e71aad3b6d67502cfb770fa8890f3ab58c537114), [`80a655d`](https://github.com/better-auth/better-auth/commit/80a655d271dcae5f785a70f13be60f80fb828cf1), [`15ff28a`](https://github.com/better-auth/better-auth/commit/15ff28a957a18df8ecd2aa08d66b94c91ae9a6a4), [`88a7c67`](https://github.com/better-auth/better-auth/commit/88a7c678f4db3f7da580d53071b2595b92354a45), [`9a7b51d`](https://github.com/better-auth/better-auth/commit/9a7b51d0d3dfbc6b2697fe5f9edd0bb480bdf89b), [`1b25902`](https://github.com/better-auth/better-auth/commit/1b259024dcd1bbbc08559ee057f22c01929a72a7), [`cf59136`](https://github.com/better-auth/better-auth/commit/cf591360e72a8d01741618cd61cdeea84cf8398a), [`a597ee0`](https://github.com/better-auth/better-auth/commit/a597ee01ed4e6d85aba5ee9f15100acc578390d9), [`fc02ced`](https://github.com/better-auth/better-auth/commit/fc02cedb708e2b5987a177539a903cc35155a426), [`9f1ef1f`](https://github.com/better-auth/better-auth/commit/9f1ef1f7e5500e0b3dbe2a18e25e3519847cd7a9), [`36ef808`](https://github.com/better-auth/better-auth/commit/36ef808c6cedec6eeb9a3a4e6790e0ab46d96ff3), [`c1336c5`](https://github.com/better-auth/better-auth/commit/c1336c563d45f93ca3fd4da4e6c767fc267d86d0), [`3a9a2c3`](https://github.com/better-auth/better-auth/commit/3a9a2c37eeab1d0c98845a47642d4dc27fe54ceb), [`fde0432`](https://github.com/better-auth/better-auth/commit/fde043207ef3d5a5e1f74aa5ddabf77d523d52d4), [`2220a6d`](https://github.com/better-auth/better-auth/commit/2220a6d6c25ebd24c8568131636389dc0c12f82b)]: + - better-auth@1.6.10 + - @better-auth/core@1.6.10 + ## 1.6.9 ### Patch Changes diff --git a/packages/stripe/package.json b/packages/stripe/package.json index 266a10f220..96524ff095 100644 --- a/packages/stripe/package.json +++ b/packages/stripe/package.json @@ -1,6 +1,6 @@ { "name": "@better-auth/stripe", - "version": "1.6.9", + "version": "1.6.10", "description": "Stripe plugin for Better Auth", "type": "module", "license": "MIT", diff --git a/packages/telemetry/CHANGELOG.md b/packages/telemetry/CHANGELOG.md index bd69357dea..da8efcbd54 100644 --- a/packages/telemetry/CHANGELOG.md +++ b/packages/telemetry/CHANGELOG.md @@ -1,5 +1,12 @@ # @better-auth/telemetry +## 1.6.10 + +### Patch Changes + +- Updated dependencies [[`2220a6d`](https://github.com/better-auth/better-auth/commit/2220a6d6c25ebd24c8568131636389dc0c12f82b)]: + - @better-auth/core@1.6.10 + ## 1.6.9 ### Patch Changes diff --git a/packages/telemetry/package.json b/packages/telemetry/package.json index f2047a092d..6b9da600df 100644 --- a/packages/telemetry/package.json +++ b/packages/telemetry/package.json @@ -1,6 +1,6 @@ { "name": "@better-auth/telemetry", - "version": "1.6.9", + "version": "1.6.10", "description": "Telemetry package for Better Auth", "type": "module", "license": "MIT", diff --git a/packages/test-utils/CHANGELOG.md b/packages/test-utils/CHANGELOG.md index 201ed03c79..c8d707fc25 100644 --- a/packages/test-utils/CHANGELOG.md +++ b/packages/test-utils/CHANGELOG.md @@ -1,5 +1,13 @@ # @better-auth/test-utils +## 1.6.10 + +### Patch Changes + +- Updated dependencies [[`1e0f26d`](https://github.com/better-auth/better-auth/commit/1e0f26d4c83608d14a533f33458ade0f8504fd16), [`8c1e917`](https://github.com/better-auth/better-auth/commit/8c1e91757d91d103c332e90201c39ce5892c37e8), [`b2d655c`](https://github.com/better-auth/better-auth/commit/b2d655c77c7c627ada17456d1de106fdce6fa18e), [`09f1327`](https://github.com/better-auth/better-auth/commit/09f1327acb9c6bbfeb272dc62c7013172cf33153), [`906b7b3`](https://github.com/better-auth/better-auth/commit/906b7b34a710d49798e166395da2bcd2be13ef46), [`e9c978e`](https://github.com/better-auth/better-auth/commit/e9c978e2af9e61d35f50fd040305cbb8fdda32ba), [`e71aad3`](https://github.com/better-auth/better-auth/commit/e71aad3b6d67502cfb770fa8890f3ab58c537114), [`80a655d`](https://github.com/better-auth/better-auth/commit/80a655d271dcae5f785a70f13be60f80fb828cf1), [`15ff28a`](https://github.com/better-auth/better-auth/commit/15ff28a957a18df8ecd2aa08d66b94c91ae9a6a4), [`88a7c67`](https://github.com/better-auth/better-auth/commit/88a7c678f4db3f7da580d53071b2595b92354a45), [`9a7b51d`](https://github.com/better-auth/better-auth/commit/9a7b51d0d3dfbc6b2697fe5f9edd0bb480bdf89b), [`1b25902`](https://github.com/better-auth/better-auth/commit/1b259024dcd1bbbc08559ee057f22c01929a72a7), [`cf59136`](https://github.com/better-auth/better-auth/commit/cf591360e72a8d01741618cd61cdeea84cf8398a), [`a597ee0`](https://github.com/better-auth/better-auth/commit/a597ee01ed4e6d85aba5ee9f15100acc578390d9), [`fc02ced`](https://github.com/better-auth/better-auth/commit/fc02cedb708e2b5987a177539a903cc35155a426), [`9f1ef1f`](https://github.com/better-auth/better-auth/commit/9f1ef1f7e5500e0b3dbe2a18e25e3519847cd7a9), [`36ef808`](https://github.com/better-auth/better-auth/commit/36ef808c6cedec6eeb9a3a4e6790e0ab46d96ff3), [`c1336c5`](https://github.com/better-auth/better-auth/commit/c1336c563d45f93ca3fd4da4e6c767fc267d86d0), [`3a9a2c3`](https://github.com/better-auth/better-auth/commit/3a9a2c37eeab1d0c98845a47642d4dc27fe54ceb), [`fde0432`](https://github.com/better-auth/better-auth/commit/fde043207ef3d5a5e1f74aa5ddabf77d523d52d4), [`2220a6d`](https://github.com/better-auth/better-auth/commit/2220a6d6c25ebd24c8568131636389dc0c12f82b)]: + - better-auth@1.6.10 + - @better-auth/core@1.6.10 + ## 1.6.9 ### Patch Changes diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index f1231e54f0..1cc38d9844 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -1,6 +1,6 @@ { "name": "@better-auth/test-utils", - "version": "1.6.9", + "version": "1.6.10", "description": "Testing utilities for Better Auth adapter development", "type": "module", "license": "MIT",