Skip to content

fix(solid): restrict @tanstack/solid-query peer dep to avoid type reg…#4992

Closed
2wheeh wants to merge 7 commits intowevm:mainfrom
2wheeh:fix/solid-query-peer-dep
Closed

fix(solid): restrict @tanstack/solid-query peer dep to avoid type reg…#4992
2wheeh wants to merge 7 commits intowevm:mainfrom
2wheeh:fix/solid-query-peer-dep

Conversation

@2wheeh
Copy link
Copy Markdown
Contributor

@2wheeh 2wheeh commented Feb 4, 2026

…ression

Summary

  • Restrict @tanstack/solid-query peer dependency to >=5.0.0 <5.71.9 to avoid type inference regression

Context

Starting from @tanstack/solid-query@5.71.9(TanStack/query#8950), there's a type inference regression where generics are lost on deprecated create* APIs (e.g., createQuery, createMutation).

This affects @wagmi/solid which still uses these APIs.

Once the upstream fix is released, we'll update the peer dependency constraint accordingly.

Related TanStack/query#10093

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 4, 2026

🦋 Changeset detected

Latest commit: 30409b8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@wagmi/solid Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Copy Markdown

vercel bot commented Feb 4, 2026

@2wheeh is attempting to deploy a commit to the Wevm Team on Vercel.

A member of the Team first needs to authorize it.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Feb 4, 2026

Open in StackBlitz

@wagmi/cli

npm i https://pkg.pr.new/@wagmi/cli@4992

@wagmi/connectors

npm i https://pkg.pr.new/@wagmi/connectors@4992

@wagmi/core

npm i https://pkg.pr.new/@wagmi/core@4992

create-wagmi

npm i https://pkg.pr.new/create-wagmi@4992

wagmi

npm i https://pkg.pr.new/wagmi@4992

@wagmi/solid

npm i https://pkg.pr.new/@wagmi/solid@4992

@wagmi/vue

npm i https://pkg.pr.new/@wagmi/vue@4992

commit: 922367a

@2wheeh
Copy link
Copy Markdown
Contributor Author

2wheeh commented Mar 12, 2026

@tmm TanStack/query#10093 is merged, it's compatible with the latest (>= 5.90.24) now.

@tmm
Copy link
Copy Markdown
Member

tmm commented Apr 6, 2026

Thanks! Sorry it took so long to respond. Going to close this since if folks install TanStack latest, they will get >= 5.90.24 (versions before will have issue, but seems fine since package is alpha and we don't need to change peer dep range then).

@tmm tmm closed this Apr 6, 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.

2 participants