Repository navigation
chore: upgrade TanStack Query to v5 and tRPC to v11 - #521
Merged
Miablo merged 2 commits intoNov 21, 2026
Merged
Conversation
Miablo
force-pushed
the
deps/tanstack-v5-trpc-v11
branch
from
November 21, 2026 16:57
0af4d35 to
04608f4
Compare
Miablo
enabled auto-merge
November 21, 2026 16:57
This was referenced Nov 21, 2026
wrslatz
approved these changes
Nov 21, 2026
3 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
This PR upgrades
@tanstack/react-query4.36.1 → 5.108.2 and@trpc/client/@trpc/react-query/@trpc/server10.45.3 → 11.28.5.These ship together because tRPC v11 requires React Query v5, and this unblocks React 19 (React Query v4 only supports React ≤18).
Part of #412.
UI Manual Testing (create/update/delete -- PASS)
Note: Enhancement to come in a follow up PR to provide a 'success' message when a mirror was successfully deleted similar to the other success msgs
Changes
transformermoves from the client ontohttpBatchLink; middleware reads input withawait getRawInput()instead ofrawInputisLoading→isPendingfor queries and mutations. For queries, v5'sisPendingmatches v4'sisLoading; v5'sisLoadingis narrower and would briefly show the "no mirrors" blankslate whilelistMirrorswaits on fork dataserverTrpcclient fromsrc/utils/trpc.tstest/utils/trpc-middleware.test.tscovering raw input forwarding inverifyAuth/verifyGitHubAppAuth, since nothing previously asserted itReadiness Checklist
Author/Contributor
npm run formatand fix any formatting issues that have been introducednpm run lintand fix any linting issues that have been introducednpm run testand run tests