Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

CHANGELOG.md

358 lines14.9 KB

@tanstack/query-devtools

5.108.3

Patch Changes

5.108.2

Patch Changes

  • #12629 f7abc93 - The picture-in-picture window no longer clears its document with innerHTML, which pages that enforce Trusted Types block.

  • #12628 80d6c41 - The devtools no longer use goober. Their styles are a static stylesheet adopted into the document or shadow root the devtools render in, instead of a <style> element in <head>. This means:

    • The devtools are styled on pages with a Content Security Policy that blocks inline <style> elements. styleNonce is no longer needed and is deprecated.
    • Devtools rendered inside a shadow root are styled without passing shadowDOMTarget.
    • With shadowDOMTarget, the settings menu is styled.
    • The picture-in-picture window gets all styles, including ones the devtools use only after it opened.
    • The devtools no longer write to the shared #_goober style element or set window.__nonce__.
    • Browsers without adoptable stylesheets (before Safari 16.4 and Firefox 101) show the devtools unstyled.
  • #12643 fd62c95 - Add a trustedTypesPolicy option, so the devtools render on pages that enforce require-trusted-types-for 'script'.

  • Updated dependencies []:

    • @tanstack/query-core@5.108.2

5.108.1

Patch Changes

  • Updated dependencies [0cf8f49]:
    • @tanstack/query-core@5.108.1

5.108.0

Patch Changes

  • Updated dependencies [5fc9a3e]:
    • @tanstack/query-core@5.108.0

5.107.2

Patch Changes

  • #12587 b160291 - Replace star exports with explicit exports while preserving the current public API. Adapters continue to re-export all of their corresponding core package.
  • Updated dependencies [b160291]:
    • @tanstack/query-core@5.107.2

5.107.1

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.107.1

5.107.0

Minor Changes

  • #12538 a4d72f7 - feat(query-devtools): add a filter scope toggle to filter queries and mutations by key, data (mutation variables or data), or both. Data and All scopes initialize explorer searches with the filter. Mutation explorers initialize searches only for matching variables or data, and filtering refreshes when mutation variables change in place.

Patch Changes

  • Updated dependencies [b6add89]:
    • @tanstack/query-core@5.107.0

5.106.1

Patch Changes

  • #12528 c4ed956 - fix({query,react-query,preact-query}-devtools): always render the devtools left-to-right regardless of the page direction or browser language
  • Updated dependencies []:
    • @tanstack/query-core@5.106.1

5.106.0

Minor Changes

  • #12522 f69b28a - Add search for nested property names and values in the query and mutation Data Explorer, with highlighted matches and automatic expansion.

Patch Changes

  • #12499 46d0477 - Let inline devtools panels fill their container height while keeping a 500px default height when the container has no set height.

  • #12517 1176d37 - chore(query-devtools/tsdown.config): add '@refresh skip' banner so the app's 'solid-refresh' does not wrap the bundled Solid runtime

  • #12502 254350f - Virtualize query and mutation lists to keep large caches responsive, and reduce repeated cache scans.

  • Updated dependencies []:

    • @tanstack/query-core@5.106.0

5.105.3

Patch Changes

  • Updated dependencies [3f4de1b, 969e580]:
    • @tanstack/query-core@5.105.3

5.105.2

Patch Changes

5.105.1

Patch Changes

  • Updated dependencies [6f8a48d, 18e54bf]:
    • @tanstack/query-core@5.105.1

5.105.0

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.105.0

5.104.5

Patch Changes

  • Updated dependencies [f608f93]:
    • @tanstack/query-core@5.104.5

5.104.4

Patch Changes

  • #11983 c8f5eac - fix(query-devtools): expose the pressed state of the boolean "Toggle value" button to assistive technologies

  • #11638 b61abc2 - fix(query-devtools/Devtools): apply the 'hideDisabledQueries' prop to the query list

  • Updated dependencies [1fee044, fce89dd]:

    • @tanstack/query-core@5.104.4

5.104.3

Patch Changes

  • Updated dependencies [0f15bc9]:
    • @tanstack/query-core@5.104.3

5.104.2

Patch Changes

  • Updated dependencies [03e8c39]:
    • @tanstack/query-core@5.104.2

