Skip to content

v1.20.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 18:34
dabe0fa

1.20.0 (2026-11-19)

Features

  • client: send TrapLogger records over TLS (8f7a1e0), closes #302
  • mailer: accept SMTP AUTH and show the credentials with each mail (6b5e5c0)
  • mailer: support STARTTLS in SMTP sessions (88ffb33), closes #302
  • mcp: delete events by id with delete_event (3c8360f)
  • mcp: filter events and traces by time, text and fields (#307) (e3dafad)
  • mcp: require a Bearer token with TRAP_MCP_TOKEN (#311) (8bebab6)
  • mcp: return structured content with output schemas (4e4b698)
  • mcp: serve an MCP endpoint for AI agents with --mcp (85c343a)
  • mcp: wait for events with wait_for_events (#308) (d2c28f1)
  • profiler: analyze profiles over MCP (#309) (af45a79)
  • sentry: show Sentry events to agents and delete events by id (#310) (3c8360f)
  • server: accept TLS connections on the listened ports, next to plain traffic (f403472), closes #302
  • server: share one event buffer between the web UI and the agent (85c343a)
  • ship the trap agent skill for llm/skills (3d97845), closes #305
  • tracing: filter traces by time, service, name, duration and text (e3dafad)
  • tracing: read OpenTelemetry traces over MCP with list_traces and get_trace (4e4b698)

Bug Fixes

  • console: show the keys of map values in rendered headers (#333) (486c57a)
  • http: answer requests with an empty body instead of waiting for one (#327) (252fc8e), closes #315
  • http: decode chunked request bodies (#350) (545239f)
  • mailer: convert mail text by iconv when mbstring can't, flush the decoding filters of attached files (#362) (5fdc434)
  • mailer: decode encoded headers, split address lists by quotes, merge the sender (#361) (8d8f4b2)
  • mailer: reply to every SMTP command, read verbs in any case (8ecb241)
  • mcp: fail a tool call with an argument the tool doesn't declare (#338) (ba6ffa3)
  • mcp: stop repeating the label in var-dump summaries (#334) (1ea5908)
  • profiler: cap the unfolded call tree and prune it by calls without wall time (af45a79)
  • profiler: keep the MCP profile tools linear on crafted profiles and show root branches (af45a79)
  • profiler: keep watching profiler directories after a file fails to import, and warn about it (#335) (66cd0b6)
  • profiler: let other fibers run while a profile is compacted and its percentages are set (b97d529)
  • profiler: read all-digit function names as strings (#325) (4856a9b), closes #317
  • profiler: read Xdebug profiles of code that runs fibers (#336) (f3e9364)
  • profiler: saturate profile costs past the integer range (#322) (7e31714), closes #318
  • profiler: stop the hot path walk on call graph cycles (af45a79)
  • sentry: read a single exception with only a value and skip objects of other keys in the MCP view (a749459)
  • server: read queued chunks of a line without waiting for new data (#355) (0d27d3c), closes #352
  • server: stop taking requests read late by a busy server for SMTP (#337) (b97d529)
  • server: treat a peer closing the connection as a disconnect, not a read error (d2c28f1)
  • smtp: attach text parts that are not a message body, like a text/calendar invitation (e8f7e22)
  • smtp: decode a quoted-printable text part turned into an attachment (e8f7e22)
  • smtp: decode the transfer encoding of email text bodies (#354) (3f82dd6)
  • smtp: detect an embedded file by an inline disposition or image/ type in any case (3f82dd6)
  • smtp: end mail data at the dot line only (#349) (4057413)
  • smtp: keep a single-part body that is not text as an attachment (3f82dd6)
  • smtp: parse nested multipart emails (#351) (e8f7e22)

Performance Improvements

  • tracing: collect the shown children of a parent once per console frame (#347) (a864c68)

Documentation

  • add AGENTS.md with the starting context for agents (3e69a25)
  • describe the trap agent skill and its installation with llm/skills (f05c655)
  • describe TLS on the listened ports and its certificates (19b6144), closes #302
  • describe waiting for events over MCP (d2c28f1)
  • introduce the agent skill in the README (94d7eb0)
  • introduce the MCP server in the README (1741de4)
  • mcp: fix markdownlint errors in docs/mcp.md (ef70faf)
  • skill: tell agents about TLS on the ports, its certificate and the plain-only dumps (4a18bc2)