Skip to content

Released version 2.12.1

Choose a tag to compare

@dg dg released this 18 Aug 11:06
· 77 commits to master since this release

✨ New Features

  • Dumper understands modern PHP – virtual hooked properties are shown as {virtual}, WeakReference shows its target, PHP 8.5 Uri\Rfc3986\Uri and Uri\WhatWg\Url expand into their components, closures show the class of the bound $this, and lazy objects reveal their eagerly initialized properties
  • X-Tracy-Agent header – curl, HTTP clients and CI jobs can ask for markdown output with a single request header, and a non-HTML response then carries the markdown BlueScreen right in its body

🐛 Bug Fixes

  • The Bar's fetch() wrapper keeps the options argument and leaves the caller's Request untouched
  • editor: false in the Nette configuration disables editor links
  • Dumper::$keysToHide and the scrubber also apply to properties coming from __debugInfo() and custom object exporters, and dump() with return: true respects $keysToHide as well
  • cURL handles are dumped with their details again
  • Toggle links can be activated from the keyboard
  • Email notifications are throttled reliably under concurrent requests, a failed sending is retried with the next error, and an invalid $emailSnooze throws an exception
  • TracyToPsrLoggerAdapter logs an exception only once when the message adds nothing to it, and accepts Stringable messages

🛡️ Robustness

  • The session file storage is tighter: files are created with mode 0600, stored data is unserialized without objects, the cookie gets SameSite=Lax and secure on HTTPS, and concurrent garbage collection runs quietly
  • The Bar and dumps initialize correctly even with a corrupt localStorage entry or a broken dump payload on the page
  • Smaller edge cases: BlueScreen does not autoload class names found in an exception message, the fallback error output is HTML-escaped, a repeated DeferredContent::enable() is harmless, and custom Dumper exposers are picked deterministically