Skip to content

Releases: samsonasik/ErrorHeroModule

1.8.4

30 Jul 19:22
1.8.4
6587a5c
Compare
Choose a tag to compare
  • 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

17 Jul 13:19
1.8.3
7e229d7
Compare
Choose a tag to compare

micro optimization on function calls

1.8.2

03 Jul 03:45
1.8.2
129300e
Compare
Choose a tag to compare

Bug FIx:

  • use adapter name defined in "log" config when convert doctrine to zend db service

1.8.1

04 Apr 13:06
1.8.1
5d4c648
Compare
Choose a tag to compare

regression fixes on delete exit(-1) usage, roll back!

1.8.0

03 Apr 11:14
1.8.0
ad46b1a
Compare
Choose a tag to compare

Build Status Coverage Status PHPStan

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

03 Apr 06:32
1.7.7
1287554
Compare
Choose a tag to compare
  • 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

31 Mar 08:09
1.7.6
78c02c7
Compare
Choose a tag to compare
  • 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

25 Mar 21:40
1.7.5
0f48b45
Compare
Choose a tag to compare

catch php7 Error & Fixes X-Requested-With handling for Expressive

1.7.4

22 Mar 05:51
1.7.4
fb2754f
Compare
Choose a tag to compare

remove unneeded enable-error-preview-page config for expressive

1.7.3

22 Mar 05:39
1.7.3
bc0f281
Compare
Choose a tag to compare

zf-expressive ^1.0 routes definition for error-preview