| tracy | by dg | used attribute Deprecated | | | |
| tracy | by dg | error.log changed to warning.log | | | |
| tracy | by dg | Logger: added typehints WIP | | | |
| tracy | by dg | open in editor: added support for columns | | | |
| tracy | by dg | opened 3.0-dev | | | |
| tracy | by dg | Toggle: collapsed content is reachable by find-in-page Collapsed content uses hidden='until-found' so browser find-in-page reaches it and auto-expands the match. | | | |
| tracy | by dg | Logger: $notifiers hooks, mailers receive the exception report filename - Logger::$notifiers[] hooks for one-line Slack/Sentry/webhook integrations - mailers receive the exception report filename as a third argument | | | |
| tracy | by dg | Logger: machine-readable exceptions.jsonl index Every logged exception appends a JSON Lines record (time, level, hash, message, report filename, source) usable by log aggregators and AI agents. | | | |
| tracy | by dg | Debugger: reset() clears per-request state for long-running workers Re-stamps request time and output-buffer level, clears timers, barDump data, the live dump snapshot and per-request strategy state, and flushes FileSession so deferred content of the previous request is persisted. Intended for FrankenPHP worker mode, RoadRunner and Swoole. | | | |
| tracy | by dg | docs: the core of Redactor is shared with nette/mcp-inspector 12348432-f043-43cb-9b3f-4c5e49dad690 | | | |
| tracy | by dg | Redactor: credentials after an authorization scheme are hidden also alone The value of Authorization is 'Bearer <token>', so the token passed on without the scheme was not recognized as a collected value. 07800b17-5c2d-4eae-9e0f-feaffb91a497 | | | |
| tracy | by dg | docs: agents are pointed to the hiding of sensitive data 07800b17-5c2d-4eae-9e0f-feaffb91a497 | | | |
| tracy | by dg | tests: canary for sensitive values in BlueScreen, the log line and the e-mail 07800b17-5c2d-4eae-9e0f-feaffb91a497 | | | |
| tracy | by dg | BlueScreen: reports in production mode hide environment variables and mask cookies The values of the session cookie and the cookie headers and the id of the active session are masked wherever they occur. Values of environment variables in $_SERVER are hidden under their names; request variables are told apart by an allowlist, because under CGI the whole request arrives as environment. 07800b17-5c2d-4eae-9e0f-feaffb91a497 | | | |
| tracy | by dg | Redactor: a value hidden under its key is hidden in the whole report Values found under sensitive keys of the request data, a JSON body included, are collected before rendering and masked wherever they occur as a string: in dumps (arguments without a name, HTTP_COOKIE, the referer), the URL, the message of the exception, the log line and the e-mail. Only values of 6 and more bytes. 07800b17-5c2d-4eae-9e0f-feaffb91a497 | | | |
| tracy | by dg | Redactor: sensitive keys are matched by words, defaults shared with dump() and Logger The rule moved from the dumper into Tracy\Redactor. An entry of keysToHide matches when its words occur among the words of the key, so 'password' hides DB_PASSWORD and userPassword, 'api key' hides X-Api-Key, while 'pin' does not hide shipping. Debugger::$keysToHide starts with the same default entries as BlueScreen::$keysToHide, so dump() and bdump() hide them too. 07800b17-5c2d-4eae-9e0f-feaffb91a497 | | | |
| tracy | by dg | docs: BlueScreen rendering, panel calls and the 'agent' key described | | | |
| tracy | by dg | BlueScreen: markdown report is rendered once and shared by the copy button and console Each rendering collects its template variables once in prepareParams(): the panels are called there, once per exception in the chain and once with null, and both the markdown and the HTML templates read their results. The markdown is rendered before the HTML and passed to it as $markdown, so templates no longer call back into renderAgent() and no render is nested inside another one's snapshot. The callers that render page.phtml prepare the assets themselves, and generators and fibers are found per rendering instead of being cached on the exception. | | | |
| tracy | by dg | agent output: custom panels can contribute to markdown reports - BlueScreen panel callbacks may return an 'agent' key with a markdown section included in renderAgent() output and .md log files, for every exception in the chain; a failing panel is reported in the report - Bar::renderAgent() isolates a throwing panel instead of aborting - info panel provides a System Info section for agents - redirect queue entries are logged to console in chronological order | | | |
| tracy | by dg | docs: described retention of exception reports | | | |
| tracy | by dg | Logger: level can contain a subdirectory, which is created (#520) A level that would leave the logging directory (an absolute path or a '..' segment) is rejected. | | | |
| tracy | by dg | Logger: $retention for exception reports Logger::$retention ('30 days') deletes .html/.md exception reports whose exception has not occurred for that long, checked opportunistically at most once a day. A recurring exception refreshes the modification time of its report, only files named as reports are deleted, and an invalid interval is reported after the log line, the report and the email are done and before anything is deleted. | | | |
| tracy | by dg | BlueScreen: 'copy as markdown' action The header offers a button that copies the complete markdown report (same content renderAgent() produces) to the clipboard - ready to paste into an issue tracker or an AI assistant. The payload is embedded as an inert JSON script inside the shadow root; the button appears only when the Clipboard API is available. | | | |
| tracy | by dg | Released version 2.13.0-RC1 | | | |
| tracy | by dg | updated upgrading.md | | | |
| tracy | by dg | BlueScreen: render pipeline split into shared context and page-only assets renderTemplate() no longer reads and minifies CSS/JS assets for templates that do not embed them (agent markdown, AJAX content) and the expensive object-graph traversal in findGeneratorsAndFibers() is computed once per exception and reused by all render targets. The agent console block is no longer emitted into .html files written by renderToFile(). | | | |
| tracy | by adrianbj | Bar, Dumper, BlueScreen: markup and scripts pass through a 'tracy' Trusted Types policy (#616) Pages that enforce require-trusted-types-for 'script' refuse plain strings at innerHTML, insertAdjacentHTML, script src, and script text, which threw in Debug.init() and left no bar at all. helpers.js, which runs first in all three bundles, creates the policy once per window; without Trusted Types support, or when the page's trusted-types directive doesn't allow the name, the strings pass through unchanged as before. | | | |
| tracy | by dg | Toggle: toggles are keyboard-accessible They get a tabindex and are activated by Enter or Space. | | | |
| tracy | by dg | Bar: draggable() rewritten to Pointer Events setPointerCapture() replaces the document-level mousemove/mouseup + touchmove/touchend pairs, works for touch input (which passive touchmove listeners could not preventDefault), guarantees drag end delivery when the pointer leaves the window, and removes the module-global dragging flag. options.start is no longer invoked twice per drag. | | | |
| tracy | by dg | docs: internals describe Shadow DOM, the CSS registry and cascade layers | | | |
| tracy | by dg | CSS: added @layer for cascade priority control Layers are named tracy-base and tracy-components so they cannot collide with the host page's own cascade layers (e.g. Tailwind). They are applied only inside shadow roots; styles reaching the host document are unlayered. On the standalone BlueScreen page the layered <style> is moved into the shadow root instead of cloned, so reset.css stops applying to a page the error interrupted; document.css stays in a <style> of its own. | | | |
| tracy | by dg | Bar: lives in the top layer via the Popover API No more z-index battles with host-page overlays; browsers without the Popover API keep the previous behavior. | | | |