Releases: bkdotcom/PHPDebugConsole
Releases · bkdotcom/PHPDebugConsole
v3.4.1
Backtrace::get()
- apply limiit after removing internal frames
move StatementInfo aggregate methods to StatementInfoLogger
move buildDsn helper to Utility\Sql
update url userinfo redaction regex
increase drawer z-index
handle phpDoc @Package tag
key redaction over zealous
new TYPE_STRING_FORM
Tables: apply column attribs to total row cell; new column options: trueAs & falseAs (ie for replacing true/false as icons)
v3.4
- Light & dark themes
- trace
- can pass trace as argument (prev only as a meta value)
- new meta option : inclInternal (default: false)
- html output enhancements
- new event:
bdk\ErrorHandler\Plugin\Emailer::EVENT_EMAIL
- subscriber can modify email's to, subject, & body - groupEnd - can specify "label" via meta value (defaults to "return")
- slow query (mysqli, pdo, doctrine, & laravel) notice
- most methods now recognize "level" meta value (not just group)
- backed Enums - incl backing value in classname's title attr
- Update css and js build tools
v3.3.1
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')