Releases: kint-php/kint
4.1
- Supports setting nonce attributes on script and style tags for CSP through
Kint\Renderer\RichRenderer::$js_nonce
andKint\Renderer\RichRenderer::$css_nonce
- Detects VT100 support on windows CLI to enable UTF8 and color support. Older windows versions or versions below PHP 7.2 have been changed to plain ASCII decorations since the original hasn't been working well for a while
4.0
- The folder is now off by default and can be enabled via the existing setting
- Much improved search functionality
- The PSR-11 service container is shallow-blacklisted by default. This will vastly improve performance on most frameworks such as symfony & laravel by stopping recursive parsing at the DI container unless you dump it explicitly
- TracePlugin now supports blacklisting stack frames from paths, such as your
/vendor/
folder - Numeric arrays with more than 1000 items in them will only dump the first 50 recursively. You can disable or configure this with ArrayLimitPlugin
- Supports PHP 8.1
- Lots of little stuff
Breaking changes
- Minimum supported PHP version is now 5.6
Kint::$max_depth
has been renamedKint::$depth_limit
to match internalsKint\Renderer\RichRenderer::$object_plugins
has been renamed$value_plugins
- The
Object
namespace has been renamedZval
- So certain class statics will have been renamed (eg.Kint\Object\BlobObject::$char_encodings
toKint\Zval\BlobValue::$char_encodings
) d(1)
special case has been removed (Didn't work in edge cases) CallKint::trace()
instead- For plugin development there have been a lot of internal changes
- The whole
Object
namespace has been renamedZval
in anticipation of naming conflicts - parseDeep has been removed
- The whole
3.3
- Fixes for PHP 7.4
- Namespaced functions will now be normalized correctly
- Colors are automatically disabled in windows in CliRenderer
- If (for some reason) you have neither iconv nor mbstring available, Kint will just assume ASCII and hope for the best
- Event handlers for click/keypress are now registered as capture so other events on the page won't override them
I will be starting work on a new major version next. 3.x support will continue for bugfixes
3.2.2
3.2.1
3.2
- Callfinder now supports calling kint with a trailing comma in PHP 7.3
- Callfinder now supports expression detection with PHP 7.4's upcoming
??=
operator - MysqliPlugin: Fixed some connection failure edge cases that would produce warnings
- Rich SourcePlugin: Line numbers are back, and paste accuracy bugs are fixed
- Added a test shim to allow testing on PHP 7.4/8+
- Removed ruby dependency for sass formatting/compilation
3.1
3.0
We're here!
Kint 3 bumps the minimum requirement up to PHP 5.3, comes separately in a phar file, and now uses namespaces.
The facade has been heavily rewritten to make it easier to reuse instances of Kint for performance.
kint-php/kint-js and kint-php/kint-twig have been updated to match Kint 3, with kint-twig making heavy use of the new facade features
The rich renderer now sends dumps to a folder docket at the bottom of your browser by default. You can turn this off with Kint\Renderer\RichRenderer::$folder = false
if needed
3.0 alpha 2
- Adds a JS search button
- Fixes some IE quirks
3.0-alpha1
The first tag of the new major version. This drops support for PHP 5.1/5.2, but improves code quality all around. A more or less full list of changes is available in issue #260