- Upgraded prismJS to version
1.29.0due to security issue (#741).
- Allow
ArrayAccesson super globals.
- Fix PHP
5.5support. - Allow to use psr/log
2or3.
- Support PHP
8.1.
- Fix syntax highlighting scrolling too far.
- Improve the way we detect xdebug linkformat.
- Switched syntax highlighting to Prism.js.
Avoids licensing issues with prettify, and uses a maintained, modern project.
- Add Netbeans editor.
- Avoid redirecting away from an error.
- Hide non-string values in super globals when requested.
- Customize exit code.
- Better chaining on handler classes.
- Fix copy button styles.
- Fix xdebug function crash on PHP
8.
JsonResponseHandlerincludes the exception code.
- Support PHP 8.
PrettyPageHandlerfunctionality to hide superglobal keys has a clearer name (hideSuperglobalKey).
PrettyPageHandlernow accepts custom js files.PrettyPageHandlerandtemplateHelperis now accessible through inheritance.
- Fix a PHP warning in some cases with anonymous classes.
- Added
removeFirstHandlerandremoveLastHandler.
- Fix 2.4.0
pushHandlerchanging the order of handlers.
- Fix error messaging in a rare case.
- Automatically configure xdebug if available.
- Try harder to close all output buffers.
- Allow to prepend and append handlers.
- Various fixes from the community.
- Prevent exception in Whoops when caught exception frame is not related to real file.
- Show previous exception messages.
- Support PHP
7.2.
- Add a
SystemFacadeto allow clients to override Whoops behavior. - Show frame arguments in
PrettyPageHandler. - Highlight the line with the error.
- Add icons to search on Google and Stack Overflow.
Backwards compatibility breaking changes:
Runclass is nowfinal. If you inherited fromRun, please now instead use a customSystemFacadeinjected into theRunconstructor, or contribute your changes to our core.- PHP < 5.5 support dropped.