Skip to content

v0.4.0

Latest

Choose a tag to compare

@niden niden released this 15 Jul 00:53
ec62a7f

Changed

  • Decomposed the Debug\Dump and Debug\Renderer\HtmlRenderer god-methods: Dump::output() is now a formatValue() dispatcher over per-type formatters, and HtmlRenderer is assembly-only, delegating value formatting to Renderer\ValueDumper and templates to Template\TemplateStore. #4
  • ReportBuilder::build() now takes (Throwable, ReportOptions, Superglobals) and no longer reads superglobals directly; BacktraceItem's fragment is now a CodeFragment. #4

Added

  • Report\Superglobals (its fromGlobals() is the single $_REQUEST / $_SERVER boundary), Report\CodeFragment, and Report\ReportOptions value objects.
  • Template\TemplateStore with Contracts\TemplateCatalog (HtmlTemplateCatalog, DumpTemplateCatalog), Renderer\ValueDumper, and Debug::setSuperglobals(). #4

Fixed

  • Dump's "[already listed]" method guard no longer leaks across separate top-level dumps; it is now a per-dump set threaded through the recursion instead of instance state. #4

Removed

  • Debug\Traits\TemplateAwareTrait (replaced by Template\TemplateStore composition) and the unused Debug::$hideDocumentRoot property. #4