npm / @tanstack/react-query-devtools
@tanstack/react-query-devtools
What changed in @tanstack/react-query-devtools 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-17.
1 new APIs and options1 tooling3 fixes and other
@tanstack/react-query-devtools 55 changes
New APIs and options 1
Allows passing a theme via a prop in the devtools component.
Tooling 1
React types used by React Query Devtools are now declared as a peer dependency compatible with React 18 and 19.
Fixes and other changes 3
Published devtools source and type declarations now declare their dependencies for compatibility with strict package managers, while runtime dependencies remain bundled.
Changed the onClose callback type from () => unknown to () => void.
Resolved an issue involving the excluded build directory.