github kint-php/kint 6.0

one day ago

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

Don't miss a new kint release

NewReleases is sending notifications on new releases.