Releases: bkdotcom/PHPDebugConsole
Releases · bkdotcom/PHPDebugConsole
v3.3
- usage without composer no longer officially supported.
- bdk/http-message no longer bundled and is now a dependency
- Autoloader class given two new methods: addClass($className, $filepath) & addPsr4($namespace, $dir)
- Php 8.4
- No deprecation notices (implicit nullable types / E_STRICT)
- Display property hook information / virtual properties / write-only properties
- private/protected set
- SimpleCache decorator/collector now supports v2 and v3 of SimpleCache interface
- Added Doctrine Middleware (Doctrine deprecated/removed SQLLogger)
- "Confusable" characters now highlighted (as whitespace / control chars are)
- PDO / mysqli transaction methods no longer open / close a group. Now create an info logEntry
- PhpDoc
- descriptions and summaries are now sanitized
- Full phpDoc now captured for properties and constants (formerly only the descritpion)
- @deprecated, @SInCE, & version tags now parsed into version & desc values
- alert() - now accepts multiple arguments (like log, info, error, & warn)
- trace() - new limit argument. Arguments may be passed in any order
- properties: collect 'isDeprecated'
- New Abstraction type: TYPE_IDENTIFIER (for constants, classNames, properties, methods
- Deprecate Abstraction types: TYPE_CONST & TYPE_STRING_CLASSNAME
- Response not always getting captured
- Code quality / maintainability improvements
v3.2
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
v3.1.1
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 paramHttpMessage\Uri::fromGlobals()
is now a public static method
v3.1
- New Discord route (for errors)
- New Slack route (for errors)
- New Teams route (for errors)
- New
varDump
static method for in-placevar_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.
- Move more functionality / features / methods to plugins
- 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
v3.0.6
v3.0.5
v3.0.4
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
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