Releases: samsonasik/ErrorHeroModule
Releases · samsonasik/ErrorHeroModule
2.13.2
- explisit require zend-diactoros ^1.8.1 for multi-dimension recursive upload files
2.13.1
reduce repetitive code for body add part in Mail writer
2.13.0
added support recursive collection upload included into mail attachment
2.12.1
-
documentation and sample config :
- add formatter config inside db writers to avoid possible issue on insert timestamp
-
refactor:
- remove serverUrl property at Logging class, use local var
- using 0 for ErrorException::$code
-
fix:
- using response object to display view to handle throw Exception($msg) inside view
2.12.0
- add PHP-DI support for expressive 3
2.11.2
fix RuntimeException variable on cannot connect to db
2.11.1
rename function name for detect content type
2.11.0
- add "no_template" config to set default error message on Expressive 3 when no TemplateRendererInterface service like below:
// ...
'display-settings' => [
// for expressive, when container doesn't has \Zend\Expressive\Template\TemplateRendererInterface service
// if enable, and display_errors = 0, then show a message under no_template config
'no_template' => [
'message' => <<<json
{
"type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html",
"title": "Internal Server Error",
"status": 500,
"detail": "We have encountered a problem and we can not fulfill your request. An error report has been generated and sent to the support team and someone will attend to this problem urgently. Please try again later. Thank you for your patience."
}
json
],
],
// ...
2.10.0
- using static local variable for idempotent format() call on Json formatter with bring existing timestamp
- using direct render(mapped template view string) call from PhpRenderer at Mvc listener
- refactor: Request passing only when error/exception occurred
- move zend-console to require-dev
2.9.0
Add Pimple Container support for Expressive 3