5.104.1

Patch Changes

  • #11799 ec060b6 - Isolate the signals and subscriptions used across the DevTools context
  • Updated dependencies []:
    • @tanstack/query-core@5.104.1

5.104.0

Minor Changes

Patch Changes

  • Updated dependencies [5279b05]:
    • @tanstack/query-core@5.104.0

5.103.3

Patch Changes

  • #11648 d86ac36 - chore: update dependencies
  • Updated dependencies []:
    • @tanstack/query-core@5.103.3

5.103.2

Patch Changes

  • Updated dependencies [8a28904]:
    • @tanstack/query-core@5.103.2

5.103.1

Patch Changes

  • Updated dependencies [8330b2f, 3212966]:
    • @tanstack/query-core@5.103.1

5.103.0

Patch Changes

  • #11501 9567367 - Declare dependencies used by the published devtools source and type declarations so they resolve with strict package managers. Keep runtime dependencies bundled in the compiled devtools.

    Declare the React types used by React Query Devtools as a peer dependency, compatible with React 18 and 19.

  • Updated dependencies [e57f816, fdae2ce, a1119e5, cbf77bf]:

    • @tanstack/query-core@5.103.0

5.102.8

5.102.7

5.102.6

5.102.5

Patch Changes

  • #11300 ef1eff1 - Remove an unintended solid-js import from the generated declaration files.

5.102.4

5.102.3

5.102.2

5.102.1

5.102.0

5.101.4

5.101.3

5.101.2

Patch Changes

  • #10813 f5bf180 - fix(query-devtools/PiPContext): reset 'pip_open' in 'localStore' from 'closePipWindow' so the auto-open createEffect does not reopen the window after a programmatic close

  • #10812 25cdd97 - fix(query-devtools/utils): make 'last updated' sort return 0 for queries with equal 'dataUpdatedAt' to follow the standard comparator contract

  • #10815 ecd89c8 - fix(query-devtools/utils): scope the 'setupStyleSheet' dedup check to the target so a 'shadowDOMTarget' still receives its own '#_goober' style tag when 'document.head' already has one

  • #10811 01c7634 - fix(query-devtools/Devtools): correct the Theme sub-trigger className from 'position' to 'theme'

  • #10736 49012db - setupStyleSheet now sets window.__nonce__ when a styleNonce is provided.

    The devtools use goober for CSS-in-JS, which reads window.__nonce__ every time it creates or accesses its style element. Without this, goober overwrote the nonce with undefined, causing CSP violations even when styleNonce was correctly passed to <ReactQueryDevtools>.

5.101.1

5.101.0

Patch Changes

  • #10772 3042860 - Avoid crashing devtools query rows when a cached query state is temporarily unavailable.

  • #10750 e631dc3 - Resolve devtools query rows from their stable query hash so mutated object query keys do not break row rendering.

5.100.14

5.100.13

5.100.12

5.100.11

5.100.10

Patch Changes

  • fix(query-devtools): remove experimentalDts to prevent solid-js type leak (#10694)

5.100.9

Patch Changes

  • Update the devtools panel setOnClose callback type to return void. (#10607)

5.100.8

5.100.7

5.100.6

5.100.5

5.100.4

Patch Changes

  • fix(devtools): change onClose callback type from () => unknown to () => void (#10118)

5.100.3

5.100.2

5.100.1

5.100.0

5.99.2

5.99.1

5.99.0

5.98.0

5.97.0

5.96.2

5.96.1

5.96.0

5.95.2

5.95.1

5.95.0

5.94.5

Patch Changes

  • fix(*): resolve issue about excluded build directory (#10312)

5.94.4

Patch Changes

  • chore: fixed version (#10064)

5.93.0

Minor Changes

  • Set data to undefined on Trigger Error (#10072)

5.92.0

Minor Changes

  • improve a11y around screenreader + resizing (#9961)

Patch Changes

  • fix(devtools): handle PiP open failures by resetting persisted state (#9983)

5.91.1

Patch Changes

  • improves accessibility of devtools (#9806)

5.91.0

Minor Changes

  • feat(devtools): allow passing a theme via prop (#9887)