Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .changeset/devtools-vite-runtime-bridge.md

This file was deleted.

2 changes: 1 addition & 1 deletion examples/preact/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"devDependencies": {
"@preact/preset-vite": "^2.10.3",
"@tanstack/devtools-ui": "0.5.3",
"@tanstack/devtools-vite": "0.7.2",
"@tanstack/devtools-vite": "0.8.0",
"sonda": "0.9.0",
"vite": "^8.0.0",
"vite-plugin-inspect": "11.3.3"
Expand Down
2 changes: 1 addition & 1 deletion examples/react/a11y-devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"react-dom": "^19.2.0"
},
"devDependencies": {
"@tanstack/devtools-vite": "0.7.2",
"@tanstack/devtools-vite": "0.8.0",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
"@vitejs/plugin-react": "^6.0.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"devDependencies": {
"@tanstack/devtools-ui": "0.5.3",
"@tanstack/devtools-vite": "0.7.2",
"@tanstack/devtools-vite": "0.8.0",
"@tanstack/react-form-devtools": "^0.1.7",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/bundling-repro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"devDependencies": {
"@biomejs/biome": "2.2.4",
"@tanstack/devtools-event-client": "latest",
"@tanstack/devtools-vite": "0.7.2",
"@tanstack/devtools-vite": "0.8.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.2.0",
"@types/node": "^22.15.2",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/drizzle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"react-dom": "^19.2.0"
},
"devDependencies": {
"@tanstack/devtools-vite": "0.7.2",
"@tanstack/devtools-vite": "0.8.0",
"@types/node": "^22.15.2",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/https/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"devDependencies": {
"@tanstack/devtools-ui": "0.5.3",
"@tanstack/devtools-vite": "0.7.2",
"@tanstack/devtools-vite": "0.8.0",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
"@vitejs/plugin-react": "^6.0.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/start/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"vite-tsconfig-paths": "^6.0.2"
},
"devDependencies": {
"@tanstack/devtools-vite": "0.7.2",
"@tanstack/devtools-vite": "0.8.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.2.0",
"@types/node": "^22.15.2",
Expand Down
2 changes: 1 addition & 1 deletion examples/solid/a11y-devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"solid-js": "^1.9.9"
},
"devDependencies": {
"@tanstack/devtools-vite": "0.7.2",
"@tanstack/devtools-vite": "0.8.0",
"vite": "^8.0.0",
"vite-plugin-inspect": "11.3.3",
"vite-plugin-solid": "^2.11.11"
Expand Down
2 changes: 1 addition & 1 deletion examples/solid/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"solid-js": "^1.9.9"
},
"devDependencies": {
"@tanstack/devtools-vite": "0.7.2",
"@tanstack/devtools-vite": "0.8.0",
"vite": "^8.0.0",
"vite-plugin-inspect": "11.3.3",
"vite-plugin-solid": "^2.11.11"
Expand Down
2 changes: 1 addition & 1 deletion examples/solid/devtools-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"solid-js": "^1.9.9"
},
"devDependencies": {
"@tanstack/devtools-vite": "0.7.2",
"@tanstack/devtools-vite": "0.8.0",
"vite": "^8.0.0",
"vite-plugin-inspect": "11.3.3",
"vite-plugin-solid": "^2.11.11"
Expand Down
10 changes: 10 additions & 0 deletions packages/devtools-vite/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @tanstack/devtools-event-client

## 0.8.0

### Minor Changes

- [#384](https://github.com/TanStack/devtools/pull/384) [`958c683`](https://github.com/TanStack/devtools/commit/958c6836b88f87d449c71b7b47ca77fe72ae5a08) - feat: deliver devtools events from isolated server runtimes over Vite's native HotChannel

Server code running in an isolated runtime (Nitro v3 worker thread, Cloudflare `workerd`, or any separate thread/process) does not share `globalThis.__TANSTACK_EVENT_TARGET__` with the Vite dev process, so devtools events emitted on the server never reached the panel.

The Vite plugin now bridges those events over the framework's existing `import.meta.hot` HotChannel — the same connection the runtime already uses for HMR. It injects a tiny, dev-only bridge into the event client when it runs in a non-client environment and wires each server environment's hot channel to the in-process `ServerEventBus`. No new WebSocket, no fetch, no reconnect logic, and no new runtime dependencies; the bridge is fully tree-shaken in production.

## 0.7.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools-vite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/devtools-vite",
"version": "0.7.2",
"version": "0.8.0",
"description": "TanStack Vite plugin used to enhance the core devtools with additional functionalities",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
20 changes: 10 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.