[PR #8610] [MERGED] fix(client): handle throw:true in session refresh #24997

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8610
Author: @bytaesu
Created: 3/14/2026
Status: Merged
Merged: 3/16/2026
Merged by: @bytaesu

Base: canaryHead: 2026-03-15/fix/session-refresh-throw-true


📝 Commits (2)

  • deb8662 fix(client): handle 'throw:true' in session refresh
  • 74a3319 test: improve case

📊 Changes

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

View changed files

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

📄 Description

Related to https://discord.com/channels/1288403910284935179/1478083944502263901


🔄 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/8610 **Author:** [@bytaesu](https://github.com/bytaesu) **Created:** 3/14/2026 **Status:** ✅ Merged **Merged:** 3/16/2026 **Merged by:** [@bytaesu](https://github.com/bytaesu) **Base:** `canary` ← **Head:** `2026-03-15/fix/session-refresh-throw-true` --- ### 📝 Commits (2) - [`deb8662`](https://github.com/better-auth/better-auth/commit/deb8662e2faad103f298dbc00f0560f0bcb192c9) fix(client): handle 'throw:true' in session refresh - [`74a3319`](https://github.com/better-auth/better-auth/commit/74a3319ba6d4cf52dcd80d1cca9a44057de51dd6) test: improve case ### 📊 Changes **2 files changed** (+117 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/client/session-refresh.test.ts` (+97 -0) 📝 `packages/better-auth/src/client/session-refresh.ts` (+20 -4) </details> ### 📄 Description Related to https://discord.com/channels/1288403910284935179/1478083944502263901 --- <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:40:55 -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#24997