Yii Error Handler package was updated with the following enhancements:
- Add separate parameters for each of
HtmlRenderer
settings in constructor. Mark$settings
parameter as deprecated - Change PHP constraint in
composer.json
to~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0
- Add error code & show function arguments
- Pass exception message instead of rendered exception to logger in
ErrorHandler
- Extract response generator from
ErrorCatcher
middleware into separateThrowableResponseFactory
class - Raise the minimum PHP version to 8.1 and minor refactoring
- Explicitly mark nullable parameters