All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[0.0.7] - 2026-11-15

  • Actor label: config and ?pdt_label= tag on sessions, list_pages filter (ADR 02, 13, 15)
  • Boot log line with the MCP URL and loopback binding note (ADR 15)
  • list_pages rows list their connected LiveViews in live_views (ADR 15)
  • Report.query_groups, page_queries group_by, callbacks.heaviest in the summary (ADR 13, 15)
  • Breaking: compact page_queries rows, new filters (ADR 15)
  • MCP result cap max_result_bytes:, offset and max_bytes arguments (ADR 15)
  • Breaking: owner only with verbose in list_pages and page_summary (ADR 15)
  • list_pages view filter (ADR 15)
  • Curl recipe for agents without MCP (ADR 15)
  • Ecto tab tag filter: per table, framework, task, no source, with a shown counter (ADR 08)

[0.0.6] - 2026-11-12

  • Element inspector: pick an element, see its component, HEEx source, binding, editor links (ADR 16)
  • Component tree rows highlight their element on the host page (ADR 16)
  • inspect_nodes: config for the inspector's walk budget; pick icon in the collapsed bar (ADR 16)
  • README: using with Tidewave, its known conflicts (ADR 04)

[0.0.5] - 2026-11-12

  • Dock menu on the Popover API with CSS anchor positioning; supported browsers raised (ADR 04)
  • Panel font sizes in rem, logical CSS properties, both guarded by a CSS test (ADR 04)
  • Panel theme: Auto, Light or Dark from the dock menu, stored per browser (ADR 04)
  • pill_corner: and opt-in shortcut: config to place the pill and toggle the toolbar (ADR 04)
  • Panel keyboard and screen reader pass: toggle state, Home/End, live status, sr-only titles (ADR 04)
  • Focus follows hide and show; larger resize handle with aria-valuetext (ADR 04)
  • Panel colors reach WCAG AA contrast, checked by a JS test (ADR 04)
  • Panel: forced colors support, reduced motion, 11px minimum text (ADR 04)
  • Panel assets revalidate with an ETag: 304 instead of a full download (ADR 04)
  • Panel lists: no scroll chaining into the page, off-screen rows skipped (ADR 04)
  • README screenshots and demo GIF in media/: shipped with the docs, not the Hex package (ADR 01)
  • N+1 groups name their callbacks (ran_in), queries their callback and event (ADR 08, 13, 15)
  • Query caller and N+1 callers, Ecto plugin option caller_modules: (ADR 08, 13)
  • CheckRepoStatus queries tagged noise, dimmed and left out of the counts (ADR 08, 13)
  • MCP: reconnect after an upgrade documented, serverInfo.version tested (ADR 15)
  • MCP argument errors say what is expected and where to get it (ADR 15)
  • Inferred callbacks: duration_us stays null, documented, sorted last (ADR 13, 15)
  • phoenix_ecto optional dependency: CheckRepoStatus in the harness and an end to end test (ADR 06, 08)
  • down_grace_ms limit removed: it had no effect, an old config logs it as unknown (ADR 03)
  • Panel data-pdt-* attributes for phases, badge levels, changed assigns and Eval output (ADR 14)
  • Panel LiveView log: false: no toolbar lines in the host's dev log (ADR 04)

[0.0.4] - 2026-11-11

  • One page root rule and one since meaning, page_sid, compare path warning (ADR 13, 15)
  • Closed LiveView sessions live until the TTL, no DOWN cleanup; down_grace_ms has no effect (ADR 03)
  • since cursor on Report.sessions and list_pages (ADR 13, 15)
  • Report.compare and MCP compare_pages: before and after a change, with warnings (ADR 13, 15)
  • Report.recent_errors and MCP recent_errors across pages (ADR 13, 15)
  • Report.markdown and MCP page_report: a page as Markdown (ADR 13, 15)
  • Panel Copy as Markdown (ADR 04, 13)
  • Narrow viewports: header wraps when open, collapsed bar keeps hide and collapse in view (ADR 04)
  • MCP page_assigns_shape: assign sizes without values (ADR 07, 15)
  • MCP prompt audit_page (ADR 15)
  • Release bump also updates the install snippets of README.md and guides/agent-setup.md (ADR 06)

