Skip to content

Update from upstream repo barryvdh/laravel-debugbar@master #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 535 commits into
base: master
Choose a base branch
from

Conversation

backstroke-bot
Copy link

Hello!

The upstream repository barryvdh/laravel-debugbar@master has some new changes that aren't in this fork. So, here they are, ready to be merged! 🎉

If this pull request can be merged without conflict, you can publish your software with these new changes. Otherwise, fix any merge conflicts by clicking the Resolve Conflicts button.


If you like Backstroke, consider donating to help us pay for infrastructure here. Backstroke is a completely open source project that's free to use, but we survive on sponsorships and donations. Thanks for your support! Help out Backstroke.


Created by Backstroke (I'm a bot!)

jnoordsij and others added 30 commits February 9, 2024 18:22
* Support class resolver for open storage

* fix

* fix
- HTTPS always
- avoids extra redirect
Co-authored-by: Barry vd. Heuvel <[email protected]>
* Group views, remove parameters by default

* Exclude filament components
* Set default base path for xdebug replacements

* Use Ignition default
* Enable logtrace for messages

* Bump debugbar version

* Enable
* allow user to customize memory precision

it would be nice to be able to see more precise memory usage, as some changes will not have a full MB effect.

this change keeps the current default of "0", but allows the user to customize it to their liking.

the code is a little verbose because the root package is not setup for method chaining in this class.

* Move config

* Update LaravelDebugbar.php

---------

Co-authored-by: Barry vd. Heuvel <[email protected]>
* set xdebug ini

See #1224 (comment)

* remove check for xdebug support

* use ini_set for phpunit 8.5.x

* Revert "remove check for xdebug support"

This reverts commit e25e46e.
* Soft/hard limit for query collector

* Clarify limits
* Support Laravel 11

* No fail fast

* Exclude unit tests for now
* route_middleware from config

* update config.php

* Update debugbar.php

---------

Co-authored-by: Barry vd. Heuvel <[email protected]>
* Add test to check if $data['component'] exist

* Update ViewCollector.php

---------

Co-authored-by: Alex <[email protected]>
Co-authored-by: Barry vd. Heuvel <[email protected]>
erikn69 and others added 30 commits March 11, 2025 18:31
* Preserve laravel error handler

* Return if there isnt previus handler
* Fix laravel-debugbar.css on query

* css fix for even
Test for null value in strpos in QueryCollector.php to solve laravel-debugbar issue #1775 and snipe-it issue 16476.
* `$group` arg support on TimelineCollectors methods

* Add missing part
* Collect other eloquent model events

* Fix JobsCollector tests

* Support summary badges on ModelsCollector

* remove `eloquent.restored` event

* Update ModelsCollectorTest.php

* Update JobsCollectorTest.php

* Update ModelsCollectorTest.php

* Update JobsCollectorTest.php

* Update JobsCollectorTest.php

---------

Co-authored-by: Barry vd. Heuvel <[email protected]>
* Add new cache events on CacheCollector

* Add CacheFlushFailed event

* Fix
* Exclude events on EventCollector

* Update EventCollector.php

* Update debugbar.php

---------

Co-authored-by: Barry vd. Heuvel <[email protected]>
* Use `addWarning` on warnings, silenced errors, notices

* shorter
…#1779)

Instead directly use the query's own connection object.

This makes it possible to log queries for custom non-sql connections
into debugbar relatively easily.

Related: ed37d1a
This commit introduced the usage of DB::connection().

Resolves: #1778
* Trace file for Gate checks(GateCollector)

* fix doc
When a PDOException is thrown (ex. Illuminate's QueryException) during the initialization of a Collector, the current code falls over because the code property on PDOExceptions are actually strings, and not ints. 

See [this comment from 15 years ago](https://www.php.net/manual/en/class.pdoexception.php#95812), php/php-src#9529, & php/php-src#12294
* Time measure on cache events

* Fix __construct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.