|
1 | 1 | # agent-react-devtools |
2 | 2 |
|
| 3 | +## 0.3.0 |
| 4 | + |
| 5 | +### Minor Changes |
| 6 | + |
| 7 | +- e9c8a60: Show connection health in `status` and `get tree` |
| 8 | + |
| 9 | + - Show last connection event in `status` (e.g. "app reconnected 3s ago") |
| 10 | + - Show contextual hint when `get tree` returns empty after a disconnect |
| 11 | + |
| 12 | +- 20ce273: Standardize component reference format across all CLI output |
| 13 | + |
| 14 | + All formatters now produce consistent `@cN [type] Name` references. Previously, tree and search commands used `@c1 [fn] "Name"` while profiling commands omitted labels, type tags, or both. |
| 15 | + |
| 16 | + **Breaking changes to output format:** |
| 17 | + |
| 18 | + - Component names are no longer quoted: `@c1 [fn] App` instead of `@c1 [fn] "App"` |
| 19 | + - Keys use `key=value` instead of `key="value"` |
| 20 | + - Profiling commands (`profile slow`, `profile rerenders`, `profile stop`, `profile commit`) now include `@cN` labels and `[type]` tags |
| 21 | + - `profile slow` and `profile rerenders` show all render causes instead of only the first |
| 22 | + - `profile report` now includes a `[type]` tag in the header |
| 23 | + - Column-aligned padding removed from profiling output in favor of consistent `formatRef` formatting |
| 24 | + |
| 25 | +- 05090ca: Surface specific changed prop/state/hook keys in profiling output |
| 26 | + |
| 27 | + Profiling reports and commit details now show _which_ props, state keys, and hooks changed, not just _that_ they changed. |
| 28 | + |
| 29 | + - `profile report` and `profile slow` append `changed: props: onClick, className state: count` lines |
| 30 | + - `profile rerenders` and `profile commit` include the same detail per component |
| 31 | + - Keys are deduplicated across commits in aggregate reports |
| 32 | + - Empty keys produce no extra output (backward-compatible) |
| 33 | + |
| 34 | +- e9c8a60: Add `wait` command |
| 35 | + |
| 36 | + - `wait --connected` — block until a React app connects |
| 37 | + - `wait --component <name>` — block until a named component appears in the tree |
| 38 | + - Both support `--timeout` (default 30s) and exit non-zero on timeout |
| 39 | + |
| 40 | +### Patch Changes |
| 41 | + |
| 42 | +- 303f9e4: Fixed Vite HMR (hot module replacement) breaking when the `reactDevtools()` plugin is added to `vite.config.ts`. The connect module now preserves the react-refresh runtime's inject wrapper when replacing the devtools hook, so both Fast Refresh and devtools inspection work correctly. |
| 43 | + |
3 | 44 | ## 0.2.2 |
4 | 45 |
|
5 | 46 | ### Patch Changes |
|
0 commit comments