github TanStack/devtools @tanstack/devtools-vite@0.8.6

Patch Changes

  • #539 ed8b314 - Source injection no longer stops after the dev server parses a regex literal. Before this fix, a regex literal cached value as a child key of Literal nodes. Every later file with a string literal then threw during the walk and got zero data-tsd-source attributes.

  • #540 012421f - Stop the console pipe feedback loop with Vite 8 server.forwardConsole. The server side of the pipe no longer sends browser logs that Vite printed in the terminal back to the browser.

  • #548 40f32e4 - Run source injection before the transforms of other plugins (unless they also use order: 'pre'), also when devtools() is not first in the plugins array. Before this fix, a framework plugin that changed the code of only one environment shifted the line numbers, so data-tsd-source differed between SSR and client and caused hydration warnings.

  • #541 df1464c - Fix "Go to Source" for files outside the current working directory, for example a package in a monorepo or Vite run from another directory. The editor got a path with the working directory added twice. Also answer a missing or malformed source with 400 instead of leaving the request pending.

  • #542 9c58288 - Remove the intent bin from the published packages. It took over node_modules/.bin/intent from @tanstack/intent and imported the removed @tanstack/intent/intent-library subpath. The packages now have the tanstack-intent keyword, which current @tanstack/intent uses to find their skills.

  • #545 d018c4c - Reject event bus requests to install a package when the name is not a valid npm package name. On macOS and Linux, run the package manager without a shell. Also reject a plugin import name that is not a JavaScript identifier, because it is written into your source file as code.

  • #538 7cb0a8d - Inject the event bus port, host, and protocol into Vite pre-bundled dependency chunks too. Before this fix, a client installed from npm kept the default port 4206 and could not connect when the server bus used another port.

  • Updated dependencies [ed8b314, 012421f, df1464c, d018c4c]:

    • @tanstack/devtools-bundler-core@0.1.4

Don't miss a new devtools release

NewReleases is sending notifications on new releases.