chore: release v1.6.10 (#9350)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
better-release[bot]
2026-05-09 14:31:47 +00:00
committed by GitHub
co-authored by github-actions[bot] <github-actions[bot]@users.noreply.github.com>
parent 09f1327acb
commit cbb5014cdf
74 changed files with 277 additions and 224 deletions
-5
View File
@@ -1,5 +0,0 @@
---
"@better-auth/passkey": patch
---
Return a handled auth cancellation when passkey autofill authentication cannot start.
-5
View File
@@ -1,5 +0,0 @@
---
"auth": patch
---
Fix `auth init` to generate working MySQL and PostgreSQL Kysely database configs by passing the database driver directly.
-5
View File
@@ -1,5 +0,0 @@
---
"better-auth": patch
---
fix(captcha): breaks email-otp flow
-5
View File
@@ -1,5 +0,0 @@
---
"better-auth": patch
---
fix: warn for cookie-plugin being last in array
-5
View File
@@ -1,5 +0,0 @@
---
"better-auth": patch
---
Allow organization invitation role input types to accept dynamic access control roles.
@@ -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.
@@ -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.
@@ -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=<sessionId>` 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`.
@@ -1,5 +0,0 @@
---
"@better-auth/oauth-provider": patch
---
Add indexes to OAuth provider foreign-key fields in generated schemas.
@@ -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`.
@@ -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`.
@@ -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.
@@ -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.
-5
View File
@@ -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.
-5
View File
@@ -1,5 +0,0 @@
---
"better-auth": patch
---
Revalidate the client session after admin impersonation starts or stops.
@@ -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.
-5
View File
@@ -1,5 +0,0 @@
---
"better-auth": patch
---
fix: openAPI schema for POST /sign-in/social mis-declares required fields
-5
View File
@@ -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.
-5
View File
@@ -1,5 +0,0 @@
---
"better-auth": patch
---
non-ASCII error_description in generic-oauth callback routes causes TypeError on redirect
-5
View File
@@ -1,5 +0,0 @@
---
"@better-auth/api-key": patch
---
`api.verifyApiKey` now validate the key configId is matching the one in the body
-5
View File
@@ -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.
-5
View File
@@ -1,5 +0,0 @@
---
"better-auth": patch
---
fix(organization): re-export field types to prevent TS2742 with additionalFields
-5
View File
@@ -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`
-5
View File
@@ -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.
-5
View File
@@ -1,5 +0,0 @@
---
"better-auth": patch
---
Expose `authClient.siwe.getNonce()` as a compatibility alias for the SIWE nonce endpoint.
-11
View File
@@ -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`.
-5
View File
@@ -1,5 +0,0 @@
---
"better-auth": patch
---
fix: incorrect email casing across one-tap, email-otp & email-verification
-5
View File
@@ -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.
-5
View File
@@ -1,5 +0,0 @@
---
"better-auth": patch
---
Fix `organization.setActiveTeam` so it only accepts teams from the current active organization.
-5
View File
@@ -1,5 +0,0 @@
---
"better-auth": patch
---
chore: expose refreshUserSessions on internal adapter
-5
View File
@@ -1,5 +0,0 @@
---
"better-auth": patch
---
fix: improve link accessibility issues
-5
View File
@@ -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.
-5
View File
@@ -1,5 +0,0 @@
---
"@better-auth/core": patch
---
Route Cloudflare Workers instrumentation imports to the pure no-op entry when OpenTelemetry is not installed.
-5
View File
@@ -1,5 +0,0 @@
---
"@better-auth/oauth-provider": patch
---
Make `sessionId` optional in refresh token types to match the refresh token schema.
+10
View File
@@ -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
+1 -1
View File
@@ -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",
+65
View File
@@ -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
+1 -1
View File
@@ -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",
+11
View File
@@ -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
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "auth",
"version": "1.6.9",
"version": "1.6.10",
"description": "The CLI for Better Auth",
"type": "module",
"license": "MIT",
+6
View File
@@ -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
+1 -1
View File
@@ -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",
+7
View File
@@ -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
+1 -1
View File
@@ -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",
+8
View File
@@ -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
+1 -1
View File
@@ -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",
+8
View File
@@ -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
+1 -1
View File
@@ -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",
+8
View File
@@ -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
+1 -1
View File
@@ -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",
+7
View File
@@ -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
+1 -1
View File
@@ -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",
+7
View File
@@ -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
+1 -1
View File
@@ -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",
+7
View File
@@ -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
+1 -1
View File
@@ -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",
+34
View File
@@ -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=<sessionId>` 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
+1 -1
View File
@@ -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",
+10
View File
@@ -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
+1 -1
View File
@@ -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",
+7
View File
@@ -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
+1 -1
View File
@@ -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",
+7
View File
@@ -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
+1 -1
View File
@@ -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",
+8
View File
@@ -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
+1 -1
View File
@@ -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",
+16
View File
@@ -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
+1 -1
View File
@@ -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",
+16
View File
@@ -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
+1 -1
View File
@@ -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",
+7
View File
@@ -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
+1 -1
View File
@@ -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",
+8
View File
@@ -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
+1 -1
View File
@@ -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",