Skip to content

v1.19.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 19:28
af3fb34

1.19.0 (2026-11-14)

Features

  • add --port and --host options to trap test (#277) (7c0cacd)
  • frontend: keep the call graph paths through the functions hidden by the threshold (ff677d4)
  • frontend: sort Top functions by any metric, color the flame chart and the call graph (ff677d4)
  • profile code with trap()::profile() and receive Excimer profiles (bc88e7b)
  • profiler: add Format::Spx, the native SPX report as a tar (6e10c6b)
  • profiler: build profiles on a call graph, keeping every caller of a function (ff677d4)
  • profiler: let file observers skip files complete before Trap's start (060e696)
  • profiler: profile code with SPX via trap()::profile(new Spx()) (6e10c6b)
  • profiler: receive SPX full reports from files and over HTTP (060e696)
  • profiler: receive Xdebug profiles over HTTP and from xdebug.output_dir (ff677d4)
  • profiler: send and receive pprof profiles (d8d5db5)
  • profiler: show top functions and hot path in the console (#293) (fd9ad49)
  • ray: receive Ray payloads as Ray events and support execution locks (#278) (95df9e0)
  • server: configure the gzip body limit with TRAP_HTTP_MAX_INFLATED_SIZE (#298) (edcd824)
  • update the UI to buggregator/frontend 1.23.2 (#137) (ff677d4)

Bug Fixes

  • answer 413 to gzip request bodies inflating past 64 MB (#290) (29f91e5)
  • command: keep trap test going when a payload file cannot be opened (#285) (9dbc975)
  • give each concurrent stream reader its own position (#292) (4a056e6)
  • log: hide socket warnings of TrapLogger from user error handlers and fall back to error_log() when STDERR is closed or unwritable (3378140)
  • profiler: bound pprof builds and follow the pprof defaults (f724ead)
  • profiler: harden profile builds and the client after review (499dcad)
  • profiler: keep warnings visible under a throwing error handler (#296) (3378140)
  • profiler: log delivery errors of every destination (6185ef4)
  • profiler: never throw from delivery and prefer formats a profiler can produce (b2044ce)
  • profiler: read a corrupted SPX trace with its own error under a throwing error handler (#297) (71342b9)
  • profiler: read, move aside, put back and delete SPX reports out of reach of user error handlers (3378140)
  • profiler: set the HTTP delivery socket timeouts out of reach of user error handlers (71342b9)
  • router: honor the name given in #[QueryParam] (#284) (a5f220f)
  • server: use the timer duration passed to Buffer (#301) (9a61f33)

Performance Improvements

  • profiler: build call trees faster and in less memory (c680706)
  • server: collect garbage cycles from the main loop (3fd7660)
  • server: raise the default TRAP_MAIN_LOOP_INTERVAL from 100 to 1000 µs (0ac3ca2)
  • server: run the next loop iteration at once while fibers report progress, and wait on the sockets with socket_select() when idle (0ac3ca2)
  • server: stop oversleeping the main loop on Windows (#295) (0ac3ca2)

Documentation

  • describe TRAP_MAIN_LOOP_INTERVAL (edcd824)
  • describe profiling in the readme (dec485f)
  • describe SPX profiling (a9b4208)
  • move the documentation into docs/ and rewrite the README as a landing page (7bacafa)
  • tell what a profile file write killed half way leaves behind (a9b4208)

Code Refactoring

  • client: move TrapLogger into the client namespace (#269) (bab9a31)
  • config: remove the unused TRAP_XHPROF_SORT option (ff677d4)
  • core: feed frame types, renderers, UI and senders from the modules (5d4be22)
  • core: map UI events of frame subclasses, require the sender container (aa3eaaf)
  • core: module contract for dispatchers, HTTP middlewares and file observers (#274) (340d264)
  • core: reject modules taking a sender name, a UI mapper or event type already taken (163f01b)
  • fix psalm 7.3 findings (#283) (88dcfe3)
  • frontend: mark UI responses with the core no-dump header (#271) (768e116)
  • frontend: move the frontend sender into the Frontend module (#270) (271d06b)
  • frontend: skip binary frames the UI has no event type for (f06785b)
  • frontend: turn module UI endpoints into controller classes (#275) (416d153)
  • gather VarDumper and Monolog into modules (#265) (1ebd726)
  • inflate gzip request bodies with ext-zlib (#289) (7dac39a)
  • mailer: gather the mailer into a module (#264) (45678c2)
  • make channels modules with their own senders and HTTP endpoints (6a76653)
  • move the core into the Server namespace (842d562)
  • move the HTTP dump into a module that ends the HTTP pipeline (68d5b72)
  • profiler: gather the profiler into a module (#263) (8c94937)
  • proto: replace the ProtoType enum with frame type constants (#273) (f110784)
  • ray: gather Ray support into a module (#268) (d038d23)
  • sentry: gather Sentry into a module (#262) (a88efc4)
  • server: remove TRAP_TCP_POLLING_INTERVAL and the polling period of the socket servers and clients from the configuration (0ac3ca2)
  • tracing: gather OpenTelemetry tracing into a module (#267) (f2ce5ab)