PHPDebugConsole Versions Save

Browser/javascript-like logger/console class for PHP

v3.2

4 months ago
  • objectSort config is now a space separated list with (default = "inheritance visibility name")
  • Implements now stored as a structure that conveys interface inheritance
  • What interfaces a method implements are now collected for every implemented interface (prev a select few such as ArrayAccess)
  • new config options: methodStaticVarCollect & methodStaticVarOutput
  • anonymous objects now collected & stored like other objects… collecting attributes, phpDoc, & interfaces in the process
  • html output :
    • display icon on methods implementing an interface (hover for more info)
    • display phpDoc throws tag info
    • no longer add "inherited" classname to methods/properties/constants (redundant to data-inherited-from attribute)
    • properties/methods now grouped by inheritance by default. (dependent on "objectSort" first sorted by 'inheritance')
    • new interfacesCollapse config
    • new objectSectionOrder config. defaults to ['attributes', 'extends', 'implements', 'constants', 'cases', 'properties', 'methods', 'phpDoc']

v3.1.2

4 months ago
  • varDump not escaping special chars
  • Utility/Php::getIniFiles not properly handling empty return from php_ini_scanned_files()
  • ErrorHandler::handleException() - check headers_sent() before calling http_response_code(500)

v3.1.1

5 months ago

Maintenance release

  • LogRequest - not "parsing" content-type correctly / not displaying $_POST values (ie for multipart/form-data)
  • ReqRes::getResponseHeaders() merging default headers without regards to header case insensitivity leading to default Content-Type being added in addition to "Content-type" etc ... ReqRes::getResponseHeader('Content-Type') getting the default value. (only affects debug output)
  • HttpMessage\ServerRequest::fromGlobals() now has $parseStrOpts param
  • HttpMessage\Uri::fromGlobals() is now a public static method

v3.1

5 months ago
  • New Discord route (for errors)
  • New Slack route (for errors)
  • New Teams route (for errors)
  • New varDump static method for in-place var_dump-like debugging
  • Objects
    • Overhaul object abstraction for more efficient collection / storage / serialization / transmission of data
    • Collect (and display) php 8.2's class-level readOnly modifier
    • Added visual callouts to dynamic properties
    • Added visual callouts to constants/properties/methods that override ancestor
  • New maxDepth option
  • New Utility/Reflection class
  • Internals
    • Move more functionality / features / methods to plugins all debug methods, "auto route", runtime-values
    • Cleanup bootstrap process
    • Move phpdoc type resolution to phpdoc parser.
  • Underscore prefix no longer required to call most methods statically \bdk\Debug::log('this is new') and \bdk\Debug::_log('still works')

v3.0.7

5 months ago

Maintenance release -

  • Official PHP 8.3 support
  • minor Javascript UI fixes

v3.0.6

7 months ago

Fix MonologHandler compatibility with Monolog v1 - v3

v3.0.5

7 months ago

Maintenance release

  • Error may occur in certain scenarios when setting config via meta param / Abstracter not yet initialized
  • Monolog handler - now compatible with monolog v1.0 and v2.0+

v3.0.4

11 months ago

Maintenance release

  • Add more redaction to collectors (Guzzle Request Target / Oauth signature)
  • StatementInfo (MySqli, Doctrine, PDO) - don't truncate SQL statement
  • improve UriUtils::parseUrl
  • bump bundled PrismJS to latest
  • wamp route sending null meta values
  • other minor fixes
  • coding standards

v3.0.3

1 year ago

Maintenance release

  • Non-composer autoloader doesn't load main Debug class! (facepalm)
  • nested channels ignoring their output config value.
  • restore non-sidebar channel filter/toggles functionality (used by documentation)
  • Add unit tests for MonologHandler, & PhpCurlClass collector
  • minor regression with base64-encoded strings' flat-tab html output

v3.0.2

1 year ago

Maintenance release

  • Guzzle middleware tweaks
  • SoapClient collector improvements
  • Yii 1.1 tweaks
  • Declare closures as static when possible
  • Tweak phpcs rules
  • Encoded strings.. don't nest tabs + refactor w new HtmlStringEncoded class
  • Redact basic password from URLs