[PR #8927] [MERGED] fix: generate session id when using secondary storage without database #25203

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8927
Author: @bytaesu
Created: 4/3/2026
Status: Merged
Merged: 4/6/2026
Merged by: @bytaesu

Base: mainHead: 2026-04-03/fix/session-id-secondary-storage


📝 Commits (3)

  • 22996b5 fix: generate session id when using secondary storage without database
  • bf10e8b Merge branch 'main' into 2026-04-03/fix/session-id-secondary-storage
  • 15b8023 chore: changeset

📊 Changes

4 files changed (+21 additions, -2 deletions)

View changed files

.changeset/pr-8927.md (+5 -0)
📝 e2e/smoke/test/redis.spec.ts (+2 -2)
📝 packages/better-auth/src/db/internal-adapter.test.ts (+5 -0)
📝 packages/better-auth/src/db/internal-adapter.ts (+9 -0)

📄 Description

regression from #7583, re-fixes #7454


🔄 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/8927 **Author:** [@bytaesu](https://github.com/bytaesu) **Created:** 4/3/2026 **Status:** ✅ Merged **Merged:** 4/6/2026 **Merged by:** [@bytaesu](https://github.com/bytaesu) **Base:** `main` ← **Head:** `2026-04-03/fix/session-id-secondary-storage` --- ### 📝 Commits (3) - [`22996b5`](https://github.com/better-auth/better-auth/commit/22996b556eafdfa41657e0f84d6aad28d69c1592) fix: generate session id when using secondary storage without database - [`bf10e8b`](https://github.com/better-auth/better-auth/commit/bf10e8b3f7101589ee40b97916b79e6224df7d8b) Merge branch 'main' into 2026-04-03/fix/session-id-secondary-storage - [`15b8023`](https://github.com/better-auth/better-auth/commit/15b802312381c4c254627891eee822ae5b0db8d7) chore: changeset ### 📊 Changes **4 files changed** (+21 additions, -2 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/pr-8927.md` (+5 -0) 📝 `e2e/smoke/test/redis.spec.ts` (+2 -2) 📝 `packages/better-auth/src/db/internal-adapter.test.ts` (+5 -0) 📝 `packages/better-auth/src/db/internal-adapter.ts` (+9 -0) </details> ### 📄 Description regression from #7583, re-fixes #7454 --- <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:45: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#25203