Kint Versions Save

Kint - a powerful and modern PHP debugging tool.

4.0

2 years ago
  • 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 renamed Kint::$depth_limit to match internals
  • Kint\Renderer\RichRenderer::$object_plugins has been renamed $value_plugins
  • The Object namespace has been renamed Zval - So certain class statics will have been renamed (eg. Kint\Object\BlobObject::$char_encodings to Kint\Zval\BlobValue::$char_encodings)
  • d(1) special case has been removed (Didn't work in edge cases) Call Kint::trace() instead
  • For plugin development there have been a lot of internal changes
    • The whole Object namespace has been renamed Zval in anticipation of naming conflicts
    • parseDeep has been removed

3.3

4 years ago
  • 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

5 years ago
  • Checks if the previous style and script tags still exist when deduplicating ajax calls in case the originals have been removed

3.2.1

5 years ago
  • FsPathPlugin now works for windows paths too
  • ToStringPlugin is now opt-in because of misbehaving third party libraries that cause fatal errors in it
  • Fixed search when folder is disabled

3.2

5 years ago
  • 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

5 years ago
  • Fix folders to work when loaded with ajax
  • RichRenderer: Allow dumps to be put into the folder individually
  • export-ignore phar file for sensitive IDEs
  • Added MysqliPlugin (Opt-in)

3.0

5 years ago

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-alpha2

5 years ago
  • Adds a JS search button
  • Fixes some IE quirks

3.0-alpha1

6 years ago

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

2.2

6 years ago
  • Bugfixes
  • Added special access paths for some magic methods
  • Sort methods by line number after hierarchy
  • Sort properties with strnatcasecmp instead of strcmp
  • Added blacklist to ToString plugin, add SimpleXMLElement by default
  • Removed the value representation from unknown types
  • Removed object property reflection
  • Made some parser plugins opt-in:
    • Binary
    • Serialize
    • DOMNode/DOMIterator
  • Renderers can now alter parser plugins before parsing
    • The text-based renderers now disable all the plugins they don't use ahead of time
  • Added special access paths for more magic methods like __toString
  • Dropped automated testing of PHP 5.2
    • 5.2 will be dropped when TravisCI drops it in april
    • 5.1 and 5.2 are still technically supported, but since (hopefully) no-one uses those any huge bugs will be fixed on an as-reported basis.
  • Added Kint::dumpArray to allow you to supply your own object seeds (Names and access paths) along with an array of data. Useful for integrating with other systems.
    • This allows correct access paths for Kint::trace()