[PR #7709] [CLOSED] Add auth handler for latest version #7505

Closed
opened 2026-03-13 13:39:31 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7709
Author: @tnspacetime
Created: 1/30/2026
Status: Closed

Base: canaryHead: patch-2


📝 Commits (1)

  • 4b39cba Add auth handler for latest version

📊 Changes

1 file changed (+6 additions, -0 deletions)

View changed files

📝 docs/content/docs/integrations/hono.mdx (+6 -0)

📄 Description

The latest version treats the request as immutable so we need to create a copy of the request.


Summary by cubic

Updated the Hono integration docs for better-auth 1.4.18 to handle immutable Request objects. Adds an example that copies the Request before calling the auth handler to prevent runtime errors.

Written for commit 4b39cba797. Summary will update on new commits.


🔄 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/7709 **Author:** [@tnspacetime](https://github.com/tnspacetime) **Created:** 1/30/2026 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `patch-2` --- ### 📝 Commits (1) - [`4b39cba`](https://github.com/better-auth/better-auth/commit/4b39cba797386ce07bb85fe792598db7a1aab73b) Add auth handler for latest version ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/integrations/hono.mdx` (+6 -0) </details> ### 📄 Description The latest version treats the request as immutable so we need to create a copy of the request. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Updated the Hono integration docs for better-auth 1.4.18 to handle immutable Request objects. Adds an example that copies the Request before calling the auth handler to prevent runtime errors. <sup>Written for commit 4b39cba797386ce07bb85fe792598db7a1aab73b. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <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 13:39:31 -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#7505