Releases: kint-php/kint
Releases Β· kint-php/kint
6.0
Spanning 205 commits and rewrites of numerous systems, kint 6 is the biggest major release since the first full rewrite started in 2015.
Features
- "Open in new window" has been replaced with "Move to folder"
- Lots more modules enabled by default
- Lots more features support text mode
- PHP 8.4 support
- Property hooks
- Aviz
Dom\XMLDocument
/Dom\HTMLDocument
- Full JS rewrite
- Large internal rewrites lead to up to 33% faster runtime and 30% less memory usage despite all these new features (Depending on workload)
Migration
If you're just using Kint out of the box it should work the same as Kint 5. Depending on how much customizing you did you may have more work on your plate.
Settings
The following settings were renamed or moved:
RichRenderer::$js_nonce
=>AbstractRenderer::$js_nonce
RichRenderer::$css_nonce
=>AbstractRenderer::$css_nonce
Kint::$file_link_format
=>AbstractRenderer::$file_link_format
Kint::$app_root_dirs
=>Utils::$path_aliases
BlobValue::$char_encodings
=>Utils::$char_encodings
BlobValue::$legacy_encodings
=>Utils::$legacy_encodings
Plugins
The plugin system has been completely reworked, in both parser and renderers. If you rely on custom plugins they will need to be ported to Kint 6.
Thanks to @DRSDavidSoft for the CSS work
5.1.1
5.1.0
- Supports 8.3
- New theme aante-dark based on aante-light by @LoranRendel
RichRenderer::$timestamp
andTextRenderer::$timestamp
can now be provided adate()
compliant string to place in the dump footer
5.0.7
5.0.6
5.0.1
5.0
Kint 5 supports PHP 7.1 and above
- Added spl_object_id support for PHP 7.2 and above. This displays in the same way as var_dump, symfony/dump, and xdebug's var_dump
- Support displaying readonly modifier on properties
- Supports visibility modifiers on class constants
- Several callfinder fixes and tests for PHP8+ features (First class callables, DNF types)
- Bugfixes:
- SerializePlugin: Behaved very erratically before
- Shows uninitialized private parent properties
- Various others (See git log)
- Added typehints wherever possible. Static analysis with psalm showed room for improvement, leading to several new interfaces made to ensure consistent constructors for static calls to eg.
createFromStatics()