[PR #8354] [MERGED] fix: preserve custom session fields on focus refresh #24818

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8354
Author: @jslno
Created: 3/4/2026
Status: Merged
Merged: 3/9/2026
Merged by: @Bekacru

Base: canaryHead: 03-03-2026/custom-session-focus


📝 Commits (4)

  • ee7fd62 fix: preserve custom session fields on focus refresh
  • 888e2fc chore: fix types
  • b4bdd99 Merge branch 'canary' into 03-03-2026/custom-session-focus
  • b4a8e90 Merge branch 'canary' into 03-03-2026/custom-session-focus

📊 Changes

2 files changed (+123 additions, -13 deletions)

View changed files

📝 packages/better-auth/src/client/session-refresh.test.ts (+103 -0)
📝 packages/better-auth/src/client/session-refresh.ts (+20 -13)

📄 Description

closes #8325


🔄 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/8354 **Author:** [@jslno](https://github.com/jslno) **Created:** 3/4/2026 **Status:** ✅ Merged **Merged:** 3/9/2026 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `03-03-2026/custom-session-focus` --- ### 📝 Commits (4) - [`ee7fd62`](https://github.com/better-auth/better-auth/commit/ee7fd62155ab85dddc0d8e66e1ce1cc300e3e256) fix: preserve custom session fields on focus refresh - [`888e2fc`](https://github.com/better-auth/better-auth/commit/888e2fc98d80c0a16df819a47bd5e28f57551945) chore: fix types - [`b4bdd99`](https://github.com/better-auth/better-auth/commit/b4bdd99b3e42de82f3db2862429e452db95e8e89) Merge branch 'canary' into 03-03-2026/custom-session-focus - [`b4a8e90`](https://github.com/better-auth/better-auth/commit/b4a8e9050ca8d67c3531ad1c5d32350603b32aa1) Merge branch 'canary' into 03-03-2026/custom-session-focus ### 📊 Changes **2 files changed** (+123 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/client/session-refresh.test.ts` (+103 -0) 📝 `packages/better-auth/src/client/session-refresh.ts` (+20 -13) </details> ### 📄 Description closes #8325 --- <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:34:25 -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#24818