[PR #2984] [MERGED] fix(deps): migrate from createAPIFileRoute to createServerFileRoute (TanStack Start) #4584

Closed
opened 2026-03-13 11:51:48 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2984
Author: @SrikanthKumarC
Created: 6/11/2025
Status: Merged
Merged: 6/11/2025
Merged by: @Bekacru

Base: mainHead: patch-1


📝 Commits (1)

  • 757c03d fix(deps): migrate from createAPIFileRoute to createServerFileRoute (TanStack Start)

📊 Changes

1 file changed (+9 additions, -9 deletions)

View changed files

📝 docs/content/docs/installation.mdx (+9 -9)

📄 Description

The createAPIFileRoute method is no longer available in the latest version of TanStack Start. This commit updates the codebase to use the new createServerFileRoute method for handling API routes, ensuring compatibility with the latest library version.

See https://tanstack.com/start/latest/docs/framework/react/server-routes


🔄 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/2984 **Author:** [@SrikanthKumarC](https://github.com/SrikanthKumarC) **Created:** 6/11/2025 **Status:** ✅ Merged **Merged:** 6/11/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`757c03d`](https://github.com/better-auth/better-auth/commit/757c03d8c46dd656507dfb3292a56904a7f993f9) fix(deps): migrate from createAPIFileRoute to createServerFileRoute (TanStack Start) ### 📊 Changes **1 file changed** (+9 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/installation.mdx` (+9 -9) </details> ### 📄 Description The `createAPIFileRoute` method is no longer available in the latest version of TanStack Start. This commit updates the codebase to use the new `createServerFileRoute` method for handling API routes, ensuring compatibility with the latest library version. See https://tanstack.com/start/latest/docs/framework/react/server-routes --- <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 11:51: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#4584