Patch Changes
-
#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.styleNonceis 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
#_gooberstyle element or setwindow.__nonce__. - Browsers without adoptable stylesheets (before Safari 16.4 and Firefox 101) show the devtools unstyled.
- The devtools are styled on pages with a Content Security Policy that blocks inline
-
#12643
fd62c95- Add atrustedTypesPolicyoption, so the devtools render on pages that enforcerequire-trusted-types-for 'script'. -
Updated dependencies [
f7abc93,80d6c41,fd62c95]:- @tanstack/query-devtools@5.108.2
- @tanstack/svelte-query@6.4.5