[PR #2392] [CLOSED] feat: pouchdb/couchdb adapter #4293

Closed
opened 2026-03-13 11:40:48 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2392
Author: @FatahChan
Created: 4/21/2025
Status: Closed

Base: mainHead: feat/couchdb


📝 Commits (10+)

  • e5f675c feat: pouchdb
  • df21e60 docs: pouchdb
  • 229f145 docs: warning and navigation
  • d5201be chore: update build
  • 43f01c2 chore: remove log
  • 7ead2ca refactor: simplify PouchDB adapter using createAdapter utility
  • 3f3508c Fix typo in test email address from "eamil" to "email"
  • ca52bc8 chore: Format code and fix PouchDB adapter count and findOne methods
  • f22881e Merge branch 'better-auth:main' into feat/couchdb
  • 971d2b2 test: add complex where clause and count tests for PouchDB adapter

📊 Changes

10 files changed (+1236 additions, -22 deletions)

View changed files

📝 docs/components/sidebar-content.tsx (+16 -0)
docs/content/docs/adapters/pouchdb.mdx (+51 -0)
📝 packages/better-auth/build.config.ts (+1 -0)
📝 packages/better-auth/package.json (+18 -0)
packages/better-auth/src/adapters/pouchdb-adapter/adapter.pouch-db.test.ts (+145 -0)
packages/better-auth/src/adapters/pouchdb-adapter/index.ts (+1 -0)
packages/better-auth/src/adapters/pouchdb-adapter/pouchdb-adapter.ts (+247 -0)
📝 packages/better-auth/src/adapters/prisma-adapter/prisma-adapter.ts (+2 -1)
📝 packages/better-auth/src/test-utils/test-instance.ts (+28 -5)
📝 pnpm-lock.yaml (+727 -16)

📄 Description

added an adapter for pouchdb that can connect to a couchdb instance

resolves https://github.com/better-auth/better-auth/issues/2389


🔄 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/2392 **Author:** [@FatahChan](https://github.com/FatahChan) **Created:** 4/21/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/couchdb` --- ### 📝 Commits (10+) - [`e5f675c`](https://github.com/better-auth/better-auth/commit/e5f675c7135df9ea763c7ef9c2b1f0687ebfc3f5) feat: pouchdb - [`df21e60`](https://github.com/better-auth/better-auth/commit/df21e60d5d56044b9f90172a0c9b7d8c0ddd5445) docs: pouchdb - [`229f145`](https://github.com/better-auth/better-auth/commit/229f145af8381066e4e41f5d6aa0d9f5d4785225) docs: warning and navigation - [`d5201be`](https://github.com/better-auth/better-auth/commit/d5201be02e086d81aae0c17672f589b4705bb438) chore: update build - [`43f01c2`](https://github.com/better-auth/better-auth/commit/43f01c2689a31e40a134140dbb2d73e2171e955a) chore: remove log - [`7ead2ca`](https://github.com/better-auth/better-auth/commit/7ead2ca909276df04070c77d3912aed376cd6ac0) refactor: simplify PouchDB adapter using createAdapter utility - [`3f3508c`](https://github.com/better-auth/better-auth/commit/3f3508c0400ebd00fc80b2f4972a9f7c7a66f3fe) Fix typo in test email address from "eamil" to "email" - [`ca52bc8`](https://github.com/better-auth/better-auth/commit/ca52bc81e4c6f4ba985206e655b48e5b81952a3c) chore: Format code and fix PouchDB adapter count and findOne methods - [`f22881e`](https://github.com/better-auth/better-auth/commit/f22881e70c3dac1f67f465982aa7a7f3740150dd) Merge branch 'better-auth:main' into feat/couchdb - [`971d2b2`](https://github.com/better-auth/better-auth/commit/971d2b2c20b686a2e69ebc19300e3ac962d8b943) test: add complex where clause and count tests for PouchDB adapter ### 📊 Changes **10 files changed** (+1236 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/sidebar-content.tsx` (+16 -0) ➕ `docs/content/docs/adapters/pouchdb.mdx` (+51 -0) 📝 `packages/better-auth/build.config.ts` (+1 -0) 📝 `packages/better-auth/package.json` (+18 -0) ➕ `packages/better-auth/src/adapters/pouchdb-adapter/adapter.pouch-db.test.ts` (+145 -0) ➕ `packages/better-auth/src/adapters/pouchdb-adapter/index.ts` (+1 -0) ➕ `packages/better-auth/src/adapters/pouchdb-adapter/pouchdb-adapter.ts` (+247 -0) 📝 `packages/better-auth/src/adapters/prisma-adapter/prisma-adapter.ts` (+2 -1) 📝 `packages/better-auth/src/test-utils/test-instance.ts` (+28 -5) 📝 `pnpm-lock.yaml` (+727 -16) </details> ### 📄 Description added an adapter for pouchdb that can connect to a couchdb instance resolves https://github.com/better-auth/better-auth/issues/2389 --- <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 11:40:48 -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#4293