Skip to content

Releases: kint-php/kint

6.0

20 Nov 17:58
Compare
Choose a tag to compare

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

26 Apr 19:31
Compare
Choose a tag to compare

Fix #412 suppressed warnings being raised to TypeError with strict_types

5.1.0

23 Nov 10:52
Compare
Choose a tag to compare
  • Supports 8.3
  • New theme aante-dark based on aante-light by @LoranRendel
  • RichRenderer::$timestamp and TextRenderer::$timestamp can now be provided a date() compliant string to place in the dump footer

5.0.7

27 Jun 09:13
Compare
Choose a tag to compare
Fix #390 edge case when typed properties are referenced in arrays

5.0.6

17 Jun 14:33
Compare
Choose a tag to compare
rich.js: Fix getParentByClass returning document when no match found

Fixes #413

5.0.1

22 Nov 12:18
Compare
Choose a tag to compare
Bugfix file_link_format type

5.0

22 Nov 10:57
Compare
Choose a tag to compare
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()

4.2.0

27 Aug 21:31
Compare
Choose a tag to compare

Since 4.1

  • Various bugfixes
  • CSP support
  • Enum support

4.1.3

12 Jul 19:11
Compare
Choose a tag to compare
Bugfix #390 reference checks on typed properties

4.1.1

02 Jan 10:36
Compare
Choose a tag to compare

Fix #379 Undefined constant in PHP development server