chore(deps-dev): bump @tanstack/react-query-devtools from 4.36.1 to 5.90.1#3937
chore(deps-dev): bump @tanstack/react-query-devtools from 4.36.1 to 5.90.1#3937dependabot[bot] wants to merge 1 commit intomainfrom
Conversation
Bumps [@tanstack/react-query-devtools](https://github.com/TanStack/query/tree/HEAD/packages/react-query-devtools) from 4.36.1 to 5.90.1. - [Release notes](https://github.com/TanStack/query/releases) - [Commits](https://github.com/TanStack/query/commits/v5.90.1/packages/react-query-devtools) --- updated-dependencies: - dependency-name: "@tanstack/react-query-devtools" dependency-version: 5.90.1 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
| "@tanstack/react-query-devtools": "^5.90.1", | ||
| "@testing-library/dom": "10.3.2", |
There was a problem hiding this comment.
Potential bug: The ReactQueryDevtools component is missing the required client prop following an upgrade to v5, which will cause a runtime crash when the component renders.
-
Description: The upgrade of
@tanstack/react-query-devtoolsto version 5 introduces a breaking API change. TheReactQueryDevtoolscomponent now requires aclientprop, which is not provided in its current usage insrc/App.tsx. According to the library's documentation, this missing prop will cause a runtime error when the component attempts to render, leading to an application crash in any environment where the devtools are included. The repository context also confirms that the v5 devtools have a strict peer dependency on@tanstack/react-queryv5 and will not function correctly otherwise. -
Suggested fix: Add the required
clientprop to theReactQueryDevtoolscomponent insrc/App.tsx. Since the v5 devtools are only compatible with v5 clients, thequeryClientV5instance should be passed. The implementation should be updated to<ReactQueryDevtools client={queryClientV5} initialIsOpen={false} />.
severity: 0.85, confidence: 0.98
Did we get this right? 👍 / 👎 to inform future reviews.
✅ Deploy preview for gazebo ready!Previews expire after 1 month automatically.
|
|
Superseded by #3938. |
Bumps @tanstack/react-query-devtools from 4.36.1 to 5.90.1.
Release notes
Sourced from
@tanstack/react-query-devtools's releases.... (truncated)
Commits
fcd23c9release: v5.90.1fb48985ci: update workspace config (#9671)2a00fb6release: v5.89.0230435drelease: v5.87.42bf8fa3release: v5.87.3bc2c87frelease: v5.87.1b43af57release: v5.87.01599bb4release: v5.86.07306474chore(tsconfig.json): simplify 'include' patterns by consolidating file exten...0a35234release: v5.85.9Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)