Skip to content

Update dependency dotkernel/dot-errorhandler to v6 - #109

Open
renovate[bot] wants to merge 1 commit into
2.0from
renovate/dotkernel-dot-errorhandler-6.x
Open

renovate[bot] wants to merge 1 commit into
2.0from
renovate/dotkernel-dot-errorhandler-6.x

Conversation

@renovate

@renovate renovate Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
dotkernel/dot-errorhandler ^5.0.0 → ^6.0.0 age confidence

Release Notes

dotkernel/dot-errorhandler

v6.0.0

Compare Source

Changed
  • Requires PHP 8.3, 8.4, 8.5 or 8.6
  • Depends on psr/log and psr/container instead of dotkernel/dot-log and laminas/laminas-diactoros; dotkernel/dot-log is now suggested
  • Declares psr/http-server-handler, which was previously installed only through psr/http-server-middleware
  • laminas/laminas-stratigility requirement narrowed to ^4.3.1
  • LogErrorHandler extends ErrorHandler
  • LogErrorHandlerFactory::__invoke() returns LogErrorHandler
  • Extra providers are enabled only by 'enabled' => true
  • loggerEnabled must be a boolean; a missing key means false
  • Factories validate the logger, response factory and error response generator services and throw InvalidArgumentException
  • Any callable registered as Mezzio\Middleware\ErrorResponseGenerator is accepted
  • Masking counts characters instead of bytes
  • Logging failures are written to PHP's error_log() instead of breaking the error response
  • config/error-handling.global.php.dist masks authorization and proxy-authorization headers
  • PHPUnit 12, PHPStan level 8, StructArmed architecture check in composer check
Added
  • ext-mbstring requirement
  • v6 documentation, including an upgrade guide
Deprecated
  • Nothing
Removed
  • PHP 8.2 support
  • dotkernel/dot-log and laminas/laminas-diactoros as runtime requirements
  • The dev dependency mikey179/vfsstream. The tests use a temporary directory on the real file system
Fixed
  • Error handling no longer throws when the logger or an extra processor fails
  • PHP error handler is restored when error handling throws
  • RequestProcessor handles list arrays, integer keys and non-string values
  • Numeric cookie, header and server names no longer throw
  • ServerProcessor handles array values such as argv
  • SessionProcessor handles scalar session values
  • Cookie header and HTTP_COOKIE values are masked regardless of case and separator spacing
  • Partial masking keeps strings valid UTF-8, so the log record is no longer dropped
  • Invalid extra provider configuration is ignored instead of throwing
  • LogErrorHandlerFactory no longer warns when loggerEnabled is missing
  • Service checks no longer depend on zend.assertions

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants