[PR #5223] [MERGED] chore: update transaction default value comment #5864

Closed
opened 2026-03-13 12:39:30 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5223
Author: @himself65
Created: 10/10/2025
Status: Merged
Merged: 10/10/2025
Merged by: @himself65

Base: canaryHead: himself65/2025/10/10/trx


📝 Commits (1)

  • ca8d667 chore: update transaction default value comment

📊 Changes

4 files changed (+5 additions, -5 deletions)

View changed files

📝 packages/better-auth/src/adapters/drizzle-adapter/drizzle-adapter.ts (+1 -1)
📝 packages/better-auth/src/adapters/kysely-adapter/kysely-adapter.ts (+1 -1)
📝 packages/better-auth/src/adapters/mongodb-adapter/mongodb-adapter.ts (+2 -2)
📝 packages/better-auth/src/adapters/prisma-adapter/prisma-adapter.ts (+1 -1)

📄 Description

Summary by cubic

Updated transaction config docs to default to false for Drizzle, Kysely, and Prisma adapters. For MongoDB, transactions now default to on when a client is provided (config.transaction defaults to true) unless explicitly disabled.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/5223 **Author:** [@himself65](https://github.com/himself65) **Created:** 10/10/2025 **Status:** ✅ Merged **Merged:** 10/10/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/10/10/trx` --- ### 📝 Commits (1) - [`ca8d667`](https://github.com/better-auth/better-auth/commit/ca8d6671d393ac60f8e62072753e4d672bdbc4fd) chore: update transaction default value comment ### 📊 Changes **4 files changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/adapters/drizzle-adapter/drizzle-adapter.ts` (+1 -1) 📝 `packages/better-auth/src/adapters/kysely-adapter/kysely-adapter.ts` (+1 -1) 📝 `packages/better-auth/src/adapters/mongodb-adapter/mongodb-adapter.ts` (+2 -2) 📝 `packages/better-auth/src/adapters/prisma-adapter/prisma-adapter.ts` (+1 -1) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Updated transaction config docs to default to false for Drizzle, Kysely, and Prisma adapters. For MongoDB, transactions now default to on when a client is provided (config.transaction defaults to true) unless explicitly disabled. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 12:39:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#5864