Releases: samsonasik/ErrorHeroModule
Releases · samsonasik/ErrorHeroModule
1.8.4
- add php: nightly to travis
- remove unneeded re-set ConfigListener from ModuleEvent and re-create "config" service when enable-error-preview-page set to false
1.8.3
micro optimization on function calls
1.8.2
Bug FIx:
- use adapter name defined in "log" config when convert doctrine to zend db service
1.8.1
regression fixes on delete exit(-1) usage, roll back!
1.8.0
Added ability to exclude exceptions via configuration:
// ...
'error-hero-module' => [
'enable' => true,
'display-settings' => [
// ...
// excluded exceptions
'exclude-exceptions' => [
\App\Exception\MyException::class, // can be an Exception class or class extends Exception class
],
// ...
],
// ...
],
// ...
For full configuration and settings, please consult the README and sample configurations:
1.7.7
- Refactor HeroTrait to use ErrorException() for php error for consistency
- Detect display errors and exclude php errors correctly for both zend-mvc and zend-expressive part
- use return ResponseInterface for Expressive middleware on __invoke()
- use stopPropagation() event call on Mvc when show response custom page
1.7.6
- use PHP_EOL to automatically choose new line character for cross os
- use zendframework/zend-psr7bridge for psr7 to zend request convertion
- fixes missing Zend\Log\Exception definition in overriden Writer\Mail
- better listener naming
- various docblock fixes and additions
- psr7 keyword at composer.json
- throw ErrorException() when display_errors = 1 for php errors
1.7.5
catch php7 Error & Fixes X-Requested-With handling for Expressive
1.7.4
remove unneeded enable-error-preview-page config for expressive
1.7.3
zf-expressive ^1.0 routes definition for error-preview