Skip to content

Releases: bkdotcom/PHPDebugConsole

v3.2

03 Jan 16:01
Compare
Choose a tag to compare
  • 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

19 Dec 15:32
Compare
Choose a tag to compare
  • 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

07 Dec 18:43
Compare
Choose a tag to compare

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

19 Nov 05:10
Compare
Choose a tag to compare
  • 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

19 Nov 05:01
Compare
Choose a tag to compare

Maintenance release -

  • Official PHP 8.3 support
  • minor Javascript UI fixes

v3.0.6

12 Oct 01:19
Compare
Choose a tag to compare

Fix MonologHandler compatibility with Monolog v1 - v3

v3.0.5

06 Oct 14:46
Compare
Choose a tag to compare

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

30 May 03:22
Compare
Choose a tag to compare

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

05 Feb 04:31
Compare
Choose a tag to compare

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

14 Jan 04:27
Compare
Choose a tag to compare

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