[0.0.3] - 2026-11-11

  • stack_args: opt-in call arguments in crash stacktraces, panel only by default; conn cookies, headers and :crypto never printed (ADR 03)
  • Stack frames print the arity, not the call's arguments: no params or socket (ADR 03)
  • MCP docs: connect at agent start, LAN and ${PHX_IP:-...} URLs (ADR 15)
  • Query origin inside Task.async and start_async: task function or callback (ADR 08, 13)
  • Lazy panel: tab rows load when the tab opens, Ecto details on expand (82 KB to 33 KB, ADR 04)
  • LiveView callback and render exceptions keep a stacktrace cut at the last host frame (ADR 07, 13)
  • Compact summary/2 and page_summary by default, verbose: for full items (breaking, ADR 13, 15)
  • Inferred :async, handle_info callbacks, N+1 origin, unattributed summary (ADR 08, 13)
  • Shipped mix.exs no longer reads PDT_LIVE_VIEW: CI pins LiveView in its checkout (ADR 06)

[0.0.2] - 2026-11-11

  • DOM-level JS tests for loader.js and panel.js wiring and postMessage origin gate (ADR 06)
  • EXPLAIN tests on Postgres, a Postgres service in CI (ADR 08)
  • allowed_origins: for proxies and tunnels that rewrite the Host header (ADR 04)
  • PhoenixDevToolbar.Report: read API over captured sessions for IEx and agents (ADR 13)
  • Shipped usage-rules.md and the phoenix-dev-toolbar-report agent skill (ADR 13)
  • Standalone panel URL: <path>/panel?path=... or the newest page, standalone mode (ADR 14)
  • Documented data-pdt-* row attributes with raw values, for browser-driving agents (ADR 14)
  • MCP endpoint at <path>/mcp, this machine only, read-only Report tools, mcp: false (ADR 15)
  • MCP clients: option: own LAN addresses count as local, IP/CIDR allowlist, :any (ADR 15)
  • MCP client setup for Claude Code, Codex, Cursor and VS Code in README and usage rules (ADR 15)
  • Panel sid check anchored with \A...\z (ADR 14)
  • Standalone panel ?path= and newest page limited to MCP's clients rule (ADR 14)
  • One "this machine" rule: actions: and Eval clients: take :local (ADR 10, ADR 12)
  • Eval default clients: widened to :local, own LAN address included (ADR 12)
  • Agent setup guide; README usage_rules config made skills-only, block rewrite warned (ADR 13)
  • MCP refusals name the peer and the option; clearer "No captured page" errors (ADR 15)

[0.0.1] - 2026-11-10

