Commit graph

456 commits

Author SHA1 Message Date
Alem Tuzlak
10f28d8564
docs: add README header banners to the framework adapter packages (#491) 2026-08-03 11:59:03 +02:00
Alem Tuzlak
5267bf5822
docs: use the dynamic README header endpoint (#490) 2026-08-03 11:39:06 +02:00
github-actions[bot]
06006350d6
ci: Version Packages (#487) @tanstack/devtools-bundler-core@0.1.1 @tanstack/devtools-rspack@0.1.1 @tanstack/devtools-vite@0.8.3
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-22 14:51:32 +02:00
Vedant Pahune
f4c35d29be
fix(devtools-vite): preserve valid syntax when removing devtools JSX (#480)
* fix(devtools-vite): preserve valid syntax when removing devtools JSX

* add changeset

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-22 14:48:30 +02:00
github-actions[bot]
f9553f5a88
ci: Version Packages (#486) @tanstack/angular-devtools@0.0.8 @tanstack/devtools-bundler-core@0.1.0 @tanstack/devtools-rspack@0.1.0 @tanstack/devtools-vite@0.8.2 @tanstack/devtools@0.13.0 @tanstack/preact-devtools@0.10.9 @tanstack/react-devtools@0.10.9 @tanstack/solid-devtools@0.8.9 @tanstack/svelte-devtools@0.1.2 @tanstack/vue-devtools@0.2.23
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-22 14:23:45 +02:00
Alem Tuzlak
d6e9022a8b
feat: add @tanstack/devtools-rspack (1:1 Vite parity) + shared @tanstack/devtools-bundler-core (#484)
* feat(bundler-core): scaffold @tanstack/devtools-bundler-core package

* feat(bundler-core): move framework-agnostic logic out of devtools-vite

* feat(bundler-core): add dev-state singleton for loader/plugin sharing

* refactor(devtools-vite): consume @tanstack/devtools-bundler-core

* test(bundler-core): relocate handleDevToolsRequest routing tests from devtools-vite

* feat(devtools-rspack): scaffold package with skeleton exports

* feat(devtools-rspack): transform pipeline loader

* feat(devtools-rspack): plugin (loader injection, event bus, dev middleware, package manager) + dev-server port routing

* chore(devtools): fix core import ordering + guard rspack package-manager wiring in CI

* test(devtools-rspack): entry factory test

* test(devtools-rspack): react rspack example + e2e smoke

* chore: changesets for devtools-bundler-core + devtools-rspack

Also removes the redundant @rspack/core devDependency from
devtools-rspack (already declared as peerDependency, unused
otherwise per knip).

* fix(devtools-rspack): process @tanstack node_modules for connection placeholder + runtime-bridge injection

The single loader rule excluded all of node_modules, so the __TANSTACK_DEVTOOLS_*
connection placeholders (which live in @tanstack/devtools-event-bus's client, under
node_modules for real consumers) were never replaced -- breaking a custom
eventBusConfig.port/host/protocol. Add a second loader rule scoped to
@tanstack/devtools*|event-bus* under node_modules (flat + pnpm nested layouts), and
normalize the step-4 id gate to posix so it matches on Windows. Matches vite's
connection-injection, which does not exclude node_modules.

* fix(devtools-rspack): eager event-bus connection, gate dep-refresh on package.json, port-routing tests, doc accuracy

* fix(devtools-rspack): emit package-json-read on package.json change (vite parity)

* chore(devtools): formatting + lint fixes

* fix(devtools-rspack): make marketplace + go-to-source work under Rspack

- Seed the shared global event target before wiring the package manager so the
  plugin receives the client's `mounted` event and replies with
  `package-json-read` (the marketplace stayed empty without it), and gate the
  wiring on the compiler mode instead of `process.env.NODE_ENV`, which isn't set
  at `apply()` time under `rspack serve`.
- Normalize the module path before stripping cwd in enhance-logs and
  inject-source so Rspack's backslash ids on Windows don't leak an absolute path
  that breaks editor open.
- Enable `connectToServerBus` in the react-rspack example so the client connects
  to the event bus.

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-22 13:44:57 +02:00
Alem Tuzlak
d061f0cc3c
feat(devtools): add floating/draggable trigger with throw physics (#485)
* feat(devtools): add floating/draggable trigger with throw physics

Add a `triggerMode: 'fixed' | 'floating'` setting. In floating mode the trigger
can be dragged anywhere with the left mouse button; releasing with velocity
throws it (inertia + wall bounce). Position is clamped to a padded on-screen
area (matching the fixed trigger's edge offset) and persisted to local storage,
re-clamping on window resize so it can never load off-screen.

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-22 12:04:20 +02:00
Alem Tuzlak
92f69d014a
ci: stabilize flaky Test job (cap nx parallelism + raise vitest timeouts) (#478) @tanstack/angular-devtools@0.0.7 @tanstack/devtools-a11y@0.1.6 @tanstack/devtools-client@0.0.8 @tanstack/devtools-event-client@0.5.0 @tanstack/devtools-ui@0.6.0 @tanstack/devtools-vite@0.8.1 @tanstack/devtools@0.12.5 @tanstack/preact-devtools@0.10.8 @tanstack/react-devtools@0.10.8 @tanstack/solid-devtools@0.8.8 @tanstack/svelte-devtools@0.1.1 @tanstack/vue-devtools@0.2.22
* test(devtools): raise vitest timeouts to stop flaky component test:lib in CI

The component tests added in #472 render the full Solid + goober tree and take
1-4s locally. Shared CI runners are ~4x slower (the suite runs in ~8s locally
but ~31s in CI), which pushes individual tests past vitest's default 5s
testTimeout and causes intermittent `@tanstack/devtools:test:lib` failures
across unrelated PRs (e.g. #471, #477).

Raise testTimeout and hookTimeout to 30s for the devtools package so slow CI
runs have headroom. Fast unit tests are unaffected; a real hang still fails
(just after 30s instead of 5s).

* ci: cap nx parallelism to 3 to fix flaky Test job

nx.json sets `parallel: 5`, which is fine for local dev machines but
oversubscribes GitHub-hosted runners: each affected `test:lib` (vitest) and
`test:types` (tsc) task spawns its own worker pool, so 5 heavy tasks at once
exhaust CPU/RAM and intermittently stall or OOM-kill deterministic tasks. That
produced flaky failures across unrelated PRs (#471, #477, #478) that pass on a
plain re-run.

The team already pins `test:e2e` to `--parallel=1` for the same reason; cap the
Test job's nx parallelism via NX_PARALLEL=3 (CI-only, leaves local dev at 5).
Combined with the raised vitest timeouts, this keeps tasks within the runner's
budget.
2026-06-24 14:05:02 +02:00
github-actions[bot]
e0266670c8
ci: Version Packages (#475)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-24 13:21:43 +02:00
Alem Tuzlak
b1ac893a7d
feat(event-client): strip the root EventClient export from production by default (#471)
* feat(event-client): add shared types module, /production entry, and package wiring

* feat(event-client): add standalone no-op client and share event types

* feat(event-client): no-op the root export outside development

* docs(event-client): document dev-only root export and /production subpath

* chore(event-client): add changeset for production stripping

* test(event-client): guard no-op/real public-surface parity and cover the dev resolver branch

* docs(event-client): clarify unset NODE_ENV behavior and fix stale stripping guidance

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-24 13:13:14 +02:00
Alem Tuzlak
ea3c6749b0
fix(devtools): rename Solid use* primitives to create* for React Compiler compat (#477)
* fix(devtools): rename Solid use* primitives to create* for React Compiler compat

The devtools packages are Solid but used React-style naming (useStyles,
useTheme, useDevtoolsState, ...) for their custom primitives. When an app
enables React Compiler, it matches the use* convention and transforms this
Solid code as if it were React, breaking the panel.

Rename every custom Solid primitive in @tanstack/devtools, devtools-ui, and
devtools-a11y from use* to create*, and import Solid's useContext and
@solid-primitives' useKeyDownList under non-use aliases (getContext,
getKeyDownList).

BREAKING(@tanstack/devtools-ui): exported useTheme is renamed to createTheme.

* fix(devtools): apply create* rename to tests and docs merged from main

#472 added component tests (tabs.test.tsx, settings-tab.test.tsx) using the
old useDevtoolsState/useDevtoolsSettings names, and the devtools-plugin-panel
skill docs referenced the renamed devtools-ui export useTheme. Update them to
the create* names.
2026-06-24 13:04:02 +02:00
Alem Tuzlak
7114ecd285
test: e2e suite (8 apps + server↔client probe) + unit/component coverage (#472)
* test(e2e): scaffold Playwright harness, helper package, react-vite app, shell test-ids

* test(e2e): full react-vite shell behavior suite + event-probe

* ci(e2e): build packages before running the Playwright suite on every PR

* test(e2e): react-start runtime app + server probe

* test(e2e): extend event-probe with server-ping emitter + receiver

* test(e2e): promote react-start to real server->client via #384 runtime bridge; lock e2e deps

* test(e2e): react-nitro runtime app + server probe

* test(e2e): cloudflare/workerd runtime app

* test(e2e): solid adapter smoke

* test(e2e): vue adapter smoke

* test(e2e): preact adapter smoke

* test(e2e): angular adapter smoke

* ci(e2e): run all runtime + adapter e2e apps on every PR; lock e2e deps

* test(unit): fill pure-function coverage gaps in devtools + devtools-vite

* test(component): Solid shell render + reactivity tests

* test(component): React adapter portal wiring test

* chore(e2e): formatting and lint fixes

* fix(devtools-ui): Checkbox reflects controlled `checked` prop updates

* chore(knip): declare doc-script entrypoints and ignore generated intent bin stubs

* ci: apply automated fixes

* ci(e2e): pin actions to commit SHAs (org policy + zizmor)

* test(e2e): make server->client probe deterministic (re-emit until delivered)

* ci(e2e): run e2e projects serially — parallel dev servers collide on the shared devtools bus port

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-23 20:37:55 +02:00
Alem Tuzlak
b1c1b20f6e
fix(examples): align @tanstack/devtools-a11y version to fix sherif CI (#474) @tanstack/devtools-a11y@0.1.5 @tanstack/devtools-utils@0.6.0 @tanstack/svelte-devtools@0.1.0
fix(examples): align @tanstack/devtools-a11y to ^0.1.5 across examples

The Version Packages release bumped the react a11y example to ^0.1.5
but left the angular example at ^0.1.4, tripping sherif's
multiple-dependency-versions check and failing CI on main.
2026-06-23 11:24:59 +02:00
github-actions[bot]
da1d7e2826
ci: Version Packages (#473)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-23 11:16:12 +02:00
Alem Tuzlak
d7c5a93710
feat: add Svelte 5 adapter and devtools-utils Svelte factories (#366)
* docs: add Svelte devtools adapter design doc

* docs: add Svelte devtools implementation plan

* feat(svelte-devtools): add Svelte 5 adapter package

* feat(devtools-utils): add Svelte factory functions and build config

* fix: resolve knip issues and update svelte vite plugin to v6

* docs: add Svelte documentation

* chore: add changeset for Svelte adapter

* ci: apply automated fixes

* fix(svelte-devtools): mount once and tear down stale plugin components on update

- Mount the core exactly once: untrack props in the mount $effect so a prop
  change no longer destroys and rebuilds the entire devtools core (the update
  $effect already handles config/plugin changes reactively).
- update() now calls destroyAllComponents() before setConfig(), matching the
  Angular adapter — the core re-invokes render/name for the new plugin set, so
  without this the previous Svelte instances were orphaned and leaked.
- renderComponent() keys mounted components by container.id directly (the core
  always assigns one) instead of an empty-string fallback that could never be
  matched on destroy.
- vite.config: cast svelte() plugin as any, matching the vue/solid configs, to
  satisfy the vite 8 plugin types.

* chore(devtools-utils): add svelte devDependency for the svelte subpath build

The `./svelte` build type-checks svelte-importing source, so svelte must be
resolvable at build time (mirroring vite-plugin-solid for the solid build)
rather than relying on workspace hoisting of the optional peer.

* test(devtools-utils): cover svelte plugin and panel factories

Mirrors the existing solid class factory tests: createSveltePlugin shape +
NoOp behavior, and createSveltePanel mounting/tearing down a class-based core.

* ci: apply automated fixes

* refactor(devtools-utils): make createSveltePlugin generic over component props

Threads a TComponentProps generic through the svelte plugin factory (mirroring
createVuePlugin) so plugin props are type-checked against the component instead
of falling back to `any`. Addresses PR review feedback.

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-23 11:12:54 +02:00
Alem Tuzlak
f17d7e8a0a
chore: add bugs.url metadata to all published packages (#470)
Adds the `bugs` field pointing to the GitHub issue tracker to every publishable package under packages/. This was the only standard metadata field missing; repository, license, homepage, funding, author and keywords were already present and consistent across all packages.
2026-06-22 16:35:07 +02:00
renovate[bot]
fca4065b0a
chore(deps): update tanstack/config digest to 190f659 (#469)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-22 11:11:53 +02:00
github-actions[bot]
d9f2b37ce5
ci: Version Packages (#468) @tanstack/devtools-vite@0.8.0
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-19 19:53:37 +02:00
Alem Tuzlak
958c6836b8
feat: deliver devtools events from isolated server runtimes via Vite HotChannel (#384)
* docs: add design spec for network transport fallback in isolated server runtimes

Addresses the issue where devtools events are lost when server code runs in
isolated environments (Nitro v3 worker threads, Cloudflare Workers, etc.)
that don't share globalThis with the Vite main thread.

* docs: address spec review findings for network transport fallback

Fix problem description precision, URL matching and handleNewConnection
signature issues, POST handler routing, placeholder convention, triplicate
interface sync, queue preservation, and multi-worker echo safety.

* docs: clarify dual handler paths in network transport spec

Disambiguate that both standalone and external server POST/upgrade
handlers need updates, and that only WebSocket URL matching needs
prefix change (not SSE/POST URLs).

* docs: add implementation plan for network transport fallback

7-task plan covering: interface updates, ServerEventBus bridge support,
POST handler routing, RingBuffer utility, EventClient network transport
detection, WebSocket connection/emit/receive, and integration tests.

* feat: add eventId and source fields to TanStackDevtoolsEvent interface

* feat: add server bridge WebSocket connection support to ServerEventBus

- Accept WebSocket connections with ?bridge=server query parameter
- Track bridge clients separately for proper routing
- Bridge messages route through emit() (broadcast to WS clients + EventTarget)
- Regular browser messages route through emitToServer() (EventTarget only)
- Clean up bridge client tracking on disconnect and stop()

* feat: add source-based routing to POST handlers for server bridge support

* feat: add RingBuffer utility for event ID deduplication

* feat: add network transport detection and compile-time placeholders to EventClient

* feat: add WebSocket network transport fallback to EventClient

When EventClient detects it is in an isolated server environment
(no shared globalThis.__TANSTACK_EVENT_TARGET__, no window), it
automatically connects to ServerEventBus via WebSocket. Bidirectional:
events emitted in the worker reach the devtools panel, and events
from the devtools panel reach listeners in the worker.

Includes echo prevention via 200-entry ring buffer, exponential
backoff reconnection, HTTP POST fallback, and event queuing.

* fix: improve WebSocket error handling and destroy cleanup in EventClient

- Add scheduleReconnect() call in error handler for non-browser runtimes
  where 'close' may not follow 'error'
- Reset wsGaveUp, wsReconnectAttempts, wsReconnectDelay in
  ___destroyNetworkTransport for safe reuse

* test: add end-to-end integration tests for network transport fallback

* docs: mark network transport fallback spec as implemented

* ci: apply automated fixes

* feat: add Nitro v3 and Cloudflare Workers test examples

Two minimal examples for manually testing the network transport fallback:

- examples/react/start-nitro — TanStack Start + Nitro v3 (worker threads)
- examples/react/start-cloudflare — TanStack Start + Cloudflare Workers

Both emit devtools events from server functions and display them in a
custom "Server Events" devtools panel. If events appear in the panel,
the network transport fallback is working correctly.

* Refactor code structure for improved readability and maintainability

* docs: design spec for native Vite HotChannel runtime bridge

* docs: implementation plan for native Vite HotChannel runtime bridge

* feat(devtools-vite): generate worker-side runtime bridge code

* feat(devtools-vite): inject runtime bridge into event-client for server envs

* feat(devtools-vite): wire dev-server hot channels to ServerEventBus

* feat(devtools-vite): hook runtime bridge into plugin and dev server

* chore: add devtools-vite changeset, remove planning docs from PR

* fix(devtools-vite): tear down runtime-bridge hot handlers to prevent duplicate events

* ci: apply automated fixes

* chore: align start-nitro/start-cloudflare examples to vite 8 (fix sherif)

* test(devtools-vite): use explicit function types in runtime-bridge mocks (eslint)

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-19 19:47:33 +02:00
github-actions[bot]
c6374669b8
ci: Version Packages (#467) @tanstack/angular-devtools@0.0.6 @tanstack/devtools@0.12.4 @tanstack/preact-devtools@0.10.7 @tanstack/react-devtools@0.10.7 @tanstack/solid-devtools@0.8.7 @tanstack/vue-devtools@0.2.21
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-19 15:21:04 +02:00
Eric Manganaro
cc8c81b9e2
fix(devtools): allow plugin panel roots to scroll (#456)
Co-authored-by: Alem Tuzlak <t.zlak97@gmail.com>
2026-06-19 15:14:47 +02:00
github-actions[bot]
ca6e266ff4
ci: Version Packages (#465) @tanstack/angular-devtools@0.0.5 @tanstack/devtools-a11y@0.1.4 @tanstack/devtools-client@0.0.7 @tanstack/devtools-event-bus@0.4.2 @tanstack/devtools-event-client@0.4.4 @tanstack/devtools-ui@0.5.3 @tanstack/devtools-utils@0.5.1 @tanstack/devtools-vite@0.7.2 @tanstack/devtools@0.12.3 @tanstack/preact-devtools@0.10.6 @tanstack/react-devtools@0.10.6 @tanstack/solid-devtools@0.8.6 @tanstack/vue-devtools@0.2.20
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-19 14:24:51 +02:00
Alem Tuzlak
73983a7d7e
fix(devtools): restore plugin marketplace and harden event bus connection (#466)
The plugin marketplace rendered empty ("No additional plugins available")
because the `mounted` -> `package-json-read` round-trip could be lost:

- ClientEventBus.emitToServer silently dropped events emitted while the
  WebSocket was still connecting. They are now buffered and flushed once the
  socket opens.
- The marketplace re-requests package.json on every open and retries until it
  arrives, so re-opening always re-fetches the plugin list.
- The basic React example reconnects to the server bus (connectToServerBus).
- Added TanStack AI Devtools to the plugin marketplace registry.
2026-06-19 14:15:31 +02:00
renovate[bot]
8afe61bfbd
chore(deps): update tanstack/config digest to 99d23c6 (#446)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alem Tuzlak <t.zlak97@gmail.com>
2026-06-19 13:15:22 +02:00
Vedant Pahune
2a2f9eb5b8
fix(devtools-vite): preserve valid syntax when removing parenthesized devtools JSX (#449)
* fix(devtools-vite): preserve valid syntax when removing parenthesized devtools JSX

* add changeset
2026-06-19 13:10:48 +02:00
github-actions[bot]
45d9b8e013
ci: Version Packages (#453) @tanstack/devtools-vite@0.7.1
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-19 13:07:08 +02:00
Kent Hou Man
cf89dcd9e0
fix: fix go to source file whose path contains $ symbol (#450)
* fix: fix go to source when file name contains $ symbol

* chore: add changeset
2026-05-30 09:03:53 +02:00
Flo
8fdc016f82
security: stricter pnpm config blockExoticSubdeps & trustPolicy (#445) 2026-05-28 21:11:42 +02:00
Flo
7e5d4bec76
chore: enforce pnpm 11 (#448) 2026-05-28 21:11:01 +02:00
Flo
59475ee54a
chore: migrate changesets changelog generator (#452)
* chore: migrate changesets changelog generator

* chore: sort changelog dependency
2026-05-28 21:09:41 +02:00
Corbin Crutchley
58d02323a7
chore: updates CODEOWNERS to be core-team (#443) 2026-05-13 12:09:23 -06:00
github-actions[bot]
5d359f276e
ci: Version Packages (#442) @tanstack/devtools-vite@0.7.0
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-13 16:45:28 +02:00
Keven Arroyo
7be3776b86
refactor(devtools-vite): migrate from Babel to oxc-parser + MagicString (#397)
* refactor(devtools-vite): migrate from Babel to oxc-parser + MagicString

* changeset+knip fix

* docs update

* ci: apply automated fixes

* refactor(devtools-vite): address CodeRabbit feedback on oxc migration

- Extract shared TANSTACK_DEVTOOLS_PACKAGES constant; remove-devtools now
  recognizes preact/vue/svelte/angular packages (previously only
  react/solid/devtools were stripped).
- Escape displayName/packageName via JSON.stringify when generating
  plugin injection code so quotes/backslashes do not break the output.
- Skip appending a duplicate import when the plugin symbol is already
  imported from the same package.
- collectJsx no longer crosses function boundaries; inner components
  keep their own propsName context and aren't annotated with an outer
  function's data-tsd-source.
- Drop the redundant VariableDeclaration branch in visitFunctions;
  arrow/function expressions are reached via forEachChild, so the
  prior code walked them twice.
- Add regression tests covering non-ASCII source positions (emoji,
  CJK) — oxc-parser napi bindings already return UTF-16 code-unit
  indices, so no offset conversion is needed.
- Sync the devtools-production SKILL.md package list with the
  implementation.

* chore(deps): bump oxc-parser to ^0.120.0

Verified empirically that the napi bindings continue to return UTF-16
code-unit indices (matching the assumption in inject-source.ts and the
non-ASCII regression tests). All 167 devtools-vite tests pass on the new
version; lint, typecheck, build, and knip clean.

* ci: apply automated fixes

* fix(devtools-vite): emit correct source positions for enhanced logs

console-pipe-transform prepends a multi-line IIFE to root entry files
before better-console-logs runs. Because both plugins are enforce:'pre'
and execute in array order, enhanceConsoleLog was parsing the
post-prepend source and reporting line numbers shifted past the end of
the user's file -- 'Go to Source' links pointed nowhere.

Swap the two plugin entries so enhanceConsoleLog sees the original
source. Add a regression test asserting better-console-logs is
registered before console-pipe-transform.

* fix(devtools): snapshot data-tsd-source before mutating click state

The click handler in SourceInspector called `setDisabledAfterClick(true)`
before reading `highlightState.dataSource`. That signal write flipped
`isActive` to false, triggering the highlight effect's `resetHighlight()`
synchronously enough (via the chained `createStore` reactions) to clear
`dataSource` before the subsequent reads. Result: the open-source fetch
was issued with `?source=` empty and clipboard writes wrote an empty
string.

Capture `highlightState.dataSource` into a local before any state
mutations, then use the captured value for both the clipboard path and
the URL construction.

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com>
2026-05-13 16:13:22 +02:00
github-actions[bot]
0ec5292ac1
ci: Version Packages (#433) @tanstack/angular-devtools@0.0.4 @tanstack/devtools-a11y@0.1.3 @tanstack/devtools-ui@0.5.2 @tanstack/devtools-utils@0.5.0 @tanstack/devtools-vite@0.6.1 @tanstack/devtools@0.12.2 @tanstack/preact-devtools@0.10.5 @tanstack/react-devtools@0.10.5 @tanstack/solid-devtools@0.8.5 @tanstack/vue-devtools@0.2.19
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-13 12:17:50 +02:00
renovate[bot]
e8ad97da91
chore(deps): update dependency drizzle-orm to ^0.45.0 [security] (#438)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-13 12:12:04 +02:00
renovate[bot]
bb2f499c1f
chore(deps): update dependency happy-dom to v20 [security] (#439)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-13 12:11:53 +02:00
Alem Tuzlak
a57d354097
fix(deps): bump protobufjs to 7.5.8 to patch CVE-2026-44289 (#441) 2026-05-13 12:11:38 +02:00
Flo
ba9d1d4899
ci: add zizmor workflow (#440)
* ci: add zizmor workflow

* ci: clarify skill review push credentials

* ci: simplify stale skills PR body generation

* Update .github/workflows/triage-agent.yml
2026-05-13 10:10:43 +02:00
Alem Tuzlak
31c194e24d
ci(security): harden CI/CD supply chain and bump pnpm to 11.1.1 (#436)
* chore(deps): upgrade pnpm to 11.1.1

Bumps the corepack-managed pnpm version across the root and the four
Angular example workspaces. pnpm 11 refuses to run install scripts by
default; declare a minimal allowBuilds allowlist in pnpm-workspace.yaml
so only the two packages whose postinstalls the build actually needs
(esbuild, nx) are permitted. The other eight transitively-pulled
postinstalls (sharp, lmdb, workerd, etc.) all fall back to JS paths
or are unused during build, and are explicitly denied.

Also pin the preinstall guard to only-allow@1.2.2 so it no longer
resolves a floating tag from npm on every install.

* ci(security): pin actions to SHAs and harden CI/CD supply chain

Replaces every mutable workflow reference (@main, @v1, @v3, @v4,
@v6.0.2) with a 40-char commit SHA + version comment so Renovate can
keep them current. Composite actions in TanStack/config — previously
pinned to @main — are the highest-impact change: a force-push or
compromised commit there would have given an attacker the npm OIDC
publishing identity plus contents/issues/PR write tokens on the next
push to main.

Other changes in this commit:

- release.yml: set cancel-in-progress: false so a re-push cannot abort
  changesets/action mid-publish and leave partial versions on npm.
  Add environment: release so required reviewers can be configured in
  repo settings for an explicit human gate before publish.

- triage-agent.yml: add a "SECURITY: Untrusted input" preamble to the
  Warp agent prompt. The agent reads attacker-controlled issue text,
  so it must treat that text strictly as data and refuse instructions
  embedded inside it. Also corrected the bug-report template path
  (bug-report.yml -> bug_report.yml) that the agent was failing to
  load.

- check-skills.yml / validate-skills.yml: pin @tanstack/intent to a
  specific version; npm install -g without a version was floating.

- pr.yml preview job: pin pkg-pr-new to a specific version; pnpx
  without a version was floating.

- .github/renovate.json: drop :automergeMinor. Combined with floating
  versions this could have landed a malicious patch without review.

- .github/CODEOWNERS (new): require owner review on workflows, package
  manifests, lockfile, .npmrc, and renovate config. Adjust the owner
  handle to a team once one exists.

- .github/workflows/dependency-review.yml (new): runs
  actions/dependency-review-action on every PR with
  fail-on-severity: high to block PRs that introduce known-vulnerable
  transitive dependencies.

* ci(security): bump TanStack/config pin to latest main SHA

* fix(ci): correct preinstall skip logic for CI

The original `||`-chained preinstall printed "Skipping preinstall..." in
CI but then ran only-allow anyway because `process.exit(1)` triggers
the `||` operator. CI happened to pass when only-allow was unpinned
(npx resolved it differently), but pinning to @1.2.2 forced a fresh
registry resolve in which only-allow strictly checks
npm_config_user_agent — which, when invoked via npx-inside-pnpm, is
npm's, not pnpm's — and rejects.

The fix matches the script's stated intent: when CI=true, exit 0 so
the `||` does not trigger and only-allow is genuinely skipped. Local
installs continue to fall through and enforce pnpm via only-allow as
before.
2026-05-12 14:59:09 +02:00
Harry Whorlow
562ad00b61
fix(ci): fix eslint error (#432)
* fix(ci): fix eslint error

* chore: update with test

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-11 22:27:12 +02:00
Harry Whorlow
3ab6a998a5
fix(versioning): release angular as minor (#431) 2026-05-11 12:39:15 +02:00
github-actions[bot]
3639ccfb78
ci: Version Packages (#429)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-11 12:32:40 +02:00
Harry Whorlow
015b733686
fix(devtools ui): fix json tree nan values (#430) 2026-05-11 12:29:38 +02:00
Danny
3ee47f9187
Update installation command for devtools to dev dependency (#399)
* Update installation command for devtools to dev dependency

* docs: add -D flag to other frameworks install commands
2026-05-11 11:07:22 +02:00
Raudy Brito
16c0bf0d58
fix(devtools-vite): prevent console pipe loop and solid-js duplication (#412)
* fix(devtools-vite): prevent console pipe loop and solid-js duplication with Vite 8

* chore: add changeset

* fix(devtools-vite): add defensive fallback for invalid console level

* Remove Solid Dedupe

* format fix
2026-05-11 11:06:56 +02:00
Wz
113e9a7134
fix(devtools-vite): avoid piping raw DOM console arguments (#424)
fix console piping DOM serialization
2026-05-11 11:06:28 +02:00
renovate[bot]
19b0c25cf2
chore(deps): lock file maintenance (#427)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-11 08:57:24 +00:00
Santos Vilanculos
5ac65f8059
chore(plugin): add inertia 3 plugin to registry (#420)
chore(plugin): add inertia 3 plugin
2026-05-11 10:42:25 +02:00
github-actions[bot]
b2924325a4
ci: Version Packages (#426) @tanstack/angular-devtools@0.0.2
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-11 10:34:30 +02:00
Harry Whorlow
58e66f5a26
feat(devtools): add copy path to source inspector (#419)
* feat(devtools): add copy path to source inspector

* chore: remove config from example
2026-04-28 20:18:43 +02:00