TanStack / TanStack/router

H3 methods removed

Open
#5,359 6 comments 12 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
15.1k
Forks
1.9k
Avg merge
1d 20h
Merged PRs (30d)
143

Description

Which project does this relate to?

Start

Describe the bug

Hello,
Since version v1.132.0 some h3-related method were removed from @tanstack/start-server-core
It's been 67 of them now there are only 17.

Specifially, I noted removal of proxyRequest method I used to conditionally proxy a request to my mock server in tests (a similar case was described in a discussion).

I think this should be reverted and all h3 methods should be exposed again.
At least the getH3Event should be exposed for those who want to manually use h3 methods not published via start-server-core.

Your Example Website or App
Steps to Reproduce the Bug or Issue
  1. Migrate from v1.131.x to v1.132.x
Expected behavior

Expected to have H3 methods (like, proxyRequest)

Screenshots or Videos

No response

Platform
  • Router / Start Version: v1.132.x
Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the exports in @tanstack/start-server-core across the linked v1.131.x and v1.132.x changes, starting with the referenced commit diffs. Trace how H3 methods such as proxyRequest and getH3Event are exposed, then verify that the expected H3 methods remain available after migration from v1.131.x.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.