Files
whoops/CHANGELOG.md
T
Bart Jaskulski 7fcd32ea7a fix(highlight): #747 Add line offset to highlight line
PrismJS sort of broken backward compatibility, while trying to improve
highlight resilience[^1]. Since then it is required to add
`data-line-offset` for any code, which doesn't start counting from 1,
which is pretty each time, we deal with stack frames.

This commits add silently required data attribute in HTML, bringing back
highlight feature and recovering from some fall through errors, raised
by `TypeError` in JS execution flow (i.e. switching application and full
frames tabs).

[^1]: https://github.com/PrismJS/prism/commit/9a4e725b76d22759fec58e1929450bbfe1bb6661

Signed-off-by: Bart Jaskulski <bjaskulski@protonmail.com>
2023-04-12 10:18:51 +02:00

2.7 KiB

CHANGELOG

Unreleased

  • Fixed missing code highlight, which additionally led to issue with switching tabs, between application and all frames (#747).

v2.15.1

  • Fixed bug with PrettyPageHandler "Calling getFrameFilters method on null" (#751).

v2.15.0

  • Add addFrameFilter (#749)

v2.14.6

  • Upgraded prismJS to version 1.29.0 due to security issue (#741).

v2.14.5

  • Allow ArrayAccess on super globals.

v2.14.4

  • Fix PHP 5.5 support.
  • Allow to use psr/log 2 or 3.

v2.14.3

  • Support PHP 8.1.

v2.14.1

  • Fix syntax highlighting scrolling too far.
  • Improve the way we detect xdebug linkformat.

v2.14.0

  • Switched syntax highlighting to Prism.js.

Avoids licensing issues with prettify, and uses a maintained, modern project.

v2.13.0

  • Add Netbeans editor.

v2.12.1

  • Avoid redirecting away from an error.

v2.12.0

  • Hide non-string values in super globals when requested.

v2.11.0

  • Customize exit code.

v2.10.0

  • Better chaining on handler classes.

v2.9.2

  • Fix copy button styles.

v2.9.1

  • Fix xdebug function crash on PHP 8.

v2.9.0

  • JsonResponseHandler includes the exception code.

v2.8.0

  • Support PHP 8.

v2.7.3

  • PrettyPageHandler functionality to hide superglobal keys has a clearer name (hideSuperglobalKey).

v2.7.2

  • PrettyPageHandler now accepts custom js files.
  • PrettyPageHandler and templateHelper is now accessible through inheritance.

v2.7.1

  • Fix a PHP warning in some cases with anonymous classes.

v2.7.0

  • Added removeFirstHandler and removeLastHandler.

v2.6.0

  • Fix 2.4.0 pushHandler changing the order of handlers.

v2.5.1

  • Fix error messaging in a rare case.

v2.5.0

  • Automatically configure xdebug if available.

v2.4.1

  • Try harder to close all output buffers.

v2.4.0

  • Allow to prepend and append handlers.

v2.3.2

  • Various fixes from the community.

v2.3.1

  • Prevent exception in Whoops when caught exception frame is not related to real file.

v2.3.0

  • Show previous exception messages.

v2.2.0

  • Support PHP 7.2.

v2.1.0

  • Add a SystemFacade to 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.

v2.0.0

Backwards compatibility breaking changes:

  • Run class is now final. If you inherited from Run, please now instead use a custom SystemFacade injected into the Run constructor, or contribute your changes to our core.
  • PHP < 5.5 support dropped.