Skip to content

Commit e70a135

Browse files
Version Packages (next)
1 parent 841fc15 commit e70a135

3 files changed

Lines changed: 40 additions & 1 deletion

File tree

‎.changeset/pre.json‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,13 @@
99
"initial-release",
1010
"modern-toolchain",
1111
"native-oxc-toolchain",
12+
"ownership-tree",
1213
"quiet-cats-smile",
14+
"rc12-call-record-observe",
15+
"rc12-runtime-parity",
16+
"reactivity-graph",
1317
"safe-production-imports",
18+
"terracotta-next-9",
1419
"toolbar-redesign"
1520
]
1621
}

‎CHANGELOG.md‎

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11
# @solidjs/start-devtools
22

3+
## 1.0.0-next.5
4+
5+
### Patch Changes
6+
7+
- 341960b: Add an ownership tree panel to the dev toolbar.
8+
9+
The panel shows the app as a tree of owners. Component mode lists components only and folds the scopes between them into the component above, so a component shows the signals, memos and effects created inside it. Owner mode shows every owner.
10+
Selecting a row lists its prop names, the signals it holds with their values, the scopes folded into it, its children, and the ancestry it was created under.
11+
Components show where they are declared, and clicking the location opens the file in your editor.
12+
Rows flash when an owner is created, and the tree can be searched by component, scope or signal.
13+
14+
- 841fc15: The server-function panel is driven by the runtime's `"call"` record.
15+
16+
`observeServerFunctionCalls` was removed from `@solidjs/web/server-functions` in rc.9; the panel has shown nothing since. It now subscribes to `OBSERVE.records` for `"request"` and `"call"` with `bodies: true`: a call appears the moment its request is handed to `fetch` and completes when the caller's await settles, showing the request as sent and the response as it arrived, with unread bodies to inspect, the function's source name when the build carried one, and the call's timing. A call whose fetch itself failed is marked as failed, with the thrown value's message in place of the response.
17+
18+
The toolbar excludes its own owner from the runtime's observe layer (`OBSERVE.exclude`) and hands the app it wraps back (`OBSERVE.include`), so the toolbar's own signals and effects are never reported as the app's by diagnostics, attribution, or the performance tracks.
19+
20+
- 841fc15: Build and read the Solid 2.0.0-rc.12 runtime.
21+
22+
The toolbar is compiled with `@solidjs/compiler`, the compiler that ships with the runtime, so delegated event handlers use the key the runtime reads (`_$$click`). Every click in the reactivity and ownership panels was dead against rc.9 and later.
23+
The `solid-js` and `@solidjs/web` peers move to `^2.0.0-rc.12`.
24+
The reactivity graph reads a node's error off its extension (`_x._error`), recognises store slot nodes by the store they belong to, and hides the memo the built-in hot reload wrapper creates, which the runtime now marks as plumbing instead of naming. The ownership tree walks through that memo without a row.
25+
A server render that fails sets the 500 status and logs, without writing toolbar state.
26+
27+
- b1177e3: Add a reactivity graph panel to the dev toolbar.
28+
29+
The panel maps live signals, memos and effects as a directed graph.
30+
Hovering a node shows its value, state, owner and edge counts.
31+
Selecting a node highlights everything upstream and downstream of it and lists its sources and observers.
32+
The selected node's value is shown as an expandable tree, the same one the server function panel uses for serialized values.
33+
Nodes pulse and count changes as the app updates, and the graph can be filtered by kind or searched by name, value or owner.
34+
35+
- cb0e333: Update terracotta to `2.0.0-next.9`.
36+
337
## 1.0.0-next.4
438

539
### Patch Changes

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@solidjs/start-devtools",
3-
"version": "1.0.0-next.4",
3+
"version": "1.0.0-next.5",
44
"description": "Development error and server-function tooling for Solid Start mode",
55
"type": "module",
66
"module": "./dist/index.js",

0 commit comments

Comments
 (0)