Releases: php-debugbar/php-debugbar
Releases · php-debugbar/php-debugbar
Release list
v3.1.0
v3.0.6
v3.0.5
v3.0.4
v3.0.3
v3.0.2
v3.0.1
v3.0.0
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
- Version 3.x removes bridge collectors for Propel, CacheCache and Slim.
- Doctrine has been moved to: https://github.com/php-debugbar/doctrine-bridge
- Twig Bridge has been moved to: https://github.com/php-debugbar/twig-bridge
- Monolog Bridge has been moved to: https://github.com/php-debugbar/monolog-bridge
- Symfony Mailer and new Symfony RequestCollector and HttpDriver: https://github.com/php-debugbar/symfony-bridge
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
$typeparameter and always returns all assets. - OpenHandler requires the
opparameter 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
- Modernize Javascript by @barryvdh in #809
- Feat eslint by @barryvdh in #811
- Build hljs with prefix, build icons from Tabler svgs instead of font awesome by @barryvdh in #812
- Use fetch instead of jquery in examples by @barryvdh in #813
- Tweak icons by @barryvdh in #814
- Use icons for widgets by @barryvdh in #815
- 3.x minify by @barryvdh in #816
- Cleanup old bridges, tweak demo by @barryvdh in #818
- Simplify asset handling by @barryvdh in #820
- Remove deprecated methods by @barryvdh in #821
- Add success icon by @barryvdh in #822
- Template collector by @barryvdh in #823
- 3.x Remove jQuery by @barryvdh in #824
- [3.x] Convert Widget Classes from
.extend()to ES6 Class Syntax by @barryvdh in #825 - 3x minify tweak by @barryvdh in #826
- [3.x] Analyse with phpstan by @barryvdh in #827
- Format with php-cs-fixer by @barryvdh in #828
- 3.x strict types by @barryvdh in #829
- Cleanup demo by @barryvdh in #830
- 3x no serialize by @barryvdh in #831
- Add action to check for minify and coverage by @barryvdh in #832
- Enable level 5 by @barryvdh in #833
- 3.x phpstan level6 by @barryvdh in #834
- Dump dist assets before minifying to ensure consistency by @barryvdh in #836
- 3.x by @barryvdh in #835
- remove old docs by @barryvdh in #838
- Cleanup for beta release by @barryvdh in #839
- Fix autoshow by @barryvdh in #840
- Support global editor template, and use symfony HtmlVarDumper globally by @erikn69 in #797
- Add cursor-remote option by @luiserp in #800
- Fix npm lint by @barryvdh in #842
- Fix sfdumper by running manually by @barryvdh in #841
- Tweak backtrace limit by @barryvdh in #843
- ExceptionsCollector easy to extend by @cesarreyes3 in #749
- Fix exception stack trace by @barryvdh in #845
- Feat optimize render by @barryvdh in #846
- Rebuild by @barryvdh in #847
- Run bound attribute callbacks only once by @barryvdh in #848
- Tweak CSP edge cases by @barryvdh in #849
- Fix option saving by @barryvdh in #850
- Tweak test cases / workflows by @barryvdh in #851
- Tweak highlight by @barryvdh in #852
- Add doc builder by @barryvdh in #853
- Update docs for 3.x by @barryvdh in #854
- Test vardumper versions by @barryvdh in #855
- Show exception trace when vardumper is used by @barryvdh in #856
- Fix variable name encoding in load dataset code(renderer) by @erikn69 in #857
- Move query replacemant to formatter by @barryvdh in #858
- Use hidden instead of style by @barryvdh in #859
- Set params the same overall by @barryvdh in #860
- Add sql expand by @barryvdh in #861
- Enable backtrace and filename for PDO by @barryvdh in #862
- Add query sort by duration button by @barryvdh in #863
- Make it easier to extend sql widget by @barryvdh in #864
- Fix "Big query PREG_JIT_STACKLIMIT_ERROR" #433 by @barryvdh in #865
- Mask private + session data by @barryvdh in #866
- Garbage collect filestorage by @barryvdh in #867
- Use padding instead of margin by @barryvdh in #868
- Update docs by @barryvdh in #869
- Check if file exists by @barryvdh in #870
- Add asset handler for simpler assets by @barryvdh in #871
- Fix doc rendering by @barryvdh in #872
- Fix render docs by @barryvdh in #873
- Fix settings / restore state by @barryvdh in #874
- Allow top bar position by @barryvdh in #844
- Resize buttons when hiding/showing tabs by @barryvdh in #875
- Slightly more color by @barryvdh in #876
- Add release notes by @barryvdh in #877
- Tweak top resize handle by @barryvdh in #878
- Add Symfony integration for HttpFoundation by @barryvdh in https://github.com/php-deb...