Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@chargome
Copy link
Member

@chargome chargome commented Jan 28, 2026

@chargome chargome self-assigned this Jan 28, 2026
@chargome chargome marked this pull request as ready for review January 28, 2026 16:06
@chargome chargome requested a review from s1gr1d January 28, 2026 16:09
"@trpc/server": "~11.3.0",
"@trpc/client": "~11.8.0",
"@trpc/react-query": "~11.8.0",
"@trpc/server": "~11.8.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The tRPC dependency bump to ~11.8.0 requires @tanstack/react-query version ^5.80.3, but the package.json specifies an incompatible older version, ^5.50.0.
Severity: MEDIUM

Suggested Fix

In package.json, update the version for the @tanstack/react-query dependency to satisfy the new peer dependency requirement. Change the constraint from ^5.50.0 to ^5.80.3.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: dev-packages/e2e-tests/test-applications/nextjs-t3/package.json#L22

Potential issue: The update of `@trpc/react-query` to version `~11.8.0` introduces a
peer dependency requirement for `@tanstack/react-query` version `^5.80.3`. The project's
`package.json` currently specifies a lower compatible version, `^5.50.0`. This mismatch
may not cause an installation failure but can lead to runtime errors. These errors would
occur if the updated tRPC package calls APIs from `@tanstack/react-query` that were
introduced after version `5.50.0` but before `5.80.3`, leading to unexpected behavior or
crashes within the test application.

Did we get this right? 👍 / 👎 to inform future reviews.

@chargome chargome merged commit f7dd67e into develop Jan 28, 2026
37 checks passed
@chargome chargome deleted the cg/bump-trpc-e2e branch January 28, 2026 16:13
This was referenced Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(deps): Bump trpc v11 dependecy in e2e test

3 participants