[PR #8681] [MERGED] feat(mongo-adapter): store UUIDs as native BSON UUID #25042

Closed
opened 2026-04-15 22:42:09 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8681
Author: @bytaesu
Created: 3/18/2026
Status: Merged
Merged: 3/18/2026
Merged by: @himself65

Base: canaryHead: feat/mongodb-native-uuid-support


📝 Commits (1)

  • ceec500 feat(mongo-adapter): store UUIDs as native BSON UUID

📊 Changes

3 files changed (+170 additions, -13 deletions)

View changed files

📝 e2e/adapter/test/mongo-adapter/adapter.mongo-db.test.ts (+2 -1)
📝 packages/mongo-adapter/src/mongodb-adapter.test.ts (+140 -0)
📝 packages/mongo-adapter/src/mongodb-adapter.ts (+28 -12)

📄 Description


🔄 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/8681 **Author:** [@bytaesu](https://github.com/bytaesu) **Created:** 3/18/2026 **Status:** ✅ Merged **Merged:** 3/18/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `feat/mongodb-native-uuid-support` --- ### 📝 Commits (1) - [`ceec500`](https://github.com/better-auth/better-auth/commit/ceec5004cf98f31e8d9ccee926713d81a1b2441d) feat(mongo-adapter): store UUIDs as native BSON UUID ### 📊 Changes **3 files changed** (+170 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `e2e/adapter/test/mongo-adapter/adapter.mongo-db.test.ts` (+2 -1) 📝 `packages/mongo-adapter/src/mongodb-adapter.test.ts` (+140 -0) 📝 `packages/mongo-adapter/src/mongodb-adapter.ts` (+28 -12) </details> ### 📄 Description - Closes https://github.com/better-auth/better-auth/issues/8668 --- <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-04-15 22:42:09 -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#25042