Releases: squirrelphp/debug
Releases · squirrelphp/debug
Add new findOrigin functionality
Refactoring + namespace ignore feature
The Debug class was heavily refactored and it is now possible to ignore namespaces when creating an exception. This is also a BC-break, as the arguments for Debug::createException have changed with this new option.
Stable release with documentation
This is a mini-library mainly for other libraries, but the limited scope should be stable. We set the minimum PHP version to 8.0 - v0.5.5 can still be used for anything below 8.0.
v0.5.5
v0.5.4: Avoid mb_check_encoding deprecation
Appeared with PHP 8.1 when the value null is passed to mb_check_encoding by accident.
v0.5.3
Allow PHP8
Change version constraint and configuration to allow PHP8.
Improve exception origin
- Default file and line of the exception now points to the
origin instead of where the exception was thrown (which
never helps, as it is always the same place with our
Debug class) - We preserve the actual location where the exception was
thrown on the off chance that it might still be needed
or useful in some circumstances