First public release. A dev-only toolbar for Phoenix LiveView apps: a summary bar and panel overlaid on the page you are working on, installed with one plug in the endpoint. Tabs: Request, Ecto (queries, N+1 detection, EXPLAIN, JSON export), LiveView (lifecycle timings, assigns, events, component tree), Process and System (any process, supervision trees, opt-in actions). Opt-in Cluster and Eval plugins. Plugin API with a guide. Off outside MIX_ENV=dev.

  • Project conventions: AGENTS.md, ADRs, roadmap, mix precommit, CI matrix (ADR 00, ADR 06)
  • PhoenixDevToolbar.enabled?/0 runtime guard (ADR 01)
  • Bounded ETS event store: caps, flood guard, TTL sweep, LiveView DOWN cleanup (ADR 03)
  • Payload truncation and key redaction helpers (ADR 03)
  • Telemetry collector: plugin fan-out, crash quarantine, $callers attribution (ADR 02)
  • LiveView session tracking: dead render link, reconnect, live navigation, nested (ADR 02)
  • Registry based live notifications for panel subscribers (ADR 03)
  • Built-in Request and Ecto collectors, default plugins (ADR 02)
  • PhoenixDevToolbar.Plug: page tracking, loader injection, asset serving (ADR 04)
  • Live panel served by the plug, no router changes: summary, Ecto and Request tabs (ADR 01, ADR 04)
  • Loader (shadow DOM iframe, collapse state), panel JS and CSS, esbuild bundles (ADR 04)
  • mix dev harness: SQLite demo app with N+1, events, Task.async and dead pages (ADR 06)
  • Prod compile check of a fixture host app installing the toolbar (ADR 01)
  • Panel keeps following a tab after older sessions expire; no missed or out of order events (ADR 04)
  • Bounded exception banners and plug options; panel asset URLs from the plug path (ADR 03, ADR 04)
  • Toolbar disables itself, with a warning, in releases unless explicitly enabled (ADR 01)
  • Panel UX: hide to a corner pill, HTTP/live query tags, timings, dropped badge, ARIA tabs (ADR 04)
  • CI tests the minimum stack with LiveView 1.1 (ADR 06)
  • Panel loads the host's own Phoenix and LiveView JS clients: no version skew (ADR 04)
  • LiveView collector: callback and render timings, bounded assigns diff, push_event names (ADR 02)
  • Bounded, budgeted redaction preview for assigns and LiveView params (ADR 03)
  • LiveView tab: lifecycle profiler, callbacks badge and server event log (ADR 07)
  • Assigns inspector: redacted snapshot through LiveView Debug, throttled refresh (ADR 07)
  • Component tree, polled only while the panel is open and visible (ADR 07)
  • Client event log: LiveView window events forwarded by the loader (ADR 04, ADR 07)
  • JS unit tests for the loader helpers: mix test.js, in precommit and CI (ADR 06)
  • mix dev pages: Components and Assigns (ADR 06)
  • Trimmed events badge in the summary bar; client event validation module (ADR 03, ADR 07)
  • Public plugin behaviour, use macro, plugin options and config validation (ADR 05)
  • Per plugin event caps and a per session ceiling, limits documented in the README (ADR 03)
  • max_events now caps each plugin per session, not the session (ADR 03)
  • Plugin panel shell: LiveComponent tabs, per plugin badges and trimmed notes (ADR 05)
  • LiveView tab on the public panel API; PanelLive is generic glue (ADR 05, ADR 07)
  • Plugin errors shown in their tab with Re-enable; panel side boundary for plugin code (ADR 05)
  • Plugin guide in ExDoc, Oban example plugin, harness pages for jobs and plugin errors (ADR 05, ADR 06)
  • Plugin boundary covers all of render/1; event plugin ids stamped by the collector (ADR 05)
  • Panel seen seqs bounded per session; Config checks id and name; update/2 rejected (ADR 03, ADR 05)
  • Ecto badge DOM id is pdt-badge-ecto-queries (ADR 05)
  • Summary bar: badges that do not fit are counted in a "+N" chip that opens the panel (ADR 04)
  • Callback spans: Context.span and Event.span, the LiveView callback an event ran in (ADR 02)
  • N+1 detector: Ecto badge, groups and row tags, n_plus_one: plugin option (ADR 08)
  • EXPLAIN capture: raw params of SELECTs kept in the event, bounded, never rendered (ADR 03, ADR 08)
  • EXPLAIN button in the Ecto tab: rolled back, single SELECT, page scoped; SQLite test repo (ADR 08)
  • N+1 groups merged by SQL and origin, Clear button, advice; EXPLAIN focus, names, Hide (ADR 08)
  • Process tab: vital signs, sparklines, links and monitors, nested LiveViews; in :defaults (ADR 09)
  • Process tab: GC now button, rate limited; /memory harness page (ADR 06, ADR 09)
  • Panel reload breaker: stops after 3 refused loads in 10 s, with a notice and Retry (ADR 04)
  • Panel socket at <path>/live: no host CSRF token or session needed; fixes the reload loop (ADR 04)
  • the plug's :live_socket_path option is gone (ADR 04)
  • Panel socket review fixes: decoded join check, stale on unknown panels, host socket options (ADR 04)
  • Panel: disconnected state, shorter cannot connect notice, inert tabs; Process tab wording (ADR 04, ADR 09)
  • Docs: per-run disable recipe through DEV_TOOLBAR=0 (ADR 01)
  • limits: overrides validated at boot; panel frame-ancestors and nosniff headers (ADR 03, ADR 04)
  • Public repo: renamed to phoenix_dev_toolbar, GitHub install, CI badge, SECURITY.md
  • Stricter lint: Credo opt-in checks, Dialyzer unmatched returns; shared test page helpers (ADR 06)
  • Ecto tab JSON export: short or full with EXPLAIN, download or copy (ADR 08)
  • Ecto export fix: a Copy built before the LiveView joined is dropped; request path fallback (ADR 08)
  • Toolbar reserves its page space so the page scrolls above it; draggable panel height (ADR 04)
  • Toolbar docks: bottom, top, left, right; dock picker, sideways collapsed strip (ADR 04)
  • Dock picker menu no longer clipped on side docks (ADR 04)
  • Page space opt out: reserve_space config and a dock menu toggle (ADR 04)
  • Ecto Copy never hangs: busy and crash answers, disabled during EXPLAIN (ADR 08)
  • Ecto Download checks root is one of the page's sids (ADR 08)
  • Process addressing, protected set, actions: loopback policy (ADR 10)
  • Panel.navigate/3: switch to another tab with params (ADR 10)
  • System tab, now in :defaults: any process by pid or name, crumbs, ancestors, state (ADR 11)
  • Process tab: every process is a link to the System tab (ADR 09)
  • Process actions: kill (with reason), suspend 10 s with auto resume, watch, message peek (ADR 10)
  • Redaction walks tuples, so queued messages and results are redacted too (ADR 10)
  • System tab trees: a supervisor's children, the application list with top supervisors (ADR 11)
  • System tab top: the 50 processes with the most memory, reductions or queue (ADR 11)
  • System tab message trace: one process, 100 messages or 10 s, OTP 27 sessions (ADR 11)
  • Cluster plugin (opt-in): connected nodes with round trip, processes, memory (ADR 12)
  • Eval plugin (opt-in): read queries, code with allow: :eval, loopback by default (ADR 12)
  • panel refuses host names that could be rebound; list yours in allowed_hosts (ADR 04)
  • unset enabled means on only in Mix :dev; prod under Mix is off (ADR 01)
  • panel socket requires a same-origin Origin, whatever the host check_origin (ADR 04)
  • access-control-* headers stripped from panel and export responses (ADR 04)
  • actions: defaults to false; :loopback opts in; Eval refused only on explicit false (ADR 10, ADR 12)
  • Ecto params through the budgeted preview, 2 KB cap; redact/2 node budget (ADR 02, ADR 03)
  • Response hook catches throws and exits; injection drops a preset content-length (ADR 04)
  • Collector failure path tests; hot path wording matches the code (ADR 02)
  • redact: adds to the defaults instead of replacing them (ADR 03)
  • Ecto repos default to the apps' :ecto_repos, one warning when none (ADR 02, ADR 05)
  • Integer list params shown as lists, not charlists; redact: entries validated (ADR 03)
  • Public moduledocs for the built-in plugins, ADR links, Setup and plugin groups in the docs (ADR 05)
  • Experimental markers on the plugin API; Truncate.changes/2 and snapshot/1 are internal (ADR 05)
  • Truncate.redact/2 cuts what it does not walk instead of returning it; scalar structs redacted (ADR 03)