Skip to content

Releases: php-debugbar/php-debugbar

v3.1.0

Choose a tag to compare

@barryvdh barryvdh released this 15 Jan 14:26
930838b

What's Changed

Full Changelog: v3.0.6...v3.1.0

v3.0.6

Choose a tag to compare

@barryvdh barryvdh released this 14 Jan 18:16
cc46713

What's Changed

Full Changelog: v3.0.5...v3.0.6

v3.0.5

Choose a tag to compare

@barryvdh barryvdh released this 14 Jan 14:48
611f922

What's Changed

Full Changelog: v3.0.4...v3.0.5

v3.0.4

Choose a tag to compare

@barryvdh barryvdh released this 14 Jan 13:54
89cc39f

What's Changed

Full Changelog: v3.0.3...v3.0.4

v3.0.3

Choose a tag to compare

@barryvdh barryvdh released this 14 Jan 09:47
47d1bd5

What's Changed

Full Changelog: v3.0.2...v3.0.3

v3.0.2

Choose a tag to compare

@barryvdh barryvdh released this 13 Jan 12:56
6154da2

What's Changed

Full Changelog: v3.0.1...v3.0.2

v3.0.1

Choose a tag to compare

@barryvdh barryvdh released this 12 Jan 14:44
d6c5890

What's Changed

Full Changelog: v3.0.0...v3.0.1

v3.0.0

Choose a tag to compare

@barryvdh barryvdh released this 12 Jan 14:36
fbbde43

Version 3.x

Debugbar 3.x brings a lot of new features and improvements:

  • Modernize Javascript, removed jQuery
  • New Tabler icons with build script, replaces heavy FontAwesome with minimal SVG icons
  • Build scripts for prefixed dependencies and minimized assets
  • New AssetHandler to make to make it easier to dump assets into your own project
  • Improved contrast for Light mode
  • Option to render the debugbar on top instead of bottom
  • Render widget on open to reduce initial page load time
  • Improved TimelineData support to other collectors
  • Backtrace support for QueryCollector
  • Static analysis with phpstan/eslint, typehints everywhere
  • Added Symfony HttpFoundation Request collector (with bridge)
  • Improved performance and a lot more tweaks..

New/removed/moved bridge Collectors

Changes to widgets

  • jQuery is removed, and widgets are now Javascript classes. Custom widgets should be updated.
  • FontAwesome is removed, and replaced by SVG icons from Tabler, included in CSS. Only the icons used by the default widgets are included, so packages extending the debugbar should add their own icons.
  • Typehints are added to all widgets, so you might need to update your widgets.
  • Widgets are rendered when opening a tab, not when loading the page.

Changes to DataCollectors

  • TimeDataCollector is removed from the constructors, but a setTimeDataCollector method is added.
  • useHtmlVarDumper is removed. The HtmlDataFormatter is used by default. To use plain-text, the the default formatter to DataFormatter.

Remove obsolete methods

  • Removed get/setBindAjaxHandlerToJquery (Use bind to fetch/xhr instead)
  • Removed Assetic collection (use getAssets() directly if needed)
  • Removed RequireJS support
  • Removed captureVar and renderCapturedVar from DebugBarVarDumper

Breaking changes to methods/interfaces

  • Everything is typehinted, so you might need to update your code for custom collectors.
  • getAssets() removed the $type parameter and always returns all assets.
  • OpenHandler requires the op parameter to be always set.
  • The DataFormatterInterface has a 2nd 'deep' parameter to formatVar.
  • The StorageInterface has a new 'prune' method

Other changes

  • Storage now uses json instead of serialize, so old data cannot be read.
  • PDO now quotes using the PDO connection when available. The quotation char is now always '. Methods have moved to the QueryFormatter instead of TracedStatement.
  • The DataFormatterInterface has a 2nd 'deep' parameter to formatVar.

Pull Requests

Read more

v3.0-rc.2

Choose a tag to compare

@barryvdh barryvdh released this 12 Jan 10:46
918bc61

What's Changed

Full Changelog: v3.0-beta.25...v3.0-rc.2

v3.0-rc.1

Choose a tag to compare

@barryvdh barryvdh released this 11 Jan 20:38
ee547ed

What's Changed

Full Changelog: v3.0-beta.24...v3.0-beta.25