Skip to content

Releases: kint-php/kint

4.1

31 Dec 12:56
Compare
Choose a tag to compare
4.1
  • Supports setting nonce attributes on script and style tags for CSP through Kint\Renderer\RichRenderer::$js_nonce and Kint\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

18 Dec 15:51
Compare
Choose a tag to compare
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 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

23 Nov 12:22
Compare
Choose a tag to compare
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

03 May 18:05
Compare
Choose a tag to compare
  • Checks if the previous style and script tags still exist when deduplicating ajax calls in case the originals have been removed

3.2.1

30 Apr 16:22
Compare
Choose a tag to compare
  • 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

21 Mar 17:41
Compare
Choose a tag to compare
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

14 Feb 16:52
Compare
Choose a tag to compare
3.1
  • 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

01 Oct 17:55
Compare
Choose a tag to compare
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

08 Jun 05:13
Compare
Choose a tag to compare
3.0 alpha 2 Pre-release
Pre-release
  • Adds a JS search button
  • Fixes some IE quirks

3.0-alpha1

18 May 19:32
Compare
Choose a tag to compare
3.0-alpha1 Pre-release
Pre-release

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