# What changed in @tanstack/react-query-devtools

> 5 changes in @tanstack/react-query-devtools 5 from its official release notes, upgrade guides and advisories: 1 new APIs and options. Each one cited. Sources checked 2026-10-17. HTML: https://unstale.sh/npm/@tanstack/react-query-devtools/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @tanstack/react-query-devtools 5

### New APIs and options

- Allows passing a theme via a prop in the devtools component. (5.91.0) — [release notes](https://github.com/TanStack/query/releases/tag/%40tanstack/react-query-devtools%405.91.0)

### Tooling

- React types used by React Query Devtools are now declared as a peer dependency compatible with React 18 and 19. (5.103.0) — [release notes](https://github.com/TanStack/query/releases/tag/%40tanstack/react-query-devtools%405.103.0)

### Fixes and other changes

- Published devtools source and type declarations now declare their dependencies for compatibility with strict package managers, while runtime dependencies remain bundled. (5.103.0) — [release notes](https://github.com/TanStack/query/releases/tag/%40tanstack/react-query-devtools%405.103.0)
- Changed the onClose callback type from () => unknown to () => void. (5.100.4) — [release notes](https://github.com/TanStack/query/releases/tag/%40tanstack/react-query-devtools%405.100.4)
- Resolved an issue involving the excluded build directory. (5.94.5) — [release notes](https://github.com/TanStack/query/releases/tag/%40tanstack/react-query-devtools%405.94.